feat: add HTMX dashboard with auth and CRUD#598
Open
edouard-claude wants to merge 2 commits intosipeed:mainfrom
Open
feat: add HTMX dashboard with auth and CRUD#598edouard-claude wants to merge 2 commits intosipeed:mainfrom
edouard-claude wants to merge 2 commits intosipeed:mainfrom
Conversation
Ref sipeed#101 — built-in web dashboard with password auth and config management. - Optional dashboard at /dashboard (dashboard.enabled: false to disable) - HMAC-SHA256 signed cookie sessions (24h expiry) - Auto-generated password on first launch, saved to config.json - HTMX + SSE real-time status, CRUD for agents/models/channels/settings - Agent instructions editing (AGENT.md per workspace) - 55 tests, E2E tested (login, CRUD, persistence, logout)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ref #101
Naive attempt at a built-in web dashboard — no strong opinion on this, just a proposal to explore the idea. Happy to hear thoughts or close if this isn't the right direction.
Dashboard
Login
Settings
What it does
/dashboard(dashboard.enabled: falseto disable)Performance
Measured on macOS (Apple Silicon), 3 agents, no channels:
Binary increase comes from the Go linker retaining more SDK symbols when the dashboard references AgentLoop — not from the dashboard code itself (169 symbols, ~20KB static). Fully optional.
E2E tested
Test plan
go test ./pkg/dashboard/...(55 tests)go vet ./...