@asteroidai/cli 1.9.572 → 1.9.576

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
@@ -616,7 +616,7 @@ var COMMANDS = [
616
616
  flag: "base",
617
617
  type: "json",
618
618
  required: true,
619
- description: "The base machine: a browser, or a Linux, Windows or Citrix desktop, sent as `os` with `osType` or as the desktop type. For non-staff callers, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; staff may name any snapshot. Omit it for the default image.",
619
+ description: "The base machine: a browser, or a Linux, Windows or Citrix desktop, sent as `os` with `osType` or as the desktop type. An OS base's `snapshotName` must be one of the organisation's snapshots or a public one. Omit it for the default image.",
620
620
  fields: [
621
621
  {
622
622
  name: "type",
@@ -1027,7 +1027,7 @@ var COMMANDS = [
1027
1027
  flag: "base",
1028
1028
  type: "json",
1029
1029
  required: true,
1030
- description: "The base machine: a browser, or a Linux, Windows or Citrix desktop, sent as `os` with `osType` or as the desktop type. For non-staff callers, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; staff may name any snapshot. Omit it for the default image.",
1030
+ description: "The base machine: a browser, or a Linux, Windows or Citrix desktop, sent as `os` with `osType` or as the desktop type. An OS base's `snapshotName` must be one of the organisation's snapshots or a public one. Omit it for the default image.",
1031
1031
  fields: [
1032
1032
  {
1033
1033
  name: "type",
@@ -1750,7 +1750,7 @@ var COMMANDS = [
1750
1750
  command: "environment snapshot",
1751
1751
  tool: "environment_snapshot",
1752
1752
  title: "Snapshot live environment",
1753
- description: "Capture a live OS environment into a reusable snapshot of your organization, and wait for it to finish. The environment must be ready. A browser environment cannot be captured. Capturing under a `displayName` your organization already uses adds the next version to that snapshot. Windows is imaged with its memory and keeps running. Linux and Citrix are stopped, imaged and started again, which ends the session: `restarted` says so, and the screen is back to its boot state. Takes minutes. Call it once and never retry: a second call captures again and adds another version. If the request gives up or times out, the capture still completes: find its version with `environment_snapshot_get` or `environment_snapshots_list`. Build every snapshot on a base: the shared Windows, Linux or Citrix image, such as `linux-base`. For a new snapshot, boot the base's newest version. To change a snapshot, boot its newest version and capture under the same `displayName`. Never start a new snapshot from another snapshot, your own or shared: its recipe would then depend on that snapshot. Read `environment_current_snapshot` first and edit its recipe. `recipe` is markdown that lets a session with no other context rebuild this exact image on a fresh base: a `## Install` section with the scripted steps as code blocks and any GUI steps as prose, in order, a `## Boot state` section with what is open, signed in and on screen at boot, and optionally `## Notes`. It replaces the old recipe, so cover what the booted image already had. Never write a password, token or other secret in it. `changelog` says in a sentence or two what this capture changed. To boot from the snapshot, set its `name` as `snapshotName` on a custom environment's OS base and bind the workflow to that environment. Set `propose` to store it as a pre-release such as `1.4.0-rc.1` instead of the next version: pin that to test it, then accept or dismiss it with `environment_snapshot_proposal_accept` or `environment_snapshot_proposal_dismiss`. `public` is for Asteroid staff only. Needs a plan that includes building snapshots and the environment's operating system.",
1753
+ description: "Capture a live OS environment into a reusable snapshot of your organization, and wait for it to finish. The environment must be ready. A browser environment cannot be captured. Capturing under a `displayName` your organization already uses adds the next version to that snapshot. A new snapshot cannot take a shared snapshot's name, such as `linux-base`: choose another `displayName`. A snapshot your organization already has under that name still takes new versions. Windows is imaged with its memory and keeps running. Linux and Citrix are stopped, imaged and started again, which ends the session: `restarted` says so, and the screen is back to its boot state. Takes minutes. Call it once and never retry: a second call captures again and adds another version. If the request gives up or times out, the capture still completes: find its version with `environment_snapshot_get` or `environment_snapshots_list`. Build every snapshot on a base: the shared Windows, Linux or Citrix image, such as `linux-base`. For a new snapshot, boot the base's newest version. To change a snapshot, boot its newest version and capture under the same `displayName`. Never start a new snapshot from another snapshot, your own or shared: its recipe would then depend on that snapshot. Read `environment_current_snapshot` first and edit its recipe. `recipe` is markdown that lets a session with no other context rebuild this exact image on a fresh base: a `## Install` section with the scripted steps as code blocks and any GUI steps as prose, in order, a `## Boot state` section with what is open, signed in and on screen at boot, and optionally `## Notes`. It replaces the old recipe, so cover what the booted image already had. Never write a password, token or other secret in it. `changelog` says in a sentence or two what this capture changed. To boot from the snapshot, set its `name` as `snapshotName` on a custom environment's OS base and bind the workflow to that environment. Set `propose` to store it as a pre-release such as `1.4.0-rc.1` instead of the next version: pin that to test it, then accept or dismiss it with `environment_snapshot_proposal_accept` or `environment_snapshot_proposal_dismiss`. `public` is for Asteroid staff only. Needs a plan that includes building snapshots and the environment's operating system.",
1754
1754
  method: "POST",
1755
1755
  path: "/agents/v2/environments/{environmentId}/snapshot",
1756
1756
  args: [
@@ -9428,7 +9428,7 @@ var ApiError = class extends Error {
9428
9428
  status;
9429
9429
  body;
9430
9430
  };
9431
- var VERSION = "1.9.572";
9431
+ var VERSION = "1.9.576";
9432
9432
  function problem(status, body, fallback) {
9433
9433
  if (body && typeof body === "object") {
9434
9434
  const record2 = body;
package/dist/core.js CHANGED
@@ -637,7 +637,7 @@ var COMMANDS = [
637
637
  flag: "base",
638
638
  type: "json",
639
639
  required: true,
640
- description: "The base machine: a browser, or a Linux, Windows or Citrix desktop, sent as `os` with `osType` or as the desktop type. For non-staff callers, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; staff may name any snapshot. Omit it for the default image.",
640
+ description: "The base machine: a browser, or a Linux, Windows or Citrix desktop, sent as `os` with `osType` or as the desktop type. An OS base's `snapshotName` must be one of the organisation's snapshots or a public one. Omit it for the default image.",
641
641
  fields: [
642
642
  {
643
643
  name: "type",
@@ -1048,7 +1048,7 @@ var COMMANDS = [
1048
1048
  flag: "base",
1049
1049
  type: "json",
1050
1050
  required: true,
1051
- description: "The base machine: a browser, or a Linux, Windows or Citrix desktop, sent as `os` with `osType` or as the desktop type. For non-staff callers, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; staff may name any snapshot. Omit it for the default image.",
1051
+ description: "The base machine: a browser, or a Linux, Windows or Citrix desktop, sent as `os` with `osType` or as the desktop type. An OS base's `snapshotName` must be one of the organisation's snapshots or a public one. Omit it for the default image.",
1052
1052
  fields: [
1053
1053
  {
1054
1054
  name: "type",
@@ -1771,7 +1771,7 @@ var COMMANDS = [
1771
1771
  command: "environment snapshot",
1772
1772
  tool: "environment_snapshot",
1773
1773
  title: "Snapshot live environment",
1774
- description: "Capture a live OS environment into a reusable snapshot of your organization, and wait for it to finish. The environment must be ready. A browser environment cannot be captured. Capturing under a `displayName` your organization already uses adds the next version to that snapshot. Windows is imaged with its memory and keeps running. Linux and Citrix are stopped, imaged and started again, which ends the session: `restarted` says so, and the screen is back to its boot state. Takes minutes. Call it once and never retry: a second call captures again and adds another version. If the request gives up or times out, the capture still completes: find its version with `environment_snapshot_get` or `environment_snapshots_list`. Build every snapshot on a base: the shared Windows, Linux or Citrix image, such as `linux-base`. For a new snapshot, boot the base's newest version. To change a snapshot, boot its newest version and capture under the same `displayName`. Never start a new snapshot from another snapshot, your own or shared: its recipe would then depend on that snapshot. Read `environment_current_snapshot` first and edit its recipe. `recipe` is markdown that lets a session with no other context rebuild this exact image on a fresh base: a `## Install` section with the scripted steps as code blocks and any GUI steps as prose, in order, a `## Boot state` section with what is open, signed in and on screen at boot, and optionally `## Notes`. It replaces the old recipe, so cover what the booted image already had. Never write a password, token or other secret in it. `changelog` says in a sentence or two what this capture changed. To boot from the snapshot, set its `name` as `snapshotName` on a custom environment's OS base and bind the workflow to that environment. Set `propose` to store it as a pre-release such as `1.4.0-rc.1` instead of the next version: pin that to test it, then accept or dismiss it with `environment_snapshot_proposal_accept` or `environment_snapshot_proposal_dismiss`. `public` is for Asteroid staff only. Needs a plan that includes building snapshots and the environment's operating system.",
1774
+ description: "Capture a live OS environment into a reusable snapshot of your organization, and wait for it to finish. The environment must be ready. A browser environment cannot be captured. Capturing under a `displayName` your organization already uses adds the next version to that snapshot. A new snapshot cannot take a shared snapshot's name, such as `linux-base`: choose another `displayName`. A snapshot your organization already has under that name still takes new versions. Windows is imaged with its memory and keeps running. Linux and Citrix are stopped, imaged and started again, which ends the session: `restarted` says so, and the screen is back to its boot state. Takes minutes. Call it once and never retry: a second call captures again and adds another version. If the request gives up or times out, the capture still completes: find its version with `environment_snapshot_get` or `environment_snapshots_list`. Build every snapshot on a base: the shared Windows, Linux or Citrix image, such as `linux-base`. For a new snapshot, boot the base's newest version. To change a snapshot, boot its newest version and capture under the same `displayName`. Never start a new snapshot from another snapshot, your own or shared: its recipe would then depend on that snapshot. Read `environment_current_snapshot` first and edit its recipe. `recipe` is markdown that lets a session with no other context rebuild this exact image on a fresh base: a `## Install` section with the scripted steps as code blocks and any GUI steps as prose, in order, a `## Boot state` section with what is open, signed in and on screen at boot, and optionally `## Notes`. It replaces the old recipe, so cover what the booted image already had. Never write a password, token or other secret in it. `changelog` says in a sentence or two what this capture changed. To boot from the snapshot, set its `name` as `snapshotName` on a custom environment's OS base and bind the workflow to that environment. Set `propose` to store it as a pre-release such as `1.4.0-rc.1` instead of the next version: pin that to test it, then accept or dismiss it with `environment_snapshot_proposal_accept` or `environment_snapshot_proposal_dismiss`. `public` is for Asteroid staff only. Needs a plan that includes building snapshots and the environment's operating system.",
1775
1775
  method: "POST",
1776
1776
  path: "/agents/v2/environments/{environmentId}/snapshot",
1777
1777
  args: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.572",
3
+ "version": "1.9.576",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -35,8 +35,8 @@
35
35
  "tsx": "^4.23.12",
36
36
  "typescript": "5.9.3",
37
37
  "vitest": "^4.1.11",
38
- "@asteroid/workflow-files": "0.1.0",
39
- "@workspace/typescript-config": "0.0.0"
38
+ "@workspace/typescript-config": "0.0.0",
39
+ "@asteroid/workflow-files": "0.1.0"
40
40
  },
41
41
  "scripts": {
42
42
  "generate": "tsx scripts/generate.ts && pnpm exec oxfmt src/generated/commands.ts",