MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / appendVendorLogs

Function appendVendorLogs

static/js/payment.js:1340–1348  ·  view source on GitHub ↗
(logs)

Source from the content-addressed store, hash-verified

1338}
1339
1340function appendVendorLogs(logs) {
1341 if (!Array.isArray(logs) || !logs.length) return;
1342 const logBox = document.getElementById("vendor-progress-log");
1343 if (!logBox) return;
1344 const lines = logs.map((item) => `[${item?.time || "--:--:--"}] ${item?.message || ""}`);
1345 const existing = String(logBox.textContent || "").trim();
1346 logBox.textContent = existing ? `${existing}\n${lines.join("\n")}` : lines.join("\n");
1347 logBox.scrollTop = logBox.scrollHeight;
1348}
1349
1350function updateVendorRuntimeHint(progressPayload = {}, status = "running") {
1351 const runtime = document.getElementById("vendor-progress-runtime");

Callers 3

pollVendorProgressFunction · 0.85
startVendorAutoBindFunction · 0.85
stopVendorAutoTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected