@runtypelabs/sdk 1.18.0 → 1.18.1

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/dist/index.d.cts CHANGED
@@ -376,7 +376,8 @@ interface Tool {
376
376
  }
377
377
  type ToolConfig = FlowToolConfig | CustomToolConfig | ExternalToolConfig | LocalToolConfig | SubagentToolConfig;
378
378
  interface FlowToolConfig {
379
- flowId: string;
379
+ flowId?: string;
380
+ toolId?: string;
380
381
  parameterMapping: Record<string, string>;
381
382
  outputMapping?: string;
382
383
  }
@@ -596,7 +597,8 @@ interface RuntimeLocalToolConfig {
596
597
  [key: string]: JsonValue;
597
598
  }
598
599
  interface RuntimeFlowToolConfig {
599
- flowId: string;
600
+ flowId?: string;
601
+ toolId?: string;
600
602
  parameterMapping?: Record<string, string>;
601
603
  outputMapping?: string;
602
604
  }
package/dist/index.d.ts CHANGED
@@ -376,7 +376,8 @@ interface Tool {
376
376
  }
377
377
  type ToolConfig = FlowToolConfig | CustomToolConfig | ExternalToolConfig | LocalToolConfig | SubagentToolConfig;
378
378
  interface FlowToolConfig {
379
- flowId: string;
379
+ flowId?: string;
380
+ toolId?: string;
380
381
  parameterMapping: Record<string, string>;
381
382
  outputMapping?: string;
382
383
  }
@@ -596,7 +597,8 @@ interface RuntimeLocalToolConfig {
596
597
  [key: string]: JsonValue;
597
598
  }
598
599
  interface RuntimeFlowToolConfig {
599
- flowId: string;
600
+ flowId?: string;
601
+ toolId?: string;
600
602
  parameterMapping?: Record<string, string>;
601
603
  outputMapping?: string;
602
604
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "1.18.0",
3
+ "version": "1.18.1",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
6
6
  "main": "dist/index.cjs",