opentool 0.8.27 → 0.8.28

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.
@@ -348,6 +348,11 @@ type ConnectedApp = {
348
348
  method?: "GET" | "POST";
349
349
  body?: unknown;
350
350
  };
351
+ type TemplatePreviewProfile = {
352
+ title?: string;
353
+ subtitle: string;
354
+ description: string;
355
+ };
351
356
  type ToolProfile = {
352
357
  description?: string;
353
358
  category?: ToolCategory;
@@ -363,6 +368,7 @@ type ToolProfile = {
363
368
  defaults?: Record<string, unknown>;
364
369
  envVar?: string;
365
370
  };
371
+ templatePreview?: TemplatePreviewProfile;
366
372
  };
367
373
  type GetHandler = (req: Request) => Promise<Response> | Response;
368
374
  type PostHandler = (req: Request) => Promise<Response> | Response;
@@ -460,4 +466,4 @@ declare function validateCommand(options: ValidateOptions): Promise<void>;
460
466
  declare function validateFullCommand(options: ValidateOptions): Promise<void>;
461
467
  declare function loadAndValidateTools(toolsDir: string, options?: LoadToolsOptions): Promise<InternalToolDefinition[]>;
462
468
 
463
- export { type BuildConfig as B, type CronSpec as C, type GenerateMetadataOptions as G, HTTP_METHODS as H, type InternalToolDefinition as I, type Metadata as M, type NormalizedSchedule as N, type PaymentConfig as P, type ScheduleType as S, type ToolResponse as T, type ValidateOptions as V, type GenerateMetadataResult as a, generateMetadata as b, validateFullCommand as c, type ToolContent as d, type HttpMethod as e, type HttpHandlerDefinition as f, generateMetadataCommand as g, type McpConfig as h, type ServerConfig as i, type Tool as j, type ToolMetadataOverrides as k, loadAndValidateTools as l, type BuildMetadata as m, type ToolCategory as n, type ToolAsset as o, type ConnectedApp as p, type ToolProfile as q, type GetHandler as r, type PostHandler as s, type ToolModuleGET as t, type ToolModulePOST as u, validateCommand as v, type ToolModule as w };
469
+ export { type BuildConfig as B, type CronSpec as C, type GenerateMetadataOptions as G, HTTP_METHODS as H, type InternalToolDefinition as I, type Metadata as M, type NormalizedSchedule as N, type PaymentConfig as P, type ScheduleType as S, type ToolResponse as T, type ValidateOptions as V, type GenerateMetadataResult as a, generateMetadata as b, validateFullCommand as c, type ToolContent as d, type HttpMethod as e, type HttpHandlerDefinition as f, generateMetadataCommand as g, type McpConfig as h, type ServerConfig as i, type Tool as j, type ToolMetadataOverrides as k, loadAndValidateTools as l, type BuildMetadata as m, type ToolCategory as n, type ToolAsset as o, type ConnectedApp as p, type TemplatePreviewProfile as q, type ToolProfile as r, type GetHandler as s, type PostHandler as t, type ToolModuleGET as u, validateCommand as v, type ToolModulePOST as w, type ToolModule as x };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opentool",
3
- "version": "0.8.27",
3
+ "version": "0.8.28",
4
4
  "description": "OpenTool framework for building serverless MCP tools",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -19,7 +19,7 @@
19
19
  "examples:build": "node dist/cli/index.js build --input examples/full-metadata/tools --output examples/full-metadata/dist",
20
20
  "examples:metadata": "node dist/cli/index.js metadata --input examples/full-metadata/tools --output examples/full-metadata/metadata.json",
21
21
  "examples:validate": "node dist/cli/index.js validate --input examples/full-metadata/tools",
22
- "changeset": "changeset && bun run scripts/build-context.ts",
22
+ "changeset": "changeset",
23
23
  "changeset:version": "changeset version",
24
24
  "changeset:publish": "changeset publish",
25
25
  "release": "npm run build && npm run changeset:publish"
@@ -10,7 +10,7 @@
10
10
  "validate": "opentool validate"
11
11
  },
12
12
  "dependencies": {
13
- "opentool": "^0.8.27",
13
+ "opentool": "^0.8.28",
14
14
  "zod": "^4.1.11"
15
15
  },
16
16
  "devDependencies": {