fix(agents): block apply_patch tool for all read-only agents
Oracle, Librarian, Explore, Momus, and Metis could modify files via apply_patch despite being read-only agents. Also fixed duplicate task entries in Librarian and Explore restriction lists.
This commit is contained in:
@@ -306,6 +306,7 @@ User confirms the button works as expected.
|
||||
const metisRestrictions = createAgentToolRestrictions([
|
||||
"write",
|
||||
"edit",
|
||||
"apply_patch",
|
||||
"task",
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user