@arbol-ai/sdk 2.18.0 → 2.19.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.
|
@@ -257,6 +257,7 @@ export interface RaizAgentVoiceSettings {
|
|
|
257
257
|
keywords: string[];
|
|
258
258
|
llm: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | null;
|
|
259
259
|
maxDurationSeconds: number | null;
|
|
260
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
260
261
|
/**
|
|
261
262
|
* Keep the call recording (copied to Raíz after the call).
|
|
262
263
|
*/
|
|
@@ -48,8 +48,11 @@ export interface Client {
|
|
|
48
48
|
* outcome, sentiment and current facts. Add `expand=messages` for the
|
|
49
49
|
* transcript, oldest first, each message with its author, the Agent's tool
|
|
50
50
|
* calls and quoted replies (continue with `messagesCursor`), and
|
|
51
|
-
* `expand=recording` for a short-lived link to the call recording.
|
|
52
|
-
* `
|
|
51
|
+
* `expand=recording` for a short-lived link to the call recording. Staff may
|
|
52
|
+
* also request `expand=diagnostics` for bounded live call-termination
|
|
53
|
+
* evidence; this additionally requires raiz:staff:operate and never changes
|
|
54
|
+
* the conversation. The `review-conversation` skill explains how to read and
|
|
55
|
+
* summarize one.
|
|
53
56
|
*/
|
|
54
57
|
get(request: GetRequest, options?: RequestOptions): Promise<GetResponse>;
|
|
55
58
|
/**
|
|
@@ -223,7 +226,8 @@ export interface GetRequest {
|
|
|
223
226
|
*/
|
|
224
227
|
conversationId: string;
|
|
225
228
|
/**
|
|
226
|
-
* Related data to include, comma-separated: `messages`, `recording
|
|
229
|
+
* Related data to include, comma-separated: `messages`, `recording`,
|
|
230
|
+
* `diagnostics`.
|
|
227
231
|
*/
|
|
228
232
|
expand?: string;
|
|
229
233
|
/**
|
|
@@ -2,4 +2,4 @@ export { ApiError } from "../../_/index.js";
|
|
|
2
2
|
export type { RequestOptions } from "../../_/index.js";
|
|
3
3
|
export { createClient } from "./client.js";
|
|
4
4
|
export type { Client, ClientOptions, ContinueRequest, ContinueResponse, CountRequest, CountResponse, DeleteRequest, DeleteResponse, GetRequest, GetResponse, ListRequest, ListResponse, UpdateRequest, UpdateResponse, } from "./client.js";
|
|
5
|
-
export type { RaizConversation, RaizConversationPage, RaizConversationWorker, RaizMessage, RaizMessagePage, RaizSignedUrl, } from "./models.js";
|
|
5
|
+
export type { RaizConversation, RaizConversationDiagnostics, RaizConversationPage, RaizConversationWorker, RaizMessage, RaizMessagePage, RaizSignedUrl, } from "./models.js";
|
|
@@ -38,6 +38,13 @@ export interface RaizConversation {
|
|
|
38
38
|
*/
|
|
39
39
|
createdAt: Temporal.Instant;
|
|
40
40
|
deletedAt: Temporal.Instant | null;
|
|
41
|
+
/**
|
|
42
|
+
* Staff-only, live read of a call's provider termination evidence. Never
|
|
43
|
+
* includes provider identifiers, credentials, transcript content or free-form
|
|
44
|
+
* error text. Unavailable evidence is explicit and does not change the stored
|
|
45
|
+
* conversation.
|
|
46
|
+
*/
|
|
47
|
+
diagnostics?: RaizConversationDiagnostics;
|
|
41
48
|
direction: "inbound" | "outbound";
|
|
42
49
|
durationSeconds: number | null;
|
|
43
50
|
endedAt: Temporal.Instant | null;
|
|
@@ -107,6 +114,21 @@ export interface RaizConversation {
|
|
|
107
114
|
*/
|
|
108
115
|
workers: RaizConversationWorker[];
|
|
109
116
|
}
|
|
117
|
+
export interface RaizConversationDiagnostics {
|
|
118
|
+
errorCode: string | null;
|
|
119
|
+
providerErrorCode: number | null;
|
|
120
|
+
providerErrorPresent: boolean;
|
|
121
|
+
providerStatus: "initiated" | "active" | "processing" | "completed" | "failed" | "unknown" | null;
|
|
122
|
+
/**
|
|
123
|
+
* Words explicitly present in the provider's termination/error evidence,
|
|
124
|
+
* normalized to a fixed vocabulary. They are diagnostic signals, not proof of
|
|
125
|
+
* a business outcome or an exhaustive root cause; an empty list preserves an
|
|
126
|
+
* unclassified failure.
|
|
127
|
+
*/
|
|
128
|
+
signals: ("model" | "speech" | "tool" | "timeout" | "quota" | "transport" | "client_disconnected" | "inactivity" | "duration_limit" | "normal_end")[];
|
|
129
|
+
status: "available" | "unavailable" | "not_recorded" | "not_applicable";
|
|
130
|
+
terminationReasonPresent: boolean;
|
|
131
|
+
}
|
|
110
132
|
export interface RaizConversationPage {
|
|
111
133
|
/**
|
|
112
134
|
* Items admitted by this resource contract within the verified organization.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.0",
|
|
4
4
|
"description": "The Arbol API for TypeScript and JavaScript, generated by Cloudflare Forge from the platform's public OpenAPI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"arbol",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"packageManager": "bun@1.4.3",
|
|
51
51
|
"arbol": {
|
|
52
52
|
"openapi": {
|
|
53
|
-
"release": "1.20261029.
|
|
54
|
-
"sha256": "
|
|
53
|
+
"release": "1.20261029.212716",
|
|
54
|
+
"sha256": "9cf962dffffeca4df40accc75e3012ab056253ddbc7a840883ea04769d60da87"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|