Skip to content

Feat/dashboard UI - #2

Merged
crossben merged 6 commits into
mainfrom
feat/dashboard-ui
Sep 25, 2026
Merged

crossben merged 6 commits into
mainfrom
feat/dashboard-ui

Conversation

@crossben

Copy link
Copy Markdown
Owner

No description provided.

crossben and others added 6 commits September 25, 2026 14:12
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stats

The runs table gains a diff column, added in place on existing databases.
The engine records the reviewed diff so history entries can be reopened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- engine.Options gains OnEvent (attempt, agent exit, validation stage
  start/done) and Output; Produce emits/streams them. nil = unchanged.
- agent.Task.Output: CLIAgent.RunQuiet tees output via runner.Spec.Output;
  APIAgent writes a request/outcome line (no token stream).
- validate.RunPipelineObserved reports each stage as it runs.
- gitutil.Branch for the dashboard header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…changes

- Split the 943-line tui.go into focused files (chat, live, review,
  views, chrome, theme, table).
- Opens on Chat; tab order Chat · Changes · History · Agents ·
  Benchmarks · Logs.
- Live run panel: routing, each attempt, agent output as it streams,
  and every validation stage; beside the chat on wide terminals,
  stacked on narrow ones. esc cancels a run and reverts its changes.
- Review screen shared by Chat, Changes and History: file list with
  +/− counts, per-file or all-files diff, validation badges and the
  failing check's output.
- Dashboard runs are now recorded to history with their diff; Changes
  and History reopen any past diff, also after a restart.
- Fixes: routed agent recorded (not the default), styled table cells
  no longer skew columns, Changes diff scrolls, frames never overflow.
- Adaptive light/dark theme, header with repo + branch, status bar
  with mode and key hints, empty states, agent stats.
- runner: cancelling the quiet path kills the agent's process group
  and stops waiting on inherited pipes (children no longer outlive a
  cancel).
- Diff colouring is now a small built-in renderer; drops the direct
  chroma and go-diff usage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pipes as a clean exit

- First ctrl+c during a run cancels it, reverts the agent's partial
  edits, then quits; a second ctrl+c forces.
- runner.RunProbe: an agent that exits 0 while a spawned child keeps the
  output pipe open is a clean exit (was reported as a failure after
  WaitDelay).
- Welcome hint about questions only when AI routing is on; cache the
  installed-agent count instead of probing PATH on every render.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@crossben
crossben merged commit 96e66ed into main Sep 25, 2026
2 checks passed
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.

1 participant