@arbol-ai/cli 3.45.0 → 3.46.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 +418 -11
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -17179,6 +17179,17 @@ var commands = {
17179
17179
  }
17180
17180
  ]
17181
17181
  },
17182
+ workflow: {
17183
+ anyOf: [
17184
+ {
17185
+ $ref: "#/components/schemas/RaizAgentWorkflow"
17186
+ },
17187
+ {
17188
+ type: "null"
17189
+ }
17190
+ ],
17191
+ description: "The conversation graph the Agent follows beside its instructions and procedures: conversation steps, tool steps and endings, with no loops and a way forward from every step. A tool step needs one of the Agent's integration tools that only reads and that exactly one connection holds. It runs by itself, with the step's constant arguments and without the model choosing them, and follows its success or failure edge; on a call, a step that cannot run follows its failure edge. Checked against the Agent as it will be once saved (AGENT_WORKFLOW_INVALID says where one is wrong), also when an update changes the Agent's tools. In an update, omit it to keep the current one and send `null` to remove it."
17192
+ },
17182
17193
  modality: {
17183
17194
  anyOf: [
17184
17195
  {
@@ -17201,7 +17212,7 @@ var commands = {
17201
17212
  additionalProperties: false
17202
17213
  },
17203
17214
  title: "Create an Agent",
17204
- description: "Create an Agent that talks to the organization's contacts. Choose `modality` (`voice`: phone calls; `text`: WhatsApp and web chat) and a `name`; then give it `instructions` (role, goal, limits), and optionally a `firstMessage`, `language`, `timeZone`, `settings`, Knowledge (`knowledgeDocumentIds` of ready documents from `list_knowledge_documents`) and `integrationTools` (connection + tool pairs of the organization's connections in Account, checked live: INTEGRATION_TOOL_UNAVAILABLE), `procedures` (each a trigger plus free-form Markdown or structured steps, with inline references to the Agent's tools, Knowledge and other procedures: AGENT_PROCEDURES_INVALID says where one is wrong), and for a text Agent `integrationProcedures` (connection + procedure pairs a connection publishes, checked live: INTEGRATION_PROCEDURE_UNAVAILABLE). Next: assign it to a channel with `update_channel`; a voice Agent is published in the background, so check `synced` with `get_agent`. Read the `create-agent` skill (`get_skill`) first.",
17215
+ description: "Create an Agent that talks to the organization's contacts. Choose `modality` (`voice`: phone calls; `text`: WhatsApp and web chat) and a `name`; then give it `instructions` (role, goal, limits), and optionally a `firstMessage`, `language`, `timeZone`, `settings`, Knowledge (`knowledgeDocumentIds` of ready documents from `list_knowledge_documents`) and `integrationTools` (connection + tool pairs of the organization's connections in Account, checked live: INTEGRATION_TOOL_UNAVAILABLE), `procedures` (each a trigger plus free-form Markdown or structured steps, with inline references to the Agent's tools, Knowledge and other procedures: AGENT_PROCEDURES_INVALID says where one is wrong), `workflow` (a conversation graph of steps and edges: AGENT_WORKFLOW_INVALID says where one is wrong), and for a text Agent `integrationProcedures` (connection + procedure pairs a connection publishes, checked live: INTEGRATION_PROCEDURE_UNAVAILABLE). Next: assign it to a channel with `update_channel`; a voice Agent is published in the background, so check `synced` with `get_agent`. Read the `create-agent` skill (`get_skill`) first.",
17205
17216
  effect: "write",
17206
17217
  confirmation: null,
17207
17218
  hidden: false
@@ -17233,7 +17244,7 @@ var commands = {
17233
17244
  additionalProperties: false
17234
17245
  },
17235
17246
  title: "Get an Agent",
17236
- description: "Read one Agent's complete setup: instructions, first message, language, time zone, settings, integration tools (each with its connection and effect), Knowledge document ids, procedures (trigger plus free-form instructions or structured steps) and connection procedures, and channels. `ready` says whether it can hold conversations; for a voice Agent, `synced` says whether its phone line already runs this version, and `syncErrorCode` why not. Read it before `update_agent` and send its `version` as `expectedVersion`.",
17247
+ description: "Read one Agent's complete setup: instructions, first message, language, time zone, settings, integration tools (each with its connection and effect), Knowledge document ids, procedures (trigger plus free-form instructions or structured steps) and connection procedures, its workflow (a conversation graph, or null) and channels. `ready` says whether it can hold conversations; for a voice Agent, `synced` says whether its phone line already runs this version, and `syncErrorCode` why not. Read it before `update_agent` and send its `version` as `expectedVersion`.",
17237
17248
  effect: "read",
17238
17249
  confirmation: null,
17239
17250
  hidden: false
@@ -17590,6 +17601,17 @@ var commands = {
17590
17601
  }
17591
17602
  ]
17592
17603
  },
17604
+ workflow: {
17605
+ anyOf: [
17606
+ {
17607
+ $ref: "#/components/schemas/RaizAgentWorkflow"
17608
+ },
17609
+ {
17610
+ type: "null"
17611
+ }
17612
+ ],
17613
+ description: "The conversation graph the Agent follows beside its instructions and procedures: conversation steps, tool steps and endings, with no loops and a way forward from every step. A tool step needs one of the Agent's integration tools that only reads and that exactly one connection holds. It runs by itself, with the step's constant arguments and without the model choosing them, and follows its success or failure edge; on a call, a step that cannot run follows its failure edge. Checked against the Agent as it will be once saved (AGENT_WORKFLOW_INVALID says where one is wrong), also when an update changes the Agent's tools. In an update, omit it to keep the current one and send `null` to remove it."
17614
+ },
17593
17615
  evalRunId: {
17594
17616
  type: "string",
17595
17617
  description: "With the Agent's `settings.evalGate`: the completed evaluation run (`createEvalRun`) of exactly the content this update leaves the model reading, in which every case passed.",
@@ -17633,7 +17655,7 @@ var commands = {
17633
17655
  additionalProperties: false
17634
17656
  },
17635
17657
  title: "Update an Agent",
17636
- description: "Change an Agent: instructions, first message, name, language, time zone, settings, integration tools, Knowledge, procedures, connection procedures or status. Omitted fields stay and `null` clears one, also inside `settings`; `integrationTools`, `integrationProcedures`, `procedures` and `knowledgeDocumentIds` replace the whole value when given (keep each existing procedure's `id`), so read the Agent with `get_agent` first and send its `version` as `expectedVersion` (VERSION_CONFLICT: read it again). `status: paused` stops it from answering and calling. `modality` changes only while it has no channels and no published voice line (AGENT_MODALITY_LOCKED). A voice Agent republishes in the background: check `synced`.",
17658
+ description: "Change an Agent: instructions, first message, name, language, time zone, settings, integration tools, Knowledge, procedures, connection procedures, workflow or status. Omitted fields stay and `null` clears one, also inside `settings`; `integrationTools`, `integrationProcedures`, `procedures`, `knowledgeDocumentIds` and `workflow` replace the whole value when given (keep each existing procedure's `id`), so read the Agent with `get_agent` first and send its `version` as `expectedVersion` (VERSION_CONFLICT: read it again). A workflow is checked against the tools the Agent will have (AGENT_WORKFLOW_INVALID). `status: paused` stops it from answering and calling. `modality` changes only while it has no channels and no published voice line (AGENT_MODALITY_LOCKED). A voice Agent republishes in the background: check `synced`.",
17637
17659
  effect: "write",
17638
17660
  confirmation: null,
17639
17661
  hidden: false
@@ -181262,7 +181284,8 @@ var schemaComponents = {
181262
181284
  "integrationTools",
181263
181285
  "knowledgeDocumentIds",
181264
181286
  "procedures",
181265
- "settings"
181287
+ "settings",
181288
+ "workflow"
181266
181289
  ],
181267
181290
  properties: {
181268
181291
  channelCount: {
@@ -181594,6 +181617,17 @@ var schemaComponents = {
181594
181617
  },
181595
181618
  settings: {
181596
181619
  $ref: "#/components/schemas/RaizAgentSettings"
181620
+ },
181621
+ workflow: {
181622
+ anyOf: [
181623
+ {
181624
+ $ref: "#/components/schemas/RaizAgentWorkflow"
181625
+ },
181626
+ {
181627
+ type: "null"
181628
+ }
181629
+ ],
181630
+ description: "The conversation graph the Agent follows beside its instructions and procedures, or null for none."
181597
181631
  }
181598
181632
  },
181599
181633
  additionalProperties: false
@@ -184416,7 +184450,7 @@ var schemaComponents = {
184416
184450
  anyOf: [
184417
184451
  {
184418
184452
  type: "boolean",
184419
- description: "Text and voice Agents. When true, an `updateAgent` that changes what the model reads (instructions, procedures, connection procedures, `model` or `reasoningEffort`) must send `evalRunId`: a completed `createEvalRun` of this Agent with exactly that content, in which every case passed (EVAL_GATE_UNMET otherwise). Null: no requirement."
184453
+ description: "Text and voice Agents. When true, an `updateAgent` that changes what the model reads (instructions, procedures, connection procedures, `model` or `reasoningEffort`) must send `evalRunId`: a completed `createEvalRun` of this Agent with exactly that content, in which every case passed (EVAL_GATE_UNMET otherwise). A change to `workflow` is refused with EVAL_GATE_UNMET while this is true, because evaluation runs do not replay workflows yet. Null: no requirement."
184420
184454
  },
184421
184455
  {
184422
184456
  type: "null"
@@ -184901,7 +184935,7 @@ var schemaComponents = {
184901
184935
  anyOf: [
184902
184936
  {
184903
184937
  type: "boolean",
184904
- description: "Text and voice Agents. When true, an `updateAgent` that changes what the model reads (instructions, procedures, connection procedures, `model` or `reasoningEffort`) must send `evalRunId`: a completed `createEvalRun` of this Agent with exactly that content, in which every case passed (EVAL_GATE_UNMET otherwise). Null: no requirement."
184938
+ description: "Text and voice Agents. When true, an `updateAgent` that changes what the model reads (instructions, procedures, connection procedures, `model` or `reasoningEffort`) must send `evalRunId`: a completed `createEvalRun` of this Agent with exactly that content, in which every case passed (EVAL_GATE_UNMET otherwise). A change to `workflow` is refused with EVAL_GATE_UNMET while this is true, because evaluation runs do not replay workflows yet. Null: no requirement."
184905
184939
  },
184906
184940
  {
184907
184941
  type: "null"
@@ -185502,6 +185536,311 @@ var schemaComponents = {
185502
185536
  },
185503
185537
  additionalProperties: false
185504
185538
  },
185539
+ RaizAgentWorkflow: {
185540
+ type: "object",
185541
+ required: [
185542
+ "formatVersion",
185543
+ "nodes",
185544
+ "startNodeId"
185545
+ ],
185546
+ properties: {
185547
+ formatVersion: {
185548
+ type: "number",
185549
+ const: 1,
185550
+ description: "The format of this document."
185551
+ },
185552
+ nodes: {
185553
+ type: "array",
185554
+ items: {
185555
+ anyOf: [
185556
+ {
185557
+ type: "object",
185558
+ required: [
185559
+ "edges",
185560
+ "id",
185561
+ "instructions",
185562
+ "type"
185563
+ ],
185564
+ properties: {
185565
+ edges: {
185566
+ type: "array",
185567
+ items: {
185568
+ type: "object",
185569
+ required: [
185570
+ "condition",
185571
+ "to"
185572
+ ],
185573
+ properties: {
185574
+ condition: {
185575
+ anyOf: [
185576
+ {
185577
+ type: "object",
185578
+ required: [
185579
+ "type",
185580
+ "when"
185581
+ ],
185582
+ properties: {
185583
+ type: {
185584
+ type: "string",
185585
+ const: "semantic"
185586
+ },
185587
+ when: {
185588
+ type: "string",
185589
+ description: "A condition the Agent judges from the conversation, such as: The contact says the order already shipped.",
185590
+ maxLength: 1000,
185591
+ minLength: 1
185592
+ }
185593
+ },
185594
+ additionalProperties: false
185595
+ },
185596
+ {
185597
+ type: "object",
185598
+ required: [
185599
+ "type"
185600
+ ],
185601
+ properties: {
185602
+ type: {
185603
+ type: "string",
185604
+ const: "unconditional"
185605
+ }
185606
+ },
185607
+ additionalProperties: false,
185608
+ description: "Always holds. A conversation node's last edge must be unconditional: its fallback, followed when no earlier condition holds."
185609
+ }
185610
+ ]
185611
+ },
185612
+ to: {
185613
+ type: "string",
185614
+ examples: [
185615
+ "collect_details"
185616
+ ],
185617
+ pattern: "^[a-z][a-z0-9_-]{0,63}$",
185618
+ description: "The node this edge leads to."
185619
+ }
185620
+ },
185621
+ additionalProperties: false
185622
+ },
185623
+ description: "Where the conversation goes next, tried in order: the first edge whose condition holds is followed. Each leads to a different node, and the last must be unconditional.",
185624
+ maxItems: 9
185625
+ },
185626
+ id: {
185627
+ type: "string",
185628
+ description: "The node's id within this workflow, chosen by its author. Keep it across edits: a conversation's progress refers to it.",
185629
+ examples: [
185630
+ "collect_details"
185631
+ ],
185632
+ pattern: "^[a-z][a-z0-9_-]{0,63}$"
185633
+ },
185634
+ instructions: {
185635
+ type: "string",
185636
+ description: "What the Agent does at this step of the conversation.",
185637
+ maxLength: 1e4,
185638
+ minLength: 1
185639
+ },
185640
+ type: {
185641
+ type: "string",
185642
+ const: "converse"
185643
+ }
185644
+ },
185645
+ additionalProperties: false,
185646
+ description: "The Agent talks with the contact under these instructions until one of the node's edges holds."
185647
+ },
185648
+ {
185649
+ type: "object",
185650
+ required: [
185651
+ "arguments",
185652
+ "edges",
185653
+ "id",
185654
+ "tool",
185655
+ "type"
185656
+ ],
185657
+ properties: {
185658
+ arguments: {
185659
+ type: "object",
185660
+ patternProperties: {
185661
+ "^[A-Za-z0-9_-]{1,128}$": {
185662
+ description: "Always this value."
185663
+ }
185664
+ },
185665
+ additionalProperties: false,
185666
+ description: "Every parameter the call sends, by name, as constant JSON sent exactly as written: the model chooses none of them, and text such as `{{contact_name}}` is not filled in."
185667
+ },
185668
+ edges: {
185669
+ type: "array",
185670
+ items: {
185671
+ type: "object",
185672
+ required: [
185673
+ "condition",
185674
+ "to"
185675
+ ],
185676
+ properties: {
185677
+ condition: {
185678
+ type: "object",
185679
+ required: [
185680
+ "outcome",
185681
+ "type"
185682
+ ],
185683
+ properties: {
185684
+ outcome: {
185685
+ anyOf: [
185686
+ {
185687
+ type: "string",
185688
+ const: "success"
185689
+ },
185690
+ {
185691
+ type: "string",
185692
+ const: "failure"
185693
+ }
185694
+ ],
185695
+ description: "How the node's tool call ended. A result that reports a failure and a write whose effect is unknown both count as `failure`."
185696
+ },
185697
+ type: {
185698
+ type: "string",
185699
+ const: "result"
185700
+ }
185701
+ },
185702
+ additionalProperties: false
185703
+ },
185704
+ to: {
185705
+ type: "string",
185706
+ examples: [
185707
+ "collect_details"
185708
+ ],
185709
+ pattern: "^[a-z][a-z0-9_-]{0,63}$",
185710
+ description: "The node this edge leads to."
185711
+ }
185712
+ },
185713
+ additionalProperties: false
185714
+ },
185715
+ description: "Where the conversation goes after the call: one edge for success and one for failure, to different nodes.",
185716
+ maxItems: 2
185717
+ },
185718
+ id: {
185719
+ type: "string",
185720
+ description: "The node's id within this workflow, chosen by its author. Keep it across edits: a conversation's progress refers to it.",
185721
+ examples: [
185722
+ "collect_details"
185723
+ ],
185724
+ pattern: "^[a-z][a-z0-9_-]{0,63}$"
185725
+ },
185726
+ tool: {
185727
+ type: "string",
185728
+ description: "One of the Agent's assigned tools, by its tool name.",
185729
+ pattern: "^[A-Za-z0-9_.-]{1,128}$"
185730
+ },
185731
+ type: {
185732
+ type: "string",
185733
+ const: "tool"
185734
+ }
185735
+ },
185736
+ additionalProperties: false,
185737
+ description: "Runs this tool with these arguments whenever the conversation reaches the node, without asking the model."
185738
+ },
185739
+ {
185740
+ type: "object",
185741
+ required: [
185742
+ "id",
185743
+ "type"
185744
+ ],
185745
+ properties: {
185746
+ id: {
185747
+ type: "string",
185748
+ description: "The node's id within this workflow, chosen by its author. Keep it across edits: a conversation's progress refers to it.",
185749
+ examples: [
185750
+ "collect_details"
185751
+ ],
185752
+ pattern: "^[a-z][a-z0-9_-]{0,63}$"
185753
+ },
185754
+ type: {
185755
+ type: "string",
185756
+ const: "end"
185757
+ }
185758
+ },
185759
+ additionalProperties: false,
185760
+ description: "Finish the conversation (on a call, hang up)."
185761
+ }
185762
+ ]
185763
+ },
185764
+ description: "The steps. Every node must be reachable from the start, the graph has no cycles, and every path finishes at an end node.",
185765
+ maxItems: 64,
185766
+ minItems: 1
185767
+ },
185768
+ startNodeId: {
185769
+ type: "string",
185770
+ examples: [
185771
+ "collect_details"
185772
+ ],
185773
+ pattern: "^[a-z][a-z0-9_-]{0,63}$",
185774
+ description: "The node the conversation starts at."
185775
+ }
185776
+ },
185777
+ additionalProperties: false
185778
+ },
185779
+ RaizAgentWorkflowInvalidFailure: {
185780
+ type: "object",
185781
+ description: "The workflow breaks the graph rules, leaves a step without a way forward, or uses a tool this Agent cannot run there. `issues` says where.",
185782
+ additionalProperties: false,
185783
+ required: [
185784
+ "code",
185785
+ "message",
185786
+ "retryable",
185787
+ "data"
185788
+ ],
185789
+ properties: {
185790
+ code: {
185791
+ type: "string",
185792
+ enum: [
185793
+ "AGENT_WORKFLOW_INVALID"
185794
+ ],
185795
+ description: "The failure code, stable across releases."
185796
+ },
185797
+ message: {
185798
+ type: "string",
185799
+ description: "What went wrong, for people; it never contains input values."
185800
+ },
185801
+ retryable: {
185802
+ type: "boolean",
185803
+ enum: [
185804
+ false
185805
+ ],
185806
+ description: "Whether repeating the same request may succeed."
185807
+ },
185808
+ data: {
185809
+ $ref: "#/components/schemas/RaizAgentWorkflowInvalidFailureData"
185810
+ }
185811
+ }
185812
+ },
185813
+ RaizAgentWorkflowInvalidFailureData: {
185814
+ type: "object",
185815
+ required: [
185816
+ "issues"
185817
+ ],
185818
+ properties: {
185819
+ issues: {
185820
+ type: "array",
185821
+ items: {
185822
+ type: "object",
185823
+ required: [
185824
+ "code",
185825
+ "path"
185826
+ ],
185827
+ properties: {
185828
+ code: {
185829
+ type: "string",
185830
+ description: "Why, as a label: missing_fallback, missing_result_edge, unknown_node, unknown_start_node, unreachable_node, cycle, duplicate_edge, unknown_tool, ambiguous_tool, write_tool_not_supported, unknown_parameter, missing_required_parameter…"
185831
+ },
185832
+ path: {
185833
+ type: "string",
185834
+ description: "RFC 6901 pointer to the refused field, such as `/workflow/nodes/2/edges/0/to`."
185835
+ }
185836
+ },
185837
+ additionalProperties: false
185838
+ },
185839
+ maxItems: 20
185840
+ }
185841
+ },
185842
+ additionalProperties: false
185843
+ },
185505
185844
  RaizBulletin: {
185506
185845
  type: "object",
185507
185846
  required: [
@@ -192016,6 +192355,17 @@ var schemaComponents = {
192016
192355
  }
192017
192356
  ]
192018
192357
  },
192358
+ workflow: {
192359
+ anyOf: [
192360
+ {
192361
+ $ref: "#/components/schemas/RaizAgentWorkflow"
192362
+ },
192363
+ {
192364
+ type: "null"
192365
+ }
192366
+ ],
192367
+ description: "The conversation graph the Agent follows beside its instructions and procedures: conversation steps, tool steps and endings, with no loops and a way forward from every step. A tool step needs one of the Agent's integration tools that only reads and that exactly one connection holds. It runs by itself, with the step's constant arguments and without the model choosing them, and follows its success or failure edge; on a call, a step that cannot run follows its failure edge. Checked against the Agent as it will be once saved (AGENT_WORKFLOW_INVALID says where one is wrong), also when an update changes the Agent's tools. In an update, omit it to keep the current one and send `null` to remove it."
192368
+ },
192019
192369
  modality: {
192020
192370
  anyOf: [
192021
192371
  {
@@ -192168,6 +192518,9 @@ var schemaComponents = {
192168
192518
  {
192169
192519
  $ref: "#/components/schemas/RaizAgentProceduresInvalidFailure"
192170
192520
  },
192521
+ {
192522
+ $ref: "#/components/schemas/RaizAgentWorkflowInvalidFailure"
192523
+ },
192171
192524
  {
192172
192525
  $ref: "#/components/schemas/RaizAgentSettingsInvalidFailure"
192173
192526
  },
@@ -192185,6 +192538,7 @@ var schemaComponents = {
192185
192538
  propertyName: "code",
192186
192539
  mapping: {
192187
192540
  AGENT_PROCEDURES_INVALID: "#/components/schemas/RaizAgentProceduresInvalidFailure",
192541
+ AGENT_WORKFLOW_INVALID: "#/components/schemas/RaizAgentWorkflowInvalidFailure",
192188
192542
  AGENT_SETTINGS_INVALID: "#/components/schemas/RaizAgentSettingsInvalidFailure",
192189
192543
  INTEGRATION_PROCEDURE_UNAVAILABLE: "#/components/schemas/RaizIntegrationProcedureUnavailableFailure",
192190
192544
  INTEGRATION_TOOL_UNAVAILABLE: "#/components/schemas/RaizIntegrationToolUnavailableFailure",
@@ -193776,6 +194130,9 @@ var schemaComponents = {
193776
194130
  {
193777
194131
  $ref: "#/components/schemas/RaizAgentProceduresInvalidFailure"
193778
194132
  },
194133
+ {
194134
+ $ref: "#/components/schemas/RaizAgentWorkflowInvalidFailure"
194135
+ },
193779
194136
  {
193780
194137
  $ref: "#/components/schemas/RaizAgentSettingsInvalidFailure"
193781
194138
  },
@@ -193835,6 +194192,7 @@ var schemaComponents = {
193835
194192
  VOICE_NOT_AVAILABLE: "#/components/schemas/RaizVoiceNotAvailableFailure",
193836
194193
  VOICE_NUMBER_NOT_OWNED: "#/components/schemas/RaizVoiceNumberNotOwnedFailure",
193837
194194
  AGENT_PROCEDURES_INVALID: "#/components/schemas/RaizAgentProceduresInvalidFailure",
194195
+ AGENT_WORKFLOW_INVALID: "#/components/schemas/RaizAgentWorkflowInvalidFailure",
193838
194196
  AGENT_SETTINGS_INVALID: "#/components/schemas/RaizAgentSettingsInvalidFailure",
193839
194197
  BULLETIN_PERIOD_INVALID: "#/components/schemas/RaizBulletinPeriodInvalidFailure",
193840
194198
  INTEGRATION_PROCEDURE_UNAVAILABLE: "#/components/schemas/RaizIntegrationProcedureUnavailableFailure",
@@ -195210,6 +195568,9 @@ var schemaComponents = {
195210
195568
  {
195211
195569
  $ref: "#/components/schemas/RaizAgentProceduresInvalidFailure"
195212
195570
  },
195571
+ {
195572
+ $ref: "#/components/schemas/RaizAgentWorkflowInvalidFailure"
195573
+ },
195213
195574
  {
195214
195575
  $ref: "#/components/schemas/RaizAgentSettingsInvalidFailure"
195215
195576
  },
@@ -195269,6 +195630,7 @@ var schemaComponents = {
195269
195630
  VOICE_NOT_AVAILABLE: "#/components/schemas/RaizVoiceNotAvailableFailure",
195270
195631
  VOICE_NUMBER_NOT_OWNED: "#/components/schemas/RaizVoiceNumberNotOwnedFailure",
195271
195632
  AGENT_PROCEDURES_INVALID: "#/components/schemas/RaizAgentProceduresInvalidFailure",
195633
+ AGENT_WORKFLOW_INVALID: "#/components/schemas/RaizAgentWorkflowInvalidFailure",
195272
195634
  AGENT_SETTINGS_INVALID: "#/components/schemas/RaizAgentSettingsInvalidFailure",
195273
195635
  BULLETIN_PERIOD_INVALID: "#/components/schemas/RaizBulletinPeriodInvalidFailure",
195274
195636
  INTEGRATION_PROCEDURE_UNAVAILABLE: "#/components/schemas/RaizIntegrationProcedureUnavailableFailure",
@@ -199042,6 +199404,9 @@ var schemaComponents = {
199042
199404
  {
199043
199405
  $ref: "#/components/schemas/RaizAgentProceduresInvalidFailure"
199044
199406
  },
199407
+ {
199408
+ $ref: "#/components/schemas/RaizAgentWorkflowInvalidFailure"
199409
+ },
199045
199410
  {
199046
199411
  $ref: "#/components/schemas/RaizAgentSettingsInvalidFailure"
199047
199412
  },
@@ -199101,6 +199466,7 @@ var schemaComponents = {
199101
199466
  VOICE_NOT_AVAILABLE: "#/components/schemas/RaizVoiceNotAvailableFailure",
199102
199467
  VOICE_NUMBER_NOT_OWNED: "#/components/schemas/RaizVoiceNumberNotOwnedFailure",
199103
199468
  AGENT_PROCEDURES_INVALID: "#/components/schemas/RaizAgentProceduresInvalidFailure",
199469
+ AGENT_WORKFLOW_INVALID: "#/components/schemas/RaizAgentWorkflowInvalidFailure",
199104
199470
  AGENT_SETTINGS_INVALID: "#/components/schemas/RaizAgentSettingsInvalidFailure",
199105
199471
  BULLETIN_PERIOD_INVALID: "#/components/schemas/RaizBulletinPeriodInvalidFailure",
199106
199472
  INTEGRATION_PROCEDURE_UNAVAILABLE: "#/components/schemas/RaizIntegrationProcedureUnavailableFailure",
@@ -210136,6 +210502,17 @@ var schemaComponents = {
210136
210502
  }
210137
210503
  ]
210138
210504
  },
210505
+ workflow: {
210506
+ anyOf: [
210507
+ {
210508
+ $ref: "#/components/schemas/RaizAgentWorkflow"
210509
+ },
210510
+ {
210511
+ type: "null"
210512
+ }
210513
+ ],
210514
+ description: "The conversation graph the Agent follows beside its instructions and procedures: conversation steps, tool steps and endings, with no loops and a way forward from every step. A tool step needs one of the Agent's integration tools that only reads and that exactly one connection holds. It runs by itself, with the step's constant arguments and without the model choosing them, and follows its success or failure edge; on a call, a step that cannot run follows its failure edge. Checked against the Agent as it will be once saved (AGENT_WORKFLOW_INVALID says where one is wrong), also when an update changes the Agent's tools. In an update, omit it to keep the current one and send `null` to remove it."
210515
+ },
210139
210516
  evalRunId: {
210140
210517
  type: "string",
210141
210518
  description: "With the Agent's `settings.evalGate`: the completed evaluation run (`createEvalRun`) of exactly the content this update leaves the model reading, in which every case passed.",
@@ -210305,6 +210682,9 @@ var schemaComponents = {
210305
210682
  {
210306
210683
  $ref: "#/components/schemas/RaizAgentProceduresInvalidFailure"
210307
210684
  },
210685
+ {
210686
+ $ref: "#/components/schemas/RaizAgentWorkflowInvalidFailure"
210687
+ },
210308
210688
  {
210309
210689
  $ref: "#/components/schemas/RaizAgentSettingsInvalidFailure"
210310
210690
  },
@@ -210322,6 +210702,7 @@ var schemaComponents = {
210322
210702
  propertyName: "code",
210323
210703
  mapping: {
210324
210704
  AGENT_PROCEDURES_INVALID: "#/components/schemas/RaizAgentProceduresInvalidFailure",
210705
+ AGENT_WORKFLOW_INVALID: "#/components/schemas/RaizAgentWorkflowInvalidFailure",
210325
210706
  AGENT_SETTINGS_INVALID: "#/components/schemas/RaizAgentSettingsInvalidFailure",
210326
210707
  INTEGRATION_PROCEDURE_UNAVAILABLE: "#/components/schemas/RaizIntegrationProcedureUnavailableFailure",
210327
210708
  INTEGRATION_TOOL_UNAVAILABLE: "#/components/schemas/RaizIntegrationToolUnavailableFailure",
@@ -211776,6 +212157,9 @@ var schemaComponents = {
211776
212157
  {
211777
212158
  $ref: "#/components/schemas/RaizAgentProceduresInvalidFailure"
211778
212159
  },
212160
+ {
212161
+ $ref: "#/components/schemas/RaizAgentWorkflowInvalidFailure"
212162
+ },
211779
212163
  {
211780
212164
  $ref: "#/components/schemas/RaizAgentSettingsInvalidFailure"
211781
212165
  },
@@ -211835,6 +212219,7 @@ var schemaComponents = {
211835
212219
  VOICE_NOT_AVAILABLE: "#/components/schemas/RaizVoiceNotAvailableFailure",
211836
212220
  VOICE_NUMBER_NOT_OWNED: "#/components/schemas/RaizVoiceNumberNotOwnedFailure",
211837
212221
  AGENT_PROCEDURES_INVALID: "#/components/schemas/RaizAgentProceduresInvalidFailure",
212222
+ AGENT_WORKFLOW_INVALID: "#/components/schemas/RaizAgentWorkflowInvalidFailure",
211838
212223
  AGENT_SETTINGS_INVALID: "#/components/schemas/RaizAgentSettingsInvalidFailure",
211839
212224
  BULLETIN_PERIOD_INVALID: "#/components/schemas/RaizBulletinPeriodInvalidFailure",
211840
212225
  INTEGRATION_PROCEDURE_UNAVAILABLE: "#/components/schemas/RaizIntegrationProcedureUnavailableFailure",
@@ -241897,6 +242282,17 @@ var schemaComponents = {
241897
242282
  }
241898
242283
  ]
241899
242284
  },
242285
+ workflow: {
242286
+ anyOf: [
242287
+ {
242288
+ $ref: "#/components/schemas/RaizAgentWorkflow"
242289
+ },
242290
+ {
242291
+ type: "null"
242292
+ }
242293
+ ],
242294
+ description: "The conversation graph the Agent follows beside its instructions and procedures: conversation steps, tool steps and endings, with no loops and a way forward from every step. A tool step needs one of the Agent's integration tools that only reads and that exactly one connection holds. It runs by itself, with the step's constant arguments and without the model choosing them, and follows its success or failure edge; on a call, a step that cannot run follows its failure edge. Checked against the Agent as it will be once saved (AGENT_WORKFLOW_INVALID says where one is wrong), also when an update changes the Agent's tools. In an update, omit it to keep the current one and send `null` to remove it."
242295
+ },
241900
242296
  modality: {
241901
242297
  anyOf: [
241902
242298
  {
@@ -242057,6 +242453,17 @@ var schemaComponents = {
242057
242453
  }
242058
242454
  ]
242059
242455
  },
242456
+ workflow: {
242457
+ anyOf: [
242458
+ {
242459
+ $ref: "#/components/schemas/RaizAgentWorkflow"
242460
+ },
242461
+ {
242462
+ type: "null"
242463
+ }
242464
+ ],
242465
+ description: "The conversation graph the Agent follows beside its instructions and procedures: conversation steps, tool steps and endings, with no loops and a way forward from every step. A tool step needs one of the Agent's integration tools that only reads and that exactly one connection holds. It runs by itself, with the step's constant arguments and without the model choosing them, and follows its success or failure edge; on a call, a step that cannot run follows its failure edge. Checked against the Agent as it will be once saved (AGENT_WORKFLOW_INVALID says where one is wrong), also when an update changes the Agent's tools. In an update, omit it to keep the current one and send `null` to remove it."
242466
+ },
242060
242467
  evalRunId: {
242061
242468
  type: "string",
242062
242469
  description: "With the Agent's `settings.evalGate`: the completed evaluation run (`createEvalRun`) of exactly the content this update leaves the model reading, in which every case passed.",
@@ -250885,9 +251292,9 @@ var schemaComponents = {
250885
251292
  // src/generated/generation.json
250886
251293
  var generation_default = {
250887
251294
  formatVersion: 6,
250888
- release: "1.20261108.215556",
250889
- openapiSha256: "4c664affa25b8205e35b495d65b0d7b0da8169fa1be7911ab357cb73e59d5fb5",
250890
- openapiContentSha256: "8fcd233cbe7a349b5d7fc3623a6d4a434d08cfdbb91c519c123e38eadc1209ff",
251295
+ release: "1.20261109.141359",
251296
+ openapiSha256: "fc78469830b09af11f1750dd548066ee86255c8e060a7a283138f655dd125dc1",
251297
+ openapiContentSha256: "c61cc122d41c13268f82a7b8300d2531aa42b4c344b3c6626e57505c439f4604",
250891
251298
  forge: {
250892
251299
  repository: "https://github.com/cloudflare/forge",
250893
251300
  commit: "7f86447210b7bea3779bfdab3cd5655eade0eadb",
@@ -250900,7 +251307,7 @@ var generation_default = {
250900
251307
  outputs: [
250901
251308
  {
250902
251309
  path: "src/generated/commands.ts",
250903
- sha256: "7df4e5fc91daa0a3da6dce1fb00d61f63e9b1955ee268cf90c9151d3958a564d"
251310
+ sha256: "c8aa87e2733485d0cd099cf58b2722097170ba6c0283452dc5178e43d6a68f8b"
250904
251311
  }
250905
251312
  ]
250906
251313
  };
@@ -252500,7 +252907,7 @@ ${name}`);
252500
252907
  }
252501
252908
 
252502
252909
  // src/index.ts
252503
- var VERSION = "3.45.0";
252910
+ var VERSION = "3.46.0";
252504
252911
  var RELEASE = generation_default.release;
252505
252912
  var commands2 = { ...commands, ...accountOperatorCommands };
252506
252913
  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.45.0",
3
+ "version": "3.46.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.45.0",
48
+ "@arbol-ai/sdk": "5.46.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.20261108.215556",
64
- "sha256": "8fcd233cbe7a349b5d7fc3623a6d4a434d08cfdbb91c519c123e38eadc1209ff"
63
+ "release": "1.20261109.141359",
64
+ "sha256": "c61cc122d41c13268f82a7b8300d2531aa42b4c344b3c6626e57505c439f4604"
65
65
  }
66
66
  }
67
67
  }