Commit 9a8ed0e
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
0 commit comments