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:
@@ -2753,6 +2753,11 @@ ${stepsSection}`;
|
||||
return this.tasksDir;
|
||||
}
|
||||
|
||||
/** Expose the shared Database instance for co-located stores (e.g. AiSessionStore). */
|
||||
getDatabase(): Database {
|
||||
return this.db;
|
||||
}
|
||||
|
||||
private generateSpecifiedPrompt(task: Task): string {
|
||||
const deps =
|
||||
task.dependencies.length > 0
|
||||
|
||||
Reference in New Issue
Block a user