MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / checkEnvironment

Function checkEnvironment

packages/cli/src/commands/doctor.ts:136–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134}
135
136function 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
150async function checkWhisper(): Promise<CheckResult> {
151 const { findWhisper, getInstallInstructions } = await import("../whisper/manager.js");

Callers

nothing calls this directly

Calls 1

getSystemMetaFunction · 0.85

Tested by

no test coverage detected