sam-4screen-desktop 2026-7-29:13:14:15

This commit is contained in:
2026-07-29 13:14:15 +10:00
parent 944fcfb7c9
commit 6e3666ba26

View File

@@ -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/<session>.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