Merged
Conversation
Introduces the forge-ui module — a browser-based dashboard for managing agents without the CLI. Launched via `forge ui`, it provides: - Agent discovery, start/stop, and real-time status via SSE - Interactive A2A streaming chat with session history - 9-step create wizard matching CLI init (model selection, OAuth, web search provider choice, fallback chains, secret encryption) - Monaco-based YAML config editor with live validation - Skills browser with category filtering and SKILL.md detail view Architecture uses dependency injection: forge-cli injects StartFunc, CreateFunc, and OAuthFunc into forge-ui, avoiding circular imports. Frontend is Preact + HTM (no build step), embedded via go:embed.
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
forge uicommand that launches a local web dashboard athttp://localhost:4200for managing the full agent lifecycle from the browserforge-uiGo module — an embedded SPA (Preact + HTM, no build step) served viago:embedDashboard & Agent Management
forge.yamlfilesInteractive Chat
Create Agent Wizard (9 steps, matches CLI
forge init)FORGE_PASSPHRASE not setwarning)Config Editor
Skills Browser
Other
make fetch-monacotarget for rebuilding the Monaco bundleforge uidocumentationTest plan
cd forge-ui && go test -v ./...— all 35 tests passcd forge-cli && go build -o /dev/null ./cmd/forge— builds cleanlyforge ui --dir /tmp/test-workspace --no-open— server starts on :4200