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 |
|