From 6e3666ba266f3d1cd5aeeaa6291b293412a35a95 Mon Sep 17 00:00:00 2001 From: Sam Rolfe Date: Wed, 29 Jul 2026 13:14:15 +1000 Subject: [PATCH] sam-4screen-desktop 2026-7-29:13:14:15 --- 100 inbox/Pi Dashboard.md | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/100 inbox/Pi Dashboard.md b/100 inbox/Pi Dashboard.md index 17768b9..15c9a3e 100644 --- a/100 inbox/Pi Dashboard.md +++ b/100 inbox/Pi Dashboard.md @@ -2,26 +2,31 @@ ## Task Checklist -- [ ] **Step 1: dashboard.ts extension** — write, test, commit to Gitea - - [ ] Event hooks: agent_start, agent_end, tool_call - - [ ] Write agent state JSON files atomically - - [ ] Task tools: register_task, complete_task, list_tasks - - [ ] NTFY + Apprise notifications on completion - - [ ] Session name detection (tmux aware) - - [ ] Test with one pi session - - [ ] Commit to Gitea, pull on .13 and .51 -- [ ] **Step 2: Install companion tools** (Tuxedo, Hunk) -- [ ] **Step 3: Go TUI viewer** — build Bubble Tea binary - - [ ] Local state file reader + TUI table - - [ ] Keyboard controls: Enter (attach), d (Hunk), Tab (Tuxedo), q (quit) - - [ ] 2s polling loop - - [ ] Build to ~/bin/pi-dashboard +- [x] **Step 1: dashboard.ts extension** — written, tested, deployed to .13 (.51 offline) + - [x] Event hooks: agent_start, agent_end, tool_call + - [x] Write agent state JSON files atomically (`~/.pi/agent/dashboard/.json`) + - [x] Task tools: register_task, complete_task, list_tasks (todo.txt format) + - [x] NTFY + Apprise notifications on completion + - [x] Session name detection (tmux aware, configurable via PI_SESSION env) + - [x] Tested: state files written correctly, no crashes +- [x] **Step 2: Install companion tools** — Tuxedo (built from source via nix), Hunk (already available) + - [x] Tuxedo: `/home/sam/bin/tuxedo` (NixOS-compatible nix build) + - [x] Hunk: available via nix profile at `/etc/profiles/per-user/sam/bin/hunk` +- [x] **Step 3: Go TUI viewer** — built and deployed to .27 and .13 + - [x] Initialize Go module at ~/src/pi-dashboard/ (Go 1.26) + - [x] Local state file reader + TUI table rendering (Bubble Tea + Bubbles table) + - [x] Keyboard controls: Enter (attach), d (Hunk), Tab (Tuxedo), r (refresh), q (quit) + - [x] 2s polling loop + - [x] Built to ~/bin/pi-dashboard (5.4MB static binary) + - [x] Deployed to .13 via scp + - [x] `--list` mode for non-TTY testing, `--help` for usage - [ ] **Step 4: Cross-machine SSH pull** - [ ] YAML config file - [ ] SSH remote state reader - [ ] Remote attach (ssh -t → tmux attach) - [ ] **Step 5: Try Herdr** - - [ ] `nix shell nixpkgs#herdr`, create test layout + - [ ] Install Herdr via nix + - [ ] Create test layout on WS 2 - [ ] Run pi inside Herdr, verify dashboard picks it up - [ ] Evaluate migration vs keeping Zellij