patchcord 0.3.69 → 0.3.70
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 +11 -1
- package/package.json +1 -1
package/bin/patchcord.mjs
CHANGED
|
@@ -644,7 +644,17 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
|
|
|
644
644
|
console.log(`\n ${green}✓${r} VS Code configured: ${dim}${vscodePath}${r}`);
|
|
645
645
|
console.log(` ${dim}Requires GitHub Copilot extension with agent mode enabled.${r}`);
|
|
646
646
|
} else if (isCodex) {
|
|
647
|
-
// Codex: write MCP config +
|
|
647
|
+
// Codex: write MCP config + per-project skills + global plugin
|
|
648
|
+
// Per-project skills (working @patchcord in Codex v0.117)
|
|
649
|
+
const skillDest = join(cwd, ".agents", "skills", "patchcord");
|
|
650
|
+
mkdirSync(skillDest, { recursive: true });
|
|
651
|
+
writeFileSync(join(skillDest, "SKILL.md"),
|
|
652
|
+
readFileSync(join(pluginRoot, "skills", "codex", "SKILL.md"), "utf-8"));
|
|
653
|
+
const waitDest = join(cwd, ".agents", "skills", "patchcord-wait");
|
|
654
|
+
mkdirSync(waitDest, { recursive: true });
|
|
655
|
+
writeFileSync(join(waitDest, "SKILL.md"),
|
|
656
|
+
readFileSync(join(pluginRoot, "skills", "wait", "SKILL.md"), "utf-8"));
|
|
657
|
+
|
|
648
658
|
const codexDir = join(cwd, ".codex");
|
|
649
659
|
mkdirSync(codexDir, { recursive: true });
|
|
650
660
|
const configPath = join(codexDir, "config.toml");
|