Sign macOS managed runtime artifacts

This commit is contained in:
Mohamed Boudra
2026-03-10 13:39:58 +07:00
parent 98d91fd696
commit bf355aaaf3
3 changed files with 131 additions and 3 deletions
@@ -368,18 +368,23 @@ async function pruneNodePty(runtimeRoot) {
}
async function pruneClaudeAgentSdk(runtimeRoot) {
const ripgrepRoot = path.join(
const vendorRoot = path.join(
runtimeRoot,
"node_modules",
"@anthropic-ai",
"claude-agent-sdk",
"vendor",
"ripgrep"
"vendor"
);
const ripgrepRoot = path.join(vendorRoot, "ripgrep");
const keepName = ripgrepPlatformDirMap[process.platform]?.[process.arch];
if (keepName) {
await pruneChildrenExcept(ripgrepRoot, new Set(["COPYING", keepName]));
}
const treeSitterBashRoot = path.join(vendorRoot, "tree-sitter-bash");
if (keepName) {
await pruneChildrenExcept(treeSitterBashRoot, new Set([keepName]));
}
}
async function pruneManagedRuntime(runtimeRoot) {