Skip to content

Commit 9a8ed0e

Browse files
authored
feat(tui): typed step chips for tests, git, lint, warnings, http, hits (#54)
Step lines earn at most one typed chip, matched from structured output only and gated on the command words where prose could leak in: - test verdicts with counts, skips, and go coverage (go test, pytest, jest, vitest, cargo, TAP) — loose substring matching ("ok ", " passed", "testsuite") is gone, prose never goes green, and failing cargo runs no longer render as passing - git commits (⎇ hash + subject) and pushes (↑ branch) - linter results (✓ lint clean / N issues) - compiler warning summaries (⚠ N warnings, amber) - HTTP statuses for curl/wget/httpie (● code, green/amber/red) - search hit counts on grep/glob/search steps SGR color residue is stripped before matching, counted verdicts fire only on summary-shaped lines, and doubled runner summaries dedupe.
1 parent 44a0e09 commit 9a8ed0e

5 files changed

Lines changed: 490 additions & 40 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,11 @@ own front-end settings are separate; see [Configuration](#configuration).
162162
`alt+↑`/`alt+↓` jump turn-to-turn, reasoning accordions auto-expand live
163163
and collapse on the next turn, and `^E` expands every tool step's details.
164164
- **Typed tool renderers** — diffs tint with a `+N −M` chip, file reads get
165-
line numbers, JSON pretty-prints, test runs show pass/fail verdicts.
165+
line numbers, JSON pretty-prints, and step lines earn typed chips from
166+
structured output only: test verdicts (`✓ 5 passed · 2 skipped`, go
167+
coverage), git commits/pushes (`⎇ a1b2c3d`, `↑ main`), lint results,
168+
compiler warning counts, HTTP statuses, and search hit counts. Prose like
169+
"Build passed" never goes green.
166170
- **Streaming answers** rendered as Markdown
167171
([glamour](https://github.com/charmbracelet/glamour)).
168172
- **Tool activity** — every `tool_call`/`tool_result` shown live with a glyph

0 commit comments

Comments
 (0)