patchcord 0.3.67 → 0.3.68
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/bin/patchcord.mjs +10 -0
- package/package.json +1 -1
package/bin/patchcord.mjs
CHANGED
|
@@ -722,6 +722,16 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
|
|
|
722
722
|
});
|
|
723
723
|
writeFileSync(marketplacePath, JSON.stringify(marketplace, null, 2) + "\n");
|
|
724
724
|
|
|
725
|
+
// Also install global skills (working @patchcord — plugin/read broken in Codex v0.117)
|
|
726
|
+
const globalSkillDir = join(homedir(), ".agents", "skills", "patchcord");
|
|
727
|
+
mkdirSync(globalSkillDir, { recursive: true });
|
|
728
|
+
writeFileSync(join(globalSkillDir, "SKILL.md"),
|
|
729
|
+
readFileSync(join(pluginRoot, "skills", "codex", "SKILL.md"), "utf-8"));
|
|
730
|
+
const globalWaitDir = join(homedir(), ".agents", "skills", "patchcord-wait");
|
|
731
|
+
mkdirSync(globalWaitDir, { recursive: true });
|
|
732
|
+
writeFileSync(join(globalWaitDir, "SKILL.md"),
|
|
733
|
+
readFileSync(join(pluginRoot, "skills", "wait", "SKILL.md"), "utf-8"));
|
|
734
|
+
|
|
725
735
|
console.log(`\n ${green}✓${r} Codex configured: ${dim}${configPath}${r}`);
|
|
726
736
|
console.log(` ${green}✓${r} Plugin installed: ${dim}@patchcord${r}, ${dim}@patchcord-wait${r}`);
|
|
727
737
|
} else {
|