spawn/cli/src
A ff13a5fda9
fix: suggest cross-kind fuzzy matches when args may be swapped with typos (#510)
When a user types `spawn htzner claude` (cloud name typo as first arg),
checkEntity now detects that "htzner" is close to cloud "hetzner" and
suggests the user may have swapped agent and cloud arguments. Previously,
this only worked for exact cloud names; typos would produce a generic
"Unknown agent" error with no helpful suggestion.

Agent: ux-engineer

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-11 12:47:53 -08:00
..
__tests__ fix: suggest cross-kind fuzzy matches when args may be swapped with typos (#510) 2026-02-11 12:47:53 -08:00
commands.ts fix: suggest cross-kind fuzzy matches when args may be swapped with typos (#510) 2026-02-11 12:47:53 -08:00
history.ts fix: show spawn history newest-first with rerun hint (#488) 2026-02-11 10:11:50 -08:00
index.ts refactor: extract helpers from cmdList and showInfoOrError to reduce complexity (#506) 2026-02-11 12:15:11 -08:00
manifest.ts fix: improve error messages and UX consistency across CLI and shell scripts (#466) 2026-02-11 07:46:56 -08:00
security.ts fix: improve error messages with actionable guidance (#447) 2026-02-11 05:20:31 -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 fix: improve user-facing messages and error text across CLI and shell scripts (#464) 2026-02-11 07:26:00 -08:00