feat(web): add notebook chat panel (#8)

This commit is contained in:
Florian Schmidt
2026-11-16 10:17:20 +01:00
parent 4fe7e4e376
commit 0055001abf
19 changed files with 602 additions and 16 deletions
+2
View File
@@ -7,6 +7,7 @@ import { terminalPlugin, type TerminalOptions } from "./terminal";
import { createNotebookWatcher } from "./watch";
import { registerAuth, type AuthOptions } from "./auth";
import { registerStatic } from "./static";
import { chatPlugin } from "./chat";
export interface AppOptions {
logger?: boolean;
@@ -41,6 +42,7 @@ export async function buildApp(options: AppOptions = {}): Promise<FastifyInstanc
await app.register(workspacePlugin, { config });
await app.register(runsPlugin, { config, hub });
await app.register(terminalPlugin, { ...options.terminal, workspaceDir: config.workspaceDir });
await app.register(chatPlugin, { config });
if (options.watchNotebooks) {
const watcher = createNotebookWatcher(config.workspaceDir, {