mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 23:21:23 +00:00
fix(acp): harden permission auto-approval policy
This commit is contained in:
@@ -320,3 +320,7 @@ export function resolveCoreToolProfiles(toolId: string): ToolProfileId[] {
|
||||
}
|
||||
return [...tool.profiles];
|
||||
}
|
||||
|
||||
export function isKnownCoreToolId(toolId: string): boolean {
|
||||
return CORE_TOOL_BY_ID.has(toolId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user