feat: add background AI sessions with persistent storage and SSE streaming

Introduces ai_sessions table (schema v9), AiSessionStore, and background
session support for mission interviews, planning, and subtask breakdown.
Adds BackgroundTasksIndicator component, SSE-based progress streaming,
and dashboard API routes for session management.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-04-04 13:42:02 -07:00
parent 749f317121
commit dd0b53c358
23 changed files with 1128 additions and 68 deletions

View File

@@ -5,7 +5,7 @@
"type": "module",
"packageManager": "pnpm@10.33.0",
"scripts": {
"dev": "tsx packages/cli/src/bin.ts",
"dev": "pnpm build && tsx packages/cli/src/bin.ts",
"dev:ui": "pnpm --filter @fusion/dashboard dev",
"build": "pnpm -r build",
"build:exe": "pnpm build && pnpm --filter @gsxdsm/fusion build:exe",