Migration Guide: v6 → v7
Complete migration guide covering all features introduced in v6 and v7, including customizable auth, variant-specific configuration, remote CLIProxy support, new OAuth providers, and token refresh improvements.Version Overview
Breaking Changes Summary
v7.2 Breaking Changes
None - Fully backward compatible with v7.1v7.1 Breaking Changes
None - Fully backward compatible with v6v6 Breaking Changes
Config Schema:config.json→config.yaml(automatic migration)- New required field:
version: 6 cliproxy.authstructure changed (automatic migration)
--proxy-serverdeprecated → use--proxy-host--proxy-authdeprecated → use--proxy-auth-token
Migration Checklist
1
Backup Configuration
2
Update CCS
3
Verify Migration
4
Test Profiles
New Features in v7.2
1. Kiro OAuth Support (HIGH PRIORITY)
What’s New:- Full OAuth support for Kiro provider (AWS Bedrock Claude)
- Browser-based authentication flow
- Token import from Kiro IDE
- Fresh Setup
- Import from IDE
- Incognito Mode
Use Cases:
- Access AWS Bedrock Claude via Kiro
- Use Claude via AWS SSO with MFA
- Persistent AWS session (no re-auth)
2. GHCP Device Code Flow (HIGH PRIORITY)
What’s New:- GitHub Copilot (GHCP) provider now uses Device Code flow
- No headless browser required
- Better support for SSH/remote environments
- Works in SSH sessions
- No browser automation
- More reliable auth flow
- Better UX for remote development
New Features in v7.1
3. Remote CLIProxy Support (HIGH PRIORITY)
What’s New:- Connect to remote CLIProxyAPI server
- Share proxy across multiple machines
- Fallback to local proxy if remote unreachable
1
Configure Remote Proxy
2
Test Connection
3
Force Remote Only
PROXY_ERROR if the remote proxy is unreachable.
Environment Variables:
- Centralized proxy for teams
- Share OAuth credentials across machines
- Reduce per-machine setup
- Better security (credentials on server only)
- Use HTTPS for production
- Separate
management_keyfor admin endpoints - Rotate tokens regularly
- Use firewall rules for access control
4. Proactive Token Refresh (HIGH PRIORITY)
What’s New:- Automatic token refresh 5 minutes before expiration
- Prevents mid-session auth failures
- Supports Gemini, Codex, Antigravity, Qwen, iFlow
1
Token Expiry Check
Before each API request, CCS checks token expiration.
2
Proactive Refresh
If token expires in <5 minutes, refresh automatically.
3
Seamless Session
User experiences no interruption.
- No mid-session auth failures
- Better user experience
- Reduced support tickets
New Features in v6
5. Customizable Management Key (HIGH PRIORITY)
What’s New:- Separate
management_keyfromapi_key - Enhanced security for admin endpoints
- Per-variant auth override
- Separate API vs admin credentials
- Different auth per environment (dev/prod)
- Enhanced security for production
6. Variant-Specific Auth (HIGH PRIORITY)
What’s New:- Per-variant auth override
- Different credentials per variant
- Isolate dev/prod environments
- Global Auth
# Before v6 - Single auth for all variants cliproxy: auth:
- Separate dev/prod credentials
- Per-team auth keys
- Testing with different API keys
- Security isolation
7. Port Isolation for Variants (MEDIUM PRIORITY)
What’s New:- Assign unique ports to variants (8318-8417)
- Run multiple variants concurrently
- Avoid port conflicts
- 8317: Default local proxy (reserved)
- 8318-8417: Available for variants (100 ports)
- Run dev and prod simultaneously
- Multi-user environments
- Isolated testing
Configuration Priority Resolution
CCS resolves configuration values in this priority order:Multi-Account OAuth Workflow
New in v6+: Multi-account support for all OAuth providers1
Add First Account
2
Add Second Account
3
List Accounts
4
Switch Account
5
Rename Account
Troubleshooting Migration Issues
Issue: Migration Failed
- Symptom
- Solution
Issue: Remote Proxy Connection Failed
- Symptom
- Solution
Issue: Token Refresh Failed
- Symptom
- Solution
Issue: Port Conflict
- Symptom
- Solution
Rollback Guide
If migration fails, rollback to previous version:1
Stop All CCS Processes
2
Restore Backup
3
Downgrade CCS
4
Verify
Feature Adoption Roadmap
Recommended adoption order for v6/v7 features:Week 1: Core Migration
- Update to v7.2 - Verify automatic migration - Test existing profiles - Run
ccs doctor --fix
Week 2: New Providers
- Set up Kiro OAuth - Migrate GHCP to Device Code flow - Test multi-account workflows
Week 3: Remote Proxy
- Deploy remote CLIProxy (if team) - Configure fallback - Test connection stability
Week 4: Advanced Features
- Implement port isolation - Configure variant-specific auth - Set up monitoring/analytics
Environment Variables Reference
New environment variables in v6/v7:API Endpoints (New in v7)
Dashboard API endpoints for remote proxy management:CLIProxy Control
Usage Analytics
Related:
Next Steps
Configuration Schema
Complete config.yaml v6 reference
File Locations
Where CCS stores data
CLI Flags
All CLI flags and options
Troubleshooting
Common issues and solutions
