refactor(ssh): split tunnel module into layered directory

ssh/tunnel/{index,routes,manager}.ts: server boot in index, HTTP handlers
in routes, tunnel state and engine (connect/retry/autostart) in manager.
Code motion only; port 30003 and endpoints unchanged.
This commit is contained in:
LukeGus
2026-07-16 04:26:31 -05:00
parent 9805edfb93
commit 5e7090542d
4 changed files with 758 additions and 695 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ import {
const dbServer = await import("./database/database.js");
await (dbServer as unknown as { serverReady: Promise<void> }).serverReady;
await import("./ssh/terminal.js");
await import("./ssh/tunnel.js");
await import("./ssh/tunnel/index.js");
await import("./ssh/file-manager.js");
await import("./ssh/host-metrics.js");
await import("./ssh/docker/index.js");