@naturali/cli 0.159.0 → 0.160.1
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 +8 -8
- 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.160.1";
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region ../sdk/src/generated/core/bodySerializer.gen.ts
|
|
23
23
|
const serializeFormDataPair = (data, key, value) => {
|
|
@@ -3107,7 +3107,7 @@ var Generations = class {
|
|
|
3107
3107
|
/**
|
|
3108
3108
|
* Update generation metadata
|
|
3109
3109
|
*
|
|
3110
|
-
* Attaches caller-supplied key/value metadata to a generation record for per-run audit attribution (e.g.
|
|
3110
|
+
* Attaches caller-supplied key/value metadata to a generation record for per-run audit attribution (e.g. the ticket or case an AI action belongs to). The provided keys are shallow-merged over the existing `metadata`, so repeated patches accumulate. The bag is caller-owned and no key is reserved: server-owned state (usage attribution, the served agent version, the route's record, the extraction summary, what knowledge retrieval served) lives in its own top-level fields and cannot be written from here.
|
|
3111
3111
|
*
|
|
3112
3112
|
*/
|
|
3113
3113
|
static updateGeneration(options) {
|
|
@@ -7885,7 +7885,7 @@ const routes = {
|
|
|
7885
7885
|
},
|
|
7886
7886
|
{
|
|
7887
7887
|
"name": "wait",
|
|
7888
|
-
"description": "When omitted or `false` (default), the generation runs in the background and `202 Accepted` is returned immediately with a `generation_id` to poll. Pass `true` to block until the generation settles and receive the result. Mutually exclusive with `stream: true`.",
|
|
7888
|
+
"description": "When omitted or `false` (default), the generation runs in the background and `202 Accepted` is returned immediately with a `generation_id` to poll. Pass `true` to block until the generation settles and receive the result. Mutually exclusive with `stream: true`. An MCP tool call always waits.",
|
|
7889
7889
|
"required": false,
|
|
7890
7890
|
"type": "boolean",
|
|
7891
7891
|
"in": "query"
|
|
@@ -7955,7 +7955,7 @@ const routes = {
|
|
|
7955
7955
|
},
|
|
7956
7956
|
{
|
|
7957
7957
|
"name": "metadata",
|
|
7958
|
-
"description": "Caller-supplied key/value metadata attached to the generation record for per-run audit attribution (e.g. the
|
|
7958
|
+
"description": "Caller-supplied key/value metadata attached to the generation record for per-run audit attribution (e.g. the ticket or case this action belongs to). 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, what knowledge retrieval served) 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.",
|
|
7959
7959
|
"required": false,
|
|
7960
7960
|
"type": "object",
|
|
7961
7961
|
"in": "body"
|
|
@@ -10477,7 +10477,7 @@ const routes = {
|
|
|
10477
10477
|
},
|
|
10478
10478
|
{
|
|
10479
10479
|
"name": "wait",
|
|
10480
|
-
"description": "When omitted or `false` (default), the generation runs in the background and `202 Accepted` is returned immediately. Pass `true` to block until the generation settles and receive the result.",
|
|
10480
|
+
"description": "When omitted or `false` (default), the generation runs in the background and `202 Accepted` is returned immediately. Pass `true` to block until the generation settles and receive the result. An MCP tool call always waits.",
|
|
10481
10481
|
"required": false,
|
|
10482
10482
|
"type": "boolean",
|
|
10483
10483
|
"in": "query"
|
|
@@ -11034,7 +11034,7 @@ const routes = {
|
|
|
11034
11034
|
},
|
|
11035
11035
|
{
|
|
11036
11036
|
"name": "wait",
|
|
11037
|
-
"description": "True evaluates before answering and returns the settled decision. False — the default — returns the `queued` decision at once.",
|
|
11037
|
+
"description": "True evaluates before answering and returns the settled decision. False — the default — returns the `queued` decision at once. An MCP tool call always waits.",
|
|
11038
11038
|
"required": false,
|
|
11039
11039
|
"type": "boolean",
|
|
11040
11040
|
"in": "body"
|
|
@@ -13806,7 +13806,7 @@ const routes = {
|
|
|
13806
13806
|
"update-generation": {
|
|
13807
13807
|
serviceClass: "Generations",
|
|
13808
13808
|
operationId: "updateGeneration",
|
|
13809
|
-
description: "Attaches caller-supplied key/value metadata to a generation record for per-run audit attribution (e.g.
|
|
13809
|
+
description: "Attaches caller-supplied key/value metadata to a generation record for per-run audit attribution (e.g. the ticket or case an AI action belongs to). The provided keys are shallow-merged over the existing `metadata`, so repeated patches accumulate. The bag is caller-owned and no key is reserved: server-owned state (usage attribution, the served agent version, the route's record, the extraction summary, what knowledge retrieval served) lives in its own top-level fields and cannot be written from here.",
|
|
13810
13810
|
moduleDocsUrl: "https://docs.naturali.ai/docs/modules/generations",
|
|
13811
13811
|
httpMethod: "patch",
|
|
13812
13812
|
pathParams: ["project_id", "generation_id"],
|
|
@@ -18467,7 +18467,7 @@ const routes = {
|
|
|
18467
18467
|
},
|
|
18468
18468
|
{
|
|
18469
18469
|
"name": "wait",
|
|
18470
|
-
"description": "When omitted or `false` (default), generation runs in the background and `202 Accepted` is returned immediately. Pass `true` to block until the generation settles and receive the result.",
|
|
18470
|
+
"description": "When omitted or `false` (default), generation runs in the background and `202 Accepted` is returned immediately. Pass `true` to block until the generation settles and receive the result. An MCP tool call always waits.",
|
|
18471
18471
|
"required": false,
|
|
18472
18472
|
"type": "boolean",
|
|
18473
18473
|
"in": "query"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.160.1",
|
|
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.
|
|
28
|
+
"@naturali/sdk": "0.160.1",
|
|
29
29
|
"@ttoss/openapi-codegen": "^0.5.0",
|
|
30
30
|
"@types/node": "^26.5.1",
|
|
31
31
|
"tsdown": "^0.23.0",
|