Command 5: network diagnostic.
()
| 165 | |
| 166 | /** Command 5: network diagnostic. */ |
| 167 | async 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 |
nothing calls this directly
no test coverage detected