Description
"permission": {
"edit": {
"*": "deny",
"myPath/*": "allow",
this fails to match on windows, because the path would be myPath\*
Plugins
No response
OpenCode version
1.1.6
Steps to reproduce
- windows
- set edit permission to deny, set a specific path with forward slash / to allow, eg myPath/*
- tell agent to edit a file in that path
opencode denies edit
- set path to back slash, eg myPath\*
opencode allows edit to that directory
Screenshot and/or share link
No response
Operating System
windows
Terminal
No response
Description
this fails to match on windows, because the path would be myPath\*
Plugins
No response
OpenCode version
1.1.6
Steps to reproduce
opencode denies edit
opencode allows edit to that directory
Screenshot and/or share link
No response
Operating System
windows
Terminal
No response