@sebastianandreasson/pi-autonomous-agents 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sebastianandreasson/pi-autonomous-agents",
3
3
  "private": false,
4
- "version": "0.7.0",
4
+ "version": "0.7.1",
5
5
  "type": "module",
6
6
  "description": "Portable unattended PI harness for developer/tester/visual-review loops.",
7
7
  "license": "MIT",
@@ -369,7 +369,7 @@ export function renderHtml() {
369
369
  const flowEl = document.getElementById('flow')
370
370
  flowEl.innerHTML = data.flow.steps.map((step) => {
371
371
  const latest = step.latestEvent
372
- const meta = latest ? [latest.kind, latest.status, latest.terminalReason].filter(Boolean).join('\n') : 'waiting'
372
+ const meta = latest ? [latest.kind, latest.status, latest.terminalReason].filter(Boolean).join('\\n') : 'waiting'
373
373
  return '<div class="step ' + esc(step.status) + '">' +
374
374
  '<div class="step-name">' + esc(step.label) + '</div>' +
375
375
  '<div class="step-status">' + esc(step.status) + '</div>' +
@@ -381,11 +381,11 @@ export function renderHtml() {
381
381
  graphEl.innerHTML = data.graph.nodes.length > 0
382
382
  ? data.graph.nodes.map((node) => {
383
383
  const retry = node.retryCount > 0 ? 'retry #' + node.retryCount : ''
384
- const meta = [node.kind, retry, node.role, node.terminalReason].filter(Boolean).join('\n')
384
+ const meta = [node.kind, retry, node.role, node.terminalReason].filter(Boolean).join('\\n')
385
385
  return '<button type="button" class="graph-node ' + esc(node.status) + '" data-event-id="' + esc(node.id) + '">' +
386
386
  '<div class="step-name">' + esc(node.label) + '</div>' +
387
387
  '<div class="step-status">' + esc(node.status) + '</div>' +
388
- '<div class="step-meta">' + esc(meta) + '\n' + esc(node.notes || '') + '</div>' +
388
+ '<div class="step-meta">' + esc(meta) + '\\n' + esc(node.notes || '') + '</div>' +
389
389
  '</button>'
390
390
  }).join('')
391
391
  : '<div class="muted">No iteration graph yet.</div>'