kaitranntt
fd59801b14
docs: update URLs to use correct CloudFlare subdomain
...
- change from kaitran.ca/ccs/* to ccs.kaitran.ca/*
- update Quick Start, Installation, Upgrade, and Uninstall sections
2025-11-01 19:16:22 -04:00
kaitranntt
780867073d
docs: update Quick Start to use short URL and correct profile key
...
- use kaitran.ca/ccs/install in Quick Start
- fix profile key from 'sonnet' to 'son'
2025-11-01 19:02:49 -04:00
kaitranntt
82eb688a6a
docs: add short CloudFlare URLs for install/uninstall
...
- add kaitran.ca/ccs/install and kaitran.ca/ccs/uninstall
- keep original GitHub URLs as alternatives
- update Quick Start, Upgrade, and Uninstall sections
2025-11-01 19:00:57 -04:00
kaitranntt
84f4548dcb
fix(ccs): resolve default profile shift error when no args provided
...
- add conditional check before shift command
- prevent failure when calling 'ccs' without arguments
- named profiles (ccs son, ccs glm) still work correctly
2025-11-01 18:51:24 -04:00
kaitranntt
08d8c1f21c
fix(install): resolve critical standalone install bugs and refactor
...
- fix BASH_SOURCE unbound variable for piped execution (curl | bash)
- fix missing download logic for standalone installs (added GitHub fetch)
- fix installation method detection (check ccs file, not .git)
- fix git worktree detection (.git file support)
- add GLM default model env vars (ANTHROPIC_DEFAULT_*)
- enhance GLM profile creation (preserve existing API keys)
- improve error handling for mv operations
- refactor install.sh with helper functions (250 lines, cleaner)
- change profile name from 'sonnet' to 'son' (shorter)
- add installation workflow diagram (INSTALL-WORKFLOW.md)
- update documentation with troubleshooting and upgrade guides
2025-11-01 18:44:48 -04:00
kaitranntt
aa04966ff4
feat: simplify templates, auto-config, task-based switching docs
...
Major improvements for user experience and workflow optimization:
## Template Simplification
- GLM template: reduced to 3 essential env vars (was 15 fields)
- Claude template: minimal {env: {}} (uses default auth)
- Removed non-essentials: alwaysThinkingEnabled, includeCoAuthoredBy
- Smart merging: preserves user's existing env vars via jq
## Auto-Configuration
- Auto-creates ~/.ccs.json during install (zero manual steps)
- Smart detection: identifies current provider (GLM/Claude/Custom)
- Creates missing profiles automatically
- Intelligent copying: current config → appropriate profile
## Safety Improvements
- Atomic file operations: all writes use .tmp files
- Race condition prevention: mv -n for concurrent installs
- Error handling: jq failures fall back to heredoc templates
- No corrupted JSON files on errors
## Documentation Enhancements
- Added task-based model selection use case
- Real workflow examples (planning → implementation → review)
- Emphasis on using right model for right task
- Claude Sonnet 4.5 for complex, GLM 4.6 for simple tasks
- Rate limit management as bonus feature
## User Experience
Before: 3 manual steps (copy config, edit, create profiles)
After: 0 manual steps (just add API key to generated template)
Installation time: 5 minutes → 30 seconds
2025-11-01 18:02:18 -04:00
kaitranntt
8913514361
chore: add plans/ to .gitignore
...
- Add plans/ directory to .gitignore to prevent tracking
- Ensures plans directory stays out of version control
2025-11-01 17:28:27 -04:00
kaitranntt
35505530d0
feat: add default profile, uninstall script, modernize docs
...
- Default profile: 'ccs' without args uses 'default' profile
- Uninstall script: 'ccs-uninstall' removes installation cleanly
- Install improvements: curl-compatible with uninstall bundling
- Config cleanup: removed obsolete opus profile
- README overhaul: professional badges, quick-start focus, one-liner install
- Security: maintained injection prevention, input validation
- Documentation: removed multiple accounts mention, updated URLs
Closes #1
2025-11-01 17:23:33 -04:00
kaitranntt
dd85d37af8
docs: update installation URL with actual repository
2025-11-01 17:02:19 -04:00
kaitranntt
c8f85a1220
feat: initial commit - ultra-simple claude code switcher
...
- Core ccs bash script with profile switching
- Installation script with PATH verification
- Example config template
- Comprehensive README with troubleshooting
- Security: input validation, injection prevention
- MIT license
2025-11-01 17:01:42 -04:00