You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last experiment with Claude Code integration in Zed sent my .env to Anthropic server, even though I have had .claude/settings.json file with proper deny rules:
{
"permissions": {
"deny": ["Read(/.env)"]
}
}
Yet if I ask the Claude Code integration to read & print the .env file out, it will gladly do it:
In contrast, Claude Code in the terminal works just fine
The problem comes from the fact that the ACP adapter mock out tool calls such as Read, Write into ACP specific function calls that read directly from Zed's buffer, instead of reading through the Claude Code filesystem access