@theholocron/cli 3.3.13 → 3.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +13 -1
- package/dist/cli.mjs.map +1 -1
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -3317,7 +3317,19 @@ async function installSkills({ agent, skills, repoRoot }) {
|
|
|
3317
3317
|
try {
|
|
3318
3318
|
skillsRoot = dirname(require.resolve("@theholocron/skills/package.json"));
|
|
3319
3319
|
} catch {
|
|
3320
|
-
|
|
3320
|
+
if (spawnSync("pnpm", [
|
|
3321
|
+
"add",
|
|
3322
|
+
"-D",
|
|
3323
|
+
"@theholocron/skills"
|
|
3324
|
+
], {
|
|
3325
|
+
cwd: repoRoot,
|
|
3326
|
+
stdio: "inherit"
|
|
3327
|
+
}).status !== 0) throw new Error("failed to auto-install @theholocron/skills");
|
|
3328
|
+
try {
|
|
3329
|
+
skillsRoot = dirname(require.resolve("@theholocron/skills/package.json"));
|
|
3330
|
+
} catch {
|
|
3331
|
+
throw new Error("failed to auto-install @theholocron/skills");
|
|
3332
|
+
}
|
|
3321
3333
|
}
|
|
3322
3334
|
const gitignorePath = join(repoRoot, ".gitignore");
|
|
3323
3335
|
const existingContent = await readFile(gitignorePath, "utf8").catch(() => "");
|