opencode-hashline
opencode-hashline copied to clipboard
edit permissions broken
Define an agent with the permissions below and it will not be able to write or edit files in the plans/*.md path with this plugin enabled.
---
name: Architect
description: Planning agent for creating implementation plan document
mode: primary
permission:
bash:
"mkdir plans": allow
"mkdir -p plans": allow
"ls plans/": allow
edit:
"*": deny
"plans/*.md": allow
---
Something...
Thanks for reporting this! I've opened a PR to fix the issue where edit permissions weren't being applied correctly to the plans/*.md path. This should now allow the agent to write and edit files as expected.
PR: https://github.com/AngDrew/opencode-hashline/pull/7