/** * Prescriptive Digest — Issue #492 * * Appends a small text block to every MCP tool response when elements are * active. During normal operation the LLM already has full instructions and * ignores it. After context compaction, the digest tells the LLM to call * get_active_elements to recover the lost instructions. * * ~30-50 tokens overhead when active; zero when no elements are active. */ export interface ActiveElementSummary { type: string; name: string; } /** * Generate a compact, prescriptive digest line from a list of active elements. * Returns an empty string when the list is empty (caller should check length first). * * @example * generatePrescriptiveDigest([ * { type: 'persona', name: 'architect' }, * { type: 'skill', name: 'reviewer' }, * ]); * // "[Active elements: persona: architect; skill: reviewer. If you lack instructions for these, call get_active_elements for each type to refresh.]" */ export declare function generatePrescriptiveDigest(activeElements: ActiveElementSummary[]): string; //# sourceMappingURL=PrescriptiveDigest.d.ts.map