@arbol-ai/cli 2.16.0 → 2.18.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.js +286 -13
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -15748,7 +15748,7 @@ var commands = {
|
|
|
15748
15748
|
flag: "expand",
|
|
15749
15749
|
kind: "string",
|
|
15750
15750
|
required: false,
|
|
15751
|
-
description: "Related data to include, comma-separated: `messages`, `recording`."
|
|
15751
|
+
description: "Related data to include, comma-separated: `messages`, `recording`, `diagnostics`."
|
|
15752
15752
|
},
|
|
15753
15753
|
{
|
|
15754
15754
|
name: "messagesCursor",
|
|
@@ -15790,11 +15790,11 @@ var commands = {
|
|
|
15790
15790
|
type: "string"
|
|
15791
15791
|
},
|
|
15792
15792
|
expand: {
|
|
15793
|
-
description: "Related data to include, comma-separated: `messages`, `recording`.",
|
|
15793
|
+
description: "Related data to include, comma-separated: `messages`, `recording`, `diagnostics`.",
|
|
15794
15794
|
examples: [
|
|
15795
|
-
"messages,recording"
|
|
15795
|
+
"messages,recording,diagnostics"
|
|
15796
15796
|
],
|
|
15797
|
-
pattern: "^(messages|recording)(,(messages|recording))*$",
|
|
15797
|
+
pattern: "^(messages|recording|diagnostics)(,(messages|recording|diagnostics))*$",
|
|
15798
15798
|
type: "string"
|
|
15799
15799
|
},
|
|
15800
15800
|
messagesCursor: {
|
|
@@ -15830,7 +15830,7 @@ var commands = {
|
|
|
15830
15830
|
additionalProperties: false
|
|
15831
15831
|
},
|
|
15832
15832
|
title: "Get a conversation",
|
|
15833
|
-
description: "Read one conversation with its contact, Agent and channel, who works it (`workers`: each Agent and the team, and who answers now), title, summary, outcome, sentiment and current facts. Add `expand=messages` for the transcript, oldest first, each message with its author, the Agent's tool calls and quoted replies (continue with `messagesCursor`), and `expand=recording` for a short-lived link to the call recording. The `review-conversation` skill explains how to read and summarize one.",
|
|
15833
|
+
description: "Read one conversation with its contact, Agent and channel, who works it (`workers`: each Agent and the team, and who answers now), title, summary, outcome, sentiment and current facts. Add `expand=messages` for the transcript, oldest first, each message with its author, the Agent's tool calls and quoted replies (continue with `messagesCursor`), and `expand=recording` for a short-lived link to the call recording. Staff may also request `expand=diagnostics` for bounded live call-termination evidence; this additionally requires raiz:staff:operate and never changes the conversation. The `review-conversation` skill explains how to read and summarize one.",
|
|
15834
15834
|
effect: "read",
|
|
15835
15835
|
confirmation: null,
|
|
15836
15836
|
hidden: false
|
|
@@ -25606,6 +25606,13 @@ var commands = {
|
|
|
25606
25606
|
required: false,
|
|
25607
25607
|
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required."
|
|
25608
25608
|
},
|
|
25609
|
+
{
|
|
25610
|
+
name: "sex",
|
|
25611
|
+
flag: "sex",
|
|
25612
|
+
kind: "string",
|
|
25613
|
+
required: false,
|
|
25614
|
+
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required."
|
|
25615
|
+
},
|
|
25609
25616
|
{
|
|
25610
25617
|
name: "connectionId",
|
|
25611
25618
|
flag: "connection-id",
|
|
@@ -25678,6 +25685,10 @@ var commands = {
|
|
|
25678
25685
|
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required.",
|
|
25679
25686
|
type: "string"
|
|
25680
25687
|
},
|
|
25688
|
+
sex: {
|
|
25689
|
+
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required.",
|
|
25690
|
+
type: "string"
|
|
25691
|
+
},
|
|
25681
25692
|
connectionId: {
|
|
25682
25693
|
minLength: 5,
|
|
25683
25694
|
maxLength: 68,
|
|
@@ -45200,6 +45211,46 @@ var schemaComponents = {
|
|
|
45200
45211
|
description: "Replace numbers entered on the phone keypad with <REDACTED> in stored transcripts and analysis. False (the default) keeps them visible. Applies to future calls; the Agent still receives the digits during the call.",
|
|
45201
45212
|
type: "boolean"
|
|
45202
45213
|
},
|
|
45214
|
+
reasoningEffort: {
|
|
45215
|
+
anyOf: [
|
|
45216
|
+
{
|
|
45217
|
+
description: "Reasoning effort on calls, when supported by the selected model. Null uses the model default.",
|
|
45218
|
+
anyOf: [
|
|
45219
|
+
{
|
|
45220
|
+
const: "none",
|
|
45221
|
+
type: "string"
|
|
45222
|
+
},
|
|
45223
|
+
{
|
|
45224
|
+
const: "minimal",
|
|
45225
|
+
type: "string"
|
|
45226
|
+
},
|
|
45227
|
+
{
|
|
45228
|
+
const: "low",
|
|
45229
|
+
type: "string"
|
|
45230
|
+
},
|
|
45231
|
+
{
|
|
45232
|
+
const: "medium",
|
|
45233
|
+
type: "string"
|
|
45234
|
+
},
|
|
45235
|
+
{
|
|
45236
|
+
const: "high",
|
|
45237
|
+
type: "string"
|
|
45238
|
+
},
|
|
45239
|
+
{
|
|
45240
|
+
const: "xhigh",
|
|
45241
|
+
type: "string"
|
|
45242
|
+
},
|
|
45243
|
+
{
|
|
45244
|
+
const: "max",
|
|
45245
|
+
type: "string"
|
|
45246
|
+
}
|
|
45247
|
+
]
|
|
45248
|
+
},
|
|
45249
|
+
{
|
|
45250
|
+
type: "null"
|
|
45251
|
+
}
|
|
45252
|
+
]
|
|
45253
|
+
},
|
|
45203
45254
|
responseDelayMessages: {
|
|
45204
45255
|
description: "Speak a short contextual message while preparing a slow response. False disables automatic delay messages. Omitted preserves the current runtime setting.",
|
|
45205
45256
|
type: "boolean"
|
|
@@ -48497,6 +48548,10 @@ var schemaComponents = {
|
|
|
48497
48548
|
$ref: "#/components/schemas/RaizFact"
|
|
48498
48549
|
}
|
|
48499
48550
|
},
|
|
48551
|
+
diagnostics: {
|
|
48552
|
+
$ref: "#/components/schemas/RaizConversationDiagnostics",
|
|
48553
|
+
description: "Staff-only, live read of a call's provider termination evidence. Never includes provider identifiers, credentials, transcript content or free-form error text. Unavailable evidence is explicit and does not change the stored conversation."
|
|
48554
|
+
},
|
|
48500
48555
|
messages: {
|
|
48501
48556
|
$ref: "#/components/schemas/RaizMessagePage",
|
|
48502
48557
|
description: "The transcript, oldest first, with tool calls and quoted replies. Present only when expanded."
|
|
@@ -48514,6 +48569,153 @@ var schemaComponents = {
|
|
|
48514
48569
|
}
|
|
48515
48570
|
}
|
|
48516
48571
|
},
|
|
48572
|
+
RaizConversationDiagnostics: {
|
|
48573
|
+
additionalProperties: false,
|
|
48574
|
+
type: "object",
|
|
48575
|
+
required: [
|
|
48576
|
+
"errorCode",
|
|
48577
|
+
"providerErrorCode",
|
|
48578
|
+
"providerErrorPresent",
|
|
48579
|
+
"providerStatus",
|
|
48580
|
+
"signals",
|
|
48581
|
+
"status",
|
|
48582
|
+
"terminationReasonPresent"
|
|
48583
|
+
],
|
|
48584
|
+
properties: {
|
|
48585
|
+
errorCode: {
|
|
48586
|
+
anyOf: [
|
|
48587
|
+
{
|
|
48588
|
+
maxLength: 80,
|
|
48589
|
+
type: "string"
|
|
48590
|
+
},
|
|
48591
|
+
{
|
|
48592
|
+
type: "null"
|
|
48593
|
+
}
|
|
48594
|
+
]
|
|
48595
|
+
},
|
|
48596
|
+
providerErrorCode: {
|
|
48597
|
+
anyOf: [
|
|
48598
|
+
{
|
|
48599
|
+
type: "integer"
|
|
48600
|
+
},
|
|
48601
|
+
{
|
|
48602
|
+
type: "null"
|
|
48603
|
+
}
|
|
48604
|
+
]
|
|
48605
|
+
},
|
|
48606
|
+
providerErrorPresent: {
|
|
48607
|
+
type: "boolean"
|
|
48608
|
+
},
|
|
48609
|
+
providerStatus: {
|
|
48610
|
+
anyOf: [
|
|
48611
|
+
{
|
|
48612
|
+
anyOf: [
|
|
48613
|
+
{
|
|
48614
|
+
const: "initiated",
|
|
48615
|
+
type: "string"
|
|
48616
|
+
},
|
|
48617
|
+
{
|
|
48618
|
+
const: "active",
|
|
48619
|
+
type: "string"
|
|
48620
|
+
},
|
|
48621
|
+
{
|
|
48622
|
+
const: "processing",
|
|
48623
|
+
type: "string"
|
|
48624
|
+
},
|
|
48625
|
+
{
|
|
48626
|
+
const: "completed",
|
|
48627
|
+
type: "string"
|
|
48628
|
+
},
|
|
48629
|
+
{
|
|
48630
|
+
const: "failed",
|
|
48631
|
+
type: "string"
|
|
48632
|
+
},
|
|
48633
|
+
{
|
|
48634
|
+
const: "unknown",
|
|
48635
|
+
type: "string"
|
|
48636
|
+
}
|
|
48637
|
+
]
|
|
48638
|
+
},
|
|
48639
|
+
{
|
|
48640
|
+
type: "null"
|
|
48641
|
+
}
|
|
48642
|
+
]
|
|
48643
|
+
},
|
|
48644
|
+
signals: {
|
|
48645
|
+
maxItems: 10,
|
|
48646
|
+
uniqueItems: true,
|
|
48647
|
+
description: "Words explicitly present in the provider's termination/error evidence, normalized to a fixed vocabulary. They are diagnostic signals, not proof of a business outcome or an exhaustive root cause; an empty list preserves an unclassified failure.",
|
|
48648
|
+
type: "array",
|
|
48649
|
+
items: {
|
|
48650
|
+
anyOf: [
|
|
48651
|
+
{
|
|
48652
|
+
const: "model",
|
|
48653
|
+
type: "string"
|
|
48654
|
+
},
|
|
48655
|
+
{
|
|
48656
|
+
const: "speech",
|
|
48657
|
+
type: "string"
|
|
48658
|
+
},
|
|
48659
|
+
{
|
|
48660
|
+
const: "tool",
|
|
48661
|
+
type: "string"
|
|
48662
|
+
},
|
|
48663
|
+
{
|
|
48664
|
+
const: "timeout",
|
|
48665
|
+
type: "string"
|
|
48666
|
+
},
|
|
48667
|
+
{
|
|
48668
|
+
const: "quota",
|
|
48669
|
+
type: "string"
|
|
48670
|
+
},
|
|
48671
|
+
{
|
|
48672
|
+
const: "transport",
|
|
48673
|
+
type: "string"
|
|
48674
|
+
},
|
|
48675
|
+
{
|
|
48676
|
+
const: "client_disconnected",
|
|
48677
|
+
type: "string"
|
|
48678
|
+
},
|
|
48679
|
+
{
|
|
48680
|
+
const: "inactivity",
|
|
48681
|
+
type: "string"
|
|
48682
|
+
},
|
|
48683
|
+
{
|
|
48684
|
+
const: "duration_limit",
|
|
48685
|
+
type: "string"
|
|
48686
|
+
},
|
|
48687
|
+
{
|
|
48688
|
+
const: "normal_end",
|
|
48689
|
+
type: "string"
|
|
48690
|
+
}
|
|
48691
|
+
]
|
|
48692
|
+
}
|
|
48693
|
+
},
|
|
48694
|
+
status: {
|
|
48695
|
+
anyOf: [
|
|
48696
|
+
{
|
|
48697
|
+
const: "available",
|
|
48698
|
+
type: "string"
|
|
48699
|
+
},
|
|
48700
|
+
{
|
|
48701
|
+
const: "unavailable",
|
|
48702
|
+
type: "string"
|
|
48703
|
+
},
|
|
48704
|
+
{
|
|
48705
|
+
const: "not_recorded",
|
|
48706
|
+
type: "string"
|
|
48707
|
+
},
|
|
48708
|
+
{
|
|
48709
|
+
const: "not_applicable",
|
|
48710
|
+
type: "string"
|
|
48711
|
+
}
|
|
48712
|
+
]
|
|
48713
|
+
},
|
|
48714
|
+
terminationReasonPresent: {
|
|
48715
|
+
type: "boolean"
|
|
48716
|
+
}
|
|
48717
|
+
}
|
|
48718
|
+
},
|
|
48517
48719
|
RaizConversationPage: {
|
|
48518
48720
|
additionalProperties: false,
|
|
48519
48721
|
type: "object",
|
|
@@ -61413,6 +61615,69 @@ var schemaComponents = {
|
|
|
61413
61615
|
}
|
|
61414
61616
|
}
|
|
61415
61617
|
},
|
|
61618
|
+
VisoftAvailabilityBookingInput: {
|
|
61619
|
+
additionalProperties: false,
|
|
61620
|
+
type: "object",
|
|
61621
|
+
required: [
|
|
61622
|
+
"agency",
|
|
61623
|
+
"contract",
|
|
61624
|
+
"service",
|
|
61625
|
+
"date",
|
|
61626
|
+
"time",
|
|
61627
|
+
"medicName"
|
|
61628
|
+
],
|
|
61629
|
+
properties: {
|
|
61630
|
+
agency: {
|
|
61631
|
+
type: "string"
|
|
61632
|
+
},
|
|
61633
|
+
contract: {
|
|
61634
|
+
type: "string"
|
|
61635
|
+
},
|
|
61636
|
+
service: {
|
|
61637
|
+
type: "string"
|
|
61638
|
+
},
|
|
61639
|
+
date: {
|
|
61640
|
+
format: "date",
|
|
61641
|
+
type: "string"
|
|
61642
|
+
},
|
|
61643
|
+
time: {
|
|
61644
|
+
type: "string"
|
|
61645
|
+
},
|
|
61646
|
+
medicName: {
|
|
61647
|
+
type: "string"
|
|
61648
|
+
},
|
|
61649
|
+
specialty: {
|
|
61650
|
+
type: "string"
|
|
61651
|
+
},
|
|
61652
|
+
intent: {
|
|
61653
|
+
type: "string"
|
|
61654
|
+
},
|
|
61655
|
+
sala: {
|
|
61656
|
+
type: "string"
|
|
61657
|
+
},
|
|
61658
|
+
fonoGroup: {
|
|
61659
|
+
type: "string"
|
|
61660
|
+
},
|
|
61661
|
+
toGroup: {
|
|
61662
|
+
type: "string"
|
|
61663
|
+
},
|
|
61664
|
+
patientAgeMonths: {
|
|
61665
|
+
type: "string"
|
|
61666
|
+
},
|
|
61667
|
+
modality: {
|
|
61668
|
+
type: "string"
|
|
61669
|
+
},
|
|
61670
|
+
authorizationService: {
|
|
61671
|
+
type: "string"
|
|
61672
|
+
},
|
|
61673
|
+
professionalChangeConfirmed: {
|
|
61674
|
+
type: "boolean"
|
|
61675
|
+
},
|
|
61676
|
+
pairWithNext: {
|
|
61677
|
+
type: "boolean"
|
|
61678
|
+
}
|
|
61679
|
+
}
|
|
61680
|
+
},
|
|
61416
61681
|
VisoftAvailabilitySlot: {
|
|
61417
61682
|
additionalProperties: false,
|
|
61418
61683
|
type: "object",
|
|
@@ -61428,6 +61693,10 @@ var schemaComponents = {
|
|
|
61428
61693
|
"window"
|
|
61429
61694
|
],
|
|
61430
61695
|
properties: {
|
|
61696
|
+
bookingInput: {
|
|
61697
|
+
$ref: "#/components/schemas/VisoftAvailabilityBookingInput",
|
|
61698
|
+
description: "Copy these exact arguments to visoft.appointments.create only after the person confirms this slot and service; add the confirmed documentNumber. Retain separately confirmed consent. Never replace the service or contract with a fresh EPS guess."
|
|
61699
|
+
},
|
|
61431
61700
|
token: {
|
|
61432
61701
|
description: "The booking reference visoft.appointments.create takes, unchanged; null when the slot cannot be booked by reference.",
|
|
61433
61702
|
anyOf: [
|
|
@@ -71246,11 +71515,11 @@ var schemaComponents = {
|
|
|
71246
71515
|
type: "string"
|
|
71247
71516
|
},
|
|
71248
71517
|
expand: {
|
|
71249
|
-
description: "Related data to include, comma-separated: `messages`, `recording`.",
|
|
71518
|
+
description: "Related data to include, comma-separated: `messages`, `recording`, `diagnostics`.",
|
|
71250
71519
|
examples: [
|
|
71251
|
-
"messages,recording"
|
|
71520
|
+
"messages,recording,diagnostics"
|
|
71252
71521
|
],
|
|
71253
|
-
pattern: "^(messages|recording)(,(messages|recording))*$",
|
|
71522
|
+
pattern: "^(messages|recording|diagnostics)(,(messages|recording|diagnostics))*$",
|
|
71254
71523
|
type: "string"
|
|
71255
71524
|
},
|
|
71256
71525
|
messagesCursor: {
|
|
@@ -76622,6 +76891,10 @@ var schemaComponents = {
|
|
|
76622
76891
|
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required.",
|
|
76623
76892
|
type: "string"
|
|
76624
76893
|
},
|
|
76894
|
+
sex: {
|
|
76895
|
+
description: "As the connection's clinic defines it: visoft.tools.list answers its meaning, accepted values and whether it is required.",
|
|
76896
|
+
type: "string"
|
|
76897
|
+
},
|
|
76625
76898
|
connectionId: {
|
|
76626
76899
|
minLength: 5,
|
|
76627
76900
|
maxLength: 68,
|
|
@@ -76887,9 +77160,9 @@ var schemaComponents = {
|
|
|
76887
77160
|
// src/generated/generation.json
|
|
76888
77161
|
var generation_default = {
|
|
76889
77162
|
formatVersion: 6,
|
|
76890
|
-
release: "1.20261029.
|
|
76891
|
-
openapiSha256: "
|
|
76892
|
-
openapiContentSha256: "
|
|
77163
|
+
release: "1.20261029.212716",
|
|
77164
|
+
openapiSha256: "27b4e02840cf504727074b53f4eed2983fe67383c26bcd0dfe3f411a8b125f28",
|
|
77165
|
+
openapiContentSha256: "9cf962dffffeca4df40accc75e3012ab056253ddbc7a840883ea04769d60da87",
|
|
76893
77166
|
forge: {
|
|
76894
77167
|
repository: "https://github.com/cloudflare/forge",
|
|
76895
77168
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -76902,7 +77175,7 @@ var generation_default = {
|
|
|
76902
77175
|
outputs: [
|
|
76903
77176
|
{
|
|
76904
77177
|
path: "src/generated/commands.ts",
|
|
76905
|
-
sha256: "
|
|
77178
|
+
sha256: "b7610312cb2da6ca237a1555cf5aa4d23060ff9b9cd5e84e0de4ae6a2bde5b72"
|
|
76906
77179
|
}
|
|
76907
77180
|
]
|
|
76908
77181
|
};
|
|
@@ -77257,7 +77530,7 @@ ${name}`);
|
|
|
77257
77530
|
}
|
|
77258
77531
|
|
|
77259
77532
|
// src/index.ts
|
|
77260
|
-
var VERSION = "2.
|
|
77533
|
+
var VERSION = "2.18.0";
|
|
77261
77534
|
var RELEASE = generation_default.release;
|
|
77262
77535
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
77263
77536
|
var SERVICES = [...new Set(Object.keys(commands).map((name) => name.split(" ")[0]))].toSorted();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.0",
|
|
4
4
|
"description": "The Arbol CLI: the Arbol API from your terminal, with commands generated by Cloudflare Forge from the public OpenAPI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"arbol",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"verify:with-tests": "bun run typecheck && bun run test && bun run build"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@arbol-ai/sdk": "2.
|
|
48
|
+
"@arbol-ai/sdk": "2.19.0",
|
|
49
49
|
"ajv": "8.20.0",
|
|
50
50
|
"ajv-formats": "3.0.1",
|
|
51
51
|
"oauth4webapi": "3.8.8"
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"packageManager": "bun@1.4.3",
|
|
61
61
|
"arbol": {
|
|
62
62
|
"openapi": {
|
|
63
|
-
"release": "1.20261029.
|
|
64
|
-
"sha256": "
|
|
63
|
+
"release": "1.20261029.212716",
|
|
64
|
+
"sha256": "9cf962dffffeca4df40accc75e3012ab056253ddbc7a840883ea04769d60da87"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|