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.
package/package.json
CHANGED
package/scripts/statusline.sh
CHANGED
|
@@ -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
|
-
|
|
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
|