@runtypelabs/sdk 10.13.4 → 10.13.6
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.cjs +1 -1
- package/dist/index.d.cts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -14445,7 +14445,7 @@ function transformQueryParams(params) {
|
|
|
14445
14445
|
}
|
|
14446
14446
|
//#endregion
|
|
14447
14447
|
//#region src/version.ts
|
|
14448
|
-
const SDK_VERSION = "10.13.
|
|
14448
|
+
const SDK_VERSION = "10.13.6";
|
|
14449
14449
|
/**
|
|
14450
14450
|
* Canonical client identity the API uses for attribution
|
|
14451
14451
|
* (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
|
package/dist/index.d.cts
CHANGED
|
@@ -5108,7 +5108,7 @@ interface paths {
|
|
|
5108
5108
|
};
|
|
5109
5109
|
/**
|
|
5110
5110
|
* List tool calls
|
|
5111
|
-
* @description List tool calls for a single agent execution. Returns a compact payload without input/output JSON — use the detail endpoint for full payloads.
|
|
5111
|
+
* @description List tool calls for a single agent execution. Returns a compact payload without input/output JSON — use the detail endpoint for full payloads. `executionId` is the execution row id (`aex_…`) or the run id the stream reports (`exec_…`). A call paused at an approval gate is `awaiting_approval` until decided, then carries the outcome; a declined call is `denied`, not `failed`.
|
|
5112
5112
|
*/
|
|
5113
5113
|
get: {
|
|
5114
5114
|
parameters: {
|
|
@@ -5116,6 +5116,7 @@ interface paths {
|
|
|
5116
5116
|
header?: never;
|
|
5117
5117
|
path: {
|
|
5118
5118
|
id: string;
|
|
5119
|
+
/** @description The execution row id (`aex_…`) or the run id the stream reports (`exec_…`). */
|
|
5119
5120
|
executionId: string;
|
|
5120
5121
|
};
|
|
5121
5122
|
cookie?: never;
|
|
@@ -5146,6 +5147,7 @@ interface paths {
|
|
|
5146
5147
|
outputTruncated: boolean;
|
|
5147
5148
|
/** @description ISO timestamp the tool call started. Same instant as createdAt: the row is inserted when the tool starts, then updated in place with its result. */
|
|
5148
5149
|
startedAt: string;
|
|
5150
|
+
/** @description 'pending' | 'success' | 'failed' | 'waiting_for_local' | 'awaiting_approval' (paused at an approval gate, undecided) | 'denied' (the approver declined; the tool never ran). */
|
|
5149
5151
|
status: string;
|
|
5150
5152
|
/** @description The model's own tool-call id (tool_executions.external_tool_call_id), matching the toolCallId a log row carries. Null for a run whose tool rows were written by this API rather than ingested from an external trace. */
|
|
5151
5153
|
toolCallId: string | null;
|
|
@@ -9103,7 +9105,7 @@ interface paths {
|
|
|
9103
9105
|
put?: never;
|
|
9104
9106
|
/**
|
|
9105
9107
|
* Send a client chat message
|
|
9106
|
-
* @description Send a message for a browser client-token chat session. The request streams flow/agent events over Server-Sent Events. `turnId` and `submitMode` are optional and let newer Persona clients suppress stale interrupted responses; older clients can omit both fields. Opt-in `steer` accepts exactly one new user message whose `id` equals `turnId` for visitor-owned native durable agents. A new execution streams SSE; steering an existing execution returns a 202 delivery receipt without replacing its response. Retry with the same turn and message IDs.
|
|
9108
|
+
* @description Send a message for a browser client-token chat session. The request streams flow/agent events over Server-Sent Events. `turnId` and `submitMode` are optional and let newer Persona clients suppress stale interrupted responses; older clients can omit both fields. Opt-in `steer` accepts exactly one new user message whose `id` equals `turnId` for visitor-owned native durable agents. A new execution streams SSE; steering an existing execution returns a 202 delivery receipt without replacing its response. Retry with the same turn and message IDs. Send `voice: { spoken: true }` when the user turn came from a live voice call and the reply will be spoken by a voice model; the turn then runs with a per-turn instruction to lead with a short, speakable answer, which is not stored in the conversation.
|
|
9107
9109
|
*/
|
|
9108
9110
|
post: {
|
|
9109
9111
|
parameters: {
|
|
@@ -9176,6 +9178,11 @@ interface paths {
|
|
|
9176
9178
|
/** @enum {string} */
|
|
9177
9179
|
submitMode?: "normal" | "interrupt" | "steer";
|
|
9178
9180
|
turnId?: string;
|
|
9181
|
+
/** @description Voice context for this turn. Omit for typed chat; behavior is unchanged when absent. */
|
|
9182
|
+
voice?: {
|
|
9183
|
+
/** @description The user turn came from a live voice call and the reply will be spoken by a voice model. The turn runs with a per-turn instruction to lead with a short, speakable answer; the instruction is never stored in the conversation. */
|
|
9184
|
+
spoken?: boolean;
|
|
9185
|
+
};
|
|
9179
9186
|
};
|
|
9180
9187
|
};
|
|
9181
9188
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -5108,7 +5108,7 @@ interface paths {
|
|
|
5108
5108
|
};
|
|
5109
5109
|
/**
|
|
5110
5110
|
* List tool calls
|
|
5111
|
-
* @description List tool calls for a single agent execution. Returns a compact payload without input/output JSON — use the detail endpoint for full payloads.
|
|
5111
|
+
* @description List tool calls for a single agent execution. Returns a compact payload without input/output JSON — use the detail endpoint for full payloads. `executionId` is the execution row id (`aex_…`) or the run id the stream reports (`exec_…`). A call paused at an approval gate is `awaiting_approval` until decided, then carries the outcome; a declined call is `denied`, not `failed`.
|
|
5112
5112
|
*/
|
|
5113
5113
|
get: {
|
|
5114
5114
|
parameters: {
|
|
@@ -5116,6 +5116,7 @@ interface paths {
|
|
|
5116
5116
|
header?: never;
|
|
5117
5117
|
path: {
|
|
5118
5118
|
id: string;
|
|
5119
|
+
/** @description The execution row id (`aex_…`) or the run id the stream reports (`exec_…`). */
|
|
5119
5120
|
executionId: string;
|
|
5120
5121
|
};
|
|
5121
5122
|
cookie?: never;
|
|
@@ -5146,6 +5147,7 @@ interface paths {
|
|
|
5146
5147
|
outputTruncated: boolean;
|
|
5147
5148
|
/** @description ISO timestamp the tool call started. Same instant as createdAt: the row is inserted when the tool starts, then updated in place with its result. */
|
|
5148
5149
|
startedAt: string;
|
|
5150
|
+
/** @description 'pending' | 'success' | 'failed' | 'waiting_for_local' | 'awaiting_approval' (paused at an approval gate, undecided) | 'denied' (the approver declined; the tool never ran). */
|
|
5149
5151
|
status: string;
|
|
5150
5152
|
/** @description The model's own tool-call id (tool_executions.external_tool_call_id), matching the toolCallId a log row carries. Null for a run whose tool rows were written by this API rather than ingested from an external trace. */
|
|
5151
5153
|
toolCallId: string | null;
|
|
@@ -9103,7 +9105,7 @@ interface paths {
|
|
|
9103
9105
|
put?: never;
|
|
9104
9106
|
/**
|
|
9105
9107
|
* Send a client chat message
|
|
9106
|
-
* @description Send a message for a browser client-token chat session. The request streams flow/agent events over Server-Sent Events. `turnId` and `submitMode` are optional and let newer Persona clients suppress stale interrupted responses; older clients can omit both fields. Opt-in `steer` accepts exactly one new user message whose `id` equals `turnId` for visitor-owned native durable agents. A new execution streams SSE; steering an existing execution returns a 202 delivery receipt without replacing its response. Retry with the same turn and message IDs.
|
|
9108
|
+
* @description Send a message for a browser client-token chat session. The request streams flow/agent events over Server-Sent Events. `turnId` and `submitMode` are optional and let newer Persona clients suppress stale interrupted responses; older clients can omit both fields. Opt-in `steer` accepts exactly one new user message whose `id` equals `turnId` for visitor-owned native durable agents. A new execution streams SSE; steering an existing execution returns a 202 delivery receipt without replacing its response. Retry with the same turn and message IDs. Send `voice: { spoken: true }` when the user turn came from a live voice call and the reply will be spoken by a voice model; the turn then runs with a per-turn instruction to lead with a short, speakable answer, which is not stored in the conversation.
|
|
9107
9109
|
*/
|
|
9108
9110
|
post: {
|
|
9109
9111
|
parameters: {
|
|
@@ -9176,6 +9178,11 @@ interface paths {
|
|
|
9176
9178
|
/** @enum {string} */
|
|
9177
9179
|
submitMode?: "normal" | "interrupt" | "steer";
|
|
9178
9180
|
turnId?: string;
|
|
9181
|
+
/** @description Voice context for this turn. Omit for typed chat; behavior is unchanged when absent. */
|
|
9182
|
+
voice?: {
|
|
9183
|
+
/** @description The user turn came from a live voice call and the reply will be spoken by a voice model. The turn runs with a per-turn instruction to lead with a short, speakable answer; the instruction is never stored in the conversation. */
|
|
9184
|
+
spoken?: boolean;
|
|
9185
|
+
};
|
|
9179
9186
|
};
|
|
9180
9187
|
};
|
|
9181
9188
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -14444,7 +14444,7 @@ function transformQueryParams(params) {
|
|
|
14444
14444
|
}
|
|
14445
14445
|
//#endregion
|
|
14446
14446
|
//#region src/version.ts
|
|
14447
|
-
const SDK_VERSION = "10.13.
|
|
14447
|
+
const SDK_VERSION = "10.13.6";
|
|
14448
14448
|
/**
|
|
14449
14449
|
* Canonical client identity the API uses for attribution
|
|
14450
14450
|
* (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/sdk",
|
|
3
|
-
"version": "10.13.
|
|
3
|
+
"version": "10.13.6",
|
|
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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@runtypelabs/shared": "3.
|
|
27
|
+
"@runtypelabs/shared": "3.77.0",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsdown": "^0.23.0",
|
|
30
30
|
"typescript": "^6.0.3",
|