@asteroidai/cli 1.9.535 → 1.9.536

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/asteroid.js CHANGED
@@ -1369,7 +1369,7 @@ var COMMANDS = [
1369
1369
  command: "environment get",
1370
1370
  tool: "environment_get",
1371
1371
  title: "Get environment",
1372
- description: "Read a running environment by ID: its status and metadata, plus the proxied CDP URL needed to drive it (omitted when the proxy is disabled, or for environments with no browser endpoint). Returns 404 once the environment has stopped or expired.",
1372
+ description: "Read an environment by ID, running or stopped: its status and metadata, plus the proxied CDP URL needed to drive it (omitted when the proxy is disabled, or for environments with no browser endpoint).",
1373
1373
  method: "GET",
1374
1374
  path: "/agents/v2/environments/{environmentId}",
1375
1375
  args: [
@@ -1418,7 +1418,7 @@ var COMMANDS = [
1418
1418
  command: "environment start",
1419
1419
  tool: "environment_start",
1420
1420
  title: "Start live environment",
1421
- description: "Start a live browser or OS environment. Without `source`, you get a browser, or the bound workflow's environment when an Astro chat starts it. Set `source` to `{kind: \"workflow\"}` to use a workflow's environment (needs `workflowId`), or to `{kind: \"spec\"}` to choose a browser or an OS. Optional: `workflowId` binds it to a workflow; `profileId` loads a login profile's secrets. For a browser, `connection.cdpUrl` is a proxied DevTools URL for Playwright's `connectOverCDP`, present once the browser is ready. The environment stops at `expiresAt`; stop it earlier with `environment_stop`.",
1421
+ description: "Start a live browser or OS environment. Without `source`, you get a browser, or the bound workflow's environment when an Astro chat starts it. Set `source` to `{kind: \"workflow\"}` to use a workflow's environment (name it with the top-level `workflowId`, a workflow's id, to use its head, or with `source.workflowVersionId`, a version id), or to `{kind: \"spec\"}` to choose a browser or an OS. Optional: `workflowId` binds it to a workflow; `profileId` loads a login profile's secrets. For a browser, `connection.cdpUrl` is a proxied DevTools URL for Playwright's `connectOverCDP`, present once the browser is ready. The environment stops at `expiresAt`; stop it earlier with `environment_stop`.",
1422
1422
  method: "POST",
1423
1423
  path: "/agents/v2/environments",
1424
1424
  args: [],
@@ -1628,7 +1628,7 @@ var COMMANDS = [
1628
1628
  command: "execution cancel",
1629
1629
  tool: "execution_cancel",
1630
1630
  title: "Cancel execution",
1631
- description: "Cancel an execution. The execution stops and cannot be resumed.",
1631
+ description: "Cancel an execution. The execution stops and cannot be resumed. Cancelling an already cancelled execution succeeds. A `completed` or `failed` execution stays as it is and returns 400: there is nothing to cancel.",
1632
1632
  method: "POST",
1633
1633
  path: "/agents/v2/executions/{executionId}/cancel",
1634
1634
  args: [
@@ -2226,7 +2226,7 @@ var COMMANDS = [
2226
2226
  command: "execution message",
2227
2227
  tool: "execution_user_messages_add",
2228
2228
  title: "Add execution message",
2229
- description: "Send a message to a running or paused execution. The agent reads it as user input. When the agent is waiting for an answer, the message also resumes it. A run waiting on a workflow question (`pause.question` is set) returns 409: answer it with `execution_answer`. To attach files, upload them first with `execution_context_files_upload`, then send the message, as the platform does.",
2229
+ description: "Send a message to a running or paused execution. The agent reads it as user input. Any other status returns 400. For `queued` or `starting`, wait for `running` with `execution_sync` first. `awaiting_confirmation` needs `execution_resume`, not a message. When the agent is waiting for an answer, the message also resumes it. A run waiting on a workflow question (`pause.question` is set) returns 409: answer it with `execution_answer`. To attach files, upload them first with `execution_context_files_upload`, then send the message, as the platform does.",
2230
2230
  method: "POST",
2231
2231
  path: "/agents/v2/executions/{executionId}/user-messages",
2232
2232
  args: [
@@ -2342,7 +2342,7 @@ var COMMANDS = [
2342
2342
  command: "execution rerun",
2343
2343
  tool: "execution_rerun",
2344
2344
  title: "Rerun execution",
2345
- description: "Start a new execution of the same workflow version as the original, with its inputs, profile, metadata and execution options. Pass `inputs` or `profileId` to replace the copied values. Files staged for the original execution are not copied.",
2345
+ description: "Start a new execution of the same workflow version as the original, with its inputs, profile, metadata and execution options. Pass `inputs` or `profileId` to replace the copied values. Files staged for the original execution are not copied. 429 means every login in the profile group is in use, no warm environment is free, or the organization is at its concurrent execution limit: retry once a run ends or the warm pool refills.",
2346
2346
  method: "POST",
2347
2347
  path: "/agents/v2/executions/{executionId}/rerun",
2348
2348
  args: [
@@ -5592,7 +5592,7 @@ Omitting customEnvironmentId on its own means "leave unchanged".`
5592
5592
  command: "workflow execute",
5593
5593
  tool: "workflow_execute_post",
5594
5594
  title: "Start workflow execution",
5595
- description: "Start an execution. It runs the published version unless you pass `version` (a version number) or `head: true` (the unpublished editable head). Pass `inputs` for the workflow's input variables (see `workflow_version_inputs_get`), `profileId` or `profileGroupId` for the login, `tempFiles` for staged files, and optional `metadata`. When the organization is at its concurrency limit, `onCapacityLimit: queue` queues the run instead of failing. Returns the `executionId`; follow it with `execution_get`.",
5595
+ description: "Start an execution. It runs the published version unless you pass `version` (a version number) or `head: true` (the unpublished editable head). Pass `inputs` for the workflow's input variables (see `workflow_version_inputs_get`), `profileId` or `profileGroupId` for the login, `tempFiles` for staged files, and optional `metadata`. When the organization is at its concurrency limit, `onCapacityLimit: queue` queues the run instead of failing. Returns the `executionId`; follow the run with `execution_sync`.",
5596
5596
  method: "POST",
5597
5597
  path: "/agents/v2/workflows/{workflowId}/execute",
5598
5598
  args: [
@@ -5710,7 +5710,7 @@ Omitting customEnvironmentId on its own means "leave unchanged".`
5710
5710
  command: "workflow execute-sync",
5711
5711
  tool: "workflow_execute_sync_post",
5712
5712
  title: "Run workflow and wait for the result",
5713
- description: "Start an execution and wait up to `timeoutSeconds` (1-25, default 25) for it to finish. Takes the same body as `workflow_execute_post`. Returns the terminal `status` and `executionResult` when it finishes in time. Otherwise returns `executionId` and the current status: the execution keeps running, so follow it with `execution_get` rather than calling this again, which would start a second execution. Use it for workflows that finish in seconds.",
5713
+ description: "Start an execution and wait up to `timeoutSeconds` (1-25, default 25) for it to finish. Takes the same body as `workflow_execute_post`. Returns the terminal `status` and `executionResult` when it finishes in time. Otherwise returns `executionId` and the current status: the execution keeps running, so follow it with `execution_sync` rather than calling this again, which would start a second execution. Use it for workflows that finish in seconds.",
5714
5714
  method: "POST",
5715
5715
  path: "/agents/v2/workflows/{workflowId}/execute/sync",
5716
5716
  args: [
@@ -6917,7 +6917,7 @@ Omitting customEnvironmentId on its own means "leave unchanged".`
6917
6917
  command: "workflow version execute",
6918
6918
  tool: "workflow_version_execute",
6919
6919
  title: "Execute workflow version",
6920
- description: "Run one version by `versionId`, published or not, to test it before publishing. Takes `inputs`, `profileId` or `profileGroupId`, `tempFiles` and `metadata`, like `workflow_execute_post`.",
6920
+ description: "Run one version by `versionId`, published or not, to test it before publishing. Takes `inputs`, `profileId` or `profileGroupId`, `tempFiles` and `metadata`, like `workflow_execute_post`. 429 means every login in the profile group is in use, no warm environment is free, or the organization is at its concurrent execution limit: the same request works once a run ends or the warm pool refills, so do not retry at once. For a busy profile group, `workflow_execute_post` with `onCapacityLimit: queue` queues a run of the published version, a `version` number or the head, without `tempFiles`.",
6921
6921
  method: "POST",
6922
6922
  path: "/agents/v2/workflows/{workflowId}/versions/{versionId}/execute",
6923
6923
  args: [
@@ -8585,7 +8585,7 @@ var ApiError = class extends Error {
8585
8585
  status;
8586
8586
  body;
8587
8587
  };
8588
- var VERSION = "1.9.535";
8588
+ var VERSION = "1.9.536";
8589
8589
  function problem(status, body, fallback) {
8590
8590
  if (body && typeof body === "object") {
8591
8591
  const record2 = body;
package/dist/core.js CHANGED
@@ -1390,7 +1390,7 @@ var COMMANDS = [
1390
1390
  command: "environment get",
1391
1391
  tool: "environment_get",
1392
1392
  title: "Get environment",
1393
- description: "Read a running environment by ID: its status and metadata, plus the proxied CDP URL needed to drive it (omitted when the proxy is disabled, or for environments with no browser endpoint). Returns 404 once the environment has stopped or expired.",
1393
+ description: "Read an environment by ID, running or stopped: its status and metadata, plus the proxied CDP URL needed to drive it (omitted when the proxy is disabled, or for environments with no browser endpoint).",
1394
1394
  method: "GET",
1395
1395
  path: "/agents/v2/environments/{environmentId}",
1396
1396
  args: [
@@ -1439,7 +1439,7 @@ var COMMANDS = [
1439
1439
  command: "environment start",
1440
1440
  tool: "environment_start",
1441
1441
  title: "Start live environment",
1442
- description: "Start a live browser or OS environment. Without `source`, you get a browser, or the bound workflow's environment when an Astro chat starts it. Set `source` to `{kind: \"workflow\"}` to use a workflow's environment (needs `workflowId`), or to `{kind: \"spec\"}` to choose a browser or an OS. Optional: `workflowId` binds it to a workflow; `profileId` loads a login profile's secrets. For a browser, `connection.cdpUrl` is a proxied DevTools URL for Playwright's `connectOverCDP`, present once the browser is ready. The environment stops at `expiresAt`; stop it earlier with `environment_stop`.",
1442
+ description: "Start a live browser or OS environment. Without `source`, you get a browser, or the bound workflow's environment when an Astro chat starts it. Set `source` to `{kind: \"workflow\"}` to use a workflow's environment (name it with the top-level `workflowId`, a workflow's id, to use its head, or with `source.workflowVersionId`, a version id), or to `{kind: \"spec\"}` to choose a browser or an OS. Optional: `workflowId` binds it to a workflow; `profileId` loads a login profile's secrets. For a browser, `connection.cdpUrl` is a proxied DevTools URL for Playwright's `connectOverCDP`, present once the browser is ready. The environment stops at `expiresAt`; stop it earlier with `environment_stop`.",
1443
1443
  method: "POST",
1444
1444
  path: "/agents/v2/environments",
1445
1445
  args: [],
@@ -1649,7 +1649,7 @@ var COMMANDS = [
1649
1649
  command: "execution cancel",
1650
1650
  tool: "execution_cancel",
1651
1651
  title: "Cancel execution",
1652
- description: "Cancel an execution. The execution stops and cannot be resumed.",
1652
+ description: "Cancel an execution. The execution stops and cannot be resumed. Cancelling an already cancelled execution succeeds. A `completed` or `failed` execution stays as it is and returns 400: there is nothing to cancel.",
1653
1653
  method: "POST",
1654
1654
  path: "/agents/v2/executions/{executionId}/cancel",
1655
1655
  args: [
@@ -2247,7 +2247,7 @@ var COMMANDS = [
2247
2247
  command: "execution message",
2248
2248
  tool: "execution_user_messages_add",
2249
2249
  title: "Add execution message",
2250
- description: "Send a message to a running or paused execution. The agent reads it as user input. When the agent is waiting for an answer, the message also resumes it. A run waiting on a workflow question (`pause.question` is set) returns 409: answer it with `execution_answer`. To attach files, upload them first with `execution_context_files_upload`, then send the message, as the platform does.",
2250
+ description: "Send a message to a running or paused execution. The agent reads it as user input. Any other status returns 400. For `queued` or `starting`, wait for `running` with `execution_sync` first. `awaiting_confirmation` needs `execution_resume`, not a message. When the agent is waiting for an answer, the message also resumes it. A run waiting on a workflow question (`pause.question` is set) returns 409: answer it with `execution_answer`. To attach files, upload them first with `execution_context_files_upload`, then send the message, as the platform does.",
2251
2251
  method: "POST",
2252
2252
  path: "/agents/v2/executions/{executionId}/user-messages",
2253
2253
  args: [
@@ -2363,7 +2363,7 @@ var COMMANDS = [
2363
2363
  command: "execution rerun",
2364
2364
  tool: "execution_rerun",
2365
2365
  title: "Rerun execution",
2366
- description: "Start a new execution of the same workflow version as the original, with its inputs, profile, metadata and execution options. Pass `inputs` or `profileId` to replace the copied values. Files staged for the original execution are not copied.",
2366
+ description: "Start a new execution of the same workflow version as the original, with its inputs, profile, metadata and execution options. Pass `inputs` or `profileId` to replace the copied values. Files staged for the original execution are not copied. 429 means every login in the profile group is in use, no warm environment is free, or the organization is at its concurrent execution limit: retry once a run ends or the warm pool refills.",
2367
2367
  method: "POST",
2368
2368
  path: "/agents/v2/executions/{executionId}/rerun",
2369
2369
  args: [
@@ -5613,7 +5613,7 @@ Omitting customEnvironmentId on its own means "leave unchanged".`
5613
5613
  command: "workflow execute",
5614
5614
  tool: "workflow_execute_post",
5615
5615
  title: "Start workflow execution",
5616
- description: "Start an execution. It runs the published version unless you pass `version` (a version number) or `head: true` (the unpublished editable head). Pass `inputs` for the workflow's input variables (see `workflow_version_inputs_get`), `profileId` or `profileGroupId` for the login, `tempFiles` for staged files, and optional `metadata`. When the organization is at its concurrency limit, `onCapacityLimit: queue` queues the run instead of failing. Returns the `executionId`; follow it with `execution_get`.",
5616
+ description: "Start an execution. It runs the published version unless you pass `version` (a version number) or `head: true` (the unpublished editable head). Pass `inputs` for the workflow's input variables (see `workflow_version_inputs_get`), `profileId` or `profileGroupId` for the login, `tempFiles` for staged files, and optional `metadata`. When the organization is at its concurrency limit, `onCapacityLimit: queue` queues the run instead of failing. Returns the `executionId`; follow the run with `execution_sync`.",
5617
5617
  method: "POST",
5618
5618
  path: "/agents/v2/workflows/{workflowId}/execute",
5619
5619
  args: [
@@ -5731,7 +5731,7 @@ Omitting customEnvironmentId on its own means "leave unchanged".`
5731
5731
  command: "workflow execute-sync",
5732
5732
  tool: "workflow_execute_sync_post",
5733
5733
  title: "Run workflow and wait for the result",
5734
- description: "Start an execution and wait up to `timeoutSeconds` (1-25, default 25) for it to finish. Takes the same body as `workflow_execute_post`. Returns the terminal `status` and `executionResult` when it finishes in time. Otherwise returns `executionId` and the current status: the execution keeps running, so follow it with `execution_get` rather than calling this again, which would start a second execution. Use it for workflows that finish in seconds.",
5734
+ description: "Start an execution and wait up to `timeoutSeconds` (1-25, default 25) for it to finish. Takes the same body as `workflow_execute_post`. Returns the terminal `status` and `executionResult` when it finishes in time. Otherwise returns `executionId` and the current status: the execution keeps running, so follow it with `execution_sync` rather than calling this again, which would start a second execution. Use it for workflows that finish in seconds.",
5735
5735
  method: "POST",
5736
5736
  path: "/agents/v2/workflows/{workflowId}/execute/sync",
5737
5737
  args: [
@@ -6938,7 +6938,7 @@ Omitting customEnvironmentId on its own means "leave unchanged".`
6938
6938
  command: "workflow version execute",
6939
6939
  tool: "workflow_version_execute",
6940
6940
  title: "Execute workflow version",
6941
- description: "Run one version by `versionId`, published or not, to test it before publishing. Takes `inputs`, `profileId` or `profileGroupId`, `tempFiles` and `metadata`, like `workflow_execute_post`.",
6941
+ description: "Run one version by `versionId`, published or not, to test it before publishing. Takes `inputs`, `profileId` or `profileGroupId`, `tempFiles` and `metadata`, like `workflow_execute_post`. 429 means every login in the profile group is in use, no warm environment is free, or the organization is at its concurrent execution limit: the same request works once a run ends or the warm pool refills, so do not retry at once. For a busy profile group, `workflow_execute_post` with `onCapacityLimit: queue` queues a run of the published version, a `version` number or the head, without `tempFiles`.",
6942
6942
  method: "POST",
6943
6943
  path: "/agents/v2/workflows/{workflowId}/versions/{versionId}/execute",
6944
6944
  args: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.535",
3
+ "version": "1.9.536",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",