@soat/sdk 0.20.0 → 0.20.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
@@ -4525,6 +4525,10 @@ type Task = {
4525
4525
  * Status of the current state's dispatch. `null` until a state with an automation is entered.
4526
4526
  */
4527
4527
  automation_status?: 'running' | 'completed' | 'failed' | 'unrouted' | null;
4528
+ /**
4529
+ * Server-owned. How many machine-driven transitions have run back-to-back with no outside intervention — a dispatch outcome routed through `on_complete`/`on_failure`, or a `transition-task` call made by a dispatched run or agent with its run-as token. Any move by a person, a plain API key, or an approval resolution resets it to `0`. Once it would exceed the server's limit (`TASK_AUTOMATION_CHAIN_LIMIT`, default 50) the next such transition is refused with `TASK_AUTOMATION_CHAIN_LIMIT`, bounding a cycle composed across workflows and orchestrations.
4530
+ */
4531
+ automation_chain_depth?: number;
4528
4532
  /**
4529
4533
  * The name of a `requires_approval` transition parked awaiting a human decision. Non-null while an ApprovalItem gates the move; the task stays in its current state and no other transition may fire until the approval resolves.
4530
4534
  */
@@ -13826,11 +13830,11 @@ type CallToolErrors = {
13826
13830
  type CallToolError = CallToolErrors[keyof CallToolErrors];
13827
13831
  type CallToolResponses = {
13828
13832
  /**
13829
- * The raw output returned by the tool
13833
+ * The raw output returned by the tool. `null` when the tool produced no output — a `soat` action answering `204 No Content`, for instance.
13830
13834
  */
13831
13835
  200: {
13832
13836
  [key: string]: unknown;
13833
- };
13837
+ } | null;
13834
13838
  };
13835
13839
  type CallToolResponse = CallToolResponses[keyof CallToolResponses];
13836
13840
  type ListTracesData = {
package/dist/index.d.mts CHANGED
@@ -4525,6 +4525,10 @@ type Task = {
4525
4525
  * Status of the current state's dispatch. `null` until a state with an automation is entered.
4526
4526
  */
4527
4527
  automation_status?: 'running' | 'completed' | 'failed' | 'unrouted' | null;
4528
+ /**
4529
+ * Server-owned. How many machine-driven transitions have run back-to-back with no outside intervention — a dispatch outcome routed through `on_complete`/`on_failure`, or a `transition-task` call made by a dispatched run or agent with its run-as token. Any move by a person, a plain API key, or an approval resolution resets it to `0`. Once it would exceed the server's limit (`TASK_AUTOMATION_CHAIN_LIMIT`, default 50) the next such transition is refused with `TASK_AUTOMATION_CHAIN_LIMIT`, bounding a cycle composed across workflows and orchestrations.
4530
+ */
4531
+ automation_chain_depth?: number;
4528
4532
  /**
4529
4533
  * The name of a `requires_approval` transition parked awaiting a human decision. Non-null while an ApprovalItem gates the move; the task stays in its current state and no other transition may fire until the approval resolves.
4530
4534
  */
@@ -13826,11 +13830,11 @@ type CallToolErrors = {
13826
13830
  type CallToolError = CallToolErrors[keyof CallToolErrors];
13827
13831
  type CallToolResponses = {
13828
13832
  /**
13829
- * The raw output returned by the tool
13833
+ * The raw output returned by the tool. `null` when the tool produced no output — a `soat` action answering `204 No Content`, for instance.
13830
13834
  */
13831
13835
  200: {
13832
13836
  [key: string]: unknown;
13833
- };
13837
+ } | null;
13834
13838
  };
13835
13839
  type CallToolResponse = CallToolResponses[keyof CallToolResponses];
13836
13840
  type ListTracesData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "TypeScript SDK for the SOAT API",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",