patchcord 0.3.64 → 0.3.65
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 +9 -5
- package/package.json +1 -1
package/bin/patchcord.mjs
CHANGED
|
@@ -668,12 +668,16 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
|
|
|
668
668
|
console.log(` ${green}✓${r} Cleaned PATCHCORD_TOKEN from .env`);
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
|
-
// Clean up old slash commands
|
|
672
|
-
const
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
671
|
+
// Clean up old per-project slash commands (deprecated in Codex v0.117+)
|
|
672
|
+
for (const dir of [join(codexDir, "prompts"), join(homedir(), ".codex", "prompts")]) {
|
|
673
|
+
for (const f of ["patchcord.md", "patchcord-wait.md"]) {
|
|
674
|
+
const p = join(dir, f);
|
|
675
|
+
if (existsSync(p)) { unlinkSync(p); }
|
|
676
|
+
}
|
|
676
677
|
}
|
|
678
|
+
// Clean up old per-project skill (now installed as global plugin)
|
|
679
|
+
const oldSkillPath = join(cwd, ".agents", "skills", "patchcord", "SKILL.md");
|
|
680
|
+
if (existsSync(oldSkillPath)) { unlinkSync(oldSkillPath); }
|
|
677
681
|
|
|
678
682
|
// Install Codex plugin (skills auto-discovered via @patchcord)
|
|
679
683
|
const pluginDir = join(homedir(), ".codex", "plugins", "patchcord");
|