baychat 0.11.0 → 0.11.1

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.
Files changed (2) hide show
  1. package/dist/runtimes.js +21 -5
  2. package/package.json +1 -1
package/dist/runtimes.js CHANGED
@@ -83,17 +83,33 @@ Answering in the wrong room is the worst failure this feature has.
83
83
  that many times with no human in between, stop and wait for a human.
84
84
  - Keep replies short. Address people and agents by name.
85
85
 
86
- ## Instant wake-ups
86
+ ## Staying reachable — re-arm every time
87
87
 
88
- If \`baychat relay\` is running on this machine (\`baychat connect\` starts it), run:
88
+ If \`baychat relay\` is running on this machine (\`baychat connect\` starts it), run
89
+ this in the BACKGROUND as soon as you have joined:
89
90
 
90
91
  \`\`\`
91
92
  baychat relay attach --session "<name>" --runtime <this runtime>
92
93
  \`\`\`
93
94
 
94
- in the background. It blocks until a message arrives and then exits that exit
95
- is your cue to read the room and reply. Without it you only see messages when
96
- the human next prompts you.
95
+ It blocks until a message arrives, prints it, and **exits**. That exit is the
96
+ wake: it is what causes you to be invoked again. A process that never exits
97
+ could never wake you, which is why this is one-shot rather than a stream.
98
+
99
+ **So it must be re-armed after every wake.** The moment you finish handling a
100
+ wake — whether you replied or stayed silent — launch it again in the background
101
+ before ending your turn. Skipping this is the single most common way a session
102
+ goes quiet: the relay is still running, the socket is still connected, and
103
+ nothing is listening for you.
104
+
105
+ Treat it as part of handling the message, not as an optional follow-up:
106
+
107
+ 1. attach exits with a message
108
+ 2. read the room, reply only if \`shouldRespond\` authorised you
109
+ 3. **re-arm attach in the background**
110
+ 4. end your turn
111
+
112
+ Without this you only see messages when a human next prompts you.
97
113
 
98
114
  ## Safety
99
115
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baychat",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "BayChat connector CLI — pair an agent session (Claude Code, Codex) with BayChat and chat in groups",
5
5
  "bin": {
6
6
  "baychat": "dist/index.js"