[PR #7272] fix: show path in external_directory permission prompt #12329

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

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

State: closed
Merged: No


Without this, external_directory permissions prompts, at least for read tools, didn't show a path at all. You could figure it out by seeing which tool usages were pending, but that was annoying especially if it was a different session triggering the prompt. The "always allow" confirmation screen did include the path though.

  • Update bash tool to ask for each external directory individually (consistent with read/edit/patch tools)
  • Populate metadata.parentDir in bash tool's external_directory request
  • Display absolute path for external directories instead of relative
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7272 **State:** closed **Merged:** No --- Without this, external_directory permissions prompts, at least for read tools, didn't show a path at all. You could figure it out by seeing which tool usages were pending, but that was annoying especially if it was a different session triggering the prompt. The "always allow" confirmation screen _did_ include the path though. - Update bash tool to ask for each external directory individually (consistent with read/edit/patch tools) - Populate metadata.parentDir in bash tool's external_directory request - Display absolute path for external directories instead of relative
yindo added the pull-request label 2026-02-16 18:17:15 -05:00
yindo closed this issue 2026-02-16 18:17:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12329