mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-15 16:19:12 +00:00
feat(cli): port complete entry point from JavaScript to TypeScript
- Port bin/ccs.js (1033 LOC) to src/ccs.ts (~1000 LOC) - Implement all command handlers: version, help, doctor, sync, update, auth - Add profile routing: settings-based (glm, glmt, kimi) and account-based - Add GLMT proxy lifecycle: spawn, ready signal, cleanup on exit - Add delegation routing (-p flag) to DelegationHandler - Add shell completion installer - Add public isHealthy() method to Doctor class - All 39 tests passing
This commit is contained in:
+961
-26
File diff suppressed because it is too large
Load Diff
@@ -758,6 +758,13 @@ class Doctor {
|
||||
healthy: this.results.isHealthy()
|
||||
}, null, 2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the health check results are healthy
|
||||
*/
|
||||
isHealthy(): boolean {
|
||||
return this.results.isHealthy();
|
||||
}
|
||||
}
|
||||
|
||||
export default Doctor;
|
||||
Reference in New Issue
Block a user