@naturali/cli 0.190.1 → 0.191.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.mjs +26 -5
  2. 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.190.1";
20
+ var version = "0.191.0";
21
21
  //#endregion
22
22
  //#region ../sdk/src/generated/core/bodySerializer.gen.ts
23
23
  const serializeFormDataPair = (data, key, value) => {
@@ -8516,7 +8516,7 @@ const routes = {
8516
8516
  httpMethod: "post",
8517
8517
  pathParams: ["project_id", "agent_id"],
8518
8518
  queryParams: ["wait"],
8519
- headerParams: [],
8519
+ headerParams: ["Idempotency-Key"],
8520
8520
  cookieParams: [],
8521
8521
  flags: [
8522
8522
  {
@@ -8533,6 +8533,13 @@ const routes = {
8533
8533
  "type": "string",
8534
8534
  "in": "path"
8535
8535
  },
8536
+ {
8537
+ "name": "Idempotency-Key",
8538
+ "description": "The request's deduplication key. Equivalent to `idempotency_key` in the request body; sending both with different values is `400 VALIDATION_FAILED`. A non-empty string of at most 255 characters.",
8539
+ "required": false,
8540
+ "type": "string",
8541
+ "in": "header"
8542
+ },
8536
8543
  {
8537
8544
  "name": "wait",
8538
8545
  "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.",
@@ -18262,7 +18269,7 @@ const routes = {
18262
18269
  httpMethod: "post",
18263
18270
  pathParams: ["project_id"],
18264
18271
  queryParams: [],
18265
- headerParams: [],
18272
+ headerParams: ["Idempotency-Key"],
18266
18273
  cookieParams: [],
18267
18274
  flags: [
18268
18275
  {
@@ -18272,6 +18279,13 @@ const routes = {
18272
18279
  "type": "string",
18273
18280
  "in": "path"
18274
18281
  },
18282
+ {
18283
+ "name": "Idempotency-Key",
18284
+ "description": "The request's deduplication key. Equivalent to `idempotency_key` in the request body; sending both with different values is `400 VALIDATION_FAILED`. A non-empty string of at most 255 characters.",
18285
+ "required": false,
18286
+ "type": "string",
18287
+ "in": "header"
18288
+ },
18275
18289
  {
18276
18290
  "name": "orchestration_id",
18277
18291
  "description": "Orchestration to run (orch_...).",
@@ -19910,7 +19924,7 @@ const routes = {
19910
19924
  httpMethod: "post",
19911
19925
  pathParams: ["project_id", "session_id"],
19912
19926
  queryParams: [],
19913
- headerParams: [],
19927
+ headerParams: ["Idempotency-Key"],
19914
19928
  cookieParams: [],
19915
19929
  flags: [
19916
19930
  {
@@ -19927,6 +19941,13 @@ const routes = {
19927
19941
  "type": "string",
19928
19942
  "in": "path"
19929
19943
  },
19944
+ {
19945
+ "name": "Idempotency-Key",
19946
+ "description": "The request's deduplication key. Equivalent to `idempotency_key` in the request body; sending both with different values is `400 VALIDATION_FAILED`. A non-empty string of at most 255 characters.",
19947
+ "required": false,
19948
+ "type": "string",
19949
+ "in": "header"
19950
+ },
19930
19951
  {
19931
19952
  "name": "message",
19932
19953
  "description": "User message text",
@@ -19943,7 +19964,7 @@ const routes = {
19943
19964
  },
19944
19965
  {
19945
19966
  "name": "idempotency_key",
19946
- "description": "Optional deduplication key scoped to this session. If a message with the same key already exists in the session, the original message is returned with HTTP 200 and no new message or generation is triggered.\n",
19967
+ "description": "Optional deduplication key scoped to this session. If a message with the same key already exists in the session, the original message is returned with HTTP 200 and no new message or generation is triggered. Reusing the key with a different `message`, `document_id` or `tool_context` is `409 IDEMPOTENCY_KEY_REUSED`.\n",
19947
19968
  "required": false,
19948
19969
  "type": "string",
19949
19970
  "in": "body"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/cli",
3
- "version": "0.190.1",
3
+ "version": "0.191.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.190.1",
34
+ "@naturali/sdk": "0.191.0",
35
35
  "@ttoss/openapi-codegen": "^0.5.0",
36
36
  "@types/node": "^26.5.1",
37
37
  "tsdown": "^0.23.0",