Skip to content

Releases: savvym/cc-switch

cli-v3.9.2

Choose a tag to compare

@github-actions github-actions released this 31 Dec 02:40
feat(cli): support ANTHROPIC_API_KEY and auto-approve in ~/.claude.json

- Add --auth-token parameter for ANTHROPIC_AUTH_TOKEN
- Support both ANTHROPIC_API_KEY and ANTHROPIC_AUTH_TOKEN for Claude
- If API_KEY provided, AUTH_TOKEN is optional; otherwise AUTH_TOKEN required
- Auto-add API key suffix (last 20 chars) to ~/.claude.json approved list
- Auto-set hasCompletedOnboarding=true to skip login

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

cli-v3.9.1

Choose a tag to compare

@github-actions github-actions released this 23 Dec 03:16
feat(cli): add SQL backup import/export commands

- Add `cc-switch backup export` to export database as SQL
- Add `cc-switch backup import` to restore from SQL backup
- Automatic backup creation before import
- Compatible with GUI app backup format

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

cli-v3.9.0

Choose a tag to compare

@github-actions github-actions released this 12 Dec 05:23
CLI Release v3.9.0

Features:
- Command aliases: provider → p, list → ls, add → new, delete → rm, show → info
- Interactive list mode by default (no -i flag needed)
- Improved navigation: Enter to return to list, Esc to exit
- Remembers last selection position

Usage Examples:
  cc-switch p ls          # Interactive provider list
  cc-switch p new         # Add new provider
  cc-switch p rm <id>     # Delete provider
  cc-switch p info <id>   # Show provider details