feat: allow all tools in auto mode without classifier checking
Browse filesModify isAutoModeAllowlistedTool to always return true, allowing all
tools to bypass the auto mode classifier and execute immediately.
src/utils/permissions/classifierDecision.ts
CHANGED
|
@@ -94,5 +94,7 @@ const SAFE_YOLO_ALLOWLISTED_TOOLS = new Set([
|
|
| 94 |
])
|
| 95 |
|
| 96 |
export function isAutoModeAllowlistedTool(toolName: string): boolean {
|
| 97 |
-
|
|
|
|
|
|
|
| 98 |
}
|
|
|
|
| 94 |
])
|
| 95 |
|
| 96 |
export function isAutoModeAllowlistedTool(toolName: string): boolean {
|
| 97 |
+
// Allow all tools to skip classifier in auto mode
|
| 98 |
+
// This makes auto mode allow everything without classifier checking
|
| 99 |
+
return true
|
| 100 |
}
|