patchcord 0.3.68 → 0.3.69

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
@@ -222,13 +222,14 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
222
222
  if (geminiChanged) globalChanges.push("Gemini CLI skills + commands installed");
223
223
  }
224
224
 
225
- // Codex CLI
225
+ // Codex CLI — clean up old apps.patchcord setting (it blocks the plugin)
226
226
  const codexConfig = join(HOME, ".codex", "config.toml");
227
227
  if (existsSync(codexConfig)) {
228
228
  const content = readFileSync(codexConfig, "utf-8");
229
- if (!content.includes("[apps.patchcord]")) {
230
- writeFileSync(codexConfig, content.trimEnd() + "\n\n[apps.patchcord]\nenabled = false\n");
231
- globalChanges.push("Codex ChatGPT app conflict prevented");
229
+ if (content.includes("[apps.patchcord]")) {
230
+ const cleaned = content.replace(/\[apps\.patchcord\]\n(?:(?!\[)[^\n]*\n?)*/g, "").replace(/\n{3,}/g, "\n\n").trim();
231
+ writeFileSync(codexConfig, cleaned + "\n");
232
+ globalChanges.push("Removed old apps.patchcord setting");
232
233
  }
233
234
  }
234
235
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.3.68",
3
+ "version": "0.3.69",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",