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 --- internal/tmuxedit/agentutil.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/tmuxedit/agentutil.go') diff --git a/internal/tmuxedit/agentutil.go b/internal/tmuxedit/agentutil.go index 18ece9b..67351d3 100644 --- a/internal/tmuxedit/agentutil.go +++ b/internal/tmuxedit/agentutil.go @@ -65,9 +65,9 @@ func joinLastContiguousBlock(matches []promptMatch, strips []string) string { } // scopeToLastSection extracts the content between the last two lines matching -// the section delimiter pattern. This isolates the prompt area (e.g. Claude's -// ─── rules) from previous conversation content. Returns the full content if -// no pattern is set or fewer than two delimiters are found. +// the section delimiter pattern. This isolates the prompt area from previous +// conversation content. Returns the full content if no pattern is set or +// fewer than two delimiters are found. func scopeToLastSection(paneContent, sectionPattern string) string { if sectionPattern == "" { return paneContent @@ -118,7 +118,7 @@ func sendClearSequence(paneID, clearKeys string) error { return fmt.Errorf("clear key %q failed: %w", key, err) } } - // Add delay after Escape to let Vim/Claude exit INSERT mode + // Add delay after Escape to let Vim-based agents exit INSERT mode if key == "Escape" { time.Sleep(150 * time.Millisecond) } -- cgit v1.2.3