spawn/cli/src
A f666b40977
ux: prioritize ready clouds in "not yet implemented" errors (#1117)
When a user tries to spawn an agent on an unimplemented cloud, the error
message now shows alternative clouds sorted by credential availability.
Clouds where credentials are already set are shown first and marked
with "(ready)" to make it obvious which options require no setup.

Before:
  Claude Code is available on 8 clouds. Try one of these instead:
    spawn claude hetzner
    spawn claude digitalocean
    spawn claude sprite

After:
  Claude Code is available on 8 clouds. Try one of these instead:
    spawn claude sprite (ready)
    spawn claude hetzner
    spawn claude digitalocean
  ready = credentials already set

This reduces friction by guiding users toward the path of least
resistance when their initial choice isn't available.

Agent: ux-engineer

Co-authored-by: Spawn Refactor Service <refactor@spawn.service>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-14 13:16:46 -05:00
..
__tests__ test: update assertions to match improved error messages (#1109) 2026-02-14 11:49:20 -05:00
commands.ts ux: prioritize ready clouds in "not yet implemented" errors (#1117) 2026-02-14 13:16:46 -05:00
history.ts fix: add defense-in-depth for SPAWN_HOME path validation and manifest JSON sanitization (#984) 2026-02-13 11:37:10 -08:00
index.ts refactor: extract helpers to reduce function complexity (#1055) 2026-02-14 00:41:39 -05:00
manifest.ts fix: add defense-in-depth for SPAWN_HOME path validation and manifest JSON sanitization (#984) 2026-02-13 11:37:10 -08:00
security.ts ux: improve error messages for better clarity and actionability (#1103) 2026-02-14 10:48:22 -05: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 fix: prevent command injection in update-check reExecWithArgs (#951) 2026-02-13 08:34:04 -08:00