@soat/sdk 0.101.0 → 0.101.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.cjs CHANGED
@@ -1535,7 +1535,7 @@ var Deciders = class {
1535
1535
  /**
1536
1536
  * Create a decider
1537
1537
  *
1538
- * Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must be `http` or `pipeline` and must not pin `input` or `questions` in its `preset_parameters`, or the create is refused with `400 DECIDER_TOOL_NOT_CALLABLE`. A duplicate `name` in the project is `409 NAME_CONFLICT`.
1538
+ * Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must run server-side with no `action` (not `client` or `mcp`; a `builtin` tool names its `action` in `preset_parameters`) and must not pin `input` or `questions` there, or the create is refused with `400 DECIDER_TOOL_NOT_CALLABLE`. A duplicate `name` in the project is `409 NAME_CONFLICT`.
1539
1539
  */
1540
1540
  static createDecider(options) {
1541
1541
  return (options.client ?? client).post({
package/dist/index.d.cts CHANGED
@@ -1888,7 +1888,7 @@ type Decider = {
1888
1888
  */
1889
1889
  agent_id?: string | null;
1890
1890
  /**
1891
- * The http or pipeline tool that answers; null when an agent does
1891
+ * The tool that answers, run with no action; null when an agent does
1892
1892
  */
1893
1893
  tool_id?: string | null;
1894
1894
  /**
@@ -1917,7 +1917,7 @@ type CreateDeciderRequest = {
1917
1917
  */
1918
1918
  agent_id?: string;
1919
1919
  /**
1920
- * An http or pipeline tool that answers
1920
+ * A tool that answers, run with no action
1921
1921
  */
1922
1922
  tool_id?: string;
1923
1923
  questions: DeciderQuestions;
@@ -2002,7 +2002,7 @@ type CreateInlineDecisionRequest = {
2002
2002
  */
2003
2003
  agent_id?: string;
2004
2004
  /**
2005
- * An http or pipeline tool that answers
2005
+ * A tool that answers, run with no action
2006
2006
  */
2007
2007
  tool_id?: string;
2008
2008
  questions: DeciderQuestions;
@@ -3837,7 +3837,7 @@ type IngestionRuleResourceProperties = {
3837
3837
  */
3838
3838
  agent_id?: string | null;
3839
3839
  /**
3840
- * Operation id, required for builtin/mcp tool converters
3840
+ * Operation id, required for mcp tool converters, and for builtin unless a preset_parameters (the rule's or the tool's) names action
3841
3841
  */
3842
3842
  action?: string | null;
3843
3843
  /**
@@ -4094,7 +4094,7 @@ type GuardrailResourceProperties = {
4094
4094
  context_mode?: 'merge' | 'replace' | null;
4095
4095
  };
4096
4096
  /**
4097
- * Creates a decider — a versioned question set answered against a caller's input. Names exactly one backend: `agent_id` (a tool-less agent) or `tool_id` (an `http` or `pipeline` tool), either a `{ "ref": … }` to a resource in the same template. Only a change to `questions` archives a new version. Mirrors the deciders REST contract.
4097
+ * Creates a decider — a versioned question set answered against a caller's input. Names exactly one backend: `agent_id` (a tool-less agent) or `tool_id` (a tool run with no action), either a `{ "ref": … }` to a resource in the same template. Only a change to `questions` archives a new version. Mirrors the deciders REST contract.
4098
4098
  */
4099
4099
  type DeciderResourceProperties = {
4100
4100
  /**
@@ -4110,7 +4110,7 @@ type DeciderResourceProperties = {
4110
4110
  */
4111
4111
  agent_id?: string;
4112
4112
  /**
4113
- * The http or pipeline tool that answers
4113
+ * The tool that answers, run with no action
4114
4114
  */
4115
4115
  tool_id?: string;
4116
4116
  /**
@@ -17853,7 +17853,7 @@ type CreateIngestionRuleData = {
17853
17853
  */
17854
17854
  agent_id?: string;
17855
17855
  /**
17856
- * Operation id, required for builtin/mcp tool converters
17856
+ * Operation id, required for mcp tool converters, and for builtin unless a preset_parameters (the rule's or the tool's) names action
17857
17857
  */
17858
17858
  action?: string;
17859
17859
  /**
@@ -29154,7 +29154,7 @@ export declare class Deciders {
29154
29154
  /**
29155
29155
  * Create a decider
29156
29156
  *
29157
- * Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must be `http` or `pipeline` and must not pin `input` or `questions` in its `preset_parameters`, or the create is refused with `400 DECIDER_TOOL_NOT_CALLABLE`. A duplicate `name` in the project is `409 NAME_CONFLICT`.
29157
+ * Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must run server-side with no `action` (not `client` or `mcp`; a `builtin` tool names its `action` in `preset_parameters`) and must not pin `input` or `questions` there, or the create is refused with `400 DECIDER_TOOL_NOT_CALLABLE`. A duplicate `name` in the project is `409 NAME_CONFLICT`.
29158
29158
  */
29159
29159
  static createDecider<ThrowOnError extends boolean = false>(options: Options<CreateDeciderData, ThrowOnError>): RequestResult<CreateDeciderResponses, CreateDeciderErrors, ThrowOnError>;
29160
29160
  /**
package/dist/index.d.mts CHANGED
@@ -1888,7 +1888,7 @@ type Decider = {
1888
1888
  */
1889
1889
  agent_id?: string | null;
1890
1890
  /**
1891
- * The http or pipeline tool that answers; null when an agent does
1891
+ * The tool that answers, run with no action; null when an agent does
1892
1892
  */
1893
1893
  tool_id?: string | null;
1894
1894
  /**
@@ -1917,7 +1917,7 @@ type CreateDeciderRequest = {
1917
1917
  */
1918
1918
  agent_id?: string;
1919
1919
  /**
1920
- * An http or pipeline tool that answers
1920
+ * A tool that answers, run with no action
1921
1921
  */
1922
1922
  tool_id?: string;
1923
1923
  questions: DeciderQuestions;
@@ -2002,7 +2002,7 @@ type CreateInlineDecisionRequest = {
2002
2002
  */
2003
2003
  agent_id?: string;
2004
2004
  /**
2005
- * An http or pipeline tool that answers
2005
+ * A tool that answers, run with no action
2006
2006
  */
2007
2007
  tool_id?: string;
2008
2008
  questions: DeciderQuestions;
@@ -3837,7 +3837,7 @@ type IngestionRuleResourceProperties = {
3837
3837
  */
3838
3838
  agent_id?: string | null;
3839
3839
  /**
3840
- * Operation id, required for builtin/mcp tool converters
3840
+ * Operation id, required for mcp tool converters, and for builtin unless a preset_parameters (the rule's or the tool's) names action
3841
3841
  */
3842
3842
  action?: string | null;
3843
3843
  /**
@@ -4094,7 +4094,7 @@ type GuardrailResourceProperties = {
4094
4094
  context_mode?: 'merge' | 'replace' | null;
4095
4095
  };
4096
4096
  /**
4097
- * Creates a decider — a versioned question set answered against a caller's input. Names exactly one backend: `agent_id` (a tool-less agent) or `tool_id` (an `http` or `pipeline` tool), either a `{ "ref": … }` to a resource in the same template. Only a change to `questions` archives a new version. Mirrors the deciders REST contract.
4097
+ * Creates a decider — a versioned question set answered against a caller's input. Names exactly one backend: `agent_id` (a tool-less agent) or `tool_id` (a tool run with no action), either a `{ "ref": … }` to a resource in the same template. Only a change to `questions` archives a new version. Mirrors the deciders REST contract.
4098
4098
  */
4099
4099
  type DeciderResourceProperties = {
4100
4100
  /**
@@ -4110,7 +4110,7 @@ type DeciderResourceProperties = {
4110
4110
  */
4111
4111
  agent_id?: string;
4112
4112
  /**
4113
- * The http or pipeline tool that answers
4113
+ * The tool that answers, run with no action
4114
4114
  */
4115
4115
  tool_id?: string;
4116
4116
  /**
@@ -17853,7 +17853,7 @@ type CreateIngestionRuleData = {
17853
17853
  */
17854
17854
  agent_id?: string;
17855
17855
  /**
17856
- * Operation id, required for builtin/mcp tool converters
17856
+ * Operation id, required for mcp tool converters, and for builtin unless a preset_parameters (the rule's or the tool's) names action
17857
17857
  */
17858
17858
  action?: string;
17859
17859
  /**
@@ -29154,7 +29154,7 @@ export declare class Deciders {
29154
29154
  /**
29155
29155
  * Create a decider
29156
29156
  *
29157
- * Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must be `http` or `pipeline` and must not pin `input` or `questions` in its `preset_parameters`, or the create is refused with `400 DECIDER_TOOL_NOT_CALLABLE`. A duplicate `name` in the project is `409 NAME_CONFLICT`.
29157
+ * Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must run server-side with no `action` (not `client` or `mcp`; a `builtin` tool names its `action` in `preset_parameters`) and must not pin `input` or `questions` there, or the create is refused with `400 DECIDER_TOOL_NOT_CALLABLE`. A duplicate `name` in the project is `409 NAME_CONFLICT`.
29158
29158
  */
29159
29159
  static createDecider<ThrowOnError extends boolean = false>(options: Options<CreateDeciderData, ThrowOnError>): RequestResult<CreateDeciderResponses, CreateDeciderErrors, ThrowOnError>;
29160
29160
  /**
package/dist/index.mjs CHANGED
@@ -1534,7 +1534,7 @@ var Deciders = class {
1534
1534
  /**
1535
1535
  * Create a decider
1536
1536
  *
1537
- * Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must be `http` or `pipeline` and must not pin `input` or `questions` in its `preset_parameters`, or the create is refused with `400 DECIDER_TOOL_NOT_CALLABLE`. A duplicate `name` in the project is `409 NAME_CONFLICT`.
1537
+ * Creates a decider at version 1: a named question set and the backend that answers it, exactly one of `agent_id` and `tool_id`. Every question declares a finite answer space, validated here. The backend must be in the decider's project. An agent must carry no tool surface — no tool binding left active by `active_tool_ids` and no `knowledge_config.write_memory_store_id` — or the create is refused with `400 DECIDER_AGENT_NOT_TOOL_LESS`. A tool must run server-side with no `action` (not `client` or `mcp`; a `builtin` tool names its `action` in `preset_parameters`) and must not pin `input` or `questions` there, or the create is refused with `400 DECIDER_TOOL_NOT_CALLABLE`. A duplicate `name` in the project is `409 NAME_CONFLICT`.
1538
1538
  */
1539
1539
  static createDecider(options) {
1540
1540
  return (options.client ?? client).post({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.101.0",
3
+ "version": "0.101.1",
4
4
  "description": "TypeScript SDK for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",