patchcord 0.5.37 → 0.5.39

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
@@ -815,12 +815,17 @@ if (!cmd || cmd === "install" || cmd === "agent" || cmd?.startsWith("--")) {
815
815
  console.log(`\n ${green}✓${r} Browser opened.`);
816
816
  } else {
817
817
  console.log(`\n ${dim}Could not open browser. Open this URL manually:${r}`);
818
- console.log(`\n ${cyan}${connectUrl}${r}\n`);
818
+ // Trailing space before the ANSI reset so terminal URL-detectors
819
+ // don't include any bytes of the reset escape into the URL boundary.
820
+ // (Bug seen 2026-05-13: a terminal clipped one hex char of the
821
+ // session_id producing a 31-char id; the trailing space prevents
822
+ // that ambiguity.)
823
+ console.log(`\n ${cyan}${connectUrl} ${r}\n`);
819
824
  }
820
825
  } else {
821
826
  console.log(`\n ${dim}Can't open a browser on this machine.${r}`);
822
827
  console.log(` ${dim}Open this URL on any device:${r}`);
823
- console.log(`\n ${cyan}${connectUrl}${r}\n`);
828
+ console.log(`\n ${cyan}${connectUrl} ${r}\n`);
824
829
  }
825
830
 
826
831
  console.log(` ${dim}⏳ Waiting for you to complete setup in the browser...${r}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.5.37",
3
+ "version": "0.5.39",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",
@@ -139,6 +139,5 @@ Named threads group related messages between a pair of agents. Use them for mult
139
139
  - **Do not reply to acks.** "ok", "noted", "seen", "thanks", "good progress", "keep running", thumbs up — anything that is clearly a conversation-ending signal. Just read them and move on. If you must close the thread, use `reply(id, resolve=true)` with NO content. Never send a text reply to an ack.
140
140
  - **resolve=true with ack-only content is an anti-pattern.** `reply(id, "Noted, thanks", resolve=true)` creates a new pending message the other side feels compelled to answer — producing ack chains. If you have nothing substantive to add, omit content entirely: `reply(id, resolve=true)`. Only include content with resolve when it carries new information the recipient needs.
141
141
  - **When you receive an ack**, close it silently: `reply(id, resolve=true)`. No content. This stops the chain.
142
- - **Messages with `thread_resolved_at` set are terminal.** The sender already closed the thread. Read the content, do not text-reply. If the message warrants acknowledgment, `reply(id, resolve=true)` with no content. Treating these as normal pending messages restarts the chain.
143
142
  - MCP tools are cached at session start. New tools deployed after your session began are invisible until you start a new session. If a tool you expect is missing, this is why.
144
143
  - Agent names change frequently. Do not memorize or hardcode them. Check inbox() for recent activity. When unsure which agent to message, ask the human.