Commit Graph

123 Commits

Author SHA1 Message Date
a8f409f900 chore: 更新版本号至0.0.82,并在 CustomError 类中增强构造函数以支持对象参数 2026-02-20 22:53:03 +08:00
132aa3a888 chore: 在 ServerBase 类中添加自定义错误处理逻辑 2026-02-20 22:34:48 +08:00
2e59e318bf Refactor code structure for improved readability and maintainability 2026-02-20 22:25:44 +08:00
e1a0e11052 chore: 更新版本号至0.0.80,并在 route.ts 中重构 toJSONSchema 和 fromJSONSchema 函数以使用新的 schema.ts 模块 2026-02-18 13:28:49 +08:00
058e6843b1 chore: 更新版本号至0.0.79,并在 route.ts 中修改 toJSONSchema 函数以支持可选参数 2026-02-18 11:19:58 +08:00
bf6b7ad709 chore: 更新版本号至0.0.78,并在 fromJSONSchema 函数中将返回值设为可选 2026-02-18 10:51:32 +08:00
0866f01b1e chore: 更新版本号至0.0.77,升级 @kevisual/query 至 0.0.47,重构 JSON Schema 处理函数并添加测试 2026-02-18 10:31:11 +08:00
e4e1e9abb9 chore: 更新版本号至0.0.76,并在 route.ts 中添加 extractArgs 函数 2026-02-18 10:00:26 +08:00
f72f7d6cf1 fix: temp 2026-02-18 08:58:53 +08:00
40a8825ea2 refactor: remove pnpm workspace configuration and update opencode functionality
- Deleted pnpm-workspace.yaml file.
- Modified opencode.ts to enhance skill creation and execution:
  - Updated skill title and summary for clarity.
  - Introduced a delay for router loading.
  - Improved route filtering logic.
  - Added extractArgs function to handle argument extraction from z.object types.
- Updated route.ts to ensure 'opencode' tag is added to skills if not present and improved JSON schema handling for args.
2026-02-18 04:53:32 +08:00
b2f718c492 chore: 更新版本号至0.0.74,并在 QueryRouter 中添加 metadata 字段 2026-02-18 03:25:09 +08:00
074775985e chore: 更新版本号至0.0.73,调整依赖项版本 2026-02-18 03:16:26 +08:00
a53e8c0bc3 refactor: update router import path and add random ID utility
- Changed the import path for router types from '@kevisual/router' to './route.ts' in src/router-define.ts.
- Added a new lock file (bun.lock) to manage dependencies.
- Introduced a new utility function in src/utils/random.ts to generate random IDs using the nanoid library.
2026-02-17 20:35:16 +08:00
b4f2615afa temp 2026-02-17 17:24:44 +08:00
170954ae7c fix: error 2026-02-17 16:28:50 +08:00
15db8515d6 perf: 优化监听进程 2026-02-04 02:36:12 +08:00
08696dedd8 chore: update package version to 0.0.69; modify import statements in loadTS function 2026-02-03 01:12:23 +08:00
48de44587a feat: add JSON schema conversion methods and update route handling 2026-02-03 00:18:26 +08:00
7f7ea79689 feat: update package version and dependencies; add ReconnectingWebSocket for automatic reconnection 2026-02-02 21:22:49 +08:00
b081a03399 test bun stream sse and http-stream 2026-02-01 01:26:57 +08:00
fed87eb3a1 0.0.65 2026-01-31 18:23:52 +08:00
xiongxiao
a5429f055a fix 2026-01-31 18:23:09 +08:00
7e34564516 Refactor code structure for improved readability and maintainability 2026-01-30 22:44:14 +08:00
xiongxiao
605061a60e feat: enhance plugin integration with hooks and context management
- Updated the `createRouterAgentPluginFn` to accept an optional `hooks` parameter for better plugin customization.
- Introduced `usePluginInput` for accessing plugin input context.
- Refactored `AgentPlugin` to utilize hooks and context, improving flexibility and functionality.
- Cleaned up commented-out code for clarity.
2026-01-28 00:02:21 +08:00
e7dca513f3 feat: 添加路由描述和更新运行代码参数,优化测试用例 2026-01-26 04:20:56 +08:00
0f8986b491 update 2026-01-26 01:09:20 +08:00
911f03b4bd fix mini modules 2026-01-25 22:12:04 +08:00
8a1aff4c50 update 2026-01-25 21:19:28 +08:00
3284a06ad5 udpate 2026-01-21 19:02:30 +08:00
7dcf53fb4f feat: 更新静态资源代理文档,优化路由和插件集成,提升代码可读性和功能性 2026-01-21 01:44:58 +08:00
61add1aad1 udpate 2026-01-20 13:39:22 +08:00
2363617404 add call 2026-01-20 13:38:50 +08:00
f4372ae55f feat: add opencode plugin with router integration and TypeScript definitions
- Implemented `createRouterAgentPluginFn` in `src/opencode.ts` to create a plugin that interacts with the router and filters routes based on metadata tags.
- Added support for executing routes with error handling and response formatting.
- Updated `rollup.config.js` to include build configurations for `opencode.js` and `opencode.d.ts`.
2026-01-20 13:23:06 +08:00
xiongxiao
9b11ea5138 更新 .cnb.yml、package.json 和文档,添加新功能和示例代码 2026-01-19 04:52:14 +08:00
999397611c temp 2026-01-16 18:53:55 +08:00
730f4c6eb9 fix 2026-01-16 12:06:01 +08:00
xiongxiao
123d02f452 udpate 2026-01-15 23:44:40 +08:00
xiongxiao
309446c864 更新依赖项,添加 Connect 和 QueryConnect 类,重构导出结构 2026-01-15 21:21:35 +08:00
2c57435a81 update 2026-01-13 14:09:40 +08:00
cd785ddb51 add trigger 2026-01-13 14:08:38 +08:00
a8da85e0bd add trigger 2026-01-13 14:07:46 +08:00
9f53c9e18c update 2026-01-13 14:07:30 +08:00
78af49906e update 2026-01-13 14:02:03 +08:00
03f24318d2 temp 2026-01-13 13:28:17 +08:00
5dcc678ad4 chore: update version to 0.0.52, add eventemitter3 dependency, and refactor WebSocket handling 2025-12-30 18:32:16 +08:00
8b16bc2218 update 2025-12-29 14:44:44 +08:00
b0eb3a9ada chore: update version to 0.0.51, add auto.ts to files, and update dependencies
feat: enhance parseXml function to handle Bun requests and refactor XML parsing logic
2025-12-28 10:51:14 +08:00
6e659fd278 update 2025-12-26 19:25:14 +08:00
a76f1fb5d2 chore: update version to 0.0.49 and refactor WebSocket handling and type definitions 2025-12-21 20:37:50 +08:00
caaec4d870 temp 2025-12-21 19:29:34 +08:00