Skip to content

Commit b3ae193

Browse files
committed
fix: plan path permissions
1 parent 4d08123 commit b3ae193

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/opencode/src/agent/agent.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ export namespace Agent {
9595
},
9696
edit: {
9797
"*": "deny",
98-
".opencode/plans/*.md": "allow",
99-
[path.relative(Instance.worktree, path.join(Global.Path.data, "plans/*.md"))]: "allow",
98+
[path.join(".opencode", "plans", "*.md")]: "allow",
99+
[path.relative(Instance.worktree, path.join(Global.Path.data, path.join("plans", "*.md")))]: "allow",
100100
},
101101
}),
102102
user,

0 commit comments

Comments
 (0)