opentool 0.8.15 → 0.8.18

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.
@@ -337,6 +337,7 @@ type ToolAsset = {
337
337
  chain: string | number;
338
338
  assetSymbols: string[];
339
339
  pair?: string;
340
+ leverage?: number;
340
341
  walletAddress?: string;
341
342
  };
342
343
  type ConnectedApp = {
@@ -356,6 +357,11 @@ type ToolProfile = {
356
357
  assets?: ToolAsset[];
357
358
  connectedApps?: ConnectedApp[];
358
359
  policies?: Array<Record<string, unknown>>;
360
+ templateConfig?: {
361
+ version: number | string;
362
+ schema?: Record<string, unknown>;
363
+ defaults?: Record<string, unknown>;
364
+ };
359
365
  };
360
366
  type GetHandler = (req: Request) => Promise<Response> | Response;
361
367
  type PostHandler = (req: Request) => Promise<Response> | Response;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opentool",
3
- "version": "0.8.15",
3
+ "version": "0.8.18",
4
4
  "description": "OpenTool framework for building serverless MCP tools",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -10,7 +10,7 @@
10
10
  "validate": "opentool validate"
11
11
  },
12
12
  "dependencies": {
13
- "opentool": "^0.8.15",
13
+ "opentool": "^0.8.18",
14
14
  "zod": "^4.1.11"
15
15
  },
16
16
  "devDependencies": {