Palette (ctrl-p): size scales with terminal (60% width, clamped), key hints in border.
Side panel (ctrl-l, >=140 cols): LSP/lint lines, context window + cache %, MCP servers (● / ○). Hidden when another panel is open.
/stats: dashboard with token bars and per-request table (hx_core::stats::summary). hx stats CLI unchanged.
/diff: file list + diff of every write/edit this session (State::edits). a accept, r reject = revert on disk (refuses if the file changed since), n/p file, j/k scroll. Named /diff so it does not shadow user review skills.
Permission prompt: Registry::call asks before bash/write/edit when a frontend sets State::permit (TUI only; print/rpc/mcp-serve unchanged). y once, a always (rule bash:<first word> or tool name, saved to <project>/.hx/allow.json), n/esc deny (model told not to retry). Read-only tools run unprompted.
Sessions picker: already existed; unchanged.
Tests: gate unit test, review revert test, TestBackend renders at 80x24 and 160x50, tui_smoke.py now answers the prompts. tests/all.sh green.
Not done: --yolo flag / config mode to skip prompts, bash rules finer than first word.
Implements the 7 wireframes.
- **Palette (ctrl-p)**: size scales with terminal (60% width, clamped), key hints in border.
- **Side panel (ctrl-l, >=140 cols)**: LSP/lint lines, context window + cache %, MCP servers (● / ○). Hidden when another panel is open.
- **/stats**: dashboard with token bars and per-request table (`hx_core::stats::summary`). `hx stats` CLI unchanged.
- **/diff**: file list + diff of every write/edit this session (`State::edits`). `a` accept, `r` reject = revert on disk (refuses if the file changed since), `n/p` file, `j/k` scroll. Named `/diff` so it does not shadow user `review` skills.
- **Permission prompt**: `Registry::call` asks before bash/write/edit when a frontend sets `State::permit` (TUI only; print/rpc/mcp-serve unchanged). `y` once, `a` always (rule `bash:<first word>` or tool name, saved to `<project>/.hx/allow.json`), `n`/esc deny (model told not to retry). Read-only tools run unprompted.
- **Sessions picker**: already existed; unchanged.
Tests: gate unit test, review revert test, TestBackend renders at 80x24 and 160x50, `tui_smoke.py` now answers the prompts. `tests/all.sh` green.
Not done: `--yolo` flag / config mode to skip prompts, bash rules finer than first word.
johannes
added 2 commits 2026-10-02 21:32:20 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Implements the 7 wireframes.
hx_core::stats::summary).hx statsCLI unchanged.State::edits).aaccept,rreject = revert on disk (refuses if the file changed since),n/pfile,j/kscroll. Named/diffso it does not shadow userreviewskills.Registry::callasks before bash/write/edit when a frontend setsState::permit(TUI only; print/rpc/mcp-serve unchanged).yonce,aalways (rulebash:<first word>or tool name, saved to<project>/.hx/allow.json),n/esc deny (model told not to retry). Read-only tools run unprompted.Tests: gate unit test, review revert test, TestBackend renders at 80x24 and 160x50,
tui_smoke.pynow answers the prompts.tests/all.shgreen.Not done:
--yoloflag / config mode to skip prompts, bash rules finer than first word.1825b1833eto5fd7044a2f