fix: merge user-provided disallowedTools instead of overwriting#295
Conversation
User-provided disallowedTools from _meta.claudeCode.options were silently overwritten by ACP's internal list. This follows the same merge pattern already used for hooks and mcpServers. Fixes agentclientprotocol#294
|
We require contributors to sign our Contributor License Agreement, and we don't have @blimmer on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
@cla-bot check |
|
We require contributors to sign our Contributor License Agreement, and we don't have @blimmer on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
The cla-bot has been summoned, and re-checked this pull request! |
|
We require contributors to sign our Contributor License Agreement, and we don't have @blimmer on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
The disallowedTools merge fix from agentclientprotocol#295 was regressed by agentclientprotocol#316 when the options object was restructured. Restore the merge behavior and add regression tests for all three documented merge fields (disallowedTools, hooks, mcpServers). Fixes agentclientprotocol#334
The disallowedTools merge fix from agentclientprotocol#295 was regressed by agentclientprotocol#316 when the options object was restructured. Restore the merge behavior and add regression tests for all three documented merge fields (disallowedTools, hooks, mcpServers). Fixes agentclientprotocol#334
The disallowedTools merge fix from agentclientprotocol#295 was regressed by agentclientprotocol#316 when the options object was restructured. Restore the merge behavior and add regression tests for all three documented merge fields (disallowedTools, hooks, mcpServers). Fixes agentclientprotocol#334
The disallowedTools merge fix from agentclientprotocol#295 was regressed by agentclientprotocol#316 when the options object was restructured. Restore the merge behavior and add regression tests for all three documented merge fields (disallowedTools, hooks, mcpServers). Fixes agentclientprotocol#334
Summary
disallowedToolsfrom_meta.claudeCode.optionswere silently overwritten by ACP's internal listhooksandmcpServersNewSessionMetaJSDoc to document the merge behaviorFixes #294