spawn/cli/src
A 463c7a2efb
feat: add --custom flag for machine type/region selection (#1810)
* feat: add --custom flag for interactive machine type/region selection

By default, all clouds now skip size/region prompts and use sensible
defaults for faster provisioning. The --custom flag enables interactive
pickers on all clouds, unifying the previously inconsistent behavior
where some clouds always prompted and others never did.

- AWS: promptRegion/promptBundle gated on SPAWN_CUSTOM
- GCP: promptMachineType/promptZone gated on SPAWN_CUSTOM
- Fly: promptVmOptions gated on SPAWN_CUSTOM
- Hetzner: new promptServerType/promptLocation with type/location arrays
- DigitalOcean: new promptDropletSize/promptDoRegion with size/region arrays
- Daytona: new promptSandboxSize with cpu/memory/disk presets
- Sprite: no change (managed platform, no meaningful size options)
- --custom + --headless is an error (incompatible modes)
- Version bump to 0.8.0 (new feature)

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

* style: fix biome format violations in --custom flag code

Auto-format object literals in arrays (expand to multi-line), wrap
long console.error line, and expand inline array in test assertion.

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

---------

Co-authored-by: lab <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-23 12:29:51 -05:00
..
__tests__ feat: add --custom flag for machine type/region selection (#1810) 2026-02-23 12:29:51 -05:00
aws feat: add --custom flag for machine type/region selection (#1810) 2026-02-23 12:29:51 -05:00
daytona feat: add --custom flag for machine type/region selection (#1810) 2026-02-23 12:29:51 -05:00
digitalocean feat: add --custom flag for machine type/region selection (#1810) 2026-02-23 12:29:51 -05:00
fly feat: add --custom flag for machine type/region selection (#1810) 2026-02-23 12:29:51 -05:00
gcp feat: add --custom flag for machine type/region selection (#1810) 2026-02-23 12:29:51 -05:00
hetzner feat: add --custom flag for machine type/region selection (#1810) 2026-02-23 12:29:51 -05:00
local style: enforce biome format across codebase, add CI check (#1794) 2026-02-22 23:32:12 -08:00
shared feat: configure zeroclaw for full autonomy in spawned VMs (#1811) 2026-02-23 12:29:48 -05:00
sprite refactor: extract saveLaunchCmd to history.ts (#1789) 2026-02-22 23:11:14 -08:00
commands.ts feat: add --custom flag for machine type/region selection (#1810) 2026-02-23 12:29:51 -05:00
flags.ts feat: add --custom flag for machine type/region selection (#1810) 2026-02-23 12:29:51 -05:00
guidance-data.ts chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
history.ts fix: persist GCP zone/project in connection metadata for deletion (#1809) 2026-02-23 08:17:44 -08:00
index.ts feat: add --custom flag for machine type/region selection (#1810) 2026-02-23 12:29:51 -05:00
manifest.ts style: enforce biome format across codebase, add CI check (#1794) 2026-02-22 23:32:12 -08:00
picker.ts style: enforce biome format across codebase, add CI check (#1794) 2026-02-22 23:32:12 -08:00
security.ts chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
unicode-detect.ts fix: Switch build target from node to bun to fix UTF-8 mojibake 2026-02-10 09:36:28 +00:00
update-check.ts refactor: enforce isString/isNumber type guards via GritQL lint rule (#1796) 2026-02-23 03:20:42 -05:00