From 09abc655577fb7cf03cd830c2f6a2fee43d1ae2a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 7 Sep 2025 21:11:58 +0300 Subject: docs(tmux): document status-right setup and HEXAI_TMUX_STATUS toggle --- docs/configuration.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index e37f743..690a08f 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -62,6 +62,21 @@ Editor integration - Editor resolution: `HEXAI_EDITOR`, falling back to `EDITOR` when unset. - Invocation form: `EDITOR /tmp/hexai-XXXX.md` (a temporary Markdown file). +Tmux status line + +- Hexai can update a tmux user option during LLM activity. Add this to your `~/.tmux.conf` to display it: + + - `set -g status-right '#{@hexai_status} #[fg=colour8]| %H:%M'` + +- Status content is updated best‑effort at key moments: + - CLI: start (⏳ provider:model) and completion (✅ model duration) + - LSP: after logging aggregate LLM stats (LLM:model) + - TUI action runner: ready (model) and completion (✅ model) + +- Toggle via environment: + - Enable (default): unset or `HEXAI_TMUX_STATUS=1` + - Disable: `HEXAI_TMUX_STATUS=0` + Code action prompts - All prompts can be customized under `[prompts.code_action]` in `config.toml`. In addition to `rewrite_*`, `diagnostics_*`, `document_*`, and `go_test_*`, the following templates control the “Simplify and improve” action: -- cgit v1.2.3