@runtypelabs/sdk 4.2.0 → 4.4.0
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 +17 -4
- package/dist/index.d.ts +17 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -749,7 +749,6 @@ interface paths {
|
|
|
749
749
|
transport?: "streamable_http" | "rest";
|
|
750
750
|
url: string;
|
|
751
751
|
}[];
|
|
752
|
-
parallelCalls?: boolean;
|
|
753
752
|
perToolLimits?: {
|
|
754
753
|
[key: string]: {
|
|
755
754
|
maxCalls?: number;
|
|
@@ -1405,7 +1404,6 @@ interface paths {
|
|
|
1405
1404
|
transport?: "streamable_http" | "rest";
|
|
1406
1405
|
url: string;
|
|
1407
1406
|
}[];
|
|
1408
|
-
parallelCalls?: boolean;
|
|
1409
1407
|
perToolLimits?: {
|
|
1410
1408
|
[key: string]: {
|
|
1411
1409
|
maxCalls?: number;
|
|
@@ -6745,7 +6743,7 @@ interface paths {
|
|
|
6745
6743
|
}[];
|
|
6746
6744
|
/** @description Whether to stream the response via SSE */
|
|
6747
6745
|
streamResponse?: boolean;
|
|
6748
|
-
/** @description
|
|
6746
|
+
/** @description Local tool outputs for the paused execution. Key each output by the per-call `toolCallId` from the `flow_await` / `agent_await` event (preferred, and required to disambiguate parallel calls to the same tool), or by tool name (legacy; collapses same-tool parallel calls onto one slot). */
|
|
6749
6747
|
toolOutputs?: {
|
|
6750
6748
|
[key: string]: unknown;
|
|
6751
6749
|
};
|
|
@@ -31471,6 +31469,7 @@ interface components {
|
|
|
31471
31469
|
[key: string]: unknown;
|
|
31472
31470
|
};
|
|
31473
31471
|
seq: number;
|
|
31472
|
+
toolCallId?: string;
|
|
31474
31473
|
toolId: string;
|
|
31475
31474
|
toolName: string;
|
|
31476
31475
|
/** @enum {string} */
|
|
@@ -31814,6 +31813,7 @@ interface components {
|
|
|
31814
31813
|
[key: string]: unknown;
|
|
31815
31814
|
};
|
|
31816
31815
|
seq: number;
|
|
31816
|
+
toolCallId?: string;
|
|
31817
31817
|
toolId: string;
|
|
31818
31818
|
toolName: string;
|
|
31819
31819
|
/** @enum {string} */
|
|
@@ -31993,6 +31993,7 @@ interface components {
|
|
|
31993
31993
|
[key: string]: unknown;
|
|
31994
31994
|
};
|
|
31995
31995
|
seq?: number;
|
|
31996
|
+
toolCallId?: string;
|
|
31996
31997
|
toolId?: string;
|
|
31997
31998
|
toolName?: string;
|
|
31998
31999
|
/** @enum {string} */
|
|
@@ -32384,6 +32385,7 @@ interface components {
|
|
|
32384
32385
|
[key: string]: unknown;
|
|
32385
32386
|
};
|
|
32386
32387
|
seq?: number;
|
|
32388
|
+
toolCallId?: string;
|
|
32387
32389
|
toolId?: string;
|
|
32388
32390
|
toolName?: string;
|
|
32389
32391
|
/** @enum {string} */
|
|
@@ -34100,6 +34102,18 @@ interface DispatchRequest {
|
|
|
34100
34102
|
* `clientTools[]` is per-dispatch, `resolveTools` is per-iteration.
|
|
34101
34103
|
*/
|
|
34102
34104
|
clientTools?: ClientToolDefinition[];
|
|
34105
|
+
/**
|
|
34106
|
+
* Optional policy governing how `clientTools[]` are admitted on this
|
|
34107
|
+
* (API-key) dispatch. On the API-key path the caller is trusted, so
|
|
34108
|
+
* `origin: 'webmcp'` tools are admitted by default — their presence in
|
|
34109
|
+
* `clientTools[]` is the opt-in. `allowlist` is an optional self-restriction
|
|
34110
|
+
* (glob patterns: exact, or single trailing `*`) narrowing which webmcp
|
|
34111
|
+
* tools are accepted; omit it to admit all. `origin: 'sdk'` tools are never
|
|
34112
|
+
* gated. Mirrors the shared `ClientToolsPolicy`.
|
|
34113
|
+
*/
|
|
34114
|
+
clientToolsPolicy?: {
|
|
34115
|
+
allowlist?: string[];
|
|
34116
|
+
};
|
|
34103
34117
|
secrets?: Record<string, string>;
|
|
34104
34118
|
inputs?: Record<string, unknown>;
|
|
34105
34119
|
options?: {
|
|
@@ -34346,7 +34360,6 @@ interface ToolsConfig {
|
|
|
34346
34360
|
mcpServers?: CustomMCPServer[];
|
|
34347
34361
|
maxToolCalls?: number;
|
|
34348
34362
|
toolCallStrategy?: 'auto' | 'required' | 'none';
|
|
34349
|
-
parallelCalls?: boolean;
|
|
34350
34363
|
toolConfigs?: Record<string, JsonObject>;
|
|
34351
34364
|
}
|
|
34352
34365
|
interface ReasoningConfig {
|
package/dist/index.d.ts
CHANGED
|
@@ -749,7 +749,6 @@ interface paths {
|
|
|
749
749
|
transport?: "streamable_http" | "rest";
|
|
750
750
|
url: string;
|
|
751
751
|
}[];
|
|
752
|
-
parallelCalls?: boolean;
|
|
753
752
|
perToolLimits?: {
|
|
754
753
|
[key: string]: {
|
|
755
754
|
maxCalls?: number;
|
|
@@ -1405,7 +1404,6 @@ interface paths {
|
|
|
1405
1404
|
transport?: "streamable_http" | "rest";
|
|
1406
1405
|
url: string;
|
|
1407
1406
|
}[];
|
|
1408
|
-
parallelCalls?: boolean;
|
|
1409
1407
|
perToolLimits?: {
|
|
1410
1408
|
[key: string]: {
|
|
1411
1409
|
maxCalls?: number;
|
|
@@ -6745,7 +6743,7 @@ interface paths {
|
|
|
6745
6743
|
}[];
|
|
6746
6744
|
/** @description Whether to stream the response via SSE */
|
|
6747
6745
|
streamResponse?: boolean;
|
|
6748
|
-
/** @description
|
|
6746
|
+
/** @description Local tool outputs for the paused execution. Key each output by the per-call `toolCallId` from the `flow_await` / `agent_await` event (preferred, and required to disambiguate parallel calls to the same tool), or by tool name (legacy; collapses same-tool parallel calls onto one slot). */
|
|
6749
6747
|
toolOutputs?: {
|
|
6750
6748
|
[key: string]: unknown;
|
|
6751
6749
|
};
|
|
@@ -31471,6 +31469,7 @@ interface components {
|
|
|
31471
31469
|
[key: string]: unknown;
|
|
31472
31470
|
};
|
|
31473
31471
|
seq: number;
|
|
31472
|
+
toolCallId?: string;
|
|
31474
31473
|
toolId: string;
|
|
31475
31474
|
toolName: string;
|
|
31476
31475
|
/** @enum {string} */
|
|
@@ -31814,6 +31813,7 @@ interface components {
|
|
|
31814
31813
|
[key: string]: unknown;
|
|
31815
31814
|
};
|
|
31816
31815
|
seq: number;
|
|
31816
|
+
toolCallId?: string;
|
|
31817
31817
|
toolId: string;
|
|
31818
31818
|
toolName: string;
|
|
31819
31819
|
/** @enum {string} */
|
|
@@ -31993,6 +31993,7 @@ interface components {
|
|
|
31993
31993
|
[key: string]: unknown;
|
|
31994
31994
|
};
|
|
31995
31995
|
seq?: number;
|
|
31996
|
+
toolCallId?: string;
|
|
31996
31997
|
toolId?: string;
|
|
31997
31998
|
toolName?: string;
|
|
31998
31999
|
/** @enum {string} */
|
|
@@ -32384,6 +32385,7 @@ interface components {
|
|
|
32384
32385
|
[key: string]: unknown;
|
|
32385
32386
|
};
|
|
32386
32387
|
seq?: number;
|
|
32388
|
+
toolCallId?: string;
|
|
32387
32389
|
toolId?: string;
|
|
32388
32390
|
toolName?: string;
|
|
32389
32391
|
/** @enum {string} */
|
|
@@ -34100,6 +34102,18 @@ interface DispatchRequest {
|
|
|
34100
34102
|
* `clientTools[]` is per-dispatch, `resolveTools` is per-iteration.
|
|
34101
34103
|
*/
|
|
34102
34104
|
clientTools?: ClientToolDefinition[];
|
|
34105
|
+
/**
|
|
34106
|
+
* Optional policy governing how `clientTools[]` are admitted on this
|
|
34107
|
+
* (API-key) dispatch. On the API-key path the caller is trusted, so
|
|
34108
|
+
* `origin: 'webmcp'` tools are admitted by default — their presence in
|
|
34109
|
+
* `clientTools[]` is the opt-in. `allowlist` is an optional self-restriction
|
|
34110
|
+
* (glob patterns: exact, or single trailing `*`) narrowing which webmcp
|
|
34111
|
+
* tools are accepted; omit it to admit all. `origin: 'sdk'` tools are never
|
|
34112
|
+
* gated. Mirrors the shared `ClientToolsPolicy`.
|
|
34113
|
+
*/
|
|
34114
|
+
clientToolsPolicy?: {
|
|
34115
|
+
allowlist?: string[];
|
|
34116
|
+
};
|
|
34103
34117
|
secrets?: Record<string, string>;
|
|
34104
34118
|
inputs?: Record<string, unknown>;
|
|
34105
34119
|
options?: {
|
|
@@ -34346,7 +34360,6 @@ interface ToolsConfig {
|
|
|
34346
34360
|
mcpServers?: CustomMCPServer[];
|
|
34347
34361
|
maxToolCalls?: number;
|
|
34348
34362
|
toolCallStrategy?: 'auto' | 'required' | 'none';
|
|
34349
|
-
parallelCalls?: boolean;
|
|
34350
34363
|
toolConfigs?: Record<string, JsonObject>;
|
|
34351
34364
|
}
|
|
34352
34365
|
interface ReasoningConfig {
|
package/package.json
CHANGED