patchcord 0.5.35 → 0.5.36

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.35",
3
+ "version": "0.5.36",
4
4
  "description": "Cross-machine agent messaging for Claude Code and Codex",
5
5
  "author": "ppravdin",
6
6
  "license": "MIT",
@@ -11,20 +11,22 @@ User invoked /patchcord:subscribe — do NOT substitute `wait_for_message()`. Sp
11
11
 
12
12
  # Start
13
13
 
14
- Spawn under Monitor (not Bash with run_in_background Monitor turns each stdout line into a notification):
14
+ 1. **Drain the inbox first.** Call `mcp__patchcord__inbox`. If anything is pending, process it per the patchcord:inbox skill before continuing. Backlog can accumulate while no listener was up; subscribe must catch it.
15
15
 
16
- ```
17
- Monitor(
18
- description: "patchcord realtime listener",
19
- persistent: true,
20
- timeout_ms: 3600000,
21
- command: "exec npx patchcord subscribe"
22
- )
23
- ```
16
+ 2. **Spawn the listener under Monitor** (not Bash with run_in_background — Monitor turns each stdout line into a notification):
24
17
 
25
- `subscribe.mjs` handles its own pidfile guard — if another listener is already active for this agent it exits with code 2 and stderr `already running (pid N)`. Monitor catches the stream-end event; read the output file and report.
18
+ ```
19
+ Monitor(
20
+ description: "patchcord realtime listener",
21
+ persistent: true,
22
+ timeout_ms: 3600000,
23
+ command: "exec npx patchcord subscribe"
24
+ )
25
+ ```
26
26
 
27
- Then one line to the user: *"Patchcord listener active I'll pick up new messages as they arrive."*
27
+ `subscribe.mjs` handles its own pidfile guard if another listener is already active for this agent it exits with code 2 and stderr `already running (pid N)`. Monitor catches the stream-end event; read the output file and report.
28
+
29
+ 3. **Tell the user one line:** *"Patchcord listener active — I'll pick up new messages as they arrive."*
28
30
 
29
31
  # When a notification fires
30
32