@naturali/cli 0.78.5 → 0.78.6

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.mjs +36 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -14,7 +14,7 @@ var __exportAll = (all, no_symbols) => {
14
14
  };
15
15
  //#endregion
16
16
  //#region package.json
17
- var version = "0.78.5";
17
+ var version = "0.78.6";
18
18
  //#endregion
19
19
  //#region ../sdk/src/generated/core/bodySerializer.gen.ts
20
20
  const serializeFormDataPair = (data, key, value) => {
@@ -9486,6 +9486,13 @@ const routes = {
9486
9486
  "required": false,
9487
9487
  "type": "string",
9488
9488
  "in": "body"
9489
+ },
9490
+ {
9491
+ "name": "metadata",
9492
+ "description": "Caller-supplied key/value metadata attached to the run record for attribution — what this measurement was of (the commit or release candidate being scored, the CI job that asked for it). Round-trips verbatim on every read of the run, the list included.\n\nThe bag is caller-owned and no key is reserved: everything the platform decides about a run (`status`, `agent_version`, `baseline_run_id`, `aggregate_scores`, `passed`, the counts) is a field of its own and cannot be written from here. Nothing in the scoring path reads it. A non-object is rejected with `400 VALIDATION_FAILED` and no run is created.",
9493
+ "required": false,
9494
+ "type": "object",
9495
+ "in": "body"
9489
9496
  }
9490
9497
  ]
9491
9498
  },
@@ -12143,6 +12150,13 @@ const routes = {
12143
12150
  "type": "object",
12144
12151
  "in": "body"
12145
12152
  },
12153
+ {
12154
+ "name": "metadata",
12155
+ "description": "Caller-supplied key/value metadata attached to the run record for per-run attribution (e.g. which of your own tenants this run belongs to, or the dispatch batch that started it). Round-trips verbatim on every read of the run, on the list as well as the single read.\n\nThe bag is caller-owned and no key is reserved: server-owned state (status, the pinned orchestration version, the trace, usage, artifacts, the run's own `input` and accumulated `state`) lives in its own top-level field and cannot be written from here.\n\nIt is **not** merged into run state: no graph node sees it, and an `input_schema` never has to tolerate it — which is what makes it the place for an infrastructural label, rather than `input`. Keys are never transformed. It is not inherited by the child runs a `loop` or `sub_orchestration` node starts; each child carries whatever the graph gives it, which today is nothing.",
12156
+ "required": false,
12157
+ "type": "object",
12158
+ "in": "body"
12159
+ },
12146
12160
  {
12147
12161
  "name": "wait",
12148
12162
  "description": "When true, block until the run reaches a terminal (succeeded/failed) or awaiting_input state and return the settled run. When false (default), return immediately with status \"queued\" and execute the run in the background.",
@@ -13432,6 +13446,13 @@ const routes = {
13432
13446
  "required": false,
13433
13447
  "type": "object",
13434
13448
  "in": "body"
13449
+ },
13450
+ {
13451
+ "name": "metadata",
13452
+ "description": "Caller-supplied key/value metadata attached to the task record for attribution — which of your own tenants the task belongs to, the ticket that raised it, the import batch that created it. Round-trips verbatim on every read of the task, the list included, and survives every transition (a transition supplies no metadata of its own).\n\nThe bag is caller-owned and no key is reserved: everything the engine decides about a task (`state`, `status`, `workflow_version`, `last_result`, `active_dispatch`, the automation fields) is a field of its own and cannot be written from here.\n\nPrefer this over `payload` for anything that is not task data: `payload` is read by every guard as `task.payload` and may be written by the workflow's declared `payload_writes`, so a label parked there is neither invisible to the state machine nor safe from it. A non-object is rejected with `400 VALIDATION_FAILED` and no task is created.",
13453
+ "required": false,
13454
+ "type": "object",
13455
+ "in": "body"
13435
13456
  }
13436
13457
  ]
13437
13458
  },
@@ -14164,6 +14185,13 @@ const routes = {
14164
14185
  "type": "string",
14165
14186
  "in": "body"
14166
14187
  },
14188
+ {
14189
+ "name": "event_pattern",
14190
+ "description": "Internal-event subscription pattern. Required when type is event, rejected otherwise. `*` matches every event, `prefix.*` a namespace, or give an exact event name such as `documents.ingested`",
14191
+ "required": false,
14192
+ "type": "string",
14193
+ "in": "body"
14194
+ },
14167
14195
  {
14168
14196
  "name": "active",
14169
14197
  "description": "",
@@ -14274,6 +14302,13 @@ const routes = {
14274
14302
  "type": "string",
14275
14303
  "in": "body"
14276
14304
  },
14305
+ {
14306
+ "name": "event_pattern",
14307
+ "description": "",
14308
+ "required": false,
14309
+ "type": "string",
14310
+ "in": "body"
14311
+ },
14277
14312
  {
14278
14313
  "name": "active",
14279
14314
  "description": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/cli",
3
- "version": "0.78.5",
3
+ "version": "0.78.6",
4
4
  "description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -30,7 +30,7 @@
30
30
  "tsx": "^4.23.1",
31
31
  "typescript": "~6.0.3",
32
32
  "vitest": "^4.1.10",
33
- "@naturali/sdk": "0.78.5"
33
+ "@naturali/sdk": "0.78.6"
34
34
  },
35
35
  "scripts": {
36
36
  "generate": "tsx scripts/generate.ts",