diff --git a/src/web/public/ultracode-panel.js b/src/web/public/ultracode-panel.js index 96d9c4a9..86f41eda 100644 --- a/src/web/public/ultracode-panel.js +++ b/src/web/public/ultracode-panel.js @@ -204,7 +204,7 @@ Object.assign(CodemanApp.prototype, { phasesHtml = `
${chips.join('')}
`; } return ( - `
` + + `
` + `
${name}` + `${escapeHtml(status || '—')}
` + `
${escapeHtml(stats)}
` + @@ -279,7 +279,7 @@ Object.assign(CodemanApp.prototype, { const cardStateCls = state === 'done' ? ' uw-state-done' : state === 'progress' ? ' uw-state-working' : ''; const cardAttrs = clickable ? ` class="ultracode-agent-card ultracode-agent-card--clickable${cardStateCls}" role="button" tabindex="0"` + - ` title="View transcript" onclick="app.openUltracodeAgentWindow('${escapeHtml(a.agentId)}','${escapeHtml(runId || '')}')"` + ` title="View transcript" onclick="app.openUltracodeAgentWindow(${escapeHtml(JSON.stringify(a.agentId))},${escapeHtml(JSON.stringify(runId || ''))})"` : ` class="ultracode-agent-card${cardStateCls}"`; return ( `` + diff --git a/src/web/public/ultracode-windows.js b/src/web/public/ultracode-windows.js index b7ef4637..0c0eb347 100644 --- a/src/web/public/ultracode-windows.js +++ b/src/web/public/ultracode-windows.js @@ -351,11 +351,11 @@ Object.assign(CodemanApp.prototype, { const name = run ? run.workflowName || run.summary || runId : runId; const statusCls = this._workflowStatusClass(run ? String(run.status || '') : ''); items.push( - `
` + + `
` + `` + `🧬` + `${escapeHtml(trunc(name))}` + - `×` + + `×` + `
` ); } @@ -365,11 +365,11 @@ Object.assign(CodemanApp.prototype, { for (const [agentId, entry] of agentMap) { const name = (entry && entry.label) || agentId; items.push( - `
` + + `
` + `` + `📄` + `${escapeHtml(trunc(name))}` + - `×` + + `×` + `
` ); }