feat: Master Orchestrator — persistent chat with full project context and awareness tools

Made-with: Cursor
This commit is contained in:
2026-02-26 15:53:58 -08:00
parent 7d426c36e2
commit 5cb1e82169
7 changed files with 821 additions and 0 deletions

19
dist/orchestrator.d.ts vendored Normal file
View File

@@ -0,0 +1,19 @@
import { ToolContext } from './tools';
export declare function listSessions(): {
id: string;
messages: number;
createdAt: string;
lastActiveAt: string;
}[];
export declare function clearSession(sessionId: string): void;
export interface ChatMessage {
role: 'user' | 'assistant';
content: string;
}
export interface ChatResult {
reply: string;
sessionId: string;
turns: number;
toolCalls: string[];
}
export declare function orchestratorChat(sessionId: string, userMessage: string, ctx: ToolContext): Promise<ChatResult>;