mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
* feat(cli): add `spawn uninstall` command Adds a new `uninstall` subcommand that cleanly reverses the install: - Removes ~/.local/bin/spawn binary and /usr/local/bin/spawn symlink - Cleans spawn PATH entries from shell RC files (.bashrc, .zshrc, etc.) - Removes ~/.cache/spawn/ cache directory - Optionally removes ~/.spawn/ (history) and ~/.config/spawn/ (keys/config) - Shows confirmation prompt before any destructive action Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor: use start/end markers for shell RC blocks - Add shared RC_MARKER_START/RC_MARKER_END constants in paths.ts - Update install.sh to write `# >>> spawn >>>` / `# <<< spawn <<<` block markers - Update uninstall.ts to remove content between markers (with legacy fallback) - Addresses review feedback: shared markers make RC entries easier to audit/remove Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor: share legacy RC marker from paths.ts Move the legacy "# Added by spawn installer" string to RC_MARKER_LEGACY in shared/paths.ts so both install.sh and uninstall.ts reference the same source of truth for all marker strings. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude <claude@anthropic.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: L <6723574+louisgv@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| install.ps1 | ||
| install.sh | ||