| 4492 | |
| 4493 | You ONLY update the actual content that comes AFTER these two preserved lines. The italic description lines starting and ending with underscores are part of the template structure, NOT content to be edited or removed. |
| 4494 | |
| 4495 | REMEMBER: Use the Edit tool in parallel and stop. Do not continue after the edits. Only include insights from the actual user conversation, never from these note-taking instructions. Do not delete or change section headers or italic _section descriptions_.`}async function m87(){let q=DDK(c1(),"session-memory","config","template.md");try{return await WDK(q,{encoding:"utf-8"})}catch(K){if(s1(K)==="ENOENT")return MDK;return H6(x1(K)),MDK}}async function B3Y(){let q=DDK(c1(),"session-memory","config","prompt.md");try{return await WDK(q,{encoding:"utf-8"})}catch(K){if(s1(K)==="ENOENT")return XDK();return H6(x1(K)),XDK()}}function g3Y(q){let K={},_=q.split(` |
| 4496 | `),z="",Y=[];for(let $ of _)if($.startsWith("# ")){if(z&&Y.length>0){let A=Y.join(` |
| 4497 | `).trim();K[z]=E3(A)}z=$,Y=[]}else Y.push($);if(z&&Y.length>0){let $=Y.join(` |
| 4498 | `).trim();K[z]=E3($)}return K}function F3Y(q,K){let _=K>JDK,z=Object.entries(q).filter(([$,A])=>A>up8).sort(([,$],[,A])=>A-$).map(([$,A])=>`- "${$}" is ~${A} tokens (limit: ${up8})`);if(z.length===0&&!_)return"";let Y=[];if(_)Y.push(` |
| 4499 | |
| 4500 | CRITICAL: The session memory file is currently ~${K} tokens, which exceeds the maximum of ${JDK} tokens. You MUST condense the file to fit within this budget. Aggressively shorten oversized sections by removing less important details, merging related items, and summarizing older entries. Prioritize keeping "Current State" and "Errors & Corrections" accurate and detailed.`);if(z.length>0)Y.push(` |