asteroid-odyssey 1.6.751 → 1.6.755

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.mts CHANGED
@@ -1550,7 +1550,8 @@ type AgentsGraphModelsNodesPropertiesIrisProperties = {
1550
1550
  * Relative path (within the node's own shared directory) of the
1551
1551
  * Playwright script that the runtime should execute before the LLM.
1552
1552
  * Setting this turns the node into a fast-path scripted node — combine
1553
- * with `freeze: true` to skip the LLM entirely on success.
1553
+ * with `script_failure_action: "cancel_execution"` to skip the LLM
1554
+ * entirely on success and cancel on failure.
1554
1555
  *
1555
1556
  * The path is resolved at runtime against the node's shared
1556
1557
  * directory — i.e. `shared/<node-key>/<script_filepath>` on disk in
@@ -1576,7 +1577,12 @@ type AgentsGraphModelsNodesPropertiesIrisProperties = {
1576
1577
  * `shared/<node-key>/<storage-key>/scripts/main.js`).
1577
1578
  */
1578
1579
  script_filepath?: string;
1579
- freeze?: boolean;
1580
+ /**
1581
+ * What happens when a script fails on a scripted node.
1582
+ * `fallback_to_ai` (default): fall back to LLM-driven execution.
1583
+ * `cancel_execution`: cancel the execution immediately.
1584
+ */
1585
+ script_failure_action?: 'fallback_to_ai' | 'cancel_execution';
1580
1586
  thinking_mode?: 'adaptive' | 'enabled' | 'disabled';
1581
1587
  thinking_budget_tokens?: number;
1582
1588
  thinking_effort?: 'low' | 'medium' | 'high' | 'max';
package/dist/index.d.ts CHANGED
@@ -1550,7 +1550,8 @@ type AgentsGraphModelsNodesPropertiesIrisProperties = {
1550
1550
  * Relative path (within the node's own shared directory) of the
1551
1551
  * Playwright script that the runtime should execute before the LLM.
1552
1552
  * Setting this turns the node into a fast-path scripted node — combine
1553
- * with `freeze: true` to skip the LLM entirely on success.
1553
+ * with `script_failure_action: "cancel_execution"` to skip the LLM
1554
+ * entirely on success and cancel on failure.
1554
1555
  *
1555
1556
  * The path is resolved at runtime against the node's shared
1556
1557
  * directory — i.e. `shared/<node-key>/<script_filepath>` on disk in
@@ -1576,7 +1577,12 @@ type AgentsGraphModelsNodesPropertiesIrisProperties = {
1576
1577
  * `shared/<node-key>/<storage-key>/scripts/main.js`).
1577
1578
  */
1578
1579
  script_filepath?: string;
1579
- freeze?: boolean;
1580
+ /**
1581
+ * What happens when a script fails on a scripted node.
1582
+ * `fallback_to_ai` (default): fall back to LLM-driven execution.
1583
+ * `cancel_execution`: cancel the execution immediately.
1584
+ */
1585
+ script_failure_action?: 'fallback_to_ai' | 'cancel_execution';
1580
1586
  thinking_mode?: 'adaptive' | 'enabled' | 'disabled';
1581
1587
  thinking_budget_tokens?: number;
1582
1588
  thinking_effort?: 'low' | 'medium' | 'high' | 'max';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "1.6.751",
3
+ "version": "1.6.755",
4
4
  "description": "SDK for interacting with Asteroid Agents API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",