Two dashboard-SPA refinements (frontend only):
1. Retry loops (plan<->review, build<->verify) no longer draw a backward arc over
the forward edge (the 'circular arrows'). Loop-backs are excluded from the
default render and from the dagre layout; instead the source node shows a small
↺ chip ('can send work back to ...'), and the actual return arc is drawn only
when a selected task ACTUALLY looped it (computed from its timeline), highlighted
on that task's path.
2. Q&A / Review Verdicts / Plan render human-readably instead of JSON blobs:
react-markdown (no rehype-raw -> raw HTML escaped, XSS-safe) renders findings/
answers/summary; verdicts as cards (badge + round + outcome), Q&A as per-turn
cards (string + dict shapes), plan as summary + phase/step lists.
16 frontend tests pass (incl. loopback default-off/on-when-looped, markdown bold,
and a no-raw-HTML XSS guard); typecheck + build clean.
34 lines
883 B
JSON
34 lines
883 B
JSON
{
|
|
"name": "agent-team-dashboard",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "Read-only status dashboard SPA for the Sea Haven agent-team pipeline.",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc -b --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@dagrejs/dagre": "1.1.4",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-markdown": "9.0.1",
|
|
"reactflow": "11.11.4"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "6.4.8",
|
|
"@testing-library/react": "16.0.1",
|
|
"@types/node": "20.14.15",
|
|
"@types/react": "18.3.5",
|
|
"@types/react-dom": "18.3.0",
|
|
"@vitejs/plugin-react": "4.3.1",
|
|
"jsdom": "24.1.3",
|
|
"typescript": "5.5.4",
|
|
"vite": "5.4.8",
|
|
"vitest": "1.6.0"
|
|
}
|
|
}
|