M9: theme, turn layout, footer, input, activity line #84

Merged
hermes merged 1 commits from m9-tui into main 2026-10-01 08:56:41 +00:00
Collaborator

TUI revamp, part 1 (no lens dependency).

  • theme.rs: all styles/symbols in one place; NO_COLOR drops colours, HX_ASCII=1 uses ASCII symbols.
  • Turn layout: ❯ user, ◆ assistant, one aligned line per tool call (status, name, target, outcome +3 −1 / N lines / ok / exit N, duration, ▸ when output is folded), │-gutter bodies, diff preview ≤6 lines, error tail ≤5, consecutive tools stack.
  • Thinking folds to thought · N words ▸; activity line ⠹ bash 12s / ⠹ thinking… 4s while busy.
  • Input: ❯ prompt, placeholder, bordered popup anchored at the token.
  • Footer at the bottom: context bar vs auto-compact threshold, tokens, cost; provider/model/queue on the right; hints replace the right side only; y/n question takes the line.

Verified: tests/all.sh green (68 unit tests, all e2e, tui smoke, tui lsp install), plus pty render check.

Closes #76, closes #77, closes #79, closes #80, closes #81

TUI revamp, part 1 (no lens dependency). - `theme.rs`: all styles/symbols in one place; `NO_COLOR` drops colours, `HX_ASCII=1` uses ASCII symbols. - Turn layout: `❯` user, `◆` assistant, one aligned line per tool call (status, name, target, outcome `+3 −1` / `N lines` / `ok` / `exit N`, duration, `▸` when output is folded), `│`-gutter bodies, diff preview ≤6 lines, error tail ≤5, consecutive tools stack. - Thinking folds to `thought · N words ▸`; activity line `⠹ bash 12s` / `⠹ thinking… 4s` while busy. - Input: `❯` prompt, placeholder, bordered popup anchored at the token. - Footer at the bottom: context bar vs auto-compact threshold, tokens, cost; provider/model/queue on the right; hints replace the right side only; y/n question takes the line. Verified: `tests/all.sh` green (68 unit tests, all e2e, tui smoke, tui lsp install), plus pty render check. Closes #76, closes #77, closes #79, closes #80, closes #81
hermes added 1 commit 2026-10-01 08:56:40 +00:00
M9: theme, turn layout, footer, input, activity line
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s
b0b22b4061
Closes #76, closes #77, closes #79, closes #80, closes #81
hermes merged commit b3960a09ed into main 2026-10-01 08:56:41 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#84