Commit d2b5ce8
feat(board): interactive Claude Code sessions in browser (STA-575) (#8)
- Board server (tools/agent-viewer/server.cjs): Express + Socket.io
- Spawns claude --output-format stream-json with stdin pipe open
- WebSocket streaming of agent output to browser clients
- REST API: /api/agents, /api/sessions, /api/sessions/:id/message
- Session persistence and reconnection support
- Scans conductor agent statuses from ~/.stackmemory/conductor/
- Frontend (tools/agent-viewer/public/index.html): Nothing-design
- xterm.js terminal for live Claude Code output rendering
- Sidebar: active sessions + conductor agent cards with phase bars
- New session modal: prompt + model selection
- Real-time WebSocket streaming, input bar for user messages
- Dark mode, Space Mono/Grotesk/Doto typography
- CLI: `stackmemory board` finds server via package path resolution
- Auto-opens browser on launch
Co-authored-by: StackMemory Bot (CLI) <bot@stackmemory.ai>1 parent 2ad098d commit d2b5ce8
3 files changed
Lines changed: 1123 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
664 | 675 | | |
665 | 676 | | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
| 677 | + | |
672 | 678 | | |
673 | 679 | | |
674 | 680 | | |
675 | | - | |
| 681 | + | |
676 | 682 | | |
677 | 683 | | |
678 | 684 | | |
| |||
682 | 688 | | |
683 | 689 | | |
684 | 690 | | |
685 | | - | |
| 691 | + | |
686 | 692 | | |
687 | 693 | | |
688 | 694 | | |
| |||
693 | 699 | | |
694 | 700 | | |
695 | 701 | | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
696 | 718 | | |
697 | 719 | | |
698 | 720 | | |
| |||
0 commit comments