asteroid-odyssey 1.8.141 → 1.8.142

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
@@ -400,9 +400,13 @@ type AgentsAgentExecuteAgentRequest = {
400
400
  [key: string]: unknown;
401
401
  };
402
402
  /**
403
- * The version of the workflow to execute. If not provided, the published version is used.
403
+ * The version of the workflow to execute. If neither version nor head is provided, the published version is used.
404
404
  */
405
405
  version?: number;
406
+ /**
407
+ * Run the editable head instead of the published version. Cannot be combined with version.
408
+ */
409
+ head?: boolean;
406
410
  /**
407
411
  * Per-execution runtime options that override or extend the workflow's default settings.
408
412
  */
@@ -465,9 +469,13 @@ type AgentsAgentExecuteAgentSyncRequest = {
465
469
  [key: string]: unknown;
466
470
  };
467
471
  /**
468
- * The version of the workflow to execute. If not provided, the published version is used.
472
+ * The version of the workflow to execute. If neither version nor head is provided, the published version is used.
469
473
  */
470
474
  version?: number;
475
+ /**
476
+ * Run the editable head instead of the published version. Cannot be combined with version.
477
+ */
478
+ head?: boolean;
471
479
  /**
472
480
  * Per-execution runtime options that override or extend the workflow's default settings.
473
481
  */
