This commit is contained in:
2026-05-17 12:43:53 -07:00
commit 7c8def0aaa
7507 changed files with 1419399 additions and 0 deletions

23
dist/atlas.d.ts vendored Normal file
View File

@@ -0,0 +1,23 @@
import { LLMMessage } from './llm';
import { ToolContext } from './tools';
export declare function clearAtlasSession(sessionId: string): void;
export declare function listAtlasSessions(): {
id: string;
messages: number;
prdReady: boolean;
createdAt: string;
lastActiveAt: string;
}[];
export interface AtlasChatResult {
reply: string;
sessionId: string;
history: LLMMessage[];
/** Set when Atlas has called finalize_prd — contains the full PRD markdown */
prdContent: string | null;
model: string;
}
export declare function atlasChat(sessionId: string, userMessage: string, ctx: ToolContext, opts?: {
preloadedHistory?: LLMMessage[];
/** When true, the user message is an internal init trigger and should not be stored in history */
isInit?: boolean;
}): Promise<AtlasChatResult>;