chore: update version to 0.0.27; migrate bun.config.mjs to bun.config.ts; add agent functionality in src/agent/index.ts

This commit is contained in:
2026-03-11 01:22:04 +08:00
parent 7129f9a877
commit c4a12ae0e7
5 changed files with 189 additions and 134 deletions

11
bun.config.ts Normal file
View File

@@ -0,0 +1,11 @@
import { buildWithBun } from '@kevisual/code-builder';
await buildWithBun({ naming: 'ai-provider', entry: './src/provider/index.ts', target: 'node', dts: true, clean: true });
await buildWithBun({ naming: 'ai-provider-browser', entry: './src/provider/index.ts', target: 'browser', dts: true });
await buildWithBun({
naming: 'agent', entry: './src/agent/index.ts', target: 'browser', dts: true,
external: ['ai', '@kevisual/js-filter', 'zod']
});