[PR #12] [MERGED] feat: enrich agent cards with direction, TO/FR tracking, and event type prefix #13

Closed
opened 2026-08-09 19:08:14 +02:00 by zaph0d · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/niels-emmer/nanoclaw-dashboard/pull/12
Author: @niels-emmer
Created: 7/26/2026
Status: Merged
Merged: 7/26/2026
Merged by: @niels-emmer

Base: mainHead: feature/agent-card-detail


📝 Commits (4)

  • 3655715 feat: enrich agent cards with TO/FROM targets, skills, and last-message direction
  • 179ac2c simplify agent card: direction chip row, FR: label, remove skills/elapsed time
  • 8df4e90 row 2: add event type prefix before TO:/FROM: chip
  • 2efef5e replace TO:/FROM: text with >/< direction arrows

📊 Changes

5 files changed (+135 additions, -39 deletions)

View changed files

📝 backend/app/telemetry/source.py (+33 -5)
📝 frontend/src/components/AgentGrid.tsx (+37 -5)
📝 frontend/src/components/EventFeed.tsx (+1 -10)
📝 frontend/src/lib/types.ts (+5 -0)
📝 frontend/src/lib/utils.ts (+59 -19)

📄 Description

Enhances each agent card with detailed communication data:

  • Row 1: Name + state chip + count (unchanged)
  • Row 2: QUESTION: [>] [researcher] or RESPONSE: [<] [orchestrator] — event type prefix, direction arrow, partner label
  • Row 3: TO: [coder] [architect] — all outbound targets
  • Row 4: FR: [orchestrator] — all inbound sources

Backend: adds synthetic per-agent skills (carried in payload.meta.skills)
Frontend: extends AgentSnapshot with TO/FROM tracking, shared readableNodeLabel util

cd backend && python -m pytest  # 2/2 pass
cd frontend && npm run lint && npm run build  # clean

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/niels-emmer/nanoclaw-dashboard/pull/12 **Author:** [@niels-emmer](https://github.com/niels-emmer) **Created:** 7/26/2026 **Status:** ✅ Merged **Merged:** 7/26/2026 **Merged by:** [@niels-emmer](https://github.com/niels-emmer) **Base:** `main` ← **Head:** `feature/agent-card-detail` --- ### 📝 Commits (4) - [`3655715`](https://github.com/niels-emmer/nanoclaw-dashboard/commit/3655715dae6757a4c0e1275332b994ce62ab187d) feat: enrich agent cards with TO/FROM targets, skills, and last-message direction - [`179ac2c`](https://github.com/niels-emmer/nanoclaw-dashboard/commit/179ac2c015baf1837682e50dae97d0ea6d947614) simplify agent card: direction chip row, FR: label, remove skills/elapsed time - [`8df4e90`](https://github.com/niels-emmer/nanoclaw-dashboard/commit/8df4e9088d9a2117e6fec5283049be8efc87d1b0) row 2: add event type prefix before TO:/FROM: chip - [`2efef5e`](https://github.com/niels-emmer/nanoclaw-dashboard/commit/2efef5edb5471220604a4951c307064807f5e599) replace TO:/FROM: text with >/< direction arrows ### 📊 Changes **5 files changed** (+135 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `backend/app/telemetry/source.py` (+33 -5) 📝 `frontend/src/components/AgentGrid.tsx` (+37 -5) 📝 `frontend/src/components/EventFeed.tsx` (+1 -10) 📝 `frontend/src/lib/types.ts` (+5 -0) 📝 `frontend/src/lib/utils.ts` (+59 -19) </details> ### 📄 Description Enhances each agent card with detailed communication data: - **Row 1**: Name + state chip + count (unchanged) - **Row 2**: `QUESTION: [>] [researcher]` or `RESPONSE: [<] [orchestrator]` — event type prefix, direction arrow, partner label - **Row 3**: `TO: [coder] [architect]` — all outbound targets - **Row 4**: `FR: [orchestrator]` — all inbound sources Backend: adds synthetic per-agent skills (carried in `payload.meta.skills`) Frontend: extends `AgentSnapshot` with TO/FROM tracking, shared `readableNodeLabel` util ``` cd backend && python -m pytest # 2/2 pass cd frontend && npm run lint && npm run build # clean ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zaph0d 2026-08-09 19:08:14 +02:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
github-mirrors/nanoclaw-dashboard#13
No description provided.