Commit Graph

58 Commits

Author SHA1 Message Date
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
170954ae7c fix: error 2026-02-17 16:28:50 +08:00
15db8515d6 perf: 优化监听进程 2026-02-04 02:36:12 +08:00
48de44587a feat: add JSON schema conversion methods and update route handling 2026-02-03 00:18:26 +08:00
xiongxiao
a5429f055a fix 2026-01-31 18:23:09 +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
7dcf53fb4f feat: 更新静态资源代理文档,优化路由和插件集成,提升代码可读性和功能性 2026-01-21 01:44:58 +08:00
xiongxiao
9b11ea5138 更新 .cnb.yml、package.json 和文档,添加新功能和示例代码 2026-01-19 04:52:14 +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
78af49906e update 2026-01-13 14:02:03 +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
e1a53c01ea chore: update version to 0.0.41 and improve Route class formatting 2025-12-19 17:08:07 +08:00
90ecb8eb93 refactor: enhance RouteOpts and Route class generics for improved type safety
- Updated RouteOpts to accept an additional generic parameter for metadata type.
- Modified Route class to utilize the new generic parameter for metadata.
- Adjusted the run method in QueryRouterServer for consistent type definitions.
- Improved getList method in QueryRouter to allow filtering of routes.
2025-12-17 11:31:52 +08:00
a997dad00b ifx: fix run ERROR 2025-12-09 14:08:42 +08:00
c692061b23 refactor router system and update version
- Simplified Route class by removing validator functionality
- Added AppRouteContext type for better type safety
- Added forward method to RouteContext for response handling
- Replaced queryRoute with run method for consistency
- Improved Server class with proper cleanup methods
- Updated Mini class to extend QueryRouterServer properly
- Removed lodash-es dependency and nanoid random import
- Added deprecation warnings for older methods
- Enhanced route handling and middleware execution

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 12:30:47 +08:00
ef0faf84b1 update dependencies and router functionality
- Update package version to 0.0.34
- Upgrade @kevisual/local-proxy to 0.0.8 and @kevisual/query to 0.0.31
- Update rollup, cookie, selfsigned, and zod dependencies
- Remove unused share property from Route class
- Refactor queryRouter context to use app property
- Improve call method logic to prioritize path + key
- Update queryRoute to use call method
- Enhance HttpChain class with better constructor and parse method

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 10:30:58 +08:00
c0ec625f01 route list,当时wait的模式添加默认的 2025-11-14 17:43:07 +08:00
87068cd626 update 2025-10-24 21:15:02 +08:00
ac32ff9d4a udpate 2025-10-24 03:04:06 +08:00
cc74dc6803 update add no path and random path 2025-10-22 17:05:20 +08:00
24166f9899 feat: add Mini 2025-10-15 21:13:37 +08:00
10506503eb update: add listen process 2025-10-15 20:48:20 +08:00
d2ebb5f488 fix: add app-barowser for browser 2025-06-12 15:02:16 +08:00
aeeb205e1e fix: fix types 2025-05-14 21:04:25 +08:00
fc35b531e1 feat: add define tools 2025-05-14 20:18:58 +08:00
6d148e47f1 add parse search value 2025-05-12 04:32:26 +08:00
17e515ad32 add deno mod 2025-04-17 23:54:21 +08:00
e8f7f61e09 fix: add json needSerialize 2025-03-06 22:45:11 +08:00
5911f29c8f fix; fix add serialize 2025-03-03 23:20:18 +08:00
ba7e00bd7a router 更新 2025-03-02 16:51:07 +08:00
de3187f5f3 temp 2025-02-26 12:33:34 +08:00
1c3e65df8a feat: add metadata and middleware add preivew middleware 2025-02-26 11:26:52 +08:00
803687b219 style 2025-02-19 07:03:09 +08:00
871aac104a fix: import fix 2025-01-03 21:23:23 +08:00
50c87043c8 type 定义修改 2024-12-14 08:52:42 +08:00
dc2f282f4b feat: 更新cookie模块和添加res和req在app的请求当中 2024-12-11 14:28:46 +08:00
e0c7d40a9c add queryRoute for only return code data message 2024-11-26 19:25:43 +08:00
7f369b7b07 fix: 更新router报错 2024-11-17 16:43:24 +08:00