Skip to content

feat: add sequant dashboard with live updates - #131

Closed
admarble wants to merge 7 commits into
mainfrom
feature/dashboard
Closed

admarble wants to merge 7 commits into
mainfrom
feature/dashboard

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

Adds the sequant dashboard command for visualizing workflow state in a browser-based dashboard with real-time updates.

  • Web dashboard with Hono + htmx + SSE for live state visualization
  • VS Code extension spike (for future consideration)
  • Comprehensive documentation in docs/dashboard-spike.md

Features

  • sequant dashboard — Start dashboard on localhost:3456
  • sequant dashboard --port 8080 — Custom port
  • sequant dashboard --no-open — Skip auto-opening browser
  • Live updates via SSE when .sequant/state.json changes
  • Graceful shutdown on Ctrl+C

Acceptance Criteria

Criterion Status
sequant dashboard starts local server ✅
Auto-opens browser by default ✅
--port flag for custom port ✅
--no-open flag to skip browser launch ✅
Graceful shutdown on Ctrl+C ✅
Clear console output showing URL ✅
SSE live updates working ✅

Test plan

  • npm run build passes
  • npm test passes (437/439, 2 pre-existing flaky)
  • Smoke tested with real workflow data
  • SSE live updates verified (status changes reflect in real-time)
  • Custom port tested
  • Error handling tested (missing/corrupted state.json)

Closes #114
Closes #116

🤖 Generated with Claude Code

admarble and others added 7 commits January 18, 2026 12:50
- `sequant status 42` now works (positional arg for issue number)
- Adds --issues, --json, --rebuild, --cleanup, --dry-run, --max-age flags
- Completes #118 (CLI status command) functionality

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- @anthropic-ai/claude-agent-sdk 0.2.11 → 0.2.12
- @typescript-eslint/* 8.52.0 → 8.53.0
- @types/node 22.19.3 → 22.19.7

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Implements two visualization options for workflow state:

Option A (Web Dashboard):
- Hono-based local server with htmx + Pico CSS
- Grid layout showing issues with phase progress
- SSE-based live updates when state.json changes
- CLI command: `sequant dashboard`

Option C (VS Code Extension):
- Tree view sidebar showing issues and phases
- FileSystemWatcher for real-time updates
- Context menu actions for terminal/GitHub

Recommendation: Pursue Option A (lower barrier, better overview UX)

Closes #114

Co-Authored-By: Claude Opus 4.5 <[email protected]>
…isualization-options

feat(#114): explore dashboard visualization options
- Switch from raw TransformStream to Hono's streamSSE helper
- Fix htmx script URL to avoid 301 redirect race condition
- Use callback-based client tracking for broadcasts
- Fixes SSE live updates not working in browser

The previous implementation used TransformStream which didn't
work properly with Node.js and the htmx SSE extension. The
htmx script also redirected (301) which caused a race condition
where the SSE extension loaded before htmx was available.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@admarble admarble mentioned this pull request Jan 20, 2026
6 tasks
@admarble

Copy link
Copy Markdown
Contributor Author

Closing - keeping dashboard work on feature/dashboard branch for further development. Will create PR to main when the feature is complete.

@admarble admarble closed this Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sequant dashboard CLI command Explore dashboard visualization options

1 participant