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

Function _RY

package/cli.js:6863–7515  ·  view source on GitHub ↗
(q,K)

Source from the content-addressed store, hash-verified

6861 <div class="bar-track"><div class="bar-fill" style="width:${A.count/Y*100}%;background:#8b5cf6"></div></div>
6862 <div class="bar-value">${A.count}</div>
6863 </div>`).join(`
6864`)}</div>`}function KRY(q){let K={};for(let _ of q)K[_]=(K[_]||0)+1;return g6(K)}function _RY(q,K){let _=(R)=>{if(!R)return"";return R.split(`
6865
6866`).map((x)=>{let I=e9(x);return I=I.replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>"),I=I.replace(/^- /gm,"• "),I=I.replace(/\n/g,"<br>"),`<p>${I}</p>`}).join(`
6867`)},z=K.at_a_glance,Y=z?`
6868 <div class="at-a-glance">
6869 <div class="glance-title">At a Glance</div>
6870 <div class="glance-sections">
6871 ${z.whats_working?`<div class="glance-section"><strong>What's working:</strong> ${zQ8(z.whats_working)} <a href="#section-wins" class="see-more">Impressive Things You Did →</a></div>`:""}
6872 ${z.whats_hindering?`<div class="glance-section"><strong>What's hindering you:</strong> ${zQ8(z.whats_hindering)} <a href="#section-friction" class="see-more">Where Things Go Wrong →</a></div>`:""}
6873 ${z.quick_wins?`<div class="glance-section"><strong>Quick wins to try:</strong> ${zQ8(z.quick_wins)} <a href="#section-features" class="see-more">Features to Try →</a></div>`:""}
6874 ${z.ambitious_workflows?`<div class="glance-section"><strong>Ambitious workflows:</strong> ${zQ8(z.ambitious_workflows)} <a href="#section-horizon" class="see-more">On the Horizon →</a></div>`:""}
6875 </div>
6876 </div>
6877 `:"",$=K.project_areas?.areas||[],A=$.length>0?`
6878 <h2 id="section-work">What You Work On</h2>
6879 <div class="project-areas">
6880 ${$.map((R)=>`
6881 <div class="project-area">
6882 <div class="area-header">
6883 <span class="area-name">${e9(R.name)}</span>
6884 <span class="area-count">~${R.session_count} sessions</span>
6885 </div>
6886 <div class="area-desc">${e9(R.description)}</div>
6887 </div>
6888 `).join("")}
6889 </div>
6890 `:"",O=K.interaction_style,w=O?.narrative?`
6891 <h2 id="section-usage">How You Use Claude Code</h2>
6892 <div class="narrative">
6893 ${_(O.narrative)}
6894 ${O.key_pattern?`<div class="key-insight"><strong>Key pattern:</strong> ${e9(O.key_pattern)}</div>`:""}
6895 </div>
6896 `:"",j=K.what_works,H=j?.impressive_workflows&&j.impressive_workflows.length>0?`
6897 <h2 id="section-wins">Impressive Things You Did</h2>
6898 ${j.intro?`<p class="section-intro">${e9(j.intro)}</p>`:""}
6899 <div class="big-wins">
6900 ${j.impressive_workflows.map((R)=>`
6901 <div class="big-win">
6902 <div class="big-win-title">${e9(R.title||"")}</div>
6903 <div class="big-win-desc">${e9(R.description||"")}</div>
6904 </div>
6905 `).join("")}
6906 </div>
6907 `:"",J=K.friction_analysis,M=J?.categories&&J.categories.length>0?`
6908 <h2 id="section-friction">Where Things Go Wrong</h2>
6909 ${J.intro?`<p class="section-intro">${e9(J.intro)}</p>`:""}
6910 <div class="friction-categories">
6911 ${J.categories.map((R)=>`
6912 <div class="friction-category">
6913 <div class="friction-title">${e9(R.category||"")}</div>
6914 <div class="friction-desc">${e9(R.description||"")}</div>
6915 ${R.examples?`<ul class="friction-examples">${R.examples.map((x)=>`<li>${e9(x)}</li>`).join("")}</ul>`:""}
6916 </div>
6917 `).join("")}
6918 </div>
6919 `:"",X=K.suggestions,P=X?`
6920 ${X.claude_md_additions&&X.claude_md_additions.length>0?`

Callers 1

spKFunction · 0.85

Calls 9

zQ8Function · 0.85
e9Function · 0.85
KRYFunction · 0.85
VsFunction · 0.85
eLYFunction · 0.85
qRYFunction · 0.85
_Class · 0.70
joinMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected