[PR #8855] feat(webfetch): Allow granular URL permissions #12890

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

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

State: open
Merged: No


Summary

  • allow granular URL permission rules for webfetch
  • expand permission patterns to include protocol/host/path variants
  • add tests for config + webfetch patterns

Testing

  • bun test ./test/tool/webfetch.test.ts ./test/permission/next.test.ts ./test/config/config.test.ts

Issue

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8855 **State:** open **Merged:** No --- ## Summary - allow granular URL permission rules for webfetch - expand permission patterns to include protocol/host/path variants - add tests for config + webfetch patterns ## Testing - bun test ./test/tool/webfetch.test.ts ./test/permission/next.test.ts ./test/config/config.test.ts ## Issue - Fixes #7445
yindo added the pull-request label 2026-02-16 18:17:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12890