asteroid-odyssey 1.7.263 → 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
@@ -747,9 +747,7 @@ type AgentsGraphModelsNodesPropertiesIrisProperties = {
747
747
  type: 'iris';
748
748
  instructions: string;
749
749
  capabilities?: AgentsGraphModelsNodesPropertiesNodeCapabilities;
750
- snapshot_compression: boolean;
751
750
  compression_strategies?: Array<string>;
752
- temperature: number;
753
751
  playwright_script_properties?: AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties;
754
752
  input_schema?: {
755
753
  [key: string]: unknown;
@@ -782,11 +780,11 @@ type AgentsGraphModelsNodesPropertiesIrisProperties = {
782
780
  * prefix.
783
781
  * - Must end in `.js`.
784
782
  * - Must not contain `..` segments or duplicate slashes.
785
- * - May contain a single `{{shared_storage_key}}` placeholder, which
786
- * the runtime substitutes with the execution's `shared_storage_key`
787
- * so a single workflow can target per-tenant script trees (e.g.
788
- * `{{shared_storage_key}}/scripts/main.js` →
789
- * `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`).
790
788
  */
791
789
  script_filepath?: string;
792
790
  /**
@@ -918,9 +916,9 @@ type AgentsWorkflowExecuteWorkflowRequest = {
918
916
  */
919
917
  type AgentsAgentExecutionOptions = {
920
918
  /**
921
- * 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.
922
920
  */
923
- sharedStorageKey?: string;
921
+ variantKey?: string;
924
922
  /**
925
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).
926
924
  */
@@ -2182,6 +2180,10 @@ type AgentsExecutionListItem = {
2182
2180
  * Live view URL for debugging (if an environment is active and execution is running)
2183
2181
  */
2184
2182
  liveViewUrl?: string;
2183
+ /**
2184
+ * Deep link to this execution in the Asteroid platform UI
2185
+ */
2186
+ platformUrl?: string;
2185
2187
  /**
2186
2188
  * Deprecated: Use 'recordingUrl' instead.
2187
2189
  *
@@ -2199,7 +2201,7 @@ type AgentsExecutionListItem = {
2199
2201
  */
2200
2202
  triggerContext?: AgentsExecutionTriggerContext;
2201
2203
  /**
2202
- * Per-execution runtime options (e.g. shared storage key)
2204
+ * Per-execution runtime options (e.g. variant key)
2203
2205
  */
2204
2206
  executionOptions?: AgentsAgentExecutionOptions;
2205
2207
  /**
package/dist/index.d.ts CHANGED
@@ -747,9 +747,7 @@ type AgentsGraphModelsNodesPropertiesIrisProperties = {
747
747
  type: 'iris';
748
748
  instructions: string;
749
749
  capabilities?: AgentsGraphModelsNodesPropertiesNodeCapabilities;
750
- snapshot_compression: boolean;
751
750
  compression_strategies?: Array<string>;
752
- temperature: number;
753
751
  playwright_script_properties?: AgentsGraphModelsNodesPropertiesIrisPlaywrightScriptProperties;
754
752
  input_schema?: {
755
753
  [key: string]: unknown;
@@ -782,11 +780,11 @@ type AgentsGraphModelsNodesPropertiesIrisProperties = {
782
780
  * prefix.
783
781
  * - Must end in `.js`.
784
782
  * - Must not contain `..` segments or duplicate slashes.
785
- * - May contain a single `{{shared_storage_key}}` placeholder, which
786
- * the runtime substitutes with the execution's `shared_storage_key`
787
- * so a single workflow can target per-tenant script trees (e.g.
788
- * `{{shared_storage_key}}/scripts/main.js` →
789
- * `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`).
790
788
  */
791
789
  script_filepath?: string;
792
790
  /**
@@ -918,9 +916,9 @@ type AgentsWorkflowExecuteWorkflowRequest = {
918
916
  */
919
917
  type AgentsAgentExecutionOptions = {
920
918
  /**
921
- * 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.
922
920
  */
923
- sharedStorageKey?: string;
921
+ variantKey?: string;
924
922
  /**
925
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).
926
924
  */
@@ -2182,6 +2180,10 @@ type AgentsExecutionListItem = {
2182
2180
  * Live view URL for debugging (if an environment is active and execution is running)
2183
2181
  */
2184
2182
  liveViewUrl?: string;
2183
+ /**
2184
+ * Deep link to this execution in the Asteroid platform UI
2185
+ */
2186
+ platformUrl?: string;
2185
2187
  /**
2186
2188
  * Deprecated: Use 'recordingUrl' instead.
2187
2189
  *
@@ -2199,7 +2201,7 @@ type AgentsExecutionListItem = {
2199
2201
  */
2200
2202
  triggerContext?: AgentsExecutionTriggerContext;
2201
2203
  /**
2202
- * Per-execution runtime options (e.g. shared storage key)
2204
+ * Per-execution runtime options (e.g. variant key)
2203
2205
  */
2204
2206
  executionOptions?: AgentsAgentExecutionOptions;
2205
2207
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "1.7.263",
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",