spawn/cli/src
A 4133813879
fix: Add typo suggestions and --help flag handling for better CLI UX (#168)
- Add "Did you mean?" suggestions when agent/cloud names have typos
  (using Levenshtein distance, max 3 edits)
- Handle "spawn <agent> --help" to show agent info instead of failing
  with "invalid characters" error on the --help flag
- Handle "--help" after subcommands (spawn list --help, spawn agents --help)
  to show general help instead of silently ignoring the flag
- Bump CLI version to 0.2.13
- Add 15 tests for levenshtein and findClosestMatch functions

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-10 07:17:11 -08:00
..
__tests__ fix: Add typo suggestions and --help flag handling for better CLI UX (#168) 2026-02-10 07:17:11 -08:00
commands-logic.ts test: Add command logic tests and refactor for testability (#56) 2026-02-08 12:02:43 -08:00
commands.ts fix: Add typo suggestions and --help flag handling for better CLI UX (#168) 2026-02-10 07:17:11 -08:00
index.ts fix: Add typo suggestions and --help flag handling for better CLI UX (#168) 2026-02-10 07:17:11 -08:00
manifest.ts refactor: Automated improvements from cycle 1 2026-02-08 06:02:07 +00:00
security.ts fix: Remove curl|bash script validation that blocks spawn scripts 2026-02-10 09:40:16 +00: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: UX improvements for spawn update, --prompt validation, and update banner (#166) 2026-02-10 01:35:46 -08:00