patchcord 0.3.80 → 0.3.82

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
@@ -386,8 +386,8 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
386
386
  const rlU = createRLU({ input: process.stdin, output: process.stdout });
387
387
  const askU = (q) => new Promise((resolve) => rlU.question(q, resolve));
388
388
 
389
- const updateAnswer = (await askU(` ${bold}Update ${existingToolName} agent? (Y/n):${r} `)).trim().toLowerCase();
390
- if (updateAnswer !== "n" && updateAnswer !== "no") {
389
+ const updateAnswer = (await askU(` ${bold}Update ${existingToolName} agent? (y/N):${r} `)).trim().toLowerCase();
390
+ if (updateAnswer === "y" || updateAnswer === "yes") {
391
391
  token = existingToken;
392
392
  if (existingIdentity) {
393
393
  identity = existingIdentity;
@@ -407,6 +407,10 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd === "--token" || cmd ===
407
407
  if (addAnswer === "y" || addAnswer === "yes") {
408
408
  // Drop into browser connect flow — don't reuse token, fresh setup
409
409
  token = "";
410
+ } else {
411
+ // Both N — nothing to do
412
+ console.log(`\n ${dim}Nothing to update.${r}`);
413
+ process.exit(0);
410
414
  }
411
415
  }
412
416
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.3.80",
3
+ "version": "0.3.82",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",