vovk 3.0.0-draft.228 → 3.0.0-draft.229

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.
package/cjs/types.d.ts CHANGED
@@ -224,6 +224,7 @@ export interface VovkLLMTool {
224
224
  required: string[];
225
225
  additionalProperties: boolean;
226
226
  };
227
+ type: 'function';
227
228
  }
228
229
  export type SimpleJsonSchema = {
229
230
  type: 'object';
@@ -47,6 +47,7 @@ const createLLMTool = ({ rpcModuleName, handlerName, caller, module, init, onExe
47
47
  : {}),
48
48
  };
49
49
  return {
50
+ type: 'function',
50
51
  execute,
51
52
  name: `${rpcModuleName}__${handlerName}`,
52
53
  description: [schema.openapi?.summary ?? '', schema.openapi?.description ?? ''].filter(Boolean).join('\n') || handlerName,
package/mjs/types.d.ts CHANGED
@@ -224,6 +224,7 @@ export interface VovkLLMTool {
224
224
  required: string[];
225
225
  additionalProperties: boolean;
226
226
  };
227
+ type: 'function';
227
228
  }
228
229
  export type SimpleJsonSchema = {
229
230
  type: 'object';
@@ -47,6 +47,7 @@ const createLLMTool = ({ rpcModuleName, handlerName, caller, module, init, onExe
47
47
  : {}),
48
48
  };
49
49
  return {
50
+ type: 'function',
50
51
  execute,
51
52
  name: `${rpcModuleName}__${handlerName}`,
52
53
  description: [schema.openapi?.summary ?? '', schema.openapi?.description ?? ''].filter(Boolean).join('\n') || handlerName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk",
3
- "version": "3.0.0-draft.228",
3
+ "version": "3.0.0-draft.229",
4
4
  "main": "./cjs/index.js",
5
5
  "module": "./mjs/index.js",
6
6
  "types": "./mjs/index.d.ts",