| 4368 | ${q}`;return K+=rWK,K}function y3Y(q){let K=q;K=K.replace(/<analysis>[\s\S]*?<\/analysis>/,"");let _=K.match(/<summary>([\s\S]*?)<\/summary>/);if(_){let z=_[1]||"";K=K.replace(/<summary>[\s\S]*?<\/summary>/,`Summary: |
| 4369 | ${z.trim()}`)}return K=K.replace(/\n\n+/g,` |
| 4370 | |
| 4371 | `),K.trim()}function P18(q,K,_,z){let $=`This session is being continued from a previous conversation that ran out of context. The summary below covers the earlier portion of the conversation. |
| 4372 | |
| 4373 | ${y3Y(q)}`;if(_)$+=` |
| 4374 | |
| 4375 | If you need specific details from before compaction (like exact code snippets, error messages, or content you generated), read the full transcript at: ${_}`;if(z)$+=` |
| 4376 | |
| 4377 | Recent messages are preserved verbatim.`;if(K)return`${$} |
| 4378 | Continue the conversation from where it left off without asking the user any further questions. Resume directly — do not acknowledge the summary, do not recap what was happening, do not preface with "I'll continue" or similar. Pick up the last task as if the break never happened.`;return $}var N3Y,rWK;var C87=y(()=>{N3Y=`Your task is to create a detailed summary of the RECENT portion of the conversation — the messages that follow earlier retained context. The earlier messages are being kept intact and do NOT need to be summarized. Focus your summary on what was discussed, learned, and accomplished in the recent messages only. |
| 4379 | |
| 4380 | ${`Before providing your final summary, wrap your analysis in <analysis> tags to organize your thoughts and ensure you've covered all necessary points. In your analysis process: |