asteroid-odyssey 1.8.138 → 1.8.141

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
@@ -4343,14 +4343,16 @@ type AgentsWorkflowExternalOsTemplateConfig = {
4343
4343
  * OS provider type
4344
4344
  */
4345
4345
  provider: AgentsWorkflowOsProvider;
4346
- /**
4347
- * Snapshot from the registry: a bare `name` follows its newest version, `name:version` pins one. Omit or empty for the configured default for the selected osType. An unregistered name boots as the Daytona snapshot of that name. A name registered to another organisation is refused.
4348
- */
4349
- snapshotName?: string;
4350
4346
  /**
4351
4347
  * Operating system the sandbox runs. Defaults to linux. Setting to windows is admin-only and selects the Windows snapshot/image.
4352
4348
  */
4353
4349
  osType?: AgentsWorkflowOsType;
4350
+ /**
4351
+ * Ignored, and never returned. A workflow boots the snapshot of the custom environment it is bound to, or the default image.
4352
+ *
4353
+ * @deprecated
4354
+ */
4355
+ snapshotName?: string;
4354
4356
  /**
4355
4357
  * Ignored and always false. Kept so SDKs released before it was dropped still parse.
4356
4358
  *
@@ -5068,9 +5070,9 @@ type WorkflowsWorkflowCreateRequest = {
5068
5070
  */
5069
5071
  name: string;
5070
5072
  /**
5071
- * The first version of the workflow
5073
+ * The first version of the workflow. Omit it to start from a blank workflow with a single start node.
5072
5074
  */
5073
- version: WorkflowsVersionCreateRequest;
5075
+ version?: WorkflowsVersionCreateRequest;
5074
5076
  };
5075
5077
  /**
5076
5078
  * Response after creating a workflow
@@ -11864,7 +11866,7 @@ declare const workflowList: <ThrowOnError extends boolean = false>(options?: Opt
11864
11866
  /**
11865
11867
  * Create workflow
11866
11868
  *
11867
- * Create a workflow and its first version.
11869
+ * Create a workflow and its first version. Without a version, the workflow starts blank with a single start node.
11868
11870
  */
11869
11871
  declare const workflowCreate: <ThrowOnError extends boolean = false>(options: Options<WorkflowCreateData, ThrowOnError>) => RequestResult<WorkflowCreateResponses, WorkflowCreateErrors, ThrowOnError>;
11870
11872
  /**
package/dist/index.d.ts CHANGED
@@ -4343,14 +4343,16 @@ type AgentsWorkflowExternalOsTemplateConfig = {
4343
4343
  * OS provider type
4344
4344
  */
4345
4345
  provider: AgentsWorkflowOsProvider;
4346
- /**
4347
- * Snapshot from the registry: a bare `name` follows its newest version, `name:version` pins one. Omit or empty for the configured default for the selected osType. An unregistered name boots as the Daytona snapshot of that name. A name registered to another organisation is refused.
4348
- */
4349
- snapshotName?: string;
4350
4346
  /**
4351
4347
  * Operating system the sandbox runs. Defaults to linux. Setting to windows is admin-only and selects the Windows snapshot/image.
4352
4348
  */
4353
4349
  osType?: AgentsWorkflowOsType;
4350
+ /**
4351
+ * Ignored, and never returned. A workflow boots the snapshot of the custom environment it is bound to, or the default image.
4352
+ *
4353
+ * @deprecated
4354
+ */
4355
+ snapshotName?: string;
4354
4356
  /**
4355
4357
  * Ignored and always false. Kept so SDKs released before it was dropped still parse.
4356
4358
  *
@@ -5068,9 +5070,9 @@ type WorkflowsWorkflowCreateRequest = {
5068
5070
  */
5069
5071
  name: string;
5070
5072
  /**
5071
- * The first version of the workflow
5073
+ * The first version of the workflow. Omit it to start from a blank workflow with a single start node.
5072
5074
  */
5073
- version: WorkflowsVersionCreateRequest;
5075
+ version?: WorkflowsVersionCreateRequest;
5074
5076
  };
5075
5077
  /**
5076
5078
  * Response after creating a workflow
@@ -11864,7 +11866,7 @@ declare const workflowList: <ThrowOnError extends boolean = false>(options?: Opt
11864
11866
  /**
11865
11867
  * Create workflow
11866
11868
  *
11867
- * Create a workflow and its first version.
11869
+ * Create a workflow and its first version. Without a version, the workflow starts blank with a single start node.
11868
11870
  */
11869
11871
  declare const workflowCreate: <ThrowOnError extends boolean = false>(options: Options<WorkflowCreateData, ThrowOnError>) => RequestResult<WorkflowCreateResponses, WorkflowCreateErrors, ThrowOnError>;
11870
11872
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "1.8.138",
3
+ "version": "1.8.141",
4
4
  "description": "SDK for interacting with Asteroid Agents API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",