@@ -4226,11 +4234,13 @@ type AgentsVaultVaultTemplate = {
4226
4234
  */
4227
4235
  type AgentsWorkflowBrowserProvider = "anchor";
4228
4236
  /**
4229
- * Browser environment template configuration
4237
+ * Customer-facing browser environment template configuration
4230
4238
  */
4231
4239
  type AgentsWorkflowBrowserTemplateConfig = {
4232
4240
  /**
4233
- * Browser provider type
4241
+ * Ignored, and always anchor. Kept so SDKs released before it was dropped still parse.
4242
+ *
4243
+ * @deprecated
4234
4244
  */
4235
4245
  provider: AgentsWorkflowBrowserProvider;
4236
4246
  };
@@ -5160,9 +5170,13 @@ type WorkflowsWorkflowExecuteRequest = {
5160
5170
  [key: string]: unknown;
5161
5171
  };
5162
5172
  /**
5163
- * The version of the workflow to execute. If not provided, the published version is used.
5173
+ * The version of the workflow to execute. If neither version nor head is provided, the published version is used.
5164
5174
  */
5165
5175
  version?: number;
5176
+ /**
5177
+ * Run the editable head instead of the published version. Cannot be combined with version.
5178
+ */
5179
+ head?: boolean;
5166
5180
  /**
5167
5181
  * Per-execution runtime options that override or extend the workflow's default settings.
5168
5182
  */
@@ -5228,9 +5242,13 @@ type WorkflowsWorkflowExecuteSyncRequest = {
5228
5242
  [key: string]: unknown;
5229
5243
  };
5230
5244
  /**
5231
- * The version of the workflow to execute. If not provided, the published version is used.
5245
+ * The version of the workflow to execute. If neither version nor head is provided, the published version is used.
5232
5246
  */
5233
5247
  version?: number;
5248
+ /**
5249
+ * Run the editable head instead of the published version. Cannot be combined with version.
5250
+ */
5251
+ head?: boolean;
5234
5252
  /**
5235
5253
  * Per-execution runtime options that override or extend the workflow's default settings.
5236
5254
  */
@@ -11896,7 +11914,7 @@ declare const workflowByIdUpdate: <ThrowOnError extends boolean = false>(options
11896
11914
  /**
11897
11915
  * Execute workflow
11898
11916
  *
11899
- * Start an execution of the workflow's published version, or of the version given in the request.
11917
+ * Start an execution of the workflow's published version, of the version given in the request, or of the editable head when head is true.
11900
11918
  */
11901
11919
  declare const workflowExecutePost: <ThrowOnError extends boolean = false>(options: Options<WorkflowExecutePostData, ThrowOnError>) => RequestResult<WorkflowExecutePostResponses, WorkflowExecutePostErrors, ThrowOnError>;
11902
11920
  /**
package/dist/index.d.ts CHANGED
@@ -400,9 +400,13 @@ type AgentsAgentExecuteAgentRequest = {
400
400
  [key: string]: unknown;
401
401
  };
402
402
  /**
403
- * The version of the workflow to execute. If not provided, the published version is used.
403
+ * The version of the workflow to execute. If neither version nor head is provided, the published version is used.
404
404
  */
405
405
  version?: number;
406
+ /**
407
+ * Run the editable head instead of the published version. Cannot be combined with version.
408
+ */
409
+ head?: boolean;
406
410
  /**
407
411
  * Per-execution runtime options that override or extend the workflow's default settings.
408
412
  */
@@ -465,9 +469,13 @@ type AgentsAgentExecuteAgentSyncRequest = {
465
469
  [key: string]: unknown;
466
470
  };
467
471
  /**
468
- * The version of the workflow to execute. If not provided, the published version is used.
472
+ * The version of the workflow to execute. If neither version nor head is provided, the published version is used.
469
473
  */
470
474
  version?: number;
475
+ /**
476
+ * Run the editable head instead of the published version. Cannot be combined with version.
477
+ */
478
+ head?: boolean;
471
479
  /**
472
480
  * Per-execution runtime options that override or extend the workflow's default settings.
473
481
  */
@@ -4226,11 +4234,13 @@ type AgentsVaultVaultTemplate = {
4226
4234
  */
4227
4235
  type AgentsWorkflowBrowserProvider = "anchor";
4228
4236
  /**
4229
- * Browser environment template configuration
4237
+ * Customer-facing browser environment template configuration
4230
4238
  */
4231
4239
  type AgentsWorkflowBrowserTemplateConfig = {
4232
4240
  /**
4233
- * Browser provider type
4241
+ * Ignored, and always anchor. Kept so SDKs released before it was dropped still parse.
4242
+ *
4243
+ * @deprecated
4234
4244
  */
4235
4245
  provider: AgentsWorkflowBrowserProvider;
4236
4246
  };
@@ -5160,9 +5170,13 @@ type WorkflowsWorkflowExecuteRequest = {
5160
5170
  [key: string]: unknown;
5161
5171
  };
5162
5172
  /**
5163
- * The version of the workflow to execute. If not provided, the published version is used.
5173
+ * The version of the workflow to execute. If neither version nor head is provided, the published version is used.
5164
5174
  */
5165
5175
  version?: number;
5176
+ /**
5177
+ * Run the editable head instead of the published version. Cannot be combined with version.
5178
+ */
5179
+ head?: boolean;
5166
5180
  /**
5167
5181
  * Per-execution runtime options that override or extend the workflow's default settings.
5168
5182
  */
@@ -5228,9 +5242,13 @@ type WorkflowsWorkflowExecuteSyncRequest = {
5228
5242
  [key: string]: unknown;
5229
5243
  };
5230
5244
  /**
5231
- * The version of the workflow to execute. If not provided, the published version is used.
5245
+ * The version of the workflow to execute. If neither version nor head is provided, the published version is used.
5232
5246
  */
5233
5247
  version?: number;
5248
+ /**
5249
+ * Run the editable head instead of the published version. Cannot be combined with version.
5250
+ */
5251
+ head?: boolean;
5234
5252
  /**
5235
5253
  * Per-execution runtime options that override or extend the workflow's default settings.
5236
5254
  */
@@ -11896,7 +11914,7 @@ declare const workflowByIdUpdate: <ThrowOnError extends boolean = false>(options
11896
11914
  /**
11897
11915
  * Execute workflow
11898
11916
  *
11899
- * Start an execution of the workflow's published version, or of the version given in the request.
11917
+ * Start an execution of the workflow's published version, of the version given in the request, or of the editable head when head is true.
11900
11918
  */
11901
11919
  declare const workflowExecutePost: <ThrowOnError extends boolean = false>(options: Options<WorkflowExecutePostData, ThrowOnError>) => RequestResult<WorkflowExecutePostResponses, WorkflowExecutePostErrors, ThrowOnError>;
11902
11920
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "1.8.141",
3
+ "version": "1.8.142",
4
4
  "description": "SDK for interacting with Asteroid Agents API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",