Add setting to auto-approve external ACP agent tool permissions #57402
beardfaceguy
started this conversation in
Feature Requests
Replies: 3 comments 1 reply
|
For development in isolated or throwaway sandboxes, the ability to allow ALL tools (including ACP) is essential for unattended workflows. |
0 replies
|
Yes! Is there any workaround? It's getting very annoying to approve everything even when I say "always approve" it still has to ask again for the same tool |
1 reply
|
This is quite annoying, any workaround? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Check for existing issues
What problem is this solving?
When using external ACP agents (Cursor, Claude Code, Gemini CLI), permission prompts are surfaced via
session/request_permission. Zed's existingagent.tool_permissionsrules only apply to the native Zed agent path, so there is no global opt-in to trust an external agent's tool decisions.In practice, users can still get repeated permission cards for external tools (for example, web search), even in workflows where they intentionally want an always-allow posture for that external agent.
Proposed behavior
Add an opt-in setting under
agent, e.g.:{ "agent": { "always_allow_external_agent_tools": true } }When enabled, Zed should auto-approve external ACP tool permission requests by selecting
AllowAlwayswhen available, otherwiseAllowOnce.Expected impact
false).Additional context
There is prior implementation work for this behavior in closed PR #56722; this issue tracks reopening that work with clean formatting and issue linkage.
All reactions