gigabuddy 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +49 -44
- package/index.js +44 -43
- package/package.json +1 -1
- package/src/lib/doctor.d.ts +5 -1
package/package.json
CHANGED
package/src/lib/doctor.d.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* Every check is independent and never throws: a doctor that dies on the first
|
|
18
18
|
* problem is useless precisely when you need it.
|
|
19
19
|
*/
|
|
20
|
-
import { type UserCredentials } from '@gigabuddy/client-core';
|
|
20
|
+
import { type ClaudeConfigLike, type UserCredentials } from '@gigabuddy/client-core';
|
|
21
21
|
export type CheckStatus = 'ok' | 'warn' | 'fail' | 'skip';
|
|
22
22
|
export interface Check {
|
|
23
23
|
label: string;
|
|
@@ -41,6 +41,10 @@ export interface DoctorDeps {
|
|
|
41
41
|
}[];
|
|
42
42
|
nodeVersion: string;
|
|
43
43
|
loadCredentials: (staging: boolean) => UserCredentials | null;
|
|
44
|
+
/** Parsed ~/.claude.json (Claude Code's connector/server registry), null when absent. */
|
|
45
|
+
readClaudeConfig: () => ClaudeConfigLike | null;
|
|
46
|
+
/** The Claude Code project dir doctor is run from — keys ~/.claude.json's per-project settings. */
|
|
47
|
+
projectDir: string;
|
|
44
48
|
}
|
|
45
49
|
export declare function runDoctor(deps: DoctorDeps, packageName?: string): Promise<DoctorResult>;
|
|
46
50
|
/** Render for a terminal. Colour only when one is attached and NO_COLOR is unset. */
|