patchcord 0.5.6 → 0.5.7

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "patchcord",
3
3
  "description": "Cross-machine agent messaging with push delivery. Messages from other agents arrive as native channel notifications.",
4
- "version": "0.5.6",
4
+ "version": "0.5.7",
5
5
  "author": {
6
6
  "name": "ppravdin"
7
7
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchcord",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",
@@ -54,7 +54,11 @@ pc_part=""
54
54
  if [ -n "$pc_url" ] && [ -n "$pc_token" ]; then
55
55
  cache_key=$(printf '%s\n%s\n' "$mcp_json" "$pc_url" | sha256sum | awk '{print $1}')
56
56
  cache_file="/tmp/claude/patchcord-statusline-${cache_key}.json"
57
- cache_max_age=20
57
+ # Identity (agent, namespace, machine) never changes without .mcp.json
58
+ # rotating. Inbox count drifts in 5 min but subscribe.mjs surfaces real
59
+ # arrivals immediately via Monitor, so the count here is just decorative.
60
+ # 5 min TTL → ~12 calls/hour instead of ~180.
61
+ cache_max_age=300
58
62
  mkdir -p /tmp/claude
59
63
 
60
64
  needs_refresh=true