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 --- internal/lsp/handlers_init.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/lsp/handlers_init.go') diff --git a/internal/lsp/handlers_init.go b/internal/lsp/handlers_init.go index ac1d566..ba00333 100644 --- a/internal/lsp/handlers_init.go +++ b/internal/lsp/handlers_init.go @@ -6,6 +6,7 @@ import ( "codeberg.org/snonux/hexai/internal" "codeberg.org/snonux/hexai/internal/logging" + tmx "codeberg.org/snonux/hexai/internal/tmux" ) func (s *Server) handleInitialize(req Request) { @@ -29,6 +30,10 @@ func (s *Server) handleInitialize(req Request) { func (s *Server) handleInitialized() { logging.Logf("lsp ", "client initialized") + // Emit an initial tmux heartbeat with provider/model + if s.llmClient != nil { + _ = tmx.SetStatus(tmx.FormatLLMStartStatus(s.llmClient.Name(), s.llmClient.DefaultModel())) + } } func (s *Server) handleShutdown(req Request) { -- cgit v1.2.3