MCPcopy Create free account
hub / github.com/ChinaSiro/claude-code-sourcemap / P18

Function P18

package/cli.js:4370–4377  ·  view source on GitHub ↗
(q,K,_,z)

Source from the content-addressed store, hash-verified

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
4375If 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
4377Recent messages are preserved verbatim.`;if(K)return`${$}
4378Continue 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:

Callers 3

LE6Function · 0.85
zDKFunction · 0.85
r3YFunction · 0.85

Calls 1

y3YFunction · 0.85

Tested by

no test coverage detected