@naturali/cli 0.141.6 → 0.141.7
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 +37 -36
- 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.141.
|
|
20
|
+
var version = "0.141.7";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -895,7 +895,8 @@ var Channels = class {
|
|
|
895
895
|
/**
|
|
896
896
|
* Replace a route
|
|
897
897
|
*
|
|
898
|
-
* Full replace, the same validation as create.
|
|
898
|
+
* Full replace, the same validation as create: an omitted field takes its create default. Where that default would widen a value the route sets, omission is `400 replace_omits_fields`, naming the fields in `details.fields`, and nothing is written: a set `surface` (the default is any surface), a non-empty `match` (every message), a non-empty `config` (it carries the Discord allowlist), and `status` on a `disabled` route (the default re-activates it). Send the value to keep it, or `"surface": null`, `"match": {}`, `"config": null`, `"status": "active"` to clear it.
|
|
899
|
+
*
|
|
899
900
|
*/
|
|
900
901
|
static updateChannelRoute(options) {
|
|
901
902
|
return (options.client ?? client).patch({
|
|
@@ -7267,7 +7268,7 @@ const routes = {
|
|
|
7267
7268
|
"name": "expected_version",
|
|
7268
7269
|
"description": "Refuses the write unless the resource is at this version.",
|
|
7269
7270
|
"required": false,
|
|
7270
|
-
"type": "
|
|
7271
|
+
"type": "integer",
|
|
7271
7272
|
"in": "body"
|
|
7272
7273
|
}
|
|
7273
7274
|
]
|
|
@@ -7462,7 +7463,7 @@ const routes = {
|
|
|
7462
7463
|
"name": "expected_version",
|
|
7463
7464
|
"description": "Refuses the write unless the resource is at this version.",
|
|
7464
7465
|
"required": false,
|
|
7465
|
-
"type": "
|
|
7466
|
+
"type": "integer",
|
|
7466
7467
|
"in": "body"
|
|
7467
7468
|
}
|
|
7468
7469
|
]
|
|
@@ -7600,7 +7601,7 @@ const routes = {
|
|
|
7600
7601
|
"name": "metadata",
|
|
7601
7602
|
"description": "Caller-supplied key/value metadata attached to the generation record for per-run audit attribution (e.g. the knowledge-corpus version that produced this action). Round-trips verbatim when the generation is fetched via the generations API. The bag is caller-owned and no key is reserved: server-owned state (usage attribution, the served agent version, the model route's record, the extraction summary) lives in its own top-level generation fields and cannot be written from here. Use the request's own `action_id` field to set the usage-attribution label.",
|
|
7602
7603
|
"required": false,
|
|
7603
|
-
"type": "
|
|
7604
|
+
"type": "object",
|
|
7604
7605
|
"in": "body"
|
|
7605
7606
|
},
|
|
7606
7607
|
{
|
|
@@ -9156,7 +9157,7 @@ const routes = {
|
|
|
9156
9157
|
"update-channel-route": {
|
|
9157
9158
|
serviceClass: "Channels",
|
|
9158
9159
|
operationId: "updateChannelRoute",
|
|
9159
|
-
description: "Full replace, the same validation as create.",
|
|
9160
|
+
description: "Full replace, the same validation as create: an omitted field takes its create default. Where that default would widen a value the route sets, omission is `400 replace_omits_fields`, naming the fields in `details.fields`, and nothing is written: a set `surface` (the default is any surface), a non-empty `match` (every message), a non-empty `config` (it carries the Discord allowlist), and `status` on a `disabled` route (the default re-activates it). Send the value to keep it, or `\"surface\": null`, `\"match\": {}`, `\"config\": null`, `\"status\": \"active\"` to clear it.",
|
|
9160
9161
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/channel-routes",
|
|
9161
9162
|
httpMethod: "patch",
|
|
9162
9163
|
pathParams: [
|
|
@@ -10088,7 +10089,7 @@ const routes = {
|
|
|
10088
10089
|
"name": "metadata",
|
|
10089
10090
|
"description": "Caller-owned annotations on the message (e.g. a phone number, a channel), stored as sent and returned verbatim. The platform does not read the bag, so nothing in it reaches the model: a value the model should see belongs in `message`.",
|
|
10090
10091
|
"required": false,
|
|
10091
|
-
"type": "
|
|
10092
|
+
"type": "object",
|
|
10092
10093
|
"in": "body"
|
|
10093
10094
|
}
|
|
10094
10095
|
]
|
|
@@ -10392,7 +10393,7 @@ const routes = {
|
|
|
10392
10393
|
"name": "metadata",
|
|
10393
10394
|
"description": "Arbitrary metadata object. Unlike other body fields, keys are stored and returned verbatim in the casing supplied — they are not converted between snake_case and camelCase.",
|
|
10394
10395
|
"required": false,
|
|
10395
|
-
"type": "
|
|
10396
|
+
"type": "object",
|
|
10396
10397
|
"in": "body"
|
|
10397
10398
|
},
|
|
10398
10399
|
{
|
|
@@ -10599,7 +10600,7 @@ const routes = {
|
|
|
10599
10600
|
"name": "metadata",
|
|
10600
10601
|
"description": "Arbitrary metadata object, replacing the stored bag; `null` clears it. Unlike other body fields, keys are stored and returned verbatim in the casing supplied — they are not converted between snake_case and camelCase.",
|
|
10601
10602
|
"required": false,
|
|
10602
|
-
"type": "
|
|
10603
|
+
"type": "object",
|
|
10603
10604
|
"in": "body"
|
|
10604
10605
|
},
|
|
10605
10606
|
{
|
|
@@ -10613,7 +10614,7 @@ const routes = {
|
|
|
10613
10614
|
"name": "expected_version",
|
|
10614
10615
|
"description": "Refuses the write unless the document is at this version.",
|
|
10615
10616
|
"required": false,
|
|
10616
|
-
"type": "
|
|
10617
|
+
"type": "integer",
|
|
10617
10618
|
"in": "body"
|
|
10618
10619
|
}
|
|
10619
10620
|
]
|
|
@@ -10812,7 +10813,7 @@ const routes = {
|
|
|
10812
10813
|
"name": "expected_version",
|
|
10813
10814
|
"description": "Refuses the withdrawal unless the document is at this version.",
|
|
10814
10815
|
"required": false,
|
|
10815
|
-
"type": "
|
|
10816
|
+
"type": "integer",
|
|
10816
10817
|
"in": "body"
|
|
10817
10818
|
}
|
|
10818
10819
|
]
|
|
@@ -11343,7 +11344,7 @@ const routes = {
|
|
|
11343
11344
|
"name": "metadata",
|
|
11344
11345
|
"description": "Free-form tags, opaque to the platform",
|
|
11345
11346
|
"required": false,
|
|
11346
|
-
"type": "
|
|
11347
|
+
"type": "object",
|
|
11347
11348
|
"in": "body"
|
|
11348
11349
|
}
|
|
11349
11350
|
]
|
|
@@ -11391,7 +11392,7 @@ const routes = {
|
|
|
11391
11392
|
"name": "metadata",
|
|
11392
11393
|
"description": "Free-form tags, opaque to the platform",
|
|
11393
11394
|
"required": false,
|
|
11394
|
-
"type": "
|
|
11395
|
+
"type": "object",
|
|
11395
11396
|
"in": "body"
|
|
11396
11397
|
}
|
|
11397
11398
|
]
|
|
@@ -11450,7 +11451,7 @@ const routes = {
|
|
|
11450
11451
|
"name": "metadata",
|
|
11451
11452
|
"description": "",
|
|
11452
11453
|
"required": false,
|
|
11453
|
-
"type": "
|
|
11454
|
+
"type": "object",
|
|
11454
11455
|
"in": "body"
|
|
11455
11456
|
}
|
|
11456
11457
|
]
|
|
@@ -11783,7 +11784,7 @@ const routes = {
|
|
|
11783
11784
|
"name": "metadata",
|
|
11784
11785
|
"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.",
|
|
11785
11786
|
"required": false,
|
|
11786
|
-
"type": "
|
|
11787
|
+
"type": "object",
|
|
11787
11788
|
"in": "body"
|
|
11788
11789
|
},
|
|
11789
11790
|
{
|
|
@@ -12358,7 +12359,7 @@ const routes = {
|
|
|
12358
12359
|
"name": "metadata",
|
|
12359
12360
|
"description": "Replaces the stored bag; `null` clears it.",
|
|
12360
12361
|
"required": false,
|
|
12361
|
-
"type": "
|
|
12362
|
+
"type": "object",
|
|
12362
12363
|
"in": "body"
|
|
12363
12364
|
},
|
|
12364
12365
|
{
|
|
@@ -12635,7 +12636,7 @@ const routes = {
|
|
|
12635
12636
|
"name": "metadata",
|
|
12636
12637
|
"description": "Static annotations stored on the formation record. This field is NOT a substitution site: `sub`/`param`/`ref` expressions are rejected with 400 (`FORMATION_INVALID_METADATA`). For deploy-time substitution use the template's top-level `metadata` block, which is resolved into `resolved_metadata`.\n",
|
|
12637
12638
|
"required": false,
|
|
12638
|
-
"type": "
|
|
12639
|
+
"type": "object",
|
|
12639
12640
|
"in": "body"
|
|
12640
12641
|
}
|
|
12641
12642
|
]
|
|
@@ -12707,7 +12708,7 @@ const routes = {
|
|
|
12707
12708
|
"name": "metadata",
|
|
12708
12709
|
"description": "Static annotations stored on the formation record. This field is NOT a substitution site: `sub`/`param`/`ref` expressions are rejected with 400 (`FORMATION_INVALID_METADATA`). For deploy-time substitution use the template's top-level `metadata` block, which is resolved into `resolved_metadata`.\n",
|
|
12709
12710
|
"required": false,
|
|
12710
|
-
"type": "
|
|
12711
|
+
"type": "object",
|
|
12711
12712
|
"in": "body"
|
|
12712
12713
|
}
|
|
12713
12714
|
]
|
|
@@ -12939,7 +12940,7 @@ const routes = {
|
|
|
12939
12940
|
"name": "metadata",
|
|
12940
12941
|
"description": "Caller-supplied key/value metadata to shallow-merge into the generation record's caller-owned `metadata` bag. No key is reserved: server-owned state lives in its own top-level fields and cannot be written from here.\n",
|
|
12941
12942
|
"required": true,
|
|
12942
|
-
"type": "
|
|
12943
|
+
"type": "object",
|
|
12943
12944
|
"in": "body"
|
|
12944
12945
|
}
|
|
12945
12946
|
]
|
|
@@ -13190,7 +13191,7 @@ const routes = {
|
|
|
13190
13191
|
"name": "expected_version",
|
|
13191
13192
|
"description": "Refuses the write unless the resource is at this version.",
|
|
13192
13193
|
"required": false,
|
|
13193
|
-
"type": "
|
|
13194
|
+
"type": "integer",
|
|
13194
13195
|
"in": "body"
|
|
13195
13196
|
}
|
|
13196
13197
|
]
|
|
@@ -13517,7 +13518,7 @@ const routes = {
|
|
|
13517
13518
|
"name": "metadata",
|
|
13518
13519
|
"description": "Arbitrary JSON metadata",
|
|
13519
13520
|
"required": false,
|
|
13520
|
-
"type": "
|
|
13521
|
+
"type": "object",
|
|
13521
13522
|
"in": "body"
|
|
13522
13523
|
}
|
|
13523
13524
|
]
|
|
@@ -13766,14 +13767,14 @@ const routes = {
|
|
|
13766
13767
|
"name": "tags",
|
|
13767
13768
|
"description": "Filter results to documents and memories whose `tags` contain every one of these key-value pairs (exact, case-sensitive match). Scopes both stores, so passing it alone searches both — as `query` does. For memories it matches at memory granularity: a memory is returned when its parent memory store's tags match or its own do.",
|
|
13768
13769
|
"required": false,
|
|
13769
|
-
"type": "
|
|
13770
|
+
"type": "object",
|
|
13770
13771
|
"in": "body"
|
|
13771
13772
|
},
|
|
13772
13773
|
{
|
|
13773
13774
|
"name": "metadata",
|
|
13774
13775
|
"description": "Filter document results by their `metadata` bag. A document-store filter: a memory carries no such bag, so passing it alone searches documents, as `document_paths` does.",
|
|
13775
13776
|
"required": false,
|
|
13776
|
-
"type": "
|
|
13777
|
+
"type": "object",
|
|
13777
13778
|
"in": "body"
|
|
13778
13779
|
}
|
|
13779
13780
|
]
|
|
@@ -13889,14 +13890,14 @@ const routes = {
|
|
|
13889
13890
|
"name": "tags",
|
|
13890
13891
|
"description": "Per-memory key-value tags, used for memory-granularity filtering by `tags` in search-knowledge.",
|
|
13891
13892
|
"required": false,
|
|
13892
|
-
"type": "
|
|
13893
|
+
"type": "object",
|
|
13893
13894
|
"in": "body"
|
|
13894
13895
|
},
|
|
13895
13896
|
{
|
|
13896
13897
|
"name": "metadata",
|
|
13897
13898
|
"description": "Arbitrary structured metadata attached to the memory",
|
|
13898
13899
|
"required": false,
|
|
13899
|
-
"type": "
|
|
13900
|
+
"type": "object",
|
|
13900
13901
|
"in": "body"
|
|
13901
13902
|
},
|
|
13902
13903
|
{
|
|
@@ -13989,21 +13990,21 @@ const routes = {
|
|
|
13989
13990
|
"name": "tags",
|
|
13990
13991
|
"description": "Replaces the memory's tags. Pass null or an empty object to clear.",
|
|
13991
13992
|
"required": false,
|
|
13992
|
-
"type": "
|
|
13993
|
+
"type": "object",
|
|
13993
13994
|
"in": "body"
|
|
13994
13995
|
},
|
|
13995
13996
|
{
|
|
13996
13997
|
"name": "metadata",
|
|
13997
13998
|
"description": "Replaces the memory's metadata. Pass null to clear.",
|
|
13998
13999
|
"required": false,
|
|
13999
|
-
"type": "
|
|
14000
|
+
"type": "object",
|
|
14000
14001
|
"in": "body"
|
|
14001
14002
|
},
|
|
14002
14003
|
{
|
|
14003
14004
|
"name": "expected_version",
|
|
14004
14005
|
"description": "Refuses the write unless the memory is at this version.",
|
|
14005
14006
|
"required": false,
|
|
14006
|
-
"type": "
|
|
14007
|
+
"type": "integer",
|
|
14007
14008
|
"in": "body"
|
|
14008
14009
|
}
|
|
14009
14010
|
]
|
|
@@ -14068,7 +14069,7 @@ const routes = {
|
|
|
14068
14069
|
"name": "expected_version",
|
|
14069
14070
|
"description": "Refuses the retraction unless the memory is at this version.",
|
|
14070
14071
|
"required": false,
|
|
14071
|
-
"type": "
|
|
14072
|
+
"type": "integer",
|
|
14072
14073
|
"in": "body"
|
|
14073
14074
|
}
|
|
14074
14075
|
]
|
|
@@ -14554,7 +14555,7 @@ const routes = {
|
|
|
14554
14555
|
"name": "tags",
|
|
14555
14556
|
"description": "Optional key-value tags. Scopes the memory store in knowledge search, where every requested pair must match exactly.",
|
|
14556
14557
|
"required": false,
|
|
14557
|
-
"type": "
|
|
14558
|
+
"type": "object",
|
|
14558
14559
|
"in": "body"
|
|
14559
14560
|
},
|
|
14560
14561
|
{
|
|
@@ -14640,7 +14641,7 @@ const routes = {
|
|
|
14640
14641
|
"name": "tags",
|
|
14641
14642
|
"description": "Optional key-value tags. Replaces the stored bag; `null` clears it.",
|
|
14642
14643
|
"required": false,
|
|
14643
|
-
"type": "
|
|
14644
|
+
"type": "object",
|
|
14644
14645
|
"in": "body"
|
|
14645
14646
|
},
|
|
14646
14647
|
{
|
|
@@ -14987,7 +14988,7 @@ const routes = {
|
|
|
14987
14988
|
"name": "metadata",
|
|
14988
14989
|
"description": "The bag to judge. Absent or `null` is judged as an empty bag.",
|
|
14989
14990
|
"required": false,
|
|
14990
|
-
"type": "
|
|
14991
|
+
"type": "object",
|
|
14991
14992
|
"in": "body"
|
|
14992
14993
|
}
|
|
14993
14994
|
]
|
|
@@ -15623,7 +15624,7 @@ const routes = {
|
|
|
15623
15624
|
"name": "expected_version",
|
|
15624
15625
|
"description": "Refuses the write unless the resource is at this version.",
|
|
15625
15626
|
"required": false,
|
|
15626
|
-
"type": "
|
|
15627
|
+
"type": "integer",
|
|
15627
15628
|
"in": "body"
|
|
15628
15629
|
}
|
|
15629
15630
|
]
|
|
@@ -15888,7 +15889,7 @@ const routes = {
|
|
|
15888
15889
|
"name": "metadata",
|
|
15889
15890
|
"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.",
|
|
15890
15891
|
"required": false,
|
|
15891
|
-
"type": "
|
|
15892
|
+
"type": "object",
|
|
15892
15893
|
"in": "body"
|
|
15893
15894
|
},
|
|
15894
15895
|
{
|
|
@@ -17849,7 +17850,7 @@ const routes = {
|
|
|
17849
17850
|
"name": "metadata",
|
|
17850
17851
|
"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.",
|
|
17851
17852
|
"required": false,
|
|
17852
|
-
"type": "
|
|
17853
|
+
"type": "object",
|
|
17853
17854
|
"in": "body"
|
|
17854
17855
|
}
|
|
17855
17856
|
]
|
|
@@ -19592,7 +19593,7 @@ const routes = {
|
|
|
19592
19593
|
"name": "expected_version",
|
|
19593
19594
|
"description": "Refuses the write unless the resource is at this version.",
|
|
19594
19595
|
"required": false,
|
|
19595
|
-
"type": "
|
|
19596
|
+
"type": "integer",
|
|
19596
19597
|
"in": "body"
|
|
19597
19598
|
}
|
|
19598
19599
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.141.
|
|
3
|
+
"version": "0.141.7",
|
|
4
4
|
"description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"yaml": "^2.9.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@naturali/sdk": "0.141.
|
|
28
|
+
"@naturali/sdk": "0.141.7",
|
|
29
29
|
"@ttoss/openapi-codegen": "^0.3.1",
|
|
30
30
|
"@types/node": "^26.5.1",
|
|
31
31
|
"tsdown": "^0.23.0",
|