feat(hosts): manage servers and encrypted SSH credentials in UI (#7)

This commit is contained in:
Florian Schmidt
2026-11-16 10:19:52 +01:00
parent 4fe7e4e376
commit 4d9a632625
22 changed files with 1779 additions and 81 deletions
+2
View File
@@ -1,3 +1,4 @@
import { hostsPlugin } from "./hosts";
import Fastify, { type FastifyInstance } from "fastify";
import websocket from "@fastify/websocket";
import { loadConfig, type ServerConfig } from "./config";
@@ -39,6 +40,7 @@ export async function buildApp(options: AppOptions = {}): Promise<FastifyInstanc
if (options.auth !== false) await registerAuth(app, { dataDir: config.dataDir, ...options.auth });
await app.register(websocket);
await app.register(workspacePlugin, { config });
await app.register(hostsPlugin, { config });
await app.register(runsPlugin, { config, hub });
await app.register(terminalPlugin, { ...options.terminal, workspaceDir: config.workspaceDir });