Anandan
|
761b797863
|
Render assistant Markdown in TUI (#187)
* Render assistant Markdown in TUI
Add a lightweight assistant Markdown renderer for streaming and completed transcript rows, including inline bold, code/emphasis marker cleanup, pipe tables, adaptive row separators for wrapped tables, and plain-text output for selection metadata.
Tests cover streaming markdown, completed rows, selection metadata, table wrapping, compact tables, inline markers, and width bounds with neutral fixtures.
* Refine TUI Markdown table rendering
Add outer borders for rendered assistant tables, add row separators for larger comparison tables even on wide terminals, and normalize common HTML line breaks inside table cells.
Tests cover bordered tables, wide multi-row tables, compact tables, and HTML break normalization.
* Fix Markdown inline parser edge cases
Preserve literal stars, prevent code spans from inheriting bold state, and avoid inserting spaces before punctuation split by inline marker boundaries.
Add regression checks for plain/selectable ANSI-free text and final-row done metadata on rendered Markdown rows.
* Preserve coding literals in TUI Markdown
Tighten inline delimiter parsing so code spans, Python dunder names, globs, and arithmetic stars stay literal while normal bold/emphasis still renders.
Add regressions for the reviewed code-span, dunder, glob, and operator examples.
|
2026-06-13 13:35:11 +05:30 |
|
Anandan
|
fcfdb873d0
|
Polish main TUI surface (#168)
* Polish main TUI surface
Simplify the empty chat surface, replace starter prompt chips with a cleaner brand state, move model and permission state into the composer frame, quiet the footer status, and improve composer word-editing keybindings.
Tested: GOCACHE=/tmp/zero-go-cache go test ./internal/tui
Tested: GOCACHE=/tmp/zero-go-cache go test ./...
Tested: git diff --check
* Polish autocomplete command palette
* Polish TUI file mention picker
* Address TUI review feedback
* Keep autocomplete anchored above composer
* Center autocomplete over chat viewport
* Layer autocomplete overlays over transcript
* Prefill argument commands from palette
* Show argument hints for command completions
* Polish TUI provider setup
* Polish TUI picker and composer metadata
* Add two-step mouse selection in TUI
* Polish TUI mouse selection flows
* Make provider wizard navigation test hermetic
* Fix TUI review edge cases
|
2026-06-11 22:34:46 +05:30 |
|