@soat/sdk 0.70.0 → 0.70.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.d.cts CHANGED
@@ -9771,6 +9771,12 @@ type ApproveApprovalData = {
9771
9771
  arguments?: {
9772
9772
  [key: string]: unknown;
9773
9773
  };
9774
+ /**
9775
+ * 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.
9776
+ */
9777
+ tool_context?: {
9778
+ [key: string]: string;
9779
+ };
9774
9780
  };
9775
9781
  path: {
9776
9782
  /**
@@ -9783,7 +9789,7 @@ type ApproveApprovalData = {
9783
9789
  };
9784
9790
  type ApproveApprovalErrors = {
9785
9791
  /**
9786
- * Edited arguments are not a JSON object, or do not satisfy the tool's parameters schema
9792
+ * 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
9787
9793
  */
9788
9794
  400: unknown;
9789
9795
  /**
package/dist/index.d.mts CHANGED
@@ -9771,6 +9771,12 @@ type ApproveApprovalData = {
9771
9771
  arguments?: {
9772
9772
  [key: string]: unknown;
9773
9773
  };
9774
+ /**
9775
+ * 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.
9776
+ */
9777
+ tool_context?: {
9778
+ [key: string]: string;
9779
+ };
9774
9780
  };
9775
9781
  path: {
9776
9782
  /**
@@ -9783,7 +9789,7 @@ type ApproveApprovalData = {
9783
9789
  };
9784
9790
  type ApproveApprovalErrors = {
9785
9791
  /**
9786
- * Edited arguments are not a JSON object, or do not satisfy the tool's parameters schema
9792
+ * 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
9787
9793
  */
9788
9794
  400: unknown;
9789
9795
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.70.0",
3
+ "version": "0.70.1",
4
4
  "description": "TypeScript SDK for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",