spawn/packages/cli/src
Ahmed Abushagur 5efbcf9ee7
feat: add --fast flag for parallel server boot + setup (#2796)
* feat: add --fast flag for parallel server boot + setup

Adds `--fast` flag that runs server creation concurrently with API key
prompt, account check, pre-provision hooks, tarball download, and env
config generation. Once SSH is up, uploads tarball and applies config.

--fast implies --beta tarball and --beta images, enabling snapshots
and pre-built tarballs automatically.

Flow without --fast (sequential):
  auth → API key → preProvision → size → create → boot → install → configure

Flow with --fast (parallel):
  auth → size → [create+boot | API key | preProvision | tarball download | accountCheck]
              → upload tarball → inject env → configure

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat: add --beta parallel as standalone opt-in for parallel setup

--beta parallel enables the parallel orchestration without implying
tarball/images. --fast still implies all three (tarball + images +
parallel).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 10:26:54 -07:00
..
__tests__ fix(cli): validate agentKey in buildFixScript and fixSpawn before manifest lookup (#2792) 2026-03-19 06:36:06 -07:00
aws fix(windows): use dirname() instead of unix-only regex for config paths (#2738) 2026-03-17 22:22:30 -07:00
commands fix(cli): validate agentKey in buildFixScript and fixSpawn before manifest lookup (#2792) 2026-03-19 06:36:06 -07:00
digitalocean refactor: extract duplicate waitForSshSnapshotBoot to shared/ssh.ts (#2783) 2026-03-18 22:10:25 -07:00
gcp fix(e2e): double GCP cloud-init wait timeout to 10 minutes for Node install (#2713) 2026-03-17 11:51:41 -07:00
hetzner refactor: extract duplicate waitForSshSnapshotBoot to shared/ssh.ts (#2783) 2026-03-18 22:10:25 -07:00
local feat: add Windows PowerShell support — remove bash dependency for local execution (#2727) 2026-03-17 16:35:23 -07:00
shared feat: add --fast flag for parallel server boot + setup (#2796) 2026-03-19 10:26:54 -07:00
sprite fix(sprite): append to ~/.bash_profile and gate exec zsh on interactive shells (#2756) 2026-03-17 23:55:33 -07:00
flags.ts feat(cli): add spawn link command to reconnect existing deployments (#2675) 2026-03-15 23:11:13 -07:00
guidance-data.ts refactor: remove dead exports only used within their own files (#2431) 2026-03-10 08:51:15 -04:00
history.ts fix(e2e): prevent concurrent history write race and fix GCP HOME env (#2678) 2026-03-15 23:06:23 -07:00
index.ts feat: add --fast flag for parallel server boot + setup (#2796) 2026-03-19 10:26:54 -07:00
manifest.ts fix(cli): use tryCatch instead of tryCatchIf for JSON.parse callsites (#2770) 2026-03-18 12:54:41 -07:00
picker.ts refactor: remove dead exported types from picker.ts and spawn-config.ts (#2553) 2026-03-12 21:43:05 -04:00
security.ts fix(security): resolve symlinks in prompt file validation to prevent bypass (#2744) 2026-03-17 22:21:11 -07:00
unicode-detect.ts feat: Bun workspace monorepo — packages/cli + packages/shared (#1853) 2026-02-23 22:07:05 -08:00
update-check.ts fix(update): cache successful update checks for 1 hour (#2755) 2026-03-17 23:08:05 -07:00