feat: add JSON schema conversion methods and update route handling

This commit is contained in:
2026-02-03 00:18:26 +08:00
parent 7f7ea79689
commit 48de44587a
5 changed files with 116 additions and 31 deletions

View File

@@ -8,7 +8,7 @@ export type { RouteContext, RouteOpts, RouteMiddleware } from './route.ts';
export type { Run, Skill } from './route.ts';
export { createSkill, tool } from './route.ts';
export { createSkill, tool, fromJSONSchema, toJSONSchema } from './route.ts';
export { CustomError } from './result/error.ts';