patchcord 0.3.83 → 0.3.84

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.
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "patchcord-marketplace",
3
+ "owner": {
4
+ "name": "ppravdin"
5
+ },
6
+ "plugins": [
7
+ {
8
+ "name": "patchcord",
9
+ "source": "./",
10
+ "description": "Cross-machine agent messaging — connect Claude Code, Codex, Cursor, ChatGPT, and other agents across projects and machines."
11
+ }
12
+ ]
13
+ }
package/bin/patchcord.mjs CHANGED
@@ -116,11 +116,17 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
116
116
  const hasClaude = run("which claude");
117
117
  if (hasClaude) {
118
118
  // Always re-add marketplace (copies fresh files from this npx package)
119
- // and re-install plugin (overwrites stale cache). Claude Code's built-in
120
- // plugin update doesn't detect new versions from local sources (#37252).
119
+ // and install/update plugin. Claude Code's built-in plugin update
120
+ // doesn't detect new versions from local sources (#37252).
121
121
  run(`claude plugin marketplace add "${pluginRoot}"`);
122
- run(`claude plugin install patchcord`);
123
- globalChanges.push("Claude Code plugin updated");
122
+ const installed = run(`claude plugin list`)?.includes("patchcord");
123
+ if (installed) {
124
+ run(`claude plugin update patchcord@patchcord-marketplace`);
125
+ globalChanges.push("Claude Code plugin updated");
126
+ } else {
127
+ run(`claude plugin install patchcord@patchcord-marketplace`);
128
+ globalChanges.push("Claude Code plugin installed");
129
+ }
124
130
 
125
131
  const claudeSettings = join(HOME, ".claude", "settings.json");
126
132
  if (existsSync(claudeSettings)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.3.83",
3
+ "version": "0.3.84",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",