Skip to content

acp: Support session modes (e.g. CC plan mode)#37632

Merged
agu-z merged 18 commits intomainfrom
acp-mode-selector
Sep 9, 2025
Merged

acp: Support session modes (e.g. CC plan mode)#37632
agu-z merged 18 commits intomainfrom
acp-mode-selector

Conversation

@agu-z
Copy link
Copy Markdown
Contributor

@agu-z agu-z commented Sep 5, 2025

Adds support for ACP session modes enabling plan and other permission modes in CC:

CleanShot.2025-09-09.at.10.39.55.mp4

Release Notes:

  • Claude Code: Add support for plan mode, and all other permission modes

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Sep 5, 2025
@agu-z agu-z changed the title [wip] ACP modeselektor acp: Support session mode (e.g Claude Code plan mode) Sep 9, 2025
@agu-z agu-z changed the title acp: Support session mode (e.g Claude Code plan mode) acp: Support session mode (e.g. Claude Code plan mode) Sep 9, 2025
@agu-z agu-z changed the title acp: Support session mode (e.g. Claude Code plan mode) acp: Support session modes (e.g. CC plan mode) Sep 9, 2025
agu-z added a commit to agentclientprotocol/claude-agent-acp that referenced this pull request Sep 9, 2025
Exposes all Claude Code permission modes as [ACP Session
modes](agentclientprotocol/agent-client-protocol#67).
This allows ACP clients to build mode selectors and to be notified when
the mode changes as a result of `ExitPlanMode`.

See a demo in the [Zed
PR](zed-industries/zed#37632).

Closes #31

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Co-authored-by: Bennet <bennet@zed.dev>
@scotteveritt
Copy link
Copy Markdown

Awesome work @agu-z . Looking forward to testing this.

@agu-z agu-z merged commit 5e397e8 into main Sep 9, 2025
22 checks passed
@agu-z agu-z deleted the acp-mode-selector branch September 9, 2025 16:28
tidely pushed a commit to tidely/zed that referenced this pull request Sep 10, 2025
Adds support for [ACP session
modes](agentclientprotocol/agent-client-protocol#67)
enabling plan and other permission modes in CC:


https://github.com/user-attachments/assets/dea18d82-4da6-465e-983b-02b77c6dcf15


Release Notes:

- Claude Code: Add support for plan mode, and all other permission modes

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
YangGangUEFI added a commit to YangGangUEFI/zed that referenced this pull request Sep 24, 2025
Pickup the changes from zed-industries#36550 and zed-industries#37632

Release Notes:

- N/A

Signed-off-by: Yang Gang <yanggang.uefi@gmail.com>
@andyw8
Copy link
Copy Markdown
Contributor

andyw8 commented Sep 24, 2025

Is there a way to prevent Plan Mode from repeatedly asking for permissions for read-only tools? If I click 'Always Allow', it will still ask in a new session.

AObuchow pushed a commit to AObuchow/claude-code-acp that referenced this pull request Jan 12, 2026
)

Exposes all Claude Code permission modes as [ACP Session
modes](agentclientprotocol/agent-client-protocol#67).
This allows ACP clients to build mode selectors and to be notified when
the mode changes as a result of `ExitPlanMode`.

See a demo in the [Zed
PR](zed-industries/zed#37632).

Closes agentclientprotocol#31

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Co-authored-by: Bennet <bennet@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants