Skip to content

Mode changes does not work with ACP #2942

@josevalim

Description

@josevalim

Describe the bug

I have found two bugs related to modes in ACP:

  • The agent cannot leave plan mode. Once we start plan mode and then plan is done, it should propose to execute the plan and swap modes

  • Autopilot mode has no effect. I am unsure if this is related to the separation between autopilot vs /allow-all, but it still always asks for permission. We may need autopilot to automatically enable /allow-all for ACP

Affected version

1.0.35

Steps to reproduce the behavior

I was able to reproduce those bugs both in Zed and Tidewave.

  1. Enter plan mode, ask it to plan and execute the plan. You see no tool request arrives.
  2. Simply choose autopilot and ask it to make changes and run commands. You see it will request tool permissions.

Glad to provide any more info. :)

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agentsarea:non-interactiveNon-interactive mode (-p), CI/CD, ACP protocol, and headless automation

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions