@soat/sdk 0.96.0 → 0.96.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 +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5605,7 +5605,7 @@ type OrchestrationNode = {
|
|
|
5605
5605
|
[key: string]: unknown;
|
|
5606
5606
|
};
|
|
5607
5607
|
/**
|
|
5608
|
-
* Maps state write paths to values. Each key is a `state.<path>` destination (the `state.` prefix is optional); each value is JSON Logic (https://jsonlogic.com) evaluated against `{ "output": <node artifact>, "state": <run state> }` — e.g. `{ "summary": {"var": "output.content"} }` writes the artifact's `content` field to `state.summary`. The same evaluator as input_mapping/transform/condition; only the context differs. An `agent` node's artifact always carries both `content` (the text response) and `object` (the parsed value when a schema applied, `null` otherwise), so `output.content` reads the same whether or not the node declares an `output_schema`.
|
|
5608
|
+
* Maps state write paths to values. Each key is a `state.<path>` destination (the `state.` prefix is optional); each value is JSON Logic (https://jsonlogic.com) evaluated against `{ "output": <node artifact>, "state": <run state> }` — e.g. `{ "summary": {"var": "output.content"} }` writes the artifact's `content` field to `state.summary`. The same evaluator as input_mapping/transform/condition; only the context differs. No key segment may be `__proto__`, `constructor` or `prototype`. An `agent` node's artifact always carries both `content` (the text response) and `object` (the parsed value when a schema applied, `null` otherwise), so `output.content` reads the same whether or not the node declares an `output_schema`.
|
|
5609
5609
|
*
|
|
5610
5610
|
*/
|
|
5611
5611
|
state_mapping?: {
|
|
@@ -5767,7 +5767,7 @@ type Orchestration = {
|
|
|
5767
5767
|
updated_at: Date;
|
|
5768
5768
|
};
|
|
5769
5769
|
/**
|
|
5770
|
-
* The shape of a completed run's `output`, owned by the orchestration rather than by its terminal node ids. Each key is an output field (a dotted key such as `summary.title` builds a nested object); each value is JSON Logic (https://jsonlogic.com) evaluated against `{ "state": <final run state> }`, which includes `state.input` and `state.nodes.<id>`. A missing path maps to `null`; a mapping that throws fails the run. Null (or omitted) keys `output` by terminal node id. Versioned with the graph; `null` on update clears it.
|
|
5770
|
+
* The shape of a completed run's `output`, owned by the orchestration rather than by its terminal node ids. Each key is an output field (a dotted key such as `summary.title` builds a nested object, and no segment may be `__proto__`, `constructor` or `prototype`); each value is JSON Logic (https://jsonlogic.com) evaluated against `{ "state": <final run state> }`, which includes `state.input` and `state.nodes.<id>`. A missing path maps to `null`; a mapping that throws fails the run. Null (or omitted) keys `output` by terminal node id. Versioned with the graph; `null` on update clears it.
|
|
5771
5771
|
*/
|
|
5772
5772
|
type OrchestrationOutputMapping = {
|
|
5773
5773
|
[key: string]: unknown;
|
package/dist/index.d.mts
CHANGED
|
@@ -5605,7 +5605,7 @@ type OrchestrationNode = {
|
|
|
5605
5605
|
[key: string]: unknown;
|
|
5606
5606
|
};
|
|
5607
5607
|
/**
|
|
5608
|
-
* Maps state write paths to values. Each key is a `state.<path>` destination (the `state.` prefix is optional); each value is JSON Logic (https://jsonlogic.com) evaluated against `{ "output": <node artifact>, "state": <run state> }` — e.g. `{ "summary": {"var": "output.content"} }` writes the artifact's `content` field to `state.summary`. The same evaluator as input_mapping/transform/condition; only the context differs. An `agent` node's artifact always carries both `content` (the text response) and `object` (the parsed value when a schema applied, `null` otherwise), so `output.content` reads the same whether or not the node declares an `output_schema`.
|
|
5608
|
+
* Maps state write paths to values. Each key is a `state.<path>` destination (the `state.` prefix is optional); each value is JSON Logic (https://jsonlogic.com) evaluated against `{ "output": <node artifact>, "state": <run state> }` — e.g. `{ "summary": {"var": "output.content"} }` writes the artifact's `content` field to `state.summary`. The same evaluator as input_mapping/transform/condition; only the context differs. No key segment may be `__proto__`, `constructor` or `prototype`. An `agent` node's artifact always carries both `content` (the text response) and `object` (the parsed value when a schema applied, `null` otherwise), so `output.content` reads the same whether or not the node declares an `output_schema`.
|
|
5609
5609
|
*
|
|
5610
5610
|
*/
|
|
5611
5611
|
state_mapping?: {
|
|
@@ -5767,7 +5767,7 @@ type Orchestration = {
|
|
|
5767
5767
|
updated_at: Date;
|
|
5768
5768
|
};
|
|
5769
5769
|
/**
|
|
5770
|
-
* The shape of a completed run's `output`, owned by the orchestration rather than by its terminal node ids. Each key is an output field (a dotted key such as `summary.title` builds a nested object); each value is JSON Logic (https://jsonlogic.com) evaluated against `{ "state": <final run state> }`, which includes `state.input` and `state.nodes.<id>`. A missing path maps to `null`; a mapping that throws fails the run. Null (or omitted) keys `output` by terminal node id. Versioned with the graph; `null` on update clears it.
|
|
5770
|
+
* The shape of a completed run's `output`, owned by the orchestration rather than by its terminal node ids. Each key is an output field (a dotted key such as `summary.title` builds a nested object, and no segment may be `__proto__`, `constructor` or `prototype`); each value is JSON Logic (https://jsonlogic.com) evaluated against `{ "state": <final run state> }`, which includes `state.input` and `state.nodes.<id>`. A missing path maps to `null`; a mapping that throws fails the run. Null (or omitted) keys `output` by terminal node id. Versioned with the graph; `null` on update clears it.
|
|
5771
5771
|
*/
|
|
5772
5772
|
type OrchestrationOutputMapping = {
|
|
5773
5773
|
[key: string]: unknown;
|