[PR #2493] fix: Only block paths outside working dir if non prompting #10325

Closed
opened 2026-02-16 18:14:57 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2493

State: closed
Merged: No


This modifies the blocking of access outside of the working dir to allow ask permissions since the user has an opportunity to review the command being executed.

I often go outside of the working dir if I have the model create files in /tmp or am debugging a system issue where it needs to read config files in /etc.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2493 **State:** closed **Merged:** No --- This modifies the blocking of access outside of the working dir to allow `ask` permissions since the user has an opportunity to review the command being executed. I often go outside of the working dir if I have the model create files in /tmp or am debugging a system issue where it needs to read config files in /etc.
yindo added the pull-request label 2026-02-16 18:14:57 -05:00
yindo closed this issue 2026-02-16 18:14:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10325