From f8e5ff8227c0cafb140767c9286dd598e7503e45 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 7 Apr 2026 08:57:04 +0300 Subject: feat: remove tmux edit popup support for Claude Code Claude Code CLI now supports Ctrl+G to open the prompt in EDITOR (like OpenAI Codex CLI), making the built-in hexai-tmux-edit agent profile redundant. - Remove internal/tmuxedit/claude_agent.go and its tests - Update builtinAgents() to exclude claude; built-ins are now: cursor, amp, aider - Update all documentation (README, docs/tmux.md, docs/usage.md, docs/configuration.md) - Update config.toml.example to reflect new agent list Co-Authored-By: Claude Sonnet 4.6 --- config.toml.example | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'config.toml.example') diff --git a/config.toml.example b/config.toml.example index 098600e..667724c 100644 --- a/config.toml.example +++ b/config.toml.example @@ -160,27 +160,15 @@ temperature = 0.2 # default_agent = "" # force agent name; skip auto-detect # Override or add agent definitions (merged with built-in defaults by name). -# Built-in agents (checked in order): cursor, claude, amp, aider. -# OpenAI Codex CLI already supports external editor mode via Ctrl+G, -# so no built-in codex tmux_edit agent profile is needed. +# Built-in agents (checked in order): cursor, amp, aider. +# OpenAI Codex CLI and Claude Code CLI both support external editor mode via +# Ctrl+G, so no built-in tmux_edit agent profiles are needed for them. # - cursor: Box UI │...│, clears with End+BSpace*200 -# - claude: Prompt symbol ❯, clears with C-a C-k (Emacs/readline) # - amp: Box UI │...│ (TUI mode), clears with C-u (Emacs/readline) # - aider: Shell-style > prompt, clears with C-u (Emacs/readline) # Tmux keybinding (add to ~/.tmux.conf): # bind e run-shell -b "cd '#{pane_current_path}' && hexai-tmux-edit --pane '#{pane_id}'" -# [[tmux_edit.agents]] -# name = "claude" -# display_name = "Claude Code" -# detect_pattern = "(?i)(claude|anthropic)" -# prompt_pattern = '(?m)>\s*(.+)$' -# strip_patterns = [] -# clear_first = true -# clear_keys = "C-u" -# newline_keys = "S-Enter" -# submit_keys = "Enter" - # [[tmux_edit.agents]] # name = "cursor" # display_name = "Cursor" -- cgit v1.2.3