Repository navigation
v1.0.0
cc-switch-cli v1.0.0
跨平台 Claude/Codex 配置管理工具
Changelog
Features
- b36d37b: feat: Add Claude plugin integration to feature implementation tracking. Introduced configuration management, status detection, and automatic synchronization for the Claude plugin, enhancing functionality in GUI v3.3.1+. Updated CLI commands and documentation to reflect new features and implementation details. (YangQing-Lin 1665486570@qq.com)
- 4cbd116: feat: Add GoReleaser configuration and GitHub Actions workflow for automated releases. Introduced build steps, versioning, and release notes generation, enhancing the deployment process for the cc-switch-cli project. (Luke Lin luke.lin@wintoo.com)
- 44fde00: feat: Add backup, restore, import, export, and validate commands for configuration management. Implemented functionality for backing up configurations, restoring from backups, importing from live configurations or files, exporting configurations, and validating configuration integrity with detailed error reporting and optional auto-fix capabilities. (YangQing-Lin 1665486570@qq.com)
- c5801e2: feat: Add portable mode and Claude plugin management features. Implemented commands for enabling, disabling, and checking portable mode, along with integration for managing Claude plugin configurations. Updated README with detailed usage instructions and examples for both features. (YangQing-Lin 1665486570@qq.com)
- 2127023: feat: Add support for managing provider configurations, including adding, deleting, and switching providers. Updated command structure and validation logic. Introduced UUID for unique provider identification and added a new dependency on github.com/google/uuid. (YangQing-Lin 1665486570@qq.com)
- fae6bca: feat: Add syncModTime method to TUI for updating cached modification time. Integrated syncModTime calls in relevant operations to ensure accurate tracking of configuration changes, enhancing real-time monitoring capabilities. (YangQing-Lin 1665486570@qq.com)
- e8dcf26: feat: Add testing scripts and comprehensive test coverage for CC-Switch CLI. Introduced Windows batch and Bash scripts for running tests and generating reports. Implemented unit tests for internal packages, enhancing test coverage and ensuring functionality across configuration management, internationalization, and utility functions. (YangQing-Lin 1665486570@qq.com)
- 4be7d43: feat: Add unit tests for internal/config package, enhancing provider CRUD functionality and configuration management. Updated documentation to reflect new tests and coverage statistics. (YangQing-Lin 1665486570@qq.com)
- 32d26a9: feat: Add website URL support for provider configuration management. Updated AddProvider and UpdateProvider methods to include websiteURL parameter, enhancing flexibility in provider setup. Adjusted related commands in add, import, and update functionalities to accommodate the new parameter. (YangQing-Lin 1665486570@qq.com)
- c1a2cab: feat: Enhance CLI configuration management by adding support for a default sonnet model. Updated commands and documentation to reflect changes in provider management, ensuring compatibility across platforms. Improved user experience with clearer command usage and additional options in the TUI. (YangQing-Lin 1665486570@qq.com)
- 43949a2: feat: Enhance TUI with backup management features. Added functionality for creating and listing backups, along with a dedicated backup list view. Updated key bindings and help text to support new backup operations, improving user experience in configuration management. (YangQing-Lin 1665486570@qq.com)
- d546f15: feat: Enhance configuration loading and provider listing in TUI. Updated Load method to create in-memory default config without immediate save, preventing race conditions. Added sorting of providers by creation time in ListProvidersForApp for consistent display order. Improved TUI rendering for active and selected providers with distinct styles. (YangQing-Lin 1665486570@qq.com)
- 23ed428: feat: Enhance configuration loading to handle empty and corrupted files by creating default configurations. Implemented automatic backups for corrupted and unsupported formats, ensuring data integrity and user notifications during the process. (YangQing-Lin 1665486570@qq.com)
- d263a6a: feat: Enhance configuration management with improved backup and recovery mechanisms. Added automatic archiving of old configurations during migration, detailed backup options, and compatibility improvements with the GUI. Updated documentation to reflect new features and ensure clarity in usage. (YangQing-Lin 1665486570@qq.com)
- f96a1bc: feat: Enhance configuration management with new commands and support for Codex. Added 'check' command to verify system environment and configuration status, and 'migrate' command for merging and cleaning configuration files. Introduced support for custom configuration directories and improved error handling in Codex configuration management. (YangQing-Lin 1665486570@qq.com)
- 383a8ee: feat: Implement comprehensive integration tests for provider operations and configuration management. Added tests for basic provider operations, persistence, multi-app support, configuration file structure, provider validation, and concurrent access. Updated documentation to reflect completed integration testing efforts. (YangQing-Lin 1665486570@qq.com)
- 85d582b: feat: Implement configuration backup and restore functionality with automatic backups before imports. Added commands for listing and restoring backups, ensuring compatibility with GUI v3.4.0. Updated documentation to reflect new features and usage examples. (YangQing-Lin 1665486570@qq.com)
- 4f4173e: feat: Implement configuration migration and backup functionality. Added support for automatic migration from old configuration format to new format, including archiving of old configurations. Enhanced Load and Save methods to handle versioning and backup creation, ensuring compatibility and data integrity during updates. (YangQing-Lin 1665486570@qq.com)
- 37b86a2: feat: Implement endpoint speed test functionality for CLI. Added commands for testing, adding, and removing custom endpoints, aligning with GUI v3.5.0 features. Updated documentation to reflect new capabilities and implementation plan. (YangQing-Lin 1665486570@qq.com)
- c0cf226: feat: Implement model selection feature in TUI for Default Sonnet Model. Added functionality to activate a model selector, navigate through predefined models, and select a model to populate the input field. Enhanced user experience with updated key bindings and help text for model selection. (Luke Lin luke.lin@wintoo.com)
- 00bf51f: feat: Implement show and update commands for managing provider configurations. The show command displays detailed information about a specified provider, while the update command allows for modifying existing provider configurations. Both commands support JSON output and include enhanced error handling and user prompts for sensitive data. (YangQing-Lin 1665486570@qq.com)
- aa97ccd: feat: Integrate interactive TUI for configuration management using Bubble Tea. Added commands for launching the TUI, enhanced user experience with keyboard navigation, and improved visual representation of configurations. Updated README to reflect new TUI features and usage instructions. (YangQing-Lin 1665486570@qq.com)
- e1e4f23: feat: Introduce Codex CLI configuration management with commands for adding, listing, switching, updating, and deleting configurations. Implemented dual file management for
config.yamlandapi.json, supporting model parameters and interactive input. Enhanced TUI for multi-app support, allowing seamless switching between Claude and Codex configurations. (YangQing-Lin 1665486570@qq.com) - 9902724: feat: Introduce advanced backup system and single-instance protection in CLI. Implemented automatic and manual backup mechanisms with independent cleanup strategies. Added lockfile functionality to prevent concurrent instances, enhancing configuration management. Updated TUI to support real-time configuration monitoring and recovery prompts for corrupted files. (YangQing-Lin 1665486570@qq.com)
- c7ebe6f: feat: Introduce new commands for configuration management and version control. Added 'check-updates' command to verify available updates, 'config-dir' command for managing configuration directories, 'open-config' command to open the configuration folder in the file manager, and 'settings' command for managing application settings. Enhanced internationalization support and improved error handling for user interactions. (YangQing-Lin 1665486570@qq.com)
Others
- cb83619: Initial implementation of the project structure and basic functionality. (YangQing-Lin 1665486570@qq.com)
- a7f6f75: first commit (YangQing-Lin 1665486570@qq.com)
- 35456fd: refactor: Replace fmt.Errorf with errors.New for error handling in TUI. Updated error messages in handleListKeys and submitForm methods to improve clarity and consistency in error reporting. (YangQing-Lin 1665486570@qq.com)
- b9fa685: refactor: Update keyboard shortcuts in TUI and README for cursor navigation. Changed cursor movement commands to use 'k' for up and 'j' for down, enhancing user experience. Adjusted related documentation to reflect these changes. (YangQing-Lin 1665486570@qq.com)
安装方法:
- 下载对应平台的压缩包
- 解压并将
ccs(或ccs.exe) 移动到 PATH 目录 - 运行
ccs version验证安装
Full Changelog: ...v1.0.0