Repository navigation
feat(web): workflow command palette + session transcript export (issue #241) - #242
Merged
Merged
Conversation
…#241) First slice of the web-surface gap (111 slash-command modules vs 5 pages): - Curated workflow-command registry (server/commandRegistry.ts): 18 natural-language prompt templates across plan/review/security/git/ quality/docs. Entries are prompts, not kernel slash names — print mode skips slash handling, so the palette fills the session composer with an equivalent prompt the kernel executes as a turn. - GET /api/commands serves the registry; the session page loads it and renders CommandPalette (searchable, category-grouped, Esc/overlay close) with a "Commands" button next to the composer. - GET /api/sessions/{id}/export renders the kernel JSONL transcript as markdown (user/assistant turns + tool names) and downloads it; session page header gains an Export button. Verified: tsc + vite build green, biome clean, bun test 70 pass / 0 fail. Part of #241 — palette covers the top ~20 workflow commands; checkpoints page and memory/templates/KB panels remain as follow-ups. Closes #241 Co-Authored-By: Claude Code <[email protected]>
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.
Closes #241
What
First slice of the web-surface gap flagged by the 2026-11-04 audit (111 slash-command modules vs 5 pages).
Command palette (session page)
server/commandRegistry.ts— curated registry of 18 workflow commands across plan / review / security / git / quality / docs. Entries are natural-language prompt templates, not kernel slash names: print mode (-p) deliberately skips slash handling, so picking a palette entry fills the composer with an equivalent prompt the kernel executes as a turn.GET /api/commandsserves the registry.CommandPalette(search filter, category-grouped, Esc/overlay close, a11y key handlers); selection fills the composer for edit-then-send.logCommandPaletteUsetelemetry hook wired in the registry.Transcript export
GET /api/sessions/{id}/export— read-only walk of the kernel JSONL, renders user/assistant turns (+ tool names per turn) as markdown,Content-Disposition: attachment.api.exportTranscript→ blob download).Verification
bun run typecheck+vite buildgreenbiome check src serverclean (0 errors, 0 warnings)bun test tests70 pass / 0 failRemaining for full #241 scope (follow-ups)
🤖 Generated with Claude Code