MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / renderCompactSummary

Function renderCompactSummary

app/src/modules/renderer.js:701–724  ·  view source on GitHub ↗
(evt)

Source from the content-addressed store, hash-verified

699
700// ---- Compact Summary ----
701function renderCompactSummary(evt) {
702 hideCmdOverlay();
703 $('input-area').classList.remove('waiting');
704 if (S.waiting) setWaiting(false, 'compact_summary');
705
706 closeGroup();
707 S.messageMap.clear();
708 S.toolMap.clear();
709 S.currentGroup = null;
710 S.currentGroupCount = 0;
711 $msgs.innerHTML = '';
712
713 const el = document.createElement('div');
714 el.className = 'compact-divider';
715 el.innerHTML = `
716 <div class="compact-line"></div>
717 <div class="compact-badge">
718 <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.66 0 3-4.03 3-9s-1.34-9-3-9m0 18c-1.66 0-3-4.03-3-9s1.34-9 3-9"/></svg>
719 <span>历史对话已压缩</span>
720 </div>
721 <div class="compact-line"></div>
722 `;
723 $msgs.appendChild(el);
724}
725
726// ---- Assistant ----
727function renderAssistant(evt) {

Callers 1

processEventFunction · 0.70

Calls 4

hideCmdOverlayFunction · 0.90
$Function · 0.90
setWaitingFunction · 0.90
closeGroupFunction · 0.70

Tested by

no test coverage detected