@runtypelabs/sdk 4.2.0 → 4.3.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 -1
- package/dist/index.d.ts +17 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6745,7 +6745,7 @@ interface paths {
|
|
|
6745
6745
|
}[];
|
|
6746
6746
|
/** @description Whether to stream the response via SSE */
|
|
6747
6747
|
streamResponse?: boolean;
|
|
6748
|
-
/** @description
|
|
6748
|
+
/** @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
6749
|
toolOutputs?: {
|
|
6750
6750
|
[key: string]: unknown;
|
|
6751
6751
|
};
|
|
@@ -31471,6 +31471,7 @@ interface components {
|
|
|
31471
31471
|
[key: string]: unknown;
|
|
31472
31472
|
};
|
|
31473
31473
|
seq: number;
|
|
31474
|
+
toolCallId?: string;
|
|
31474
31475
|
toolId: string;
|
|
31475
31476
|
toolName: string;
|
|
31476
31477
|
/** @enum {string} */
|
|
@@ -31814,6 +31815,7 @@ interface components {
|
|
|
31814
31815
|
[key: string]: unknown;
|
|
31815
31816
|
};
|
|
31816
31817
|
seq: number;
|
|
31818
|
+
toolCallId?: string;
|
|
31817
31819
|
toolId: string;
|
|
31818
31820
|
toolName: string;
|
|
31819
31821
|
/** @enum {string} */
|
|
@@ -31993,6 +31995,7 @@ interface components {
|
|
|
31993
31995
|
[key: string]: unknown;
|
|
31994
31996
|
};
|
|
31995
31997
|
seq?: number;
|
|
31998
|
+
toolCallId?: string;
|
|
31996
31999
|
toolId?: string;
|
|
31997
32000
|
toolName?: string;
|
|
31998
32001
|
/** @enum {string} */
|
|
@@ -32384,6 +32387,7 @@ interface components {
|
|
|
32384
32387
|
[key: string]: unknown;
|
|
32385
32388
|
};
|
|
32386
32389
|
seq?: number;
|
|
32390
|
+
toolCallId?: string;
|
|
32387
32391
|
toolId?: string;
|
|
32388
32392
|
toolName?: string;
|
|
32389
32393
|
/** @enum {string} */
|
|
@@ -34100,6 +34104,18 @@ interface DispatchRequest {
|
|
|
34100
34104
|
* `clientTools[]` is per-dispatch, `resolveTools` is per-iteration.
|
|
34101
34105
|
*/
|
|
34102
34106
|
clientTools?: ClientToolDefinition[];
|
|
34107
|
+
/**
|
|
34108
|
+
* Optional policy governing how `clientTools[]` are admitted on this
|
|
34109
|
+
* (API-key) dispatch. On the API-key path the caller is trusted, so
|
|
34110
|
+
* `origin: 'webmcp'` tools are admitted by default — their presence in
|
|
34111
|
+
* `clientTools[]` is the opt-in. `allowlist` is an optional self-restriction
|
|
34112
|
+
* (glob patterns: exact, or single trailing `*`) narrowing which webmcp
|
|
34113
|
+
* tools are accepted; omit it to admit all. `origin: 'sdk'` tools are never
|
|
34114
|
+
* gated. Mirrors the shared `ClientToolsPolicy`.
|
|
34115
|
+
*/
|
|
34116
|
+
clientToolsPolicy?: {
|
|
34117
|
+
allowlist?: string[];
|
|
34118
|
+
};
|
|
34103
34119
|
secrets?: Record<string, string>;
|
|
34104
34120
|
inputs?: Record<string, unknown>;
|
|
34105
34121
|
options?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -6745,7 +6745,7 @@ interface paths {
|
|
|
6745
6745
|
}[];
|
|
6746
6746
|
/** @description Whether to stream the response via SSE */
|
|
6747
6747
|
streamResponse?: boolean;
|
|
6748
|
-
/** @description
|
|
6748
|
+
/** @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
6749
|
toolOutputs?: {
|
|
6750
6750
|
[key: string]: unknown;
|
|
6751
6751
|
};
|
|
@@ -31471,6 +31471,7 @@ interface components {
|
|
|
31471
31471
|
[key: string]: unknown;
|
|
31472
31472
|
};
|
|
31473
31473
|
seq: number;
|
|
31474
|
+
toolCallId?: string;
|
|
31474
31475
|
toolId: string;
|
|
31475
31476
|
toolName: string;
|
|
31476
31477
|
/** @enum {string} */
|
|
@@ -31814,6 +31815,7 @@ interface components {
|
|
|
31814
31815
|
[key: string]: unknown;
|
|
31815
31816
|
};
|
|
31816
31817
|
seq: number;
|
|
31818
|
+
toolCallId?: string;
|
|
31817
31819
|
toolId: string;
|
|
31818
31820
|
toolName: string;
|
|
31819
31821
|
/** @enum {string} */
|
|
@@ -31993,6 +31995,7 @@ interface components {
|
|
|
31993
31995
|
[key: string]: unknown;
|
|
31994
31996
|
};
|
|
31995
31997
|
seq?: number;
|
|
31998
|
+
toolCallId?: string;
|
|
31996
31999
|
toolId?: string;
|
|
31997
32000
|
toolName?: string;
|
|
31998
32001
|
/** @enum {string} */
|
|
@@ -32384,6 +32387,7 @@ interface components {
|
|
|
32384
32387
|
[key: string]: unknown;
|
|
32385
32388
|
};
|
|
32386
32389
|
seq?: number;
|
|
32390
|
+
toolCallId?: string;
|
|
32387
32391
|
toolId?: string;
|
|
32388
32392
|
toolName?: string;
|
|
32389
32393
|
/** @enum {string} */
|
|
@@ -34100,6 +34104,18 @@ interface DispatchRequest {
|
|
|
34100
34104
|
* `clientTools[]` is per-dispatch, `resolveTools` is per-iteration.
|
|
34101
34105
|
*/
|
|
34102
34106
|
clientTools?: ClientToolDefinition[];
|
|
34107
|
+
/**
|
|
34108
|
+
* Optional policy governing how `clientTools[]` are admitted on this
|
|
34109
|
+
* (API-key) dispatch. On the API-key path the caller is trusted, so
|
|
34110
|
+
* `origin: 'webmcp'` tools are admitted by default — their presence in
|
|
34111
|
+
* `clientTools[]` is the opt-in. `allowlist` is an optional self-restriction
|
|
34112
|
+
* (glob patterns: exact, or single trailing `*`) narrowing which webmcp
|
|
34113
|
+
* tools are accepted; omit it to admit all. `origin: 'sdk'` tools are never
|
|
34114
|
+
* gated. Mirrors the shared `ClientToolsPolicy`.
|
|
34115
|
+
*/
|
|
34116
|
+
clientToolsPolicy?: {
|
|
34117
|
+
allowlist?: string[];
|
|
34118
|
+
};
|
|
34103
34119
|
secrets?: Record<string, string>;
|
|
34104
34120
|
inputs?: Record<string, unknown>;
|
|
34105
34121
|
options?: {
|
package/package.json
CHANGED