fix: follow up on #125 to make pi-coding-agent behavior predictable#133
Merged
fix: follow up on #125 to make pi-coding-agent behavior predictable#133
Conversation
dnouri
added a commit
that referenced
this pull request
Feb 25, 2026
dnouri
added a commit
that referenced
this pull request
Feb 26, 2026
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.
Follow-up to #125 by @conornash.
#125introduced useful DWIM/toggle ideas, but also madeM-x pi-coding-agentsurprising in a few real workflows. This PR keeps the split command model and smooths out those rough edges.What changed
M-x pi-coding-agentis now consistently a show/restore/focus command for the current session.M-x pi-coding-agent-toggleis now the explicit hide/show command.Session lookup is now based on exact normalized project directory, which avoids selecting the wrong session (e.g. parent vs subdir sessions).
Window restore behavior was tightened to avoid duplicate input panes and to pick/focus the correct session input window when multiple sessions are visible.
Docs were updated to match actual command semantics and clarify
pi-coding-agentvs optionalpialias usage.