summaryrefslogtreecommitdiff
path: root/internal/appconfig/config_types.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-07-02 09:38:04 +0300
committerPaul Buetow <paul@buetow.org>2026-07-02 09:38:04 +0300
commita68228bfa12f4d8a51fe53e244fcd2e66c1ef692 (patch)
tree94e257b21b93419fef655c9813f68190204c3d0d /internal/appconfig/config_types.go
parent9f0e96ce62339ddefa8771891e0864ede9af5064 (diff)
Remove hexai-tmux-edit popup editor featurev0.42.0
The tmux popup editor and its per-agent detection (Cursor/Amp/Aider) added maintenance surface without enough use to justify it; Codex and Claude Code already support external-editor mode natively via Ctrl+G. Drops internal/tmuxedit, cmd/hexai-tmux-edit, the [tmux_edit] config schema, the Mage build target, and all related docs/README mentions. Bump version to 0.42.0. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'internal/appconfig/config_types.go')
-rw-r--r--internal/appconfig/config_types.go38
1 files changed, 0 insertions, 38 deletions
diff --git a/internal/appconfig/config_types.go b/internal/appconfig/config_types.go
index 7069b21..8b046e6 100644
--- a/internal/appconfig/config_types.go
+++ b/internal/appconfig/config_types.go
@@ -48,21 +48,6 @@ type TmuxActionMenuEntry struct {
Hotkey string // optional single-character hotkey override
}
-// TmuxEditAgentCfg describes an AI agent's detection and interaction patterns
-// for the tmux popup editor (hexai-tmux-edit).
-type TmuxEditAgentCfg struct {
- Name string
- DisplayName string
- DetectPattern string
- SectionPattern string
- PromptPattern string
- StripPatterns []string
- ClearFirst *bool
- ClearKeys string
- NewlineKeys string
- SubmitKeys string
-}
-
// LoadOptions tune how configuration is loaded at runtime.
type LoadOptions struct {
// IgnoreEnv skips applying environment overrides when true.
@@ -170,7 +155,6 @@ type fileConfig struct {
Tmux sectionTmux `toml:"tmux"`
Stats sectionStats `toml:"stats"`
Ignore sectionIgnore `toml:"ignore"`
- TmuxEdit sectionTmuxEdit `toml:"tmux_edit"`
TmuxAction sectionTmuxAction `toml:"tmux_action"`
MCP sectionMCP `toml:"mcp"`
}
@@ -225,28 +209,6 @@ type sectionIgnore struct {
LSPNotifyIgnored *bool `toml:"lsp_notify_ignored"`
}
-// sectionTmuxEdit configures the tmux popup editor feature (hexai-tmux-edit).
-type sectionTmuxEdit struct {
- PopupWidth string `toml:"popup_width"`
- PopupHeight string `toml:"popup_height"`
- DefaultAgent string `toml:"default_agent"`
- Agents []sectionTmuxEditAgent `toml:"agents"`
-}
-
-// sectionTmuxEditAgent defines detection and interaction patterns for one AI agent.
-type sectionTmuxEditAgent struct {
- Name string `toml:"name"`
- DisplayName string `toml:"display_name"`
- DetectPattern string `toml:"detect_pattern"`
- SectionPattern string `toml:"section_pattern"`
- PromptPattern string `toml:"prompt_pattern"`
- StripPatterns []string `toml:"strip_patterns"`
- ClearFirst *bool `toml:"clear_first"`
- ClearKeys string `toml:"clear_keys"`
- NewlineKeys string `toml:"newline_keys"`
- SubmitKeys string `toml:"submit_keys"`
-}
-
// sectionMCP configures the MCP server settings.
type sectionMCP struct {
PromptsDir string `toml:"prompts_dir"`