feat(agent-claude-code): support Claude Code's auto permission mode
Summary
Claude Code CLI supports --permission-mode <mode> with choices acceptEdits, auto, bypassPermissions, default, dontAsk, plan, but the agent-claude-code plugin only emits --dangerously-skip-permissions. Users have no way to opt into the safer classifier-driven auto mode without forking.
Proposal
Add auto to AgentPermissionMode. Map it to --permission-mode auto in agent-claude-code's getLaunchCommand / getRestoreCommand. Existing permissionless / auto-edit behavior unchanged. Other agent plugins fall through to their default for auto.
Implementation
PR #1728.
Hi, thanks for filing this, it is really detailed and useful. I'm a contributor on AO and trying to get a sense of how it's working for folks using it in real workflows. Would love to hear a bit more about your experience and happy to hop on a quick 15-min call if that's easier. Here’s my calendly link https://calendly.com/atulpandey-iift1618/30min
Also, the contributors meet on Discord every day at 10pm IST: https://discord.gg/6KgeUjbe — drop in if you're around, good place to see what's being worked on and shape direction directly.
@prod-blip new issue from a non-collaborator.
Thanks for raising this. The requested capability is now available in the current Go/Electron version of AO:
The Claude Code adapter now supports and tests the auto permission mode.
Because the request has been fulfilled in the current codebase, we’re closing this issue as completed.
If this capability is missing or not working as expected in the latest version of AO, feel free to open a new issue with updated details, reproduction steps, logs, and screenshots where applicable.
AO is now available as an app on macOS and Windows, with iOS currently in beta and Android coming soon.
Stay connected with AO:
GitHub: https://github.com/AgentWrapper/agent-orchestrator Discord: https://discord.gg/kGbBRRDPv X: https://x.com/aoagents LinkedIn: https://www.linkedin.com/company/agent-orchestrator Instagram: https://www.instagram.com/aoagents