()
| 134 | } |
| 135 | |
| 136 | function checkEnvironment(): CheckResult { |
| 137 | const sys = getSystemMeta(); |
| 138 | const parts: string[] = []; |
| 139 | if (sys.is_docker) parts.push("Docker"); |
| 140 | if (sys.is_wsl) parts.push("WSL"); |
| 141 | if (sys.is_ci) parts.push(`CI (${sys.ci_name ?? "detected"})`); |
| 142 | if (!sys.is_tty) parts.push("non-TTY"); |
| 143 | |
| 144 | if (parts.length === 0) { |
| 145 | return { ok: true, detail: "Native terminal" }; |
| 146 | } |
| 147 | return { ok: true, detail: parts.join(" \u00B7 ") }; |
| 148 | } |
| 149 | |
| 150 | async function checkWhisper(): Promise<CheckResult> { |
| 151 | const { findWhisper, getInstallInstructions } = await import("../whisper/manager.js"); |
nothing calls this directly
no test coverage detected