fix(opencode): let subagents use their own permissions (#31696)
This commit is contained in:
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user