From 24d32adbe4e028f404b8f03309197da8f21675f9 Mon Sep 17 00:00:00 2001 From: Sam Rolfe Date: Sun, 6 Sep 2026 19:49:39 +1000 Subject: [PATCH] docs: keep mermaid diagram, link interactive map to maps.lab.audasmedia --- docs/README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 669b160..0855c4d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,7 +4,26 @@ Architecture artifacts for pi-dashboard, generated by the `project-diagramming-m ## Interactive map -[▶ Open the interactive map](./pi-dashboard-map.html) — self-contained HTML; open in a browser for pan/zoom, search, theme toggle, route tracing. +[▶ Open the interactive map](https://maps.lab.audasmedia.com.au/pi-dashboard/docs/pi-dashboard-map.html) — self-contained HTML; open in a browser for pan/zoom, search, theme toggle, route tracing. + +## Diagram (Mermaid) + +Renders natively in Obsidian; shows as ASCII in pi via the `pi-mermaid` extension. + +```mermaid +flowchart LR + EXT["dashboard.ts pi extension"] -->|"writes JSON"| SF[("state files ~/.pi/agent/dashboard")] + REM["remote machines .13 .51"] -->|"ssh cat *.json, 5s timeout + cooldown"| ST["state.go"] + SF -->|"readLocalStates"| ST + ST -->|"AgentState"| MAIN["main.go bubbletea TUI"] + CFG["pi-dashboard.yaml"] -->|"loadConfig"| MAIN + MAIN -->|"2s poll tick"| ST + MAIN -->|"table + detail"| UI["Table + Detail panes"] + UI -->|"Enter"| AT["tmux / zellij attach"] + UI -->|"d"| HK["hunk diff"] + UI -->|"Tab"| TX["tuxedo todo.txt"] + UI -->|"Del"| SF +``` ## Regenerate