@arbol-ai/cli 2.8.0 → 2.9.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 +553 -8
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -16859,6 +16859,121 @@ var commands = {
|
|
|
16859
16859
|
confirmation: null,
|
|
16860
16860
|
hidden: false
|
|
16861
16861
|
},
|
|
16862
|
+
"raiz eval-cases create": {
|
|
16863
|
+
operation: "raiz.evalCases.create",
|
|
16864
|
+
sdkPath: [
|
|
16865
|
+
"raiz",
|
|
16866
|
+
"evalCases",
|
|
16867
|
+
"create"
|
|
16868
|
+
],
|
|
16869
|
+
pathField: null,
|
|
16870
|
+
fields: [
|
|
16871
|
+
{
|
|
16872
|
+
name: "conversationId",
|
|
16873
|
+
flag: "conversation-id",
|
|
16874
|
+
kind: "string",
|
|
16875
|
+
required: true,
|
|
16876
|
+
description: "Conversation id."
|
|
16877
|
+
},
|
|
16878
|
+
{
|
|
16879
|
+
name: "replyMessageId",
|
|
16880
|
+
flag: "reply-message-id",
|
|
16881
|
+
kind: "string",
|
|
16882
|
+
required: true,
|
|
16883
|
+
description: "Message id."
|
|
16884
|
+
},
|
|
16885
|
+
{
|
|
16886
|
+
name: "expectation",
|
|
16887
|
+
flag: "expectation",
|
|
16888
|
+
kind: "string",
|
|
16889
|
+
required: true,
|
|
16890
|
+
description: "What the Agent should have done instead, for whoever replays the case: a short rubric, never the contact's personal data."
|
|
16891
|
+
},
|
|
16892
|
+
{
|
|
16893
|
+
name: "preferredResponse",
|
|
16894
|
+
flag: "preferred-response",
|
|
16895
|
+
kind: "string",
|
|
16896
|
+
required: true,
|
|
16897
|
+
description: "The team's preferred reply or procedure. Private evidence, never automatically instructions."
|
|
16898
|
+
},
|
|
16899
|
+
{
|
|
16900
|
+
name: "feedbackKind",
|
|
16901
|
+
flag: "feedback-kind",
|
|
16902
|
+
kind: "string",
|
|
16903
|
+
required: true,
|
|
16904
|
+
description: "",
|
|
16905
|
+
choices: [
|
|
16906
|
+
"incorrect",
|
|
16907
|
+
"simpler",
|
|
16908
|
+
"incomplete"
|
|
16909
|
+
]
|
|
16910
|
+
}
|
|
16911
|
+
],
|
|
16912
|
+
inputSchema: {
|
|
16913
|
+
additionalProperties: false,
|
|
16914
|
+
type: "object",
|
|
16915
|
+
required: [
|
|
16916
|
+
"conversationId",
|
|
16917
|
+
"replyMessageId",
|
|
16918
|
+
"expectation",
|
|
16919
|
+
"preferredResponse",
|
|
16920
|
+
"feedbackKind"
|
|
16921
|
+
],
|
|
16922
|
+
properties: {
|
|
16923
|
+
conversationId: {
|
|
16924
|
+
description: "Conversation id.",
|
|
16925
|
+
examples: [
|
|
16926
|
+
"cnv_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
16927
|
+
],
|
|
16928
|
+
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}))$",
|
|
16929
|
+
type: "string"
|
|
16930
|
+
},
|
|
16931
|
+
replyMessageId: {
|
|
16932
|
+
description: "Message id.",
|
|
16933
|
+
examples: [
|
|
16934
|
+
"msg_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
16935
|
+
],
|
|
16936
|
+
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}))$",
|
|
16937
|
+
type: "string"
|
|
16938
|
+
},
|
|
16939
|
+
expectation: {
|
|
16940
|
+
description: "What the Agent should have done instead, for whoever replays the case: a short rubric, never the contact's personal data.",
|
|
16941
|
+
maxLength: 4000,
|
|
16942
|
+
minLength: 1,
|
|
16943
|
+
pattern: "\\S",
|
|
16944
|
+
type: "string"
|
|
16945
|
+
},
|
|
16946
|
+
preferredResponse: {
|
|
16947
|
+
minLength: 1,
|
|
16948
|
+
maxLength: 4000,
|
|
16949
|
+
pattern: "\\S",
|
|
16950
|
+
description: "The team's preferred reply or procedure. Private evidence, never automatically instructions.",
|
|
16951
|
+
type: "string"
|
|
16952
|
+
},
|
|
16953
|
+
feedbackKind: {
|
|
16954
|
+
anyOf: [
|
|
16955
|
+
{
|
|
16956
|
+
const: "incorrect",
|
|
16957
|
+
type: "string"
|
|
16958
|
+
},
|
|
16959
|
+
{
|
|
16960
|
+
const: "simpler",
|
|
16961
|
+
type: "string"
|
|
16962
|
+
},
|
|
16963
|
+
{
|
|
16964
|
+
const: "incomplete",
|
|
16965
|
+
type: "string"
|
|
16966
|
+
}
|
|
16967
|
+
]
|
|
16968
|
+
}
|
|
16969
|
+
}
|
|
16970
|
+
},
|
|
16971
|
+
title: "Record Agent feedback",
|
|
16972
|
+
description: "Record internal feedback on one completed WhatsApp Agent reply: what should be preserved or changed, a preferred response, and whether it was incorrect, incomplete or could be simpler. Requires conversation write and Agent read access. Does not contact anyone or change live instructions. Repeating creation returns the existing authored case; edit it with updateEvalCase and expectedVersion.",
|
|
16973
|
+
effect: "write",
|
|
16974
|
+
confirmation: null,
|
|
16975
|
+
hidden: false
|
|
16976
|
+
},
|
|
16862
16977
|
"raiz eval-cases list": {
|
|
16863
16978
|
operation: "raiz.evalCases.list",
|
|
16864
16979
|
sdkPath: [
|
|
@@ -16913,6 +17028,25 @@ var commands = {
|
|
|
16913
17028
|
"kept",
|
|
16914
17029
|
"dismissed"
|
|
16915
17030
|
]
|
|
17031
|
+
},
|
|
17032
|
+
{
|
|
17033
|
+
name: "replyMessageId",
|
|
17034
|
+
flag: "reply-message-id",
|
|
17035
|
+
kind: "string",
|
|
17036
|
+
required: false,
|
|
17037
|
+
description: "Message id."
|
|
17038
|
+
},
|
|
17039
|
+
{
|
|
17040
|
+
name: "source",
|
|
17041
|
+
flag: "source",
|
|
17042
|
+
kind: "string",
|
|
17043
|
+
required: false,
|
|
17044
|
+
description: "",
|
|
17045
|
+
choices: [
|
|
17046
|
+
"correction",
|
|
17047
|
+
"sample",
|
|
17048
|
+
"authored"
|
|
17049
|
+
]
|
|
16916
17050
|
}
|
|
16917
17051
|
],
|
|
16918
17052
|
inputSchema: {
|
|
@@ -16967,12 +17101,36 @@ var commands = {
|
|
|
16967
17101
|
type: "string"
|
|
16968
17102
|
}
|
|
16969
17103
|
]
|
|
17104
|
+
},
|
|
17105
|
+
replyMessageId: {
|
|
17106
|
+
description: "Message id.",
|
|
17107
|
+
examples: [
|
|
17108
|
+
"msg_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
17109
|
+
],
|
|
17110
|
+
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}))$",
|
|
17111
|
+
type: "string"
|
|
17112
|
+
},
|
|
17113
|
+
source: {
|
|
17114
|
+
anyOf: [
|
|
17115
|
+
{
|
|
17116
|
+
const: "correction",
|
|
17117
|
+
type: "string"
|
|
17118
|
+
},
|
|
17119
|
+
{
|
|
17120
|
+
const: "sample",
|
|
17121
|
+
type: "string"
|
|
17122
|
+
},
|
|
17123
|
+
{
|
|
17124
|
+
const: "authored",
|
|
17125
|
+
type: "string"
|
|
17126
|
+
}
|
|
17127
|
+
]
|
|
16970
17128
|
}
|
|
16971
17129
|
},
|
|
16972
17130
|
additionalProperties: false
|
|
16973
17131
|
},
|
|
16974
17132
|
title: "List evaluation cases",
|
|
16975
|
-
description: "The Agents' evaluation cases, newest first:
|
|
17133
|
+
description: "The Agents' evaluation cases, newest first: completed WhatsApp replies with explicit internal team feedback (`authored`) or a following team message (`correction`), and the Agent version that wrote each reply. Filter by agentId, replyMessageId, source or status (`open`, `kept`, `dismissed`). Requires conversation read authority as well as Agent read authority. Read the conversation with its own operations to judge a case. Not an AI tool.",
|
|
16976
17134
|
effect: "read",
|
|
16977
17135
|
confirmation: null,
|
|
16978
17136
|
hidden: false
|
|
@@ -16993,6 +17151,32 @@ var commands = {
|
|
|
16993
17151
|
required: true,
|
|
16994
17152
|
description: "Evaluation case id."
|
|
16995
17153
|
},
|
|
17154
|
+
{
|
|
17155
|
+
name: "expectedVersion",
|
|
17156
|
+
flag: "expected-version",
|
|
17157
|
+
kind: "integer",
|
|
17158
|
+
required: false,
|
|
17159
|
+
description: "The `version` you read. When present, the change applies only if nobody changed the resource since; otherwise it fails with VERSION_CONFLICT."
|
|
17160
|
+
},
|
|
17161
|
+
{
|
|
17162
|
+
name: "preferredResponse",
|
|
17163
|
+
flag: "preferred-response",
|
|
17164
|
+
kind: "string",
|
|
17165
|
+
required: false,
|
|
17166
|
+
description: ""
|
|
17167
|
+
},
|
|
17168
|
+
{
|
|
17169
|
+
name: "feedbackKind",
|
|
17170
|
+
flag: "feedback-kind",
|
|
17171
|
+
kind: "string",
|
|
17172
|
+
required: false,
|
|
17173
|
+
description: "",
|
|
17174
|
+
choices: [
|
|
17175
|
+
"incorrect",
|
|
17176
|
+
"simpler",
|
|
17177
|
+
"incomplete"
|
|
17178
|
+
]
|
|
17179
|
+
},
|
|
16996
17180
|
{
|
|
16997
17181
|
name: "expectation",
|
|
16998
17182
|
flag: "expectation",
|
|
@@ -17028,12 +17212,48 @@ var commands = {
|
|
|
17028
17212
|
pattern: "^evc_(?:[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}))$",
|
|
17029
17213
|
type: "string"
|
|
17030
17214
|
},
|
|
17215
|
+
expectedVersion: {
|
|
17216
|
+
description: "The `version` you read. When present, the change applies only if nobody changed the resource since; otherwise it fails with VERSION_CONFLICT.",
|
|
17217
|
+
minimum: 1,
|
|
17218
|
+
type: "integer"
|
|
17219
|
+
},
|
|
17220
|
+
preferredResponse: {
|
|
17221
|
+
anyOf: [
|
|
17222
|
+
{
|
|
17223
|
+
minLength: 1,
|
|
17224
|
+
maxLength: 4000,
|
|
17225
|
+
pattern: "\\S",
|
|
17226
|
+
description: "The team's preferred reply or procedure. Private evidence, never automatically instructions.",
|
|
17227
|
+
type: "string"
|
|
17228
|
+
},
|
|
17229
|
+
{
|
|
17230
|
+
type: "null"
|
|
17231
|
+
}
|
|
17232
|
+
]
|
|
17233
|
+
},
|
|
17234
|
+
feedbackKind: {
|
|
17235
|
+
anyOf: [
|
|
17236
|
+
{
|
|
17237
|
+
const: "incorrect",
|
|
17238
|
+
type: "string"
|
|
17239
|
+
},
|
|
17240
|
+
{
|
|
17241
|
+
const: "simpler",
|
|
17242
|
+
type: "string"
|
|
17243
|
+
},
|
|
17244
|
+
{
|
|
17245
|
+
const: "incomplete",
|
|
17246
|
+
type: "string"
|
|
17247
|
+
}
|
|
17248
|
+
]
|
|
17249
|
+
},
|
|
17031
17250
|
expectation: {
|
|
17032
17251
|
anyOf: [
|
|
17033
17252
|
{
|
|
17034
17253
|
description: "What the Agent should have done instead, for whoever replays the case: a short rubric, never the contact's personal data.",
|
|
17035
17254
|
maxLength: 4000,
|
|
17036
17255
|
minLength: 1,
|
|
17256
|
+
pattern: "\\S",
|
|
17037
17257
|
type: "string"
|
|
17038
17258
|
},
|
|
17039
17259
|
{
|
|
@@ -17082,6 +17302,13 @@ var commands = {
|
|
|
17082
17302
|
required: true,
|
|
17083
17303
|
description: "Agent id."
|
|
17084
17304
|
},
|
|
17305
|
+
{
|
|
17306
|
+
name: "feedbackCaseId",
|
|
17307
|
+
flag: "feedback-case-id",
|
|
17308
|
+
kind: "string",
|
|
17309
|
+
required: false,
|
|
17310
|
+
description: "Evaluation case id."
|
|
17311
|
+
},
|
|
17085
17312
|
{
|
|
17086
17313
|
name: "caseIds",
|
|
17087
17314
|
flag: "case-ids",
|
|
@@ -17212,6 +17439,14 @@ var commands = {
|
|
|
17212
17439
|
}
|
|
17213
17440
|
}
|
|
17214
17441
|
},
|
|
17442
|
+
feedbackCaseId: {
|
|
17443
|
+
description: "Evaluation case id.",
|
|
17444
|
+
examples: [
|
|
17445
|
+
"evc_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
17446
|
+
],
|
|
17447
|
+
pattern: "^evc_(?:[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}))$",
|
|
17448
|
+
type: "string"
|
|
17449
|
+
},
|
|
17215
17450
|
caseIds: {
|
|
17216
17451
|
description: "The Agent's kept cases to replay. Omitted: its 50 newest kept cases.",
|
|
17217
17452
|
maxItems: 50,
|
|
@@ -17235,7 +17470,7 @@ var commands = {
|
|
|
17235
17470
|
}
|
|
17236
17471
|
},
|
|
17237
17472
|
title: "Replay evaluation cases on a candidate",
|
|
17238
|
-
description: "
|
|
17473
|
+
description: "With feedbackCaseId, prepare conditional guidance from that kept correction and test it with the Agent’s newest kept cases, always including the source. Do not combine feedbackCaseId with candidate or caseIds. This does not publish. Requires conversation read access. Otherwise measure a candidate version of a text Agent on its kept evaluation cases before publishing it: the WhatsApp Agent rewrites each case's reply with the candidate's `instructions`, `skills`, `integrationSkills`, `model` and `reasoningEffort` (omitted ones stay as the live Agent has them), without running any integration tool (each answers with what it answered in the original conversation) and without sending anything; then a judge model compares each new reply with what the team expects. Replays every kept case, or `caseIds`, at most 50. It calls paid models, so it needs `confirmCost: true`. Follow it with `getEvalRun`; with the Agent's `settings.evalGate`, `updateAgent` publishes exactly this content with `evalRunId`. EVAL_CASES_UNAVAILABLE: no kept case to replay. Not an AI tool.",
|
|
17239
17474
|
effect: "write",
|
|
17240
17475
|
confirmation: null,
|
|
17241
17476
|
hidden: false
|
|
@@ -45901,6 +46136,10 @@ var schemaComponents = {
|
|
|
45901
46136
|
"correctionMessageId",
|
|
45902
46137
|
"createdAt",
|
|
45903
46138
|
"expectation",
|
|
46139
|
+
"preferredResponse",
|
|
46140
|
+
"feedbackKind",
|
|
46141
|
+
"version",
|
|
46142
|
+
"latestRunId",
|
|
45904
46143
|
"id",
|
|
45905
46144
|
"replyMessageId",
|
|
45906
46145
|
"source",
|
|
@@ -45965,6 +46204,58 @@ var schemaComponents = {
|
|
|
45965
46204
|
}
|
|
45966
46205
|
]
|
|
45967
46206
|
},
|
|
46207
|
+
preferredResponse: {
|
|
46208
|
+
anyOf: [
|
|
46209
|
+
{
|
|
46210
|
+
type: "string"
|
|
46211
|
+
},
|
|
46212
|
+
{
|
|
46213
|
+
type: "null"
|
|
46214
|
+
}
|
|
46215
|
+
]
|
|
46216
|
+
},
|
|
46217
|
+
feedbackKind: {
|
|
46218
|
+
anyOf: [
|
|
46219
|
+
{
|
|
46220
|
+
anyOf: [
|
|
46221
|
+
{
|
|
46222
|
+
const: "incorrect",
|
|
46223
|
+
type: "string"
|
|
46224
|
+
},
|
|
46225
|
+
{
|
|
46226
|
+
const: "simpler",
|
|
46227
|
+
type: "string"
|
|
46228
|
+
},
|
|
46229
|
+
{
|
|
46230
|
+
const: "incomplete",
|
|
46231
|
+
type: "string"
|
|
46232
|
+
}
|
|
46233
|
+
]
|
|
46234
|
+
},
|
|
46235
|
+
{
|
|
46236
|
+
type: "null"
|
|
46237
|
+
}
|
|
46238
|
+
]
|
|
46239
|
+
},
|
|
46240
|
+
version: {
|
|
46241
|
+
minimum: 1,
|
|
46242
|
+
type: "integer"
|
|
46243
|
+
},
|
|
46244
|
+
latestRunId: {
|
|
46245
|
+
anyOf: [
|
|
46246
|
+
{
|
|
46247
|
+
description: "The latest candidate prepared from this correction.",
|
|
46248
|
+
examples: [
|
|
46249
|
+
"evr_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
46250
|
+
],
|
|
46251
|
+
pattern: "^evr_(?:[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}))$",
|
|
46252
|
+
type: "string"
|
|
46253
|
+
},
|
|
46254
|
+
{
|
|
46255
|
+
type: "null"
|
|
46256
|
+
}
|
|
46257
|
+
]
|
|
46258
|
+
},
|
|
45968
46259
|
id: {
|
|
45969
46260
|
description: "Evaluation case id.",
|
|
45970
46261
|
examples: [
|
|
@@ -45982,7 +46273,7 @@ var schemaComponents = {
|
|
|
45982
46273
|
type: "string"
|
|
45983
46274
|
},
|
|
45984
46275
|
source: {
|
|
45985
|
-
description: "`correction`: a person wrote right after the reply. `
|
|
46276
|
+
description: "`correction`: a person wrote right after the reply. `authored`: explicit internal team feedback. `sample`: a sampled reply.",
|
|
45986
46277
|
anyOf: [
|
|
45987
46278
|
{
|
|
45988
46279
|
const: "correction",
|
|
@@ -46054,8 +46345,13 @@ var schemaComponents = {
|
|
|
46054
46345
|
type: "object",
|
|
46055
46346
|
required: [
|
|
46056
46347
|
"agentId",
|
|
46348
|
+
"baseVersion",
|
|
46349
|
+
"feedbackCaseVersion",
|
|
46057
46350
|
"baseVersionId",
|
|
46058
46351
|
"caseIds",
|
|
46352
|
+
"feedbackCaseId",
|
|
46353
|
+
"proposal",
|
|
46354
|
+
"proposedInstructions",
|
|
46059
46355
|
"contentSha256",
|
|
46060
46356
|
"createdAt",
|
|
46061
46357
|
"endedAt",
|
|
@@ -46077,6 +46373,28 @@ var schemaComponents = {
|
|
|
46077
46373
|
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}))$",
|
|
46078
46374
|
type: "string"
|
|
46079
46375
|
},
|
|
46376
|
+
baseVersion: {
|
|
46377
|
+
anyOf: [
|
|
46378
|
+
{
|
|
46379
|
+
minimum: 1,
|
|
46380
|
+
type: "integer"
|
|
46381
|
+
},
|
|
46382
|
+
{
|
|
46383
|
+
type: "null"
|
|
46384
|
+
}
|
|
46385
|
+
]
|
|
46386
|
+
},
|
|
46387
|
+
feedbackCaseVersion: {
|
|
46388
|
+
anyOf: [
|
|
46389
|
+
{
|
|
46390
|
+
minimum: 1,
|
|
46391
|
+
type: "integer"
|
|
46392
|
+
},
|
|
46393
|
+
{
|
|
46394
|
+
type: "null"
|
|
46395
|
+
}
|
|
46396
|
+
]
|
|
46397
|
+
},
|
|
46080
46398
|
baseVersionId: {
|
|
46081
46399
|
anyOf: [
|
|
46082
46400
|
{
|
|
@@ -46100,6 +46418,77 @@ var schemaComponents = {
|
|
|
46100
46418
|
type: "string"
|
|
46101
46419
|
}
|
|
46102
46420
|
},
|
|
46421
|
+
feedbackCaseId: {
|
|
46422
|
+
anyOf: [
|
|
46423
|
+
{
|
|
46424
|
+
description: "Evaluation case id.",
|
|
46425
|
+
examples: [
|
|
46426
|
+
"evc_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
46427
|
+
],
|
|
46428
|
+
pattern: "^evc_(?:[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}))$",
|
|
46429
|
+
type: "string"
|
|
46430
|
+
},
|
|
46431
|
+
{
|
|
46432
|
+
type: "null"
|
|
46433
|
+
}
|
|
46434
|
+
]
|
|
46435
|
+
},
|
|
46436
|
+
proposal: {
|
|
46437
|
+
anyOf: [
|
|
46438
|
+
{
|
|
46439
|
+
additionalProperties: false,
|
|
46440
|
+
type: "object",
|
|
46441
|
+
required: [
|
|
46442
|
+
"appliesWhen",
|
|
46443
|
+
"guidance",
|
|
46444
|
+
"exceptions"
|
|
46445
|
+
],
|
|
46446
|
+
properties: {
|
|
46447
|
+
replaceText: {
|
|
46448
|
+
anyOf: [
|
|
46449
|
+
{
|
|
46450
|
+
minLength: 1,
|
|
46451
|
+
maxLength: 2000,
|
|
46452
|
+
type: "string"
|
|
46453
|
+
},
|
|
46454
|
+
{
|
|
46455
|
+
type: "null"
|
|
46456
|
+
}
|
|
46457
|
+
]
|
|
46458
|
+
},
|
|
46459
|
+
appliesWhen: {
|
|
46460
|
+
minLength: 1,
|
|
46461
|
+
maxLength: 600,
|
|
46462
|
+
type: "string"
|
|
46463
|
+
},
|
|
46464
|
+
guidance: {
|
|
46465
|
+
minLength: 1,
|
|
46466
|
+
maxLength: 1200,
|
|
46467
|
+
type: "string"
|
|
46468
|
+
},
|
|
46469
|
+
exceptions: {
|
|
46470
|
+
minLength: 1,
|
|
46471
|
+
maxLength: 600,
|
|
46472
|
+
type: "string"
|
|
46473
|
+
}
|
|
46474
|
+
}
|
|
46475
|
+
},
|
|
46476
|
+
{
|
|
46477
|
+
type: "null"
|
|
46478
|
+
}
|
|
46479
|
+
]
|
|
46480
|
+
},
|
|
46481
|
+
proposedInstructions: {
|
|
46482
|
+
anyOf: [
|
|
46483
|
+
{
|
|
46484
|
+
description: "For a feedback proposal, the exact candidate instructions to review and send to updateAgent with evalRunId and expectedVersion. No live Agent has changed.",
|
|
46485
|
+
type: "string"
|
|
46486
|
+
},
|
|
46487
|
+
{
|
|
46488
|
+
type: "null"
|
|
46489
|
+
}
|
|
46490
|
+
]
|
|
46491
|
+
},
|
|
46103
46492
|
contentSha256: {
|
|
46104
46493
|
description: "SHA-256 of the candidate's content (instructions, skills, connection skills, model, reasoning effort): what `settings.evalGate` compares with an update's.",
|
|
46105
46494
|
pattern: "^[a-f0-9]{64}$",
|
|
@@ -49070,6 +49459,35 @@ var schemaComponents = {
|
|
|
49070
49459
|
}
|
|
49071
49460
|
}
|
|
49072
49461
|
},
|
|
49462
|
+
{
|
|
49463
|
+
additionalProperties: false,
|
|
49464
|
+
type: "object",
|
|
49465
|
+
required: [
|
|
49466
|
+
"code",
|
|
49467
|
+
"message",
|
|
49468
|
+
"retryable",
|
|
49469
|
+
"data"
|
|
49470
|
+
],
|
|
49471
|
+
properties: {
|
|
49472
|
+
code: {
|
|
49473
|
+
const: "FEEDBACK_PROPOSAL_UNAVAILABLE",
|
|
49474
|
+
type: "string"
|
|
49475
|
+
},
|
|
49476
|
+
message: {
|
|
49477
|
+
const: "A usable improvement could not be prepared. The Agent has not changed. Try again later.",
|
|
49478
|
+
type: "string"
|
|
49479
|
+
},
|
|
49480
|
+
retryable: {
|
|
49481
|
+
const: true,
|
|
49482
|
+
type: "boolean"
|
|
49483
|
+
},
|
|
49484
|
+
data: {
|
|
49485
|
+
additionalProperties: false,
|
|
49486
|
+
type: "object",
|
|
49487
|
+
properties: {}
|
|
49488
|
+
}
|
|
49489
|
+
}
|
|
49490
|
+
},
|
|
49073
49491
|
{
|
|
49074
49492
|
additionalProperties: false,
|
|
49075
49493
|
type: "object",
|
|
@@ -68331,10 +68749,93 @@ var schemaComponents = {
|
|
|
68331
68749
|
type: "string"
|
|
68332
68750
|
}
|
|
68333
68751
|
]
|
|
68752
|
+
},
|
|
68753
|
+
replyMessageId: {
|
|
68754
|
+
description: "Message id.",
|
|
68755
|
+
examples: [
|
|
68756
|
+
"msg_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
68757
|
+
],
|
|
68758
|
+
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}))$",
|
|
68759
|
+
type: "string"
|
|
68760
|
+
},
|
|
68761
|
+
source: {
|
|
68762
|
+
anyOf: [
|
|
68763
|
+
{
|
|
68764
|
+
const: "correction",
|
|
68765
|
+
type: "string"
|
|
68766
|
+
},
|
|
68767
|
+
{
|
|
68768
|
+
const: "sample",
|
|
68769
|
+
type: "string"
|
|
68770
|
+
},
|
|
68771
|
+
{
|
|
68772
|
+
const: "authored",
|
|
68773
|
+
type: "string"
|
|
68774
|
+
}
|
|
68775
|
+
]
|
|
68334
68776
|
}
|
|
68335
68777
|
},
|
|
68336
68778
|
additionalProperties: false
|
|
68337
68779
|
},
|
|
68780
|
+
RaizEvalCasesCreateInput: {
|
|
68781
|
+
additionalProperties: false,
|
|
68782
|
+
type: "object",
|
|
68783
|
+
required: [
|
|
68784
|
+
"conversationId",
|
|
68785
|
+
"replyMessageId",
|
|
68786
|
+
"expectation",
|
|
68787
|
+
"preferredResponse",
|
|
68788
|
+
"feedbackKind"
|
|
68789
|
+
],
|
|
68790
|
+
properties: {
|
|
68791
|
+
conversationId: {
|
|
68792
|
+
description: "Conversation id.",
|
|
68793
|
+
examples: [
|
|
68794
|
+
"cnv_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
68795
|
+
],
|
|
68796
|
+
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}))$",
|
|
68797
|
+
type: "string"
|
|
68798
|
+
},
|
|
68799
|
+
replyMessageId: {
|
|
68800
|
+
description: "Message id.",
|
|
68801
|
+
examples: [
|
|
68802
|
+
"msg_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
68803
|
+
],
|
|
68804
|
+
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}))$",
|
|
68805
|
+
type: "string"
|
|
68806
|
+
},
|
|
68807
|
+
expectation: {
|
|
68808
|
+
description: "What the Agent should have done instead, for whoever replays the case: a short rubric, never the contact's personal data.",
|
|
68809
|
+
maxLength: 4000,
|
|
68810
|
+
minLength: 1,
|
|
68811
|
+
pattern: "\\S",
|
|
68812
|
+
type: "string"
|
|
68813
|
+
},
|
|
68814
|
+
preferredResponse: {
|
|
68815
|
+
minLength: 1,
|
|
68816
|
+
maxLength: 4000,
|
|
68817
|
+
pattern: "\\S",
|
|
68818
|
+
description: "The team's preferred reply or procedure. Private evidence, never automatically instructions.",
|
|
68819
|
+
type: "string"
|
|
68820
|
+
},
|
|
68821
|
+
feedbackKind: {
|
|
68822
|
+
anyOf: [
|
|
68823
|
+
{
|
|
68824
|
+
const: "incorrect",
|
|
68825
|
+
type: "string"
|
|
68826
|
+
},
|
|
68827
|
+
{
|
|
68828
|
+
const: "simpler",
|
|
68829
|
+
type: "string"
|
|
68830
|
+
},
|
|
68831
|
+
{
|
|
68832
|
+
const: "incomplete",
|
|
68833
|
+
type: "string"
|
|
68834
|
+
}
|
|
68835
|
+
]
|
|
68836
|
+
}
|
|
68837
|
+
}
|
|
68838
|
+
},
|
|
68338
68839
|
RaizEvalCasesUpdateInput: {
|
|
68339
68840
|
additionalProperties: false,
|
|
68340
68841
|
type: "object",
|
|
@@ -68350,12 +68851,48 @@ var schemaComponents = {
|
|
|
68350
68851
|
pattern: "^evc_(?:[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}))$",
|
|
68351
68852
|
type: "string"
|
|
68352
68853
|
},
|
|
68854
|
+
expectedVersion: {
|
|
68855
|
+
description: "The `version` you read. When present, the change applies only if nobody changed the resource since; otherwise it fails with VERSION_CONFLICT.",
|
|
68856
|
+
minimum: 1,
|
|
68857
|
+
type: "integer"
|
|
68858
|
+
},
|
|
68859
|
+
preferredResponse: {
|
|
68860
|
+
anyOf: [
|
|
68861
|
+
{
|
|
68862
|
+
minLength: 1,
|
|
68863
|
+
maxLength: 4000,
|
|
68864
|
+
pattern: "\\S",
|
|
68865
|
+
description: "The team's preferred reply or procedure. Private evidence, never automatically instructions.",
|
|
68866
|
+
type: "string"
|
|
68867
|
+
},
|
|
68868
|
+
{
|
|
68869
|
+
type: "null"
|
|
68870
|
+
}
|
|
68871
|
+
]
|
|
68872
|
+
},
|
|
68873
|
+
feedbackKind: {
|
|
68874
|
+
anyOf: [
|
|
68875
|
+
{
|
|
68876
|
+
const: "incorrect",
|
|
68877
|
+
type: "string"
|
|
68878
|
+
},
|
|
68879
|
+
{
|
|
68880
|
+
const: "simpler",
|
|
68881
|
+
type: "string"
|
|
68882
|
+
},
|
|
68883
|
+
{
|
|
68884
|
+
const: "incomplete",
|
|
68885
|
+
type: "string"
|
|
68886
|
+
}
|
|
68887
|
+
]
|
|
68888
|
+
},
|
|
68353
68889
|
expectation: {
|
|
68354
68890
|
anyOf: [
|
|
68355
68891
|
{
|
|
68356
68892
|
description: "What the Agent should have done instead, for whoever replays the case: a short rubric, never the contact's personal data.",
|
|
68357
68893
|
maxLength: 4000,
|
|
68358
68894
|
minLength: 1,
|
|
68895
|
+
pattern: "\\S",
|
|
68359
68896
|
type: "string"
|
|
68360
68897
|
},
|
|
68361
68898
|
{
|
|
@@ -68494,6 +69031,14 @@ var schemaComponents = {
|
|
|
68494
69031
|
}
|
|
68495
69032
|
}
|
|
68496
69033
|
},
|
|
69034
|
+
feedbackCaseId: {
|
|
69035
|
+
description: "Evaluation case id.",
|
|
69036
|
+
examples: [
|
|
69037
|
+
"evc_01m45h8q2rf3t9w6y7z0b1c2d3"
|
|
69038
|
+
],
|
|
69039
|
+
pattern: "^evc_(?:[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}))$",
|
|
69040
|
+
type: "string"
|
|
69041
|
+
},
|
|
68497
69042
|
caseIds: {
|
|
68498
69043
|
description: "The Agent's kept cases to replay. Omitted: its 50 newest kept cases.",
|
|
68499
69044
|
maxItems: 50,
|
|
@@ -73249,9 +73794,9 @@ var schemaComponents = {
|
|
|
73249
73794
|
// src/generated/generation.json
|
|
73250
73795
|
var generation_default = {
|
|
73251
73796
|
formatVersion: 6,
|
|
73252
|
-
release: "1.20261023.
|
|
73253
|
-
openapiSha256: "
|
|
73254
|
-
openapiContentSha256: "
|
|
73797
|
+
release: "1.20261023.60554",
|
|
73798
|
+
openapiSha256: "86323054a3e408946c70daf18480c82b7084c3e38c73e469d0d34227bf10a117",
|
|
73799
|
+
openapiContentSha256: "c05fa12d8b1bed4efd2d1e6a0e29a7dae23ee0e665b8117d08c7dc1d458876d4",
|
|
73255
73800
|
forge: {
|
|
73256
73801
|
repository: "https://github.com/cloudflare/forge",
|
|
73257
73802
|
commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
|
|
@@ -73264,7 +73809,7 @@ var generation_default = {
|
|
|
73264
73809
|
outputs: [
|
|
73265
73810
|
{
|
|
73266
73811
|
path: "src/generated/commands.ts",
|
|
73267
|
-
sha256: "
|
|
73812
|
+
sha256: "a06f367dba10667942695d2565afd2bb43fa1ac72279cec15effe052d47e46b0"
|
|
73268
73813
|
}
|
|
73269
73814
|
]
|
|
73270
73815
|
};
|
|
@@ -73619,7 +74164,7 @@ ${name}`);
|
|
|
73619
74164
|
}
|
|
73620
74165
|
|
|
73621
74166
|
// src/index.ts
|
|
73622
|
-
var VERSION = "2.
|
|
74167
|
+
var VERSION = "2.9.0";
|
|
73623
74168
|
var RELEASE = generation_default.release;
|
|
73624
74169
|
var SDK_PATHS = new Map(Object.values(commands).map((command) => [command.operation, command.sdkPath]));
|
|
73625
74170
|
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.9.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.10.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.20261023.
|
|
63
|
-
"sha256": "
|
|
62
|
+
"release": "1.20261023.60554",
|
|
63
|
+
"sha256": "c05fa12d8b1bed4efd2d1e6a0e29a7dae23ee0e665b8117d08c7dc1d458876d4"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|