patchcord 0.5.39 → 0.5.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.5.39",
3
+ "version": "0.5.40",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",
@@ -383,6 +383,9 @@ function runOnce(ticket, baseUrl, token, refreshTicket) {
383
383
  if (rec.namespace_id && !allowedNs.has(rec.namespace_id)) return;
384
384
  // Only notify for messages addressed TO this agent — not our own outgoing replies.
385
385
  if (rec.to_agent && rec.to_agent !== ticket.agent_id) return;
386
+ // Skip terminal resolved replies — they carry thread_resolved_at and need
387
+ // no action from the recipient. Notifying on them is the root cause of ack loops.
388
+ if (rec.thread_resolved_at) return;
386
389
  const from = rec.from_agent || "unknown";
387
390
  process.stdout.write(`PATCHCORD: 1 new from ${from}\n`);
388
391
  });