fix(opencode): let subagents use their own permissions (#31696)

This commit is contained in:
Aiden Cline
2026-06-10 09:26:08 -05:00
committed by GitHub
parent e4300e9b74
commit 3ad6923c61
5 changed files with 50 additions and 84 deletions
+3
View File
@@ -160,6 +160,9 @@ export const layer = Layer.effect(
Permission.fromConfig({
question: "allow",
plan_exit: "allow",
task: {
general: "deny",
},
external_directory: {
[path.join(Global.Path.data, "plans", "*")]: "allow",
},