@kevisual/router 0.0.54 → 0.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -111,8 +111,13 @@ type Skill<T = SimpleObject$1> = {
111
111
  skill: string;
112
112
  title: string;
113
113
  summary?: string;
114
- args?: z.ZodTypeAny;
114
+ args?: {
115
+ [key: string]: any;
116
+ };
115
117
  } & T;
118
+ declare const tool: {
119
+ schema: typeof z;
120
+ };
116
121
  /** */
117
122
  declare const createSkill: <T = SimpleObject$1>(skill: Skill<T>) => Skill<T>;
118
123
  type RouteInfo = Pick<Route, (typeof pickValue)[number]>;
@@ -508,5 +513,5 @@ declare class QueryUtil<T extends RouteObject = RouteObject> {
508
513
 
509
514
  declare const App: typeof QueryRouterServer;
510
515
 
511
- export { App, CustomError, Mini, QueryRouter, QueryRouterServer, QueryUtil, Route, createSchema, createSkill, define, util };
512
- export type { RouteArray, RouteContext, RouteObject, RouteOpts, Rule, Run, Schema, Skill };
516
+ export { App, CustomError, Mini, QueryRouter, QueryRouterServer, QueryUtil, Route, createSchema, createSkill, define, tool, util };
517
+ export type { RouteArray, RouteContext, RouteMiddleware, RouteObject, RouteOpts, Rule, Run, Schema, Skill };