fix(acp): harden permission auto-approval policy

This commit is contained in:
Peter Steinberger
2026-02-24 01:03:12 +00:00
parent ddf93d9845
commit 12cc754332
5 changed files with 179 additions and 49 deletions

View File

@@ -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);
}