feat(agent): 完善权限与结果引用安全

This commit is contained in:
2026-08-06 18:41:52 +08:00
parent a5e91ac2b8
commit b19af8846a
22 changed files with 621 additions and 47 deletions
+3 -1
View File
@@ -1011,8 +1011,10 @@
"type": "string",
"enum": [
"request",
"auto",
"always"
]
],
"description": "request forwards approval prompts; auto approves only the low-risk allowlist; always approves every prompt not explicitly denied by OpenCode."
}
},
"required": [