fix: plan path permissions
This commit is contained in:
parent
4d08123ca0
commit
b3ae1931fc
1 changed files with 2 additions and 2 deletions
|
|
@ -95,8 +95,8 @@ export namespace Agent {
|
||||||
},
|
},
|
||||||
edit: {
|
edit: {
|
||||||
"*": "deny",
|
"*": "deny",
|
||||||
".opencode/plans/*.md": "allow",
|
[path.join(".opencode", "plans", "*.md")]: "allow",
|
||||||
[path.relative(Instance.worktree, path.join(Global.Path.data, "plans/*.md"))]: "allow",
|
[path.relative(Instance.worktree, path.join(Global.Path.data, path.join("plans", "*.md")))]: "allow",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
user,
|
user,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue