@soat/sdk 0.92.0 → 0.92.2

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.cjs CHANGED
@@ -3857,7 +3857,7 @@ var Playbooks = class {
3857
3857
  /**
3858
3858
  * Write a case's inputs
3859
3859
  *
3860
- * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
3860
+ * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or on a project key with the `On-Behalf-Of` of a tool call that work's generation made, or by the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
3861
3861
  */
3862
3862
  static writePlaybookCaseInputs(options) {
3863
3863
  return (options.client ?? client).post({
package/dist/index.d.cts CHANGED
@@ -6174,6 +6174,10 @@ type PlaybookExecutor = {
6174
6174
  * The ID of the agent, tool, decider, workflow or orchestration
6175
6175
  */
6176
6176
  id: string;
6177
+ /**
6178
+ * Only on a `tool` executor: which action of a multi-action (`mcp`, `soat`) tool to call — the same selector an orchestration `tool` node's `operation_id` is. Required by an `mcp` tool.
6179
+ */
6180
+ operation_id?: string;
6177
6181
  /**
6178
6182
  * JSON Logic over the node's inputs, as an orchestration's `input_mapping`: each key is a field of the executor's input. Absent, the executor receives the node's input values as they are.
6179
6183
  */
@@ -25932,7 +25936,7 @@ export declare class Playbooks {
25932
25936
  /**
25933
25937
  * Write a case's inputs
25934
25938
  *
25935
- * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
25939
+ * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or on a project key with the `On-Behalf-Of` of a tool call that work's generation made, or by the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
25936
25940
  */
25937
25941
  static writePlaybookCaseInputs<ThrowOnError extends boolean = false>(options: Options<WritePlaybookCaseInputsData, ThrowOnError>): RequestResult<WritePlaybookCaseInputsResponses, WritePlaybookCaseInputsErrors, ThrowOnError>;
25938
25942
  /**
package/dist/index.d.mts CHANGED
@@ -6174,6 +6174,10 @@ type PlaybookExecutor = {
6174
6174
  * The ID of the agent, tool, decider, workflow or orchestration
6175
6175
  */
6176
6176
  id: string;
6177
+ /**
6178
+ * Only on a `tool` executor: which action of a multi-action (`mcp`, `soat`) tool to call — the same selector an orchestration `tool` node's `operation_id` is. Required by an `mcp` tool.
6179
+ */
6180
+ operation_id?: string;
6177
6181
  /**
6178
6182
  * JSON Logic over the node's inputs, as an orchestration's `input_mapping`: each key is a field of the executor's input. Absent, the executor receives the node's input values as they are.
6179
6183
  */
@@ -25932,7 +25936,7 @@ export declare class Playbooks {
25932
25936
  /**
25933
25937
  * Write a case's inputs
25934
25938
  *
25935
- * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
25939
+ * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or on a project key with the `On-Behalf-Of` of a tool call that work's generation made, or by the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
25936
25940
  */
25937
25941
  static writePlaybookCaseInputs<ThrowOnError extends boolean = false>(options: Options<WritePlaybookCaseInputsData, ThrowOnError>): RequestResult<WritePlaybookCaseInputsResponses, WritePlaybookCaseInputsErrors, ThrowOnError>;
25938
25942
  /**
package/dist/index.mjs CHANGED
@@ -3856,7 +3856,7 @@ var Playbooks = class {
3856
3856
  /**
3857
3857
  * Write a case's inputs
3858
3858
  *
3859
- * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
3859
+ * Writes a batch of manual inputs, all or none. Each write names the revision it read in `expected_revision`, `null` for a field still unset; when any field has moved on the whole batch is refused with `409 PLAYBOOK_INPUT_CONFLICT` and `meta.conflicts` names each field. An input the case's version does not declare, one that reads another node, or a value its schema refuses is `400 PLAYBOOK_INPUT_INVALID`. A value equal to the field's current one writes no revision. Once written, every node the write makes runnable is queued to run, unless the case is paused. With `wait: true` it answers once every execution queued, and every one those queue, has settled or parked. A write made with a credential the case's own work runs as — the case, one of its executions in flight, or the task or run one started — or on a project key with the `On-Behalf-Of` of a tool call that work's generation made, or by the work of a case reading it as an upstream, at any depth, is `403 PLAYBOOK_SELF_WRITE`.
3860
3860
  */
3861
3861
  static writePlaybookCaseInputs(options) {
3862
3862
  return (options.client ?? client).post({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.92.0",
3
+ "version": "0.92.2",
4
4
  "description": "TypeScript SDK for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",