@arbol-ai/cli 2.17.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.
Files changed (2) hide show
  1. package/dist/index.js +204 -13
  2. 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
@@ -45211,6 +45211,46 @@ var schemaComponents = {
45211
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.",
45212
45212
  type: "boolean"
45213
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
+ },
45214
45254
  responseDelayMessages: {
45215
45255
  description: "Speak a short contextual message while preparing a slow response. False disables automatic delay messages. Omitted preserves the current runtime setting.",
45216
45256
  type: "boolean"
@@ -48508,6 +48548,10 @@ var schemaComponents = {
48508
48548
  $ref: "#/components/schemas/RaizFact"
48509
48549
  }
48510
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
+ },
48511
48555
  messages: {
48512
48556
  $ref: "#/components/schemas/RaizMessagePage",
48513
48557
  description: "The transcript, oldest first, with tool calls and quoted replies. Present only when expanded."
@@ -48525,6 +48569,153 @@ var schemaComponents = {
48525
48569
  }
48526
48570
  }
48527
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
+ },
48528
48719
  RaizConversationPage: {
48529
48720
  additionalProperties: false,
48530
48721
  type: "object",
@@ -71324,11 +71515,11 @@ var schemaComponents = {
71324
71515
  type: "string"
71325
71516
  },
71326
71517
  expand: {
71327
- description: "Related data to include, comma-separated: `messages`, `recording`.",
71518
+ description: "Related data to include, comma-separated: `messages`, `recording`, `diagnostics`.",
71328
71519
  examples: [
71329
- "messages,recording"
71520
+ "messages,recording,diagnostics"
71330
71521
  ],
71331
- pattern: "^(messages|recording)(,(messages|recording))*$",
71522
+ pattern: "^(messages|recording|diagnostics)(,(messages|recording|diagnostics))*$",
71332
71523
  type: "string"
71333
71524
  },
71334
71525
  messagesCursor: {
@@ -76969,9 +77160,9 @@ var schemaComponents = {
76969
77160
  // src/generated/generation.json
76970
77161
  var generation_default = {
76971
77162
  formatVersion: 6,
76972
- release: "1.20261029.184453",
76973
- openapiSha256: "83953a1a495b756c60ae07abe6601ead7eac11c2842adc17a5c049bc4a8d6a5b",
76974
- openapiContentSha256: "cc685cd801f985527bf5a7ddbb9fc69e1c400e8edace983dce97fde1d6e8475e",
77163
+ release: "1.20261029.212716",
77164
+ openapiSha256: "27b4e02840cf504727074b53f4eed2983fe67383c26bcd0dfe3f411a8b125f28",
77165
+ openapiContentSha256: "9cf962dffffeca4df40accc75e3012ab056253ddbc7a840883ea04769d60da87",
76975
77166
  forge: {
76976
77167
  repository: "https://github.com/cloudflare/forge",
76977
77168
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -76984,7 +77175,7 @@ var generation_default = {
76984
77175
  outputs: [
76985
77176
  {
76986
77177
  path: "src/generated/commands.ts",
76987
- sha256: "72d69e13f7341209acef22744c14ee25e652186dc5c21ac554186829873411d4"
77178
+ sha256: "b7610312cb2da6ca237a1555cf5aa4d23060ff9b9cd5e84e0de4ae6a2bde5b72"
76988
77179
  }
76989
77180
  ]
76990
77181
  };
@@ -77339,7 +77530,7 @@ ${name}`);
77339
77530
  }
77340
77531
 
77341
77532
  // src/index.ts
77342
- var VERSION = "2.17.0";
77533
+ var VERSION = "2.18.0";
77343
77534
  var RELEASE = generation_default.release;
77344
77535
  var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
77345
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.17.0",
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.18.0",
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.184453",
64
- "sha256": "cc685cd801f985527bf5a7ddbb9fc69e1c400e8edace983dce97fde1d6e8475e"
63
+ "release": "1.20261029.212716",
64
+ "sha256": "9cf962dffffeca4df40accc75e3012ab056253ddbc7a840883ea04769d60da87"
65
65
  }
66
66
  }
67
67
  }