asteroid-odyssey 1.7.269 → 1.7.270

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
@@ -780,11 +780,11 @@ type AgentsGraphModelsNodesPropertiesIrisProperties = {
780
780
  * prefix.
781
781
  * - Must end in `.js`.
782
782
  * - Must not contain `..` segments or duplicate slashes.
783
- * - May contain a single `{{shared_storage_key}}` placeholder, which
784
- * the runtime substitutes with the execution's `shared_storage_key`
785
- * so a single workflow can target per-tenant script trees (e.g.
786
- * `{{shared_storage_key}}/scripts/main.js` →
787
- * `shared/<node-key>/<storage-key>/scripts/main.js`).
783
+ * - May contain a single `{{variant_key}}` placeholder, which the
784
+ * runtime substitutes with the execution's `variant_key` so a single
785
+ * workflow can target per-tenant script trees (e.g.
786
+ * `{{variant_key}}/scripts/main.js` →
787
+ * `shared/<node-key>/<variant-key>/scripts/main.js`).
788
788
  */
789
789
  script_filepath?: string;
790
790
  /**
@@ -916,9 +916,9 @@ type AgentsWorkflowExecuteWorkflowRequest = {
916
916
  */
917
917
  type AgentsAgentExecutionOptions = {
918
918
  /**
919
- * Scopes shared-file storage to a per-entity subdirectory under each node's shared folder. The value is normalised to a filesystem-safe slug by the server.
919
+ * Identifies which variant this execution is for, scoping its shared files and scripts to a per-variant subdirectory under each node's shared folder. It does not change which agent or workflow runs. Normalised to a filesystem-safe slug by the server.
920
920
  */
921
- sharedStorageKey?: string;
921
+ variantKey?: string;
922
922
  /**
923
923
  * Soft timeout in minutes. When the execution has been running longer than this value, a message is injected on every subsequent step urging the agent to wrap up and produce output. Must be greater than 0 and less than the agent's hard timeout (max_timeout_mins).
924
924
  */
@@ -2201,7 +2201,7 @@ type AgentsExecutionListItem = {
2201
2201
  */
2202
2202
  triggerContext?: AgentsExecutionTriggerContext;
2203
2203
  /**
2204
- * Per-execution runtime options (e.g. shared storage key)
2204
+ * Per-execution runtime options (e.g. variant key)
2205
2205
  */
2206
2206
  executionOptions?: AgentsAgentExecutionOptions;
2207
2207
  /**
package/dist/index.d.ts CHANGED
@@ -780,11 +780,11 @@ type AgentsGraphModelsNodesPropertiesIrisProperties = {
780
780
  * prefix.
781
781
  * - Must end in `.js`.
782
782
  * - Must not contain `..` segments or duplicate slashes.
783
- * - May contain a single `{{shared_storage_key}}` placeholder, which
784
- * the runtime substitutes with the execution's `shared_storage_key`
785
- * so a single workflow can target per-tenant script trees (e.g.
786
- * `{{shared_storage_key}}/scripts/main.js` →
787
- * `shared/<node-key>/<storage-key>/scripts/main.js`).
783
+ * - May contain a single `{{variant_key}}` placeholder, which the
784
+ * runtime substitutes with the execution's `variant_key` so a single
785
+ * workflow can target per-tenant script trees (e.g.
786
+ * `{{variant_key}}/scripts/main.js` →
787
+ * `shared/<node-key>/<variant-key>/scripts/main.js`).
788
788
  */
789
789
  script_filepath?: string;
790
790
  /**
@@ -916,9 +916,9 @@ type AgentsWorkflowExecuteWorkflowRequest = {
916
916
  */
917
917
  type AgentsAgentExecutionOptions = {
918
918
  /**
919
- * Scopes shared-file storage to a per-entity subdirectory under each node's shared folder. The value is normalised to a filesystem-safe slug by the server.
919
+ * Identifies which variant this execution is for, scoping its shared files and scripts to a per-variant subdirectory under each node's shared folder. It does not change which agent or workflow runs. Normalised to a filesystem-safe slug by the server.
920
920
  */
921
- sharedStorageKey?: string;
921
+ variantKey?: string;
922
922
  /**
923
923
  * Soft timeout in minutes. When the execution has been running longer than this value, a message is injected on every subsequent step urging the agent to wrap up and produce output. Must be greater than 0 and less than the agent's hard timeout (max_timeout_mins).
924
924
  */
@@ -2201,7 +2201,7 @@ type AgentsExecutionListItem = {
2201
2201
  */
2202
2202
  triggerContext?: AgentsExecutionTriggerContext;
2203
2203
  /**
2204
- * Per-execution runtime options (e.g. shared storage key)
2204
+ * Per-execution runtime options (e.g. variant key)
2205
2205
  */
2206
2206
  executionOptions?: AgentsAgentExecutionOptions;
2207
2207
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "1.7.269",
3
+ "version": "1.7.270",
4
4
  "description": "SDK for interacting with Asteroid Agents API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",