zed icon indicating copy to clipboard operation
zed copied to clipboard

Have tools respect private and excluded file settings

Open rtfeldman opened this issue 6 months ago • 0 comments

Based on a Slack conversation with @notpeter - this prevents secrets in private/excluded files from being sent by the agent to third parties for tools that don't require confirmation.

Of course, the agent can still use the terminal tool or MCP to access these, but those require confirmation before they run (unlike these tools).

This change doesn't seem to cause any trouble for evals:

Screenshot 2025-06-03 at 8 48 33 PM

Release Notes:

  • N/A

rtfeldman avatar Jun 03 '25 23:06 rtfeldman