Terminal completion mode
Terminal emulators expose the entire scrollback as the text surface. We need prompt detection so only the post-prompt text is sent as prefix. Add a dedicated mode with per-emulator attribute handlers (iTerm2, Terminal.app, Ghostty, Warp, Alacritty, WezTerm).
Acceptance
- [ ] Bundle-ID match for the listed emulators.
- [ ] Prompt detection is heuristic (shell-aware regex) and user-configurable.
- [ ] Request
prefixTextcontains only post-prompt text; pre-prompt scrollback is never sent to the model. - [ ] Tests on representative scrollback samples for at least bash, zsh, and fish.
Parent: #16
Closing — PR #127 takes the opposite product direction: Tabby now blocks itself entirely in terminal emulators (Terminal, iTerm2, Kitty, Alacritty, Ghostty, Warp, WezTerm, Hyper, Rio). Terminals have their own completion and shell integrations that conflict with ghost-text autocomplete.
Building a dedicated terminal completion mode with prompt detection is a fundamentally different product bet. If that direction is revisited later, it should be a new issue with updated scope.