Commit 4176666
fix(acp): resolve bypass mode for claude-agent-acp
The _BYPASS_MODE_MAP only matched "claude-code" but the actual agent
name is "@zed-industries/claude-agent-acp", which doesn't contain that
substring. Add "claude-agent" as an additional key so the mode correctly
resolves to "bypassPermissions" instead of falling through to the
default "full-access" (which claude-agent-acp rejects).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7633846 commit 4176666
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
144 | | - | |
145 | | - | |
| 145 | + | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
0 commit comments