mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 22:15:33 +00:00
feat: improve UX for ccs doctor and sync commands (#13)
* feat: enhance UX for 'ccs sync' and 'ccs doctor' commands - Add ora spinners for real-time progress feedback - Add cli-table3 for structured health check summary table - Display detailed component information in doctor report - Show file/directory counts during sync operations - Improve visual hierarchy and readability - Fix Unicode checkmark violation (replaced with [OK]) Breaking changes: None Dependencies added: ora@^5.4.1, cli-table3@^0.6.5 Version bumped to 4.3.0 * fix: match doctor summary header width to table width * feat: improve settings validation to check API keys, not just endpoints - Check if API keys are configured or still placeholders - Show 'Key configured' vs 'Placeholder key (not configured)' - Previous message 'Valid (API: api.z.ai)' was misleading - Now users can clearly see which profiles need API key configuration - Warnings shown for placeholder keys (yellow [!]) * feat: add category grouping and alignment to doctor checks - Group checks into logical categories: System, Configuration, Profiles & Delegation, System Health - Add consistent padding (26 chars) for aligned columns - Add 2-space indent for better visual hierarchy - Separate categories with blank lines for better readability - Much cleaner and easier to scan than before * fix: perfect alignment for all doctor check output - Use .padEnd(26) consistently for all component names - Remove extra space before status icons - Now all status icons [OK]/[X]/[!]/[i] align perfectly - All component names pad to exactly 26 characters
This commit is contained in:
1 parent
d34dbcac1f
commit
67dbd3f259
11 files changed
+691
-144
No files matched your search
+5
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@kaitranntt/ccs",
|
||||
"version": "4.2.0",
|
||||
"version": "4.3.0",
|
||||
"description": "Claude Code Switch - Instant profile switching between Claude Sonnet 4.5 and GLM 4.6",
|
||||
"keywords": [
|
||||
"cli",
|
||||
@@ -57,6 +57,10 @@
|
||||
"prepare": "node scripts/check-executables.js",
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"cli-table3": "^0.6.5",
|
||||
"ora": "^5.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mocha": "^11.7.5"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user