@runtypelabs/sdk 10.13.4 → 10.13.5
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 +6 -1
- package/dist/index.d.ts +6 -1
- 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.5";
|
|
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
|
@@ -9103,7 +9103,7 @@ interface paths {
|
|
|
9103
9103
|
put?: never;
|
|
9104
9104
|
/**
|
|
9105
9105
|
* 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.
|
|
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. 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
9107
|
*/
|
|
9108
9108
|
post: {
|
|
9109
9109
|
parameters: {
|
|
@@ -9176,6 +9176,11 @@ interface paths {
|
|
|
9176
9176
|
/** @enum {string} */
|
|
9177
9177
|
submitMode?: "normal" | "interrupt" | "steer";
|
|
9178
9178
|
turnId?: string;
|
|
9179
|
+
/** @description Voice context for this turn. Omit for typed chat; behavior is unchanged when absent. */
|
|
9180
|
+
voice?: {
|
|
9181
|
+
/** @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. */
|
|
9182
|
+
spoken?: boolean;
|
|
9183
|
+
};
|
|
9179
9184
|
};
|
|
9180
9185
|
};
|
|
9181
9186
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -9103,7 +9103,7 @@ interface paths {
|
|
|
9103
9103
|
put?: never;
|
|
9104
9104
|
/**
|
|
9105
9105
|
* 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.
|
|
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. 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
9107
|
*/
|
|
9108
9108
|
post: {
|
|
9109
9109
|
parameters: {
|
|
@@ -9176,6 +9176,11 @@ interface paths {
|
|
|
9176
9176
|
/** @enum {string} */
|
|
9177
9177
|
submitMode?: "normal" | "interrupt" | "steer";
|
|
9178
9178
|
turnId?: string;
|
|
9179
|
+
/** @description Voice context for this turn. Omit for typed chat; behavior is unchanged when absent. */
|
|
9180
|
+
voice?: {
|
|
9181
|
+
/** @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. */
|
|
9182
|
+
spoken?: boolean;
|
|
9183
|
+
};
|
|
9179
9184
|
};
|
|
9180
9185
|
};
|
|
9181
9186
|
};
|
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.5";
|
|
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.5",
|
|
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.76.0",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsdown": "^0.23.0",
|
|
30
30
|
"typescript": "^6.0.3",
|