MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / loadReconHandoffOptions

Function loadReconHandoffOptions

web/scripts/ragnar_modern.js:20089–20104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20087 newLogLines.forEach(logLine => {
20088 consoleBuffer.push(createConsoleEntryFromLog(logLine));
20089 });
20090
20091 if (consoleBuffer.length > MAX_CONSOLE_LINES) {
20092 consoleBuffer = consoleBuffer.slice(-MAX_CONSOLE_LINES);
20093 }
20094
20095 lastConsoleLogLine = cleanedLogs[cleanedLogs.length - 1];
20096 updateConsoleDisplay();
20097}
20098
20099function updateConsoleDisplay() {
20100 const console = document.getElementById('console-output');
20101 if (!console) return;
20102
20103 console.innerHTML = consoleBuffer.map(entry =>
20104 `<div class="${entry.colorClass}">[${entry.timestamp}] ${escapeHtml(entry.message)}</div>`
20105 ).join('');
20106
20107 // Auto-scroll to bottom

Callers 1

pollReconScanFunction · 0.70

Calls 4

errorMethod · 0.80
showReconErrorFunction · 0.70
renderReconHandoffFunction · 0.70
setReconStateFunction · 0.70

Tested by

no test coverage detected