@arbol-ai/cli 2.11.0 → 2.13.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 +52 -38
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -43787,6 +43787,7 @@ var schemaComponents = {
|
|
|
43787
43787
|
"followUpAfterMinutes",
|
|
43788
43788
|
"followUpMessage",
|
|
43789
43789
|
"greeting",
|
|
43790
|
+
"handoffMessage",
|
|
43790
43791
|
"humanReplyTimeoutMinutes",
|
|
43791
43792
|
"investigationsEnabled",
|
|
43792
43793
|
"model",
|
|
@@ -43835,7 +43836,7 @@ var schemaComponents = {
|
|
|
43835
43836
|
recoveryManager: {
|
|
43836
43837
|
anyOf: [
|
|
43837
43838
|
{
|
|
43838
|
-
description: "Optional WhatsApp recovery advisor. Null or enabled=false disables it. One tool-free model call per turn before autonomous escalation or after terminal provider failure; unresolved terminal recovery hands off. Completed handoffs and conservatively recognized human requests bypass generation. Model selects the existing provider route. Prices must be conservative upper bounds including provider overhead; missing or invalid prices disable recovery. The cost bound covers only the advisor. No tools or automatic provider retries.",
|
|
43839
|
+
description: "Optional WhatsApp recovery advisor. Null or enabled=false disables it. A journaled evidence check precedes any paid review. One tool-free model call per turn before autonomous escalation or after terminal provider failure; unresolved terminal recovery hands off. Completed handoffs and conservatively recognized human requests bypass generation. Model selects the existing provider route. Prices must be conservative upper bounds including provider overhead; missing or invalid prices disable recovery. The cost bound covers only the advisor. No tools or automatic provider retries.",
|
|
43839
43840
|
additionalProperties: false,
|
|
43840
43841
|
type: "object",
|
|
43841
43842
|
required: [
|
|
@@ -43912,7 +43913,7 @@ var schemaComponents = {
|
|
|
43912
43913
|
},
|
|
43913
43914
|
maxInputTokens: {
|
|
43914
43915
|
minimum: 4096,
|
|
43915
|
-
maximum:
|
|
43916
|
+
maximum: 131072,
|
|
43916
43917
|
type: "integer"
|
|
43917
43918
|
},
|
|
43918
43919
|
maxOutputTokens: {
|
|
@@ -43976,7 +43977,7 @@ var schemaComponents = {
|
|
|
43976
43977
|
budgetExhaustedMessage: {
|
|
43977
43978
|
anyOf: [
|
|
43978
43979
|
{
|
|
43979
|
-
description: "Text Agents on WhatsApp. What the contact reads when the Agent has used its `monthlyTokenBudget`: the conversation then goes to the team, as an escalation does, and the Agent writes nothing until the budget is raised or the month ends. Null:
|
|
43980
|
+
description: "Text Agents on WhatsApp. What the contact reads when the Agent has used its `monthlyTokenBudget`: the conversation then goes to the team, as an escalation does, and the Agent writes nothing until the budget is raised or the month ends. Null: `handoffMessage`, including an empty notice when disabled.",
|
|
43980
43981
|
maxLength: 1000,
|
|
43981
43982
|
minLength: 1,
|
|
43982
43983
|
type: "string"
|
|
@@ -44047,6 +44048,18 @@ var schemaComponents = {
|
|
|
44047
44048
|
}
|
|
44048
44049
|
]
|
|
44049
44050
|
},
|
|
44051
|
+
handoffMessage: {
|
|
44052
|
+
anyOf: [
|
|
44053
|
+
{
|
|
44054
|
+
description: "Text Agents on WhatsApp. The notice appended after an escalation or a requested human handoff. Null: the current localized review notice or the case-specific notice supplied under the Agent's instructions. An empty string disables the notice; the handoff and pause still happen. The model does not write this notice.",
|
|
44055
|
+
maxLength: 1000,
|
|
44056
|
+
type: "string"
|
|
44057
|
+
},
|
|
44058
|
+
{
|
|
44059
|
+
type: "null"
|
|
44060
|
+
}
|
|
44061
|
+
]
|
|
44062
|
+
},
|
|
44050
44063
|
humanReplyTimeoutMinutes: {
|
|
44051
44064
|
anyOf: [
|
|
44052
44065
|
{
|
|
@@ -44285,7 +44298,7 @@ var schemaComponents = {
|
|
|
44285
44298
|
recoveryManager: {
|
|
44286
44299
|
anyOf: [
|
|
44287
44300
|
{
|
|
44288
|
-
description: "Optional WhatsApp recovery advisor. Null or enabled=false disables it. One tool-free model call per turn before autonomous escalation or after terminal provider failure; unresolved terminal recovery hands off. Completed handoffs and conservatively recognized human requests bypass generation. Model selects the existing provider route. Prices must be conservative upper bounds including provider overhead; missing or invalid prices disable recovery. The cost bound covers only the advisor. No tools or automatic provider retries.",
|
|
44301
|
+
description: "Optional WhatsApp recovery advisor. Null or enabled=false disables it. A journaled evidence check precedes any paid review. One tool-free model call per turn before autonomous escalation or after terminal provider failure; unresolved terminal recovery hands off. Completed handoffs and conservatively recognized human requests bypass generation. Model selects the existing provider route. Prices must be conservative upper bounds including provider overhead; missing or invalid prices disable recovery. The cost bound covers only the advisor. No tools or automatic provider retries.",
|
|
44289
44302
|
additionalProperties: false,
|
|
44290
44303
|
type: "object",
|
|
44291
44304
|
required: [
|
|
@@ -44362,7 +44375,7 @@ var schemaComponents = {
|
|
|
44362
44375
|
},
|
|
44363
44376
|
maxInputTokens: {
|
|
44364
44377
|
minimum: 4096,
|
|
44365
|
-
maximum:
|
|
44378
|
+
maximum: 131072,
|
|
44366
44379
|
type: "integer"
|
|
44367
44380
|
},
|
|
44368
44381
|
maxOutputTokens: {
|
|
@@ -44426,7 +44439,7 @@ var schemaComponents = {
|
|
|
44426
44439
|
budgetExhaustedMessage: {
|
|
44427
44440
|
anyOf: [
|
|
44428
44441
|
{
|
|
44429
|
-
description: "Text Agents on WhatsApp. What the contact reads when the Agent has used its `monthlyTokenBudget`: the conversation then goes to the team, as an escalation does, and the Agent writes nothing until the budget is raised or the month ends. Null:
|
|
44442
|
+
description: "Text Agents on WhatsApp. What the contact reads when the Agent has used its `monthlyTokenBudget`: the conversation then goes to the team, as an escalation does, and the Agent writes nothing until the budget is raised or the month ends. Null: `handoffMessage`, including an empty notice when disabled.",
|
|
44430
44443
|
maxLength: 1000,
|
|
44431
44444
|
minLength: 1,
|
|
44432
44445
|
type: "string"
|
|
@@ -44509,6 +44522,18 @@ var schemaComponents = {
|
|
|
44509
44522
|
}
|
|
44510
44523
|
]
|
|
44511
44524
|
},
|
|
44525
|
+
handoffMessage: {
|
|
44526
|
+
anyOf: [
|
|
44527
|
+
{
|
|
44528
|
+
description: "Text Agents on WhatsApp. The notice appended after an escalation or a requested human handoff. Null: the current localized review notice or the case-specific notice supplied under the Agent's instructions. An empty string disables the notice; the handoff and pause still happen. The model does not write this notice.",
|
|
44529
|
+
maxLength: 1000,
|
|
44530
|
+
type: "string"
|
|
44531
|
+
},
|
|
44532
|
+
{
|
|
44533
|
+
type: "null"
|
|
44534
|
+
}
|
|
44535
|
+
]
|
|
44536
|
+
},
|
|
44512
44537
|
humanReplyTimeoutMinutes: {
|
|
44513
44538
|
anyOf: [
|
|
44514
44539
|
{
|
|
@@ -56662,12 +56687,13 @@ var schemaComponents = {
|
|
|
56662
56687
|
type: "object",
|
|
56663
56688
|
required: [
|
|
56664
56689
|
"agentId",
|
|
56665
|
-
"conversationId",
|
|
56666
56690
|
"expiresAt",
|
|
56667
56691
|
"id",
|
|
56668
|
-
"joinExpiresAt",
|
|
56669
56692
|
"joinUrl",
|
|
56670
56693
|
"phoneNumber",
|
|
56694
|
+
"sessionDurationHours",
|
|
56695
|
+
"participantCount",
|
|
56696
|
+
"activeParticipantCount",
|
|
56671
56697
|
"status"
|
|
56672
56698
|
],
|
|
56673
56699
|
properties: {
|
|
@@ -56679,39 +56705,19 @@ var schemaComponents = {
|
|
|
56679
56705
|
pattern: "^agt_(?:[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}))$",
|
|
56680
56706
|
type: "string"
|
|
56681
56707
|
},
|
|
56682
|
-
conversationId: {
|
|
56683
|
-
anyOf: [
|
|
56684
|
-
{
|
|
56685
|
-
description: "The trial transcript, once the sender joins.",
|
|
56686
|
-
examples: [
|
|
56687
|
-
"cnv_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
56688
|
-
],
|
|
56689
|
-
pattern: "^cnv_(?:[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}))$",
|
|
56690
|
-
type: "string"
|
|
56691
|
-
},
|
|
56692
|
-
{
|
|
56693
|
-
type: "null"
|
|
56694
|
-
}
|
|
56695
|
-
]
|
|
56696
|
-
},
|
|
56697
56708
|
expiresAt: {
|
|
56698
56709
|
description: "An instant in RFC 3339 format, in UTC.",
|
|
56699
56710
|
format: "date-time",
|
|
56700
56711
|
type: "string"
|
|
56701
56712
|
},
|
|
56702
56713
|
id: {
|
|
56703
|
-
description: "The
|
|
56714
|
+
description: "The organization's shareable Agent trial link.",
|
|
56704
56715
|
examples: [
|
|
56705
56716
|
"wts_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
56706
56717
|
],
|
|
56707
56718
|
pattern: "^wts_(?:[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}))$",
|
|
56708
56719
|
type: "string"
|
|
56709
56720
|
},
|
|
56710
|
-
joinExpiresAt: {
|
|
56711
|
-
description: "An instant in RFC 3339 format, in UTC.",
|
|
56712
|
-
format: "date-time",
|
|
56713
|
-
type: "string"
|
|
56714
|
-
},
|
|
56715
56721
|
joinUrl: {
|
|
56716
56722
|
anyOf: [
|
|
56717
56723
|
{
|
|
@@ -56728,12 +56734,20 @@ var schemaComponents = {
|
|
|
56728
56734
|
$ref: "#/components/schemas/RaizPhoneNumber",
|
|
56729
56735
|
description: "Phone number in E.164 format."
|
|
56730
56736
|
},
|
|
56737
|
+
sessionDurationHours: {
|
|
56738
|
+
const: 12,
|
|
56739
|
+
type: "number"
|
|
56740
|
+
},
|
|
56741
|
+
participantCount: {
|
|
56742
|
+
minimum: 0,
|
|
56743
|
+
type: "integer"
|
|
56744
|
+
},
|
|
56745
|
+
activeParticipantCount: {
|
|
56746
|
+
minimum: 0,
|
|
56747
|
+
type: "integer"
|
|
56748
|
+
},
|
|
56731
56749
|
status: {
|
|
56732
56750
|
anyOf: [
|
|
56733
|
-
{
|
|
56734
|
-
const: "waiting",
|
|
56735
|
-
type: "string"
|
|
56736
|
-
},
|
|
56737
56751
|
{
|
|
56738
56752
|
const: "active",
|
|
56739
56753
|
type: "string"
|
|
@@ -76448,9 +76462,9 @@ var schemaComponents = {
|
|
|
76448
76462
|
// src/generated/generation.json
|
|
76449
76463
|
var generation_default = {
|
|
76450
76464
|
formatVersion: 6,
|
|
76451
|
-
release: "1.20261028.
|
|
76452
|
-
openapiSha256: "
|
|
76453
|
-
openapiContentSha256: "
|
|
76465
|
+
release: "1.20261028.154640",
|
|
76466
|
+
openapiSha256: "ad5390014f03435778f78ed96f225be573562243387a8a6ba154ed948dca09df",
|
|
76467
|
+
openapiContentSha256: "472217811eecc0bec1e867938c2520765a603f3c97917a2523904bb68e072998",
|
|
76454
76468
|
forge: {
|
|
76455
76469
|
repository: "https://github.com/cloudflare/forge",
|
|
76456
76470
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -76463,7 +76477,7 @@ var generation_default = {
|
|
|
76463
76477
|
outputs: [
|
|
76464
76478
|
{
|
|
76465
76479
|
path: "src/generated/commands.ts",
|
|
76466
|
-
sha256: "
|
|
76480
|
+
sha256: "2ea1b193fbf3c63d0cc2d0de630415c489f0b14a73a6343d3da4886132d253e6"
|
|
76467
76481
|
}
|
|
76468
76482
|
]
|
|
76469
76483
|
};
|
|
@@ -76818,7 +76832,7 @@ ${name}`);
|
|
|
76818
76832
|
}
|
|
76819
76833
|
|
|
76820
76834
|
// src/index.ts
|
|
76821
|
-
var VERSION = "2.
|
|
76835
|
+
var VERSION = "2.13.0";
|
|
76822
76836
|
var RELEASE = generation_default.release;
|
|
76823
76837
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
76824
76838
|
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.13.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",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"verify": "bun run typecheck && bun run test && bun run build"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@arbol-ai/sdk": "2.
|
|
47
|
+
"@arbol-ai/sdk": "2.14.0",
|
|
48
48
|
"ajv": "8.20.0",
|
|
49
49
|
"ajv-formats": "3.0.1",
|
|
50
50
|
"oauth4webapi": "3.8.8"
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"packageManager": "bun@1.4.3",
|
|
60
60
|
"arbol": {
|
|
61
61
|
"openapi": {
|
|
62
|
-
"release": "1.20261028.
|
|
63
|
-
"sha256": "
|
|
62
|
+
"release": "1.20261028.154640",
|
|
63
|
+
"sha256": "472217811eecc0bec1e867938c2520765a603f3c97917a2523904bb68e072998"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|