MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / networkDiag

Function networkDiag

vscode-extension/src/extension.ts:167–176  ·  view source on GitHub ↗

Command 5: network diagnostic.

()

Source from the content-addressed store, hash-verified

165
166/** Command 5: network diagnostic. */
167async function networkDiag(): Promise<void> {
168 const cfg = getConfig();
169 const cwd = getCwd();
170 const term = getOrCreateTerminal(cwd);
171 // Launch interactive and run /network immediately. We send the slash command
172 // line; the user can take over after.
173 term.sendText(cfg.executablePath);
174 // Slight delay so the prompt is ready before we send /network
175 setTimeout(() => term.sendText('/network'), 800);
176}
177
178// ─────────────────────────────────────────────────────────────────────────────
179// Inline diagnostics → QodeX. The editor's language server already computes the

Callers

nothing calls this directly

Calls 3

getConfigFunction · 0.85
getCwdFunction · 0.85
getOrCreateTerminalFunction · 0.85

Tested by

no test coverage detected