fix: add auto to valid modes in applySessionMode to fix mode cycling#507
Merged
benbrandt merged 1 commit intoagentclientprotocol:mainfrom Apr 6, 2026
Merged
fix: add auto to valid modes in applySessionMode to fix mode cycling#507benbrandt merged 1 commit intoagentclientprotocol:mainfrom
auto to valid modes in applySessionMode to fix mode cycling#507benbrandt merged 1 commit intoagentclientprotocol:mainfrom
Conversation
Signed-off-by: k4yt3x <i@k4yt3x.com>
benbrandt
pushed a commit
that referenced
this pull request
Apr 6, 2026
🤖 I have created a release *beep* *boop* --- ## [0.25.1](v0.25.0...v0.25.1) (2026-04-06) ### Bug Fixes * add `auto` to valid modes in applySessionMode to fix mode cycling ([#507](#507)) ([15e91fb](15e91fb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: acp-release-bot[bot] <246668977+acp-release-bot[bot]@users.noreply.github.com>
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.
ACP version is
v0.25.0. Should be the newest.I get this error when pressing Shift+Tab to cycle through the modes:
I looked through the code on both sides and I think what might be happening is, here are the modes:
claude-agent-acp/src/acp-agent.ts
Lines 236 to 244 in f422c7c
When a user gets to
bypassPermissionsand cycle again, the next selected mode isautobut that option seems to be missing from here:claude-agent-acp/src/acp-agent.ts
Lines 1007 to 1013 in f422c7c
Could the maintainers please help verify and test?