@naturali/sdk 0.162.2 → 0.162.3
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.d.cts +7 -1
- package/dist/index.d.mts +7 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -10989,6 +10989,12 @@ type ApproveApprovalData = {
|
|
|
10989
10989
|
arguments?: {
|
|
10990
10990
|
[key: string]: unknown;
|
|
10991
10991
|
};
|
|
10992
|
+
/**
|
|
10993
|
+
* Key-value pairs forwarded as context headers on the approved action and on every tool call of the continuation turn, as on a generation's `tool_context`. Never stored on the item: supply it on the approve call itself, for a tool that authorizes with a credential minted at decision time. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are dropped. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY` and nothing is resolved.
|
|
10994
|
+
*/
|
|
10995
|
+
tool_context?: {
|
|
10996
|
+
[key: string]: string;
|
|
10997
|
+
};
|
|
10992
10998
|
};
|
|
10993
10999
|
path: {
|
|
10994
11000
|
/**
|
|
@@ -11005,7 +11011,7 @@ type ApproveApprovalData = {
|
|
|
11005
11011
|
};
|
|
11006
11012
|
type ApproveApprovalErrors = {
|
|
11007
11013
|
/**
|
|
11008
|
-
* Edited arguments are not a JSON object, or do not satisfy the tool's parameters schema
|
|
11014
|
+
* Edited arguments are not a JSON object, or do not satisfy the tool's parameters schema; or a `tool_context` key is not a valid header name
|
|
11009
11015
|
*/
|
|
11010
11016
|
400: unknown;
|
|
11011
11017
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -10989,6 +10989,12 @@ type ApproveApprovalData = {
|
|
|
10989
10989
|
arguments?: {
|
|
10990
10990
|
[key: string]: unknown;
|
|
10991
10991
|
};
|
|
10992
|
+
/**
|
|
10993
|
+
* Key-value pairs forwarded as context headers on the approved action and on every tool call of the continuation turn, as on a generation's `tool_context`. Never stored on the item: supply it on the approve call itself, for a tool that authorizes with a credential minted at decision time. The server-pinned identity keys (`session_id`, `actor_id`, `actor_external_id`) are dropped. An invalid or colliding key is rejected with `400 INVALID_TOOL_CONTEXT_KEY` and nothing is resolved.
|
|
10994
|
+
*/
|
|
10995
|
+
tool_context?: {
|
|
10996
|
+
[key: string]: string;
|
|
10997
|
+
};
|
|
10992
10998
|
};
|
|
10993
10999
|
path: {
|
|
10994
11000
|
/**
|
|
@@ -11005,7 +11011,7 @@ type ApproveApprovalData = {
|
|
|
11005
11011
|
};
|
|
11006
11012
|
type ApproveApprovalErrors = {
|
|
11007
11013
|
/**
|
|
11008
|
-
* Edited arguments are not a JSON object, or do not satisfy the tool's parameters schema
|
|
11014
|
+
* Edited arguments are not a JSON object, or do not satisfy the tool's parameters schema; or a `tool_context` key is not a valid header name
|
|
11009
11015
|
*/
|
|
11010
11016
|
400: unknown;
|
|
11011
11017
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.162.
|
|
3
|
+
"version": "0.162.3",
|
|
4
4
|
"description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@hey-api/openapi-ts": "^0.99.0",
|
|
34
|
-
"@naturali/api": "0.162.
|
|
34
|
+
"@naturali/api": "0.162.3",
|
|
35
35
|
"@ttoss/openapi-codegen": "^0.5.0",
|
|
36
36
|
"@types/node": "^26.5.1",
|
|
37
37
|
"tsdown": "^0.23.0",
|