mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-14 17:41:22 +08:00
feat: add CLI settings export/import functionality
- Implemented exportSettings and importSettings APIs for CLI settings. - Added hooks useExportSettings and useImportSettings for managing export/import operations in the frontend. - Updated SettingsPage to include buttons for exporting and importing CLI settings. - Enhanced backend to handle export and import requests, including validation and conflict resolution. - Introduced new data structures for exported settings and import options. - Updated localization files to support new export/import features. - Refactored CLI tool configurations to remove hardcoded model defaults, allowing dynamic model retrieval.
This commit is contained in:
@@ -77,7 +77,19 @@
|
||||
"refreshConfig": "Refresh Config",
|
||||
"migrationWarning": "Old format detected, please disable and re-enable to migrate",
|
||||
"enabled": "Enabled",
|
||||
"disabled": "Disabled"
|
||||
"disabled": "Disabled",
|
||||
"export": "Export",
|
||||
"import": "Import",
|
||||
"exporting": "Exporting...",
|
||||
"importing": "Importing...",
|
||||
"exportImportHint": "Export or import CLI settings configuration",
|
||||
"exportSuccess": "Settings exported successfully",
|
||||
"exportError": "Failed to export settings",
|
||||
"importSuccess": "Settings imported successfully ({imported} imported, {skipped} skipped)",
|
||||
"importError": "Failed to import settings",
|
||||
"importInvalidFile": "Please select a valid JSON file",
|
||||
"importInvalidJson": "Invalid JSON format in file",
|
||||
"importInvalidStructure": "Invalid settings file structure"
|
||||
},
|
||||
"systemStatus": {
|
||||
"title": "CCW Installation",
|
||||
|
||||
Reference in New Issue
Block a user