fix(doctor): oMoMoMoMo branding, remove providers check, fix comment-checker detection
Rename header to oMoMoMoMo Doctor to match installation guide branding. Remove providers check entirely — no longer meaningful for diagnostics. Fix comment-checker detection by resolving @code-yeongyu/comment-checker package path in addition to PATH lookup.
This commit is contained in:
@@ -7,7 +7,7 @@ export function formatVerbose(result: DoctorResult): string {
|
||||
|
||||
lines.push(formatHeader())
|
||||
|
||||
const { systemInfo, providers, tools, results, summary } = result
|
||||
const { systemInfo, tools, results, summary } = result
|
||||
|
||||
lines.push(`${color.bold("System Information")}`)
|
||||
lines.push(`${color.dim("\u2500".repeat(40))}`)
|
||||
@@ -31,16 +31,6 @@ export function formatVerbose(result: DoctorResult): string {
|
||||
lines.push(` ${formatStatusSymbol(systemInfo.configValid ? "pass" : "fail")} ${systemInfo.configPath ?? "unknown"} (${configStatus})`)
|
||||
lines.push("")
|
||||
|
||||
lines.push(`${color.bold("Providers")}`)
|
||||
lines.push(`${color.dim("\u2500".repeat(40))}`)
|
||||
for (const provider of providers) {
|
||||
const availableMark = provider.available ? color.green("✓") : color.red("✗")
|
||||
const pluginMark = provider.hasPlugin ? color.green("plugin") : color.dim("no plugin")
|
||||
const envMark = provider.hasEnvVar ? color.green("env") : color.dim("no env")
|
||||
lines.push(` ${availableMark} ${provider.name} ${pluginMark} · ${envMark}`)
|
||||
}
|
||||
lines.push("")
|
||||
|
||||
lines.push(`${color.bold("Tools")}`)
|
||||
lines.push(`${color.dim("\u2500".repeat(40))}`)
|
||||
lines.push(` ${formatStatusSymbol("pass")} LSP ${tools.lspInstalled}/${tools.lspTotal} installed`)
|
||||
|
||||
Reference in New Issue
Block a user