From cead3ebde8f3aee0ef8677158d37f4d04c6629dc Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 8 Sep 2025 09:50:38 +0300 Subject: tmux: colored LLM status with provider + stats; add start heartbeat for LSP/CLI/TUI; theme support via HEXAI_TMUX_STATUS_THEME and HEXAI_TMUX_STATUS_FG/BG; docs: update tmux options and add Helix+tmux quickstart --- docs/configuration.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'docs/configuration.md') diff --git a/docs/configuration.md b/docs/configuration.md index 690a08f..95b65de 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -69,14 +69,20 @@ Tmux status line - `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) + - CLI: start (⏳ provider:model) and completion with compact stats (↑sent, ↓recv, rpm, reqs) + - LSP: initial heartbeat on client initialize, and periodic compact stats (provider, model, rpm, reqs, bytes) + - TUI action runner: ready (provider:model) and completion with compact stats - Toggle via environment: - Enable (default): unset or `HEXAI_TMUX_STATUS=1` - Disable: `HEXAI_TMUX_STATUS=0` +- Theme and colors: + - Preset: `HEXAI_TMUX_STATUS_THEME=white-on-purple` (white fg on purple/magenta bg) + - Explicit: `HEXAI_TMUX_STATUS_FG=`, `HEXAI_TMUX_STATUS_BG=` (e.g., `white`, `magenta`, `colour5`) + - Colors use tmux’s `fg`/`bg` names; both methods wrap the entire `@hexai_status` segment. + - If truncated, increase width: `set -g status-right-length 120` + 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