@arbol-ai/cli 3.39.0 → 3.40.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 +84 -14
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -21406,7 +21406,7 @@ var commands = {
21406
21406
  flag: "to-review",
21407
21407
  kind: "boolean",
21408
21408
  required: false,
21409
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others."
21409
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others."
21410
21410
  },
21411
21411
  {
21412
21412
  name: "messagesMin",
@@ -21663,7 +21663,7 @@ var commands = {
21663
21663
  ]
21664
21664
  },
21665
21665
  toReview: {
21666
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others.",
21666
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others.",
21667
21667
  type: "boolean"
21668
21668
  },
21669
21669
  messagesMin: {
@@ -22075,7 +22075,7 @@ var commands = {
22075
22075
  flag: "to-review",
22076
22076
  kind: "boolean",
22077
22077
  required: false,
22078
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others."
22078
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others."
22079
22079
  },
22080
22080
  {
22081
22081
  name: "messagesMin",
@@ -22363,7 +22363,7 @@ var commands = {
22363
22363
  ]
22364
22364
  },
22365
22365
  toReview: {
22366
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others.",
22366
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others.",
22367
22367
  type: "boolean"
22368
22368
  },
22369
22369
  messagesMin: {
@@ -22408,7 +22408,7 @@ var commands = {
22408
22408
  additionalProperties: false
22409
22409
  },
22410
22410
  title: "List conversations",
22411
- description: "Find calls, WhatsApp chats and web chats. Filter by `contactId` (as counterpart or subject), `agentId`, `channelId`, `channelType`, `status`, `conversationDirection`, `origin`, `outcome`, `sentiment`, `handling` (`ai` or `team`: whether the AI takes part; `escalated`: handed to the team by the AI), `worker` (`ai` or `team`: who answers it now), the Agent's tools (`toolName`, `toolStatus`: which tool it called and how the call ended), a captured fact (`factDefinition`, `factValue`), `assessment` (`failed` or `passed`), `toReview` (what needs a person's look: not resolved, or handed to the team), length (`messagesMin`, `messagesMax`, `durationMin`, `durationMax`), `campaignId`, `profileId`, `requestedBy` and start time (`startedAfter`, `startedBefore`); `q` searches participant identities (names, profile names, usernames, phones, emails and documents), visible messages, titles, summaries and exact conversation references; `count_conversations` counts every match. Each item already carries its title, summary, outcome, sentiment, workers and tool calls (how many, how many failed, the latest failure), often enough to answer. `sort`: `started` (newest first), `last_message` (latest activity first) or `changed`, the feed of status, outcome and analysis changes, oldest first, that systems poll from a saved `pageInfo.nextCursor` (a deleted conversation appears once with `deletedAt`). Next: `get_conversation` for a transcript.",
22411
+ description: "Find calls, WhatsApp chats and web chats. Filter by `contactId` (as counterpart or subject), `agentId`, `channelId`, `channelType`, `status`, `conversationDirection`, `origin`, `outcome`, `sentiment`, `handling` (`ai` or `team`: whether the AI takes part; `escalated`: handed to the team by the AI), `worker` (`ai` or `team`: who answers it now), the Agent's tools (`toolName`, `toolStatus`: which tool it called and how the call ended), a captured fact (`factDefinition`, `factValue`), `assessment` (`failed` or `passed`), `toReview` (evaluated failures or unresolved handoffs; explicitly resolved successes leave this queue), length (`messagesMin`, `messagesMax`, `durationMin`, `durationMax`), `campaignId`, `profileId`, `requestedBy` and start time (`startedAfter`, `startedBefore`); `q` searches participant identities (names, profile names, usernames, phones, emails and documents), visible messages, titles, summaries and exact conversation references; `count_conversations` counts every match. Each item already carries its title, summary, outcome, sentiment, workers and tool calls (how many, how many failed, the latest failure), often enough to answer. `sort`: `started` (newest first), `last_message` (latest activity first) or `changed`, the feed of status, outcome and analysis changes, oldest first, that systems poll from a saved `pageInfo.nextCursor` (a deleted conversation appears once with `deletedAt`). Next: `get_conversation` for a transcript.",
22412
22412
  effect: "read",
22413
22413
  confirmation: null,
22414
22414
  hidden: false
@@ -90486,6 +90486,76 @@ var schemaComponents = {
90486
90486
  toolCalls: {
90487
90487
  $ref: "#/components/schemas/RaizConversationToolCalls"
90488
90488
  },
90489
+ outcomeReview: {
90490
+ anyOf: [
90491
+ {
90492
+ additionalProperties: false,
90493
+ type: "object",
90494
+ required: [
90495
+ "confirmationMessageId",
90496
+ "evidence",
90497
+ "outcome",
90498
+ "reason",
90499
+ "reviewedAt",
90500
+ "reviewedBy"
90501
+ ],
90502
+ properties: {
90503
+ confirmationMessageId: {
90504
+ anyOf: [
90505
+ {
90506
+ description: "Message id.",
90507
+ examples: [
90508
+ "msg_01m45h8q2rf3t9w6y7z0b1c2d3"
90509
+ ],
90510
+ pattern: "^msg_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$",
90511
+ type: "string"
90512
+ },
90513
+ {
90514
+ type: "null"
90515
+ }
90516
+ ]
90517
+ },
90518
+ evidence: {
90519
+ minLength: 10,
90520
+ maxLength: 2000,
90521
+ type: "string"
90522
+ },
90523
+ outcome: {
90524
+ anyOf: [
90525
+ {
90526
+ const: "success",
90527
+ type: "string"
90528
+ },
90529
+ {
90530
+ const: "failure",
90531
+ type: "string"
90532
+ },
90533
+ {
90534
+ const: "unknown",
90535
+ type: "string"
90536
+ }
90537
+ ]
90538
+ },
90539
+ reason: {
90540
+ minLength: 10,
90541
+ maxLength: 1000,
90542
+ type: "string"
90543
+ },
90544
+ reviewedAt: {
90545
+ description: "An instant in RFC 3339 format, in UTC.",
90546
+ format: "date-time",
90547
+ type: "string"
90548
+ },
90549
+ reviewedBy: {
90550
+ type: "string"
90551
+ }
90552
+ }
90553
+ },
90554
+ {
90555
+ type: "null"
90556
+ }
90557
+ ]
90558
+ },
90489
90559
  analysisErrorCode: {
90490
90560
  anyOf: [
90491
90561
  {
@@ -91272,7 +91342,7 @@ var schemaComponents = {
91272
91342
  ]
91273
91343
  },
91274
91344
  toReview: {
91275
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others.",
91345
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others.",
91276
91346
  type: "boolean"
91277
91347
  },
91278
91348
  messagesMin: {
@@ -98233,7 +98303,7 @@ var schemaComponents = {
98233
98303
  type: "integer"
98234
98304
  },
98235
98305
  toReviewCount: {
98236
- description: "Conversations to review: escalated to the team or evaluated as a failure, each counted once.",
98306
+ description: "Conversations to review: unresolved escalations or evaluated failures, each counted once. A successful conversation explicitly resolved by the team leaves this queue; its historical escalation remains counted.",
98237
98307
  minimum: 0,
98238
98308
  type: "integer"
98239
98309
  }
@@ -127702,7 +127772,7 @@ var schemaComponents = {
127702
127772
  ]
127703
127773
  },
127704
127774
  toReview: {
127705
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others.",
127775
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others.",
127706
127776
  type: "boolean"
127707
127777
  },
127708
127778
  messagesMin: {
@@ -128168,7 +128238,7 @@ var schemaComponents = {
128168
128238
  ]
128169
128239
  },
128170
128240
  toReview: {
128171
- description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: the analysis says the request was not resolved, or the AI handed the conversation to the team. `false`: the others.",
128241
+ description: "`true`: conversations to review, as `get_report` counts them in `toReviewCount`: evaluated failures or unresolved escalations. A success explicitly resolved by the team leaves this queue without erasing its escalation history. `false`: the others.",
128172
128242
  type: "boolean"
128173
128243
  },
128174
128244
  messagesMin: {
@@ -134075,9 +134145,9 @@ var schemaComponents = {
134075
134145
  // src/generated/generation.json
134076
134146
  var generation_default = {
134077
134147
  formatVersion: 6,
134078
- release: "1.20261105.193553",
134079
- openapiSha256: "baa84db132222f324916e899c97f5593b7f5d84b108ea47063ce740c6b2e0077",
134080
- openapiContentSha256: "a7fefc26e04f60595cdd40d058867d090d19e0976d5bae8aa3d2bcd2d3b2b7ff",
134148
+ release: "1.20261105.212004",
134149
+ openapiSha256: "25d43932a99220b6e9744dda2fcd03eddf08142cb4b6605a0a738277ef0d87ee",
134150
+ openapiContentSha256: "a32ec00dfc0c9e3b9ba937ca70389051bec347a58cb58f41741d7f9677b31421",
134081
134151
  forge: {
134082
134152
  repository: "https://github.com/cloudflare/forge",
134083
134153
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -134090,7 +134160,7 @@ var generation_default = {
134090
134160
  outputs: [
134091
134161
  {
134092
134162
  path: "src/generated/commands.ts",
134093
- sha256: "d9ac0f990b23a5db0bf0b5d201b068bea6066508345040d7f37ed589822d1362"
134163
+ sha256: "9fc90c48f6f4e8d3446b419803ae3a9b8051503e0bef04324788eab23cfc61d8"
134094
134164
  }
134095
134165
  ]
134096
134166
  };
@@ -135690,7 +135760,7 @@ ${name}`);
135690
135760
  }
135691
135761
 
135692
135762
  // src/index.ts
135693
- var VERSION = "3.39.0";
135763
+ var VERSION = "3.40.0";
135694
135764
  var RELEASE = generation_default.release;
135695
135765
  var commands2 = { ...commands, ...accountOperatorCommands };
135696
135766
  var SDK_PATHS = new Map(Object.values(commands2).map((command) => [command.operation, command.sdkPath]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/cli",
3
- "version": "3.39.0",
3
+ "version": "3.40.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": "5.39.0",
48
+ "@arbol-ai/sdk": "5.40.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.20261105.193553",
64
- "sha256": "a7fefc26e04f60595cdd40d058867d090d19e0976d5bae8aa3d2bcd2d3b2b7ff"
63
+ "release": "1.20261105.212004",
64
+ "sha256": "a32ec00dfc0c9e3b9ba937ca70389051bec347a58cb58f41741d7f9677b31421"
65
65
  }
66
66
  }
67
67
  }