"use strict"; // ============================================================================= // Pure PRD API. The store is module-level so atlas.ts can inspect it after each // turn (it imports `prdStore` from prd.ts which re-exports from here). Keep // this module side-effect-free otherwise. // ============================================================================= Object.defineProperty(exports, "__esModule", { value: true }); exports.prdStore = void 0; exports.finalizePrd = finalizePrd; exports.getPrd = getPrd; /** sessionKey (workspaceRoot) → PRD markdown */ exports.prdStore = new Map(); function finalizePrd(sessionKey, content) { exports.prdStore.set(sessionKey, content); return { saved: true, message: 'PRD saved. Let the user know their product requirements document is ready and the platform will now architect the technical solution.', }; } function getPrd(sessionKey) { return exports.prdStore.get(sessionKey) ?? null; }