patchcord 0.3.52 → 0.3.53

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 CHANGED
@@ -695,7 +695,8 @@ if (!cmd || cmd === "install" || cmd === "agent") {
695
695
  // Codex: copy skill + write config + install slash commands
696
696
  const dest = join(cwd, ".agents", "skills", "patchcord");
697
697
  mkdirSync(dest, { recursive: true });
698
- cpSync(join(pluginRoot, "skills", "inbox", "SKILL.md"), join(dest, "SKILL.md"));
698
+ const skillSrc = readFileSync(join(pluginRoot, "skills", "inbox", "SKILL.md"), "utf-8");
699
+ writeFileSync(join(dest, "SKILL.md"), `IMPORTANT: Use the "patchcord-codex" MCP server for all patchcord tools (e.g. patchcord-codex.inbox, patchcord-codex.send_message). Do NOT use codex_apps.patchcord_* tools — they use the wrong identity.\n\n` + skillSrc);
699
700
 
700
701
  const codexDir = join(cwd, ".codex");
701
702
  mkdirSync(codexDir, { recursive: true });
@@ -718,7 +719,10 @@ if (!cmd || cmd === "install" || cmd === "agent") {
718
719
  // Slash commands (.codex/prompts/)
719
720
  const codexPromptsDir = join(codexDir, "prompts");
720
721
  mkdirSync(codexPromptsDir, { recursive: true });
721
- cpSync(join(pluginRoot, "skills", "inbox", "SKILL.md"), join(codexPromptsDir, "patchcord.md"));
722
+ // Write Codex-specific prompts that reference the correct MCP server name
723
+ const skillContent = readFileSync(join(pluginRoot, "skills", "inbox", "SKILL.md"), "utf-8");
724
+ const codexSkill = `IMPORTANT: Use the "patchcord-codex" MCP server for all patchcord tools (e.g. patchcord-codex.inbox, patchcord-codex.send_message). Do NOT use codex_apps.patchcord_* tools — they use the wrong identity.\n\n` + skillContent;
725
+ writeFileSync(join(codexPromptsDir, "patchcord.md"), codexSkill);
722
726
  cpSync(join(pluginRoot, "skills", "wait", "SKILL.md"), join(codexPromptsDir, "patchcord-wait.md"));
723
727
  console.log(`\n ${green}✓${r} Codex configured: ${dim}${configPath}${r}`);
724
728
  console.log(` ${green}✓${r} Slash commands: ${dim}/patchcord${r}, ${dim}/patchcord-wait${r}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.3.52",
3
+ "version": "0.3.53",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",