mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-12 16:15:13 +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:
1 parent
3cb52e6917
commit
26e279decf
2 files changed
+968
-26
No files matched your search
+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