@naturali/cli 0.241.0 → 0.243.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.mjs +27 -6
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
17
17
|
};
|
|
18
18
|
//#endregion
|
|
19
19
|
//#region package.json
|
|
20
|
-
var version = "0.
|
|
20
|
+
var version = "0.243.0";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -5166,7 +5166,7 @@ var Playbooks = class {
|
|
|
5166
5166
|
/**
|
|
5167
5167
|
* Run a node of a case
|
|
5168
5168
|
*
|
|
5169
|
-
* Runs one node now. The cascade already runs every node whose inputs are set once a write, a settle or a resume makes it runnable, and never reruns a `failed` or `done` one: this is how a failed node is retried, and how a `done` node is recomputed after an upgrade changed its executor. A `collect` node takes its own input values as its output, any other node starts its executor with the node's input values mapped through the executor's `input`. The executor runs as the author of the case's playbook version, whose permission to start it is checked again here (`403 PLAYBOOK_EXECUTOR_FORBIDDEN`); an author that no longer exists is `409
|
|
5169
|
+
* Runs one node now. The cascade already runs every node whose inputs are set once a write, a settle or a resume makes it runnable, and never reruns a `failed` or `done` one: this is how a failed node is retried, and how a `done` node is recomputed after an upgrade changed its executor. A `collect` node takes its own input values as its output, any other node starts its executor with the node's input values mapped through the executor's `input`. The executor runs as the author of the case's playbook version, whose permission to start it is checked again here (`403 PLAYBOOK_EXECUTOR_FORBIDDEN`); an author that no longer exists is `409 WORK_AUTHORITY_MISSING`. Only a `ready`, `stale`, `failed` or `done` node with every required input set runs; anything else is `409 PLAYBOOK_NODE_NOT_RUNNABLE`. A paused case is `409 PLAYBOOK_CASE_PAUSED`, and a case in a paused project `409 PROJECT_PAUSED`.
|
|
5170
5170
|
*
|
|
5171
5171
|
* An `upstream` node has no executor: running it pulls the current output of the node it names in the bound case, which must be `done`. This is the only way to refresh one that an upstream change left `stale`.
|
|
5172
5172
|
*
|
|
@@ -9051,11 +9051,18 @@ const routes = {
|
|
|
9051
9051
|
},
|
|
9052
9052
|
{
|
|
9053
9053
|
"name": "policy_ids",
|
|
9054
|
-
"description": "
|
|
9054
|
+
"description": "Under `run_as: caller`, the policies capping the caller's permissions on every generation; under `run_as: agent`, the agent's own grant. The caller must hold every grant they carry inside the agent's project, else `403 POLICY_GRANT_NOT_HELD`. See [Execution Identity](/docs/modules/agents#execution-identity).",
|
|
9055
9055
|
"required": false,
|
|
9056
9056
|
"type": "array",
|
|
9057
9057
|
"in": "body"
|
|
9058
9058
|
},
|
|
9059
|
+
{
|
|
9060
|
+
"name": "run_as",
|
|
9061
|
+
"description": "What `policy_ids` are: `caller` (default) caps the caller, `agent` makes them the agent's own grant. `agent` requires a non-empty `policy_ids`, else `400 AGENT_RUN_AS_REQUIRES_POLICIES`.",
|
|
9062
|
+
"required": false,
|
|
9063
|
+
"type": "string",
|
|
9064
|
+
"in": "body"
|
|
9065
|
+
},
|
|
9059
9066
|
{
|
|
9060
9067
|
"name": "temperature",
|
|
9061
9068
|
"description": "Sampling temperature passed to the model. Omitted, the provider's default applies.",
|
|
@@ -9277,11 +9284,18 @@ const routes = {
|
|
|
9277
9284
|
},
|
|
9278
9285
|
{
|
|
9279
9286
|
"name": "policy_ids",
|
|
9280
|
-
"description": "Replaces
|
|
9287
|
+
"description": "Replaces `policy_ids`; `null` removes them. The caller must hold every grant of each policy it adds inside the agent's project, else `403 POLICY_GRANT_NOT_HELD`. See [Execution Identity](/docs/modules/agents#execution-identity).",
|
|
9281
9288
|
"required": false,
|
|
9282
9289
|
"type": "array",
|
|
9283
9290
|
"in": "body"
|
|
9284
9291
|
},
|
|
9292
|
+
{
|
|
9293
|
+
"name": "run_as",
|
|
9294
|
+
"description": "Replaces what `policy_ids` are: `caller` caps the caller, `agent` makes them the agent's own grant. An agent left `run_as: agent` with no `policy_ids` is `400 AGENT_RUN_AS_REQUIRES_POLICIES`.",
|
|
9295
|
+
"required": false,
|
|
9296
|
+
"type": "string",
|
|
9297
|
+
"in": "body"
|
|
9298
|
+
},
|
|
9285
9299
|
{
|
|
9286
9300
|
"name": "temperature",
|
|
9287
9301
|
"description": "Sampling temperature passed to the model; `null` restores the provider's default.",
|
|
@@ -9486,11 +9500,18 @@ const routes = {
|
|
|
9486
9500
|
},
|
|
9487
9501
|
{
|
|
9488
9502
|
"name": "policy_ids",
|
|
9489
|
-
"description": "Replaces
|
|
9503
|
+
"description": "Replaces `policy_ids`; `null` removes them. The caller must hold every grant of each policy it adds inside the agent's project, else `403 POLICY_GRANT_NOT_HELD`. See [Execution Identity](/docs/modules/agents#execution-identity).",
|
|
9490
9504
|
"required": false,
|
|
9491
9505
|
"type": "array",
|
|
9492
9506
|
"in": "body"
|
|
9493
9507
|
},
|
|
9508
|
+
{
|
|
9509
|
+
"name": "run_as",
|
|
9510
|
+
"description": "Replaces what `policy_ids` are: `caller` caps the caller, `agent` makes them the agent's own grant. An agent left `run_as: agent` with no `policy_ids` is `400 AGENT_RUN_AS_REQUIRES_POLICIES`.",
|
|
9511
|
+
"required": false,
|
|
9512
|
+
"type": "string",
|
|
9513
|
+
"in": "body"
|
|
9514
|
+
},
|
|
9494
9515
|
{
|
|
9495
9516
|
"name": "temperature",
|
|
9496
9517
|
"description": "Sampling temperature passed to the model; `null` restores the provider's default.",
|
|
@@ -22192,7 +22213,7 @@ const routes = {
|
|
|
22192
22213
|
"run-playbook-case-node": {
|
|
22193
22214
|
serviceClass: "Playbooks",
|
|
22194
22215
|
operationId: "runPlaybookCaseNode",
|
|
22195
|
-
description: "Runs one node now. The cascade already runs every node whose inputs are set once a write, a settle or a resume makes it runnable, and never reruns a `failed` or `done` one: this is how a failed node is retried, and how a `done` node is recomputed after an upgrade changed its executor. A `collect` node takes its own input values as its output, any other node starts its executor with the node's input values mapped through the executor's `input`. The executor runs as the author of the case's playbook version, whose permission to start it is checked again here (`403 PLAYBOOK_EXECUTOR_FORBIDDEN`); an author that no longer exists is `409
|
|
22216
|
+
description: "Runs one node now. The cascade already runs every node whose inputs are set once a write, a settle or a resume makes it runnable, and never reruns a `failed` or `done` one: this is how a failed node is retried, and how a `done` node is recomputed after an upgrade changed its executor. A `collect` node takes its own input values as its output, any other node starts its executor with the node's input values mapped through the executor's `input`. The executor runs as the author of the case's playbook version, whose permission to start it is checked again here (`403 PLAYBOOK_EXECUTOR_FORBIDDEN`); an author that no longer exists is `409 WORK_AUTHORITY_MISSING`. Only a `ready`, `stale`, `failed` or `done` node with every required input set runs; anything else is `409 PLAYBOOK_NODE_NOT_RUNNABLE`. A paused case is `409 PLAYBOOK_CASE_PAUSED`, and a case in a paused project `409 PROJECT_PAUSED`. An `upstream` node has no executor: running it pulls the current output of the node it names in the bound case, which must be `done`. This is the only way to refresh one that an upstream change left `stale`. The output is written as an entry when the execution settles. A value equal to the node's current output writes no revision. If the node's inputs change while it runs, the execution settles as `superseded` and writes nothing. Without `wait` the execution answers `running` and settles in the background. With `wait: true` it answers once the executor settles, or once it parks: a workflow task still open, or an orchestration run waiting on a person or a timer, settles the node when it closes or ends.",
|
|
22196
22217
|
moduleDocsUrl: "https://naturali.ai/docs/modules/playbooks",
|
|
22197
22218
|
httpMethod: "post",
|
|
22198
22219
|
pathParams: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.243.0",
|
|
4
4
|
"description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"naturali",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"yaml": "^2.9.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@naturali/sdk": "0.
|
|
34
|
+
"@naturali/sdk": "0.243.0",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.10.1",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|