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

Function y3Y

package/cli.js:4367–4370  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

4365`;if(q&&q.trim()!=="")K+=`
4366
4367Additional Instructions:
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(_)$+=`

Callers 1

P18Function · 0.85

Calls 3

replaceMethod · 0.45
matchMethod · 0.45
trimMethod · 0.45

Tested by

no test coverage detected