patchcord 0.5.24 → 0.5.26

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.24",
3
+ "version": "0.5.26",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",
@@ -28,7 +28,9 @@ mkdir -p "$STABLE_DIR"
28
28
  cp "$SRC_STATUSLINE" "$STABLE_STATUSLINE"
29
29
  chmod +x "$STABLE_STATUSLINE"
30
30
 
31
- NEW_CMD="bash \"$STABLE_STATUSLINE\"${EXTRA_ARGS}"
31
+ # Write $HOME literally (not expanded) so settings.json is portable
32
+ # across machines/users — Claude Code's shell expands it at runtime.
33
+ NEW_CMD="bash \"\$HOME/.claude/patchcord/statusline.sh\"${EXTRA_ARGS}"
32
34
 
33
35
  # Decide where to write
34
36
  USER_SETTINGS="$HOME/.claude/settings.json"
@@ -376,6 +376,9 @@ function runOnce(ticket, baseUrl, token, refreshTicket) {
376
376
  if (rec.namespace_id && !allowedNs.has(rec.namespace_id)) return;
377
377
  // Only notify for messages addressed TO this agent — not our own outgoing replies.
378
378
  if (rec.to_agent && rec.to_agent !== ticket.agent_id) return;
379
+ // Skip resolved-ack messages (reply with resolve=true). These are terminal
380
+ // replies — waking the agent would restart the ack loop.
381
+ if (rec.thread_resolved_at) return;
379
382
  const from = rec.from_agent || "unknown";
380
383
  process.stdout.write(`PATCHCORD: 1 new from ${from}\n`);
381
384
  });