feat: add single-pane mode (--no-exec-pane) for chat-only usage#165
Open
alvinreal wants to merge 1 commit intoalvinunreal:mainfrom
Open
feat: add single-pane mode (--no-exec-pane) for chat-only usage#165alvinreal wants to merge 1 commit intoalvinunreal:mainfrom
alvinreal wants to merge 1 commit intoalvinunreal:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
--no-exec-paneCLI flag andtmux.no_exec_paneconfig option to run TmuxAI without creating a second exec pane. Addresses #143.Why
Users want to use TmuxAI in custom layouts (popup windows, bottom bars, split arrangements) where a second exec pane is undesirable or impossible.
What changes
--no-exec-paneflagtmux.no_exec_pane: trueoptionNewManager: skipsInitExecPane()when flag is setprocess_message.go: guards ExecCommand, SendKeys, PasteMultilineContent — logs a message and skips when no exec paneprompts.go: newsinglePanePrompt()— tells the AI it can only chat, not executechat_command.go:/prepareand/resethandle missing exec pane gracefullypane_details.go: exec pane references guardedconfig_helpers.go:GetNoExecPane()helper + allowed config keyBehavior in single-pane mode
Testing
golangci-lint run→ 0 issuesgo test ./...→ passesCloses #143