📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-07-18 00:02:59 +00:00
parent 82f7c6e56a
commit 47ce7f78dc
1446 changed files with 141041 additions and 6442 deletions
+8 -2
View File
@@ -1,7 +1,6 @@
#!/usr/bin/env node
import {
copyFileSync,
mkdirSync,
readFileSync,
readdirSync,
@@ -42,7 +41,14 @@ function installCommands(version) {
const commandsDir = path.join(pluginDir, "commands");
for (const entry of readdirSync(commandsDir)) {
if (/^brooks-.*\.md$/.test(entry)) {
copyFileSync(path.join(commandsDir, entry), path.join(commandDir, entry));
// Short forms live in ~/.claude/commands/ (user commands), where
// ${CLAUDE_PLUGIN_ROOT} does not expand — bake in the absolute path so
// the wrapper can still locate its SKILL.md.
const body = readFileSync(path.join(commandsDir, entry), "utf8").replaceAll(
"${CLAUDE_PLUGIN_ROOT}",
pluginDir,
);
writeFileSync(path.join(commandDir, entry), body);
}
}