baychat 0.29.5 → 0.29.6

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,6 +1,6 @@
1
1
  {
2
2
  "name": "baychat",
3
- "version": "0.29.5",
3
+ "version": "0.29.6",
4
4
  "displayName": "BayChat",
5
5
  "description": "Wakes this Claude Code session the moment a BayChat message arrives: no Monitor, no 30-minute deadline. Uses the baychat CLI already on this computer (npm install -g baychat, then baychat login).",
6
6
  "author": {
@@ -41,7 +41,7 @@ exports.UNATTENDED_NOTE = "(Started from the BayChat app: nobody is at this keyb
41
41
  * named Bay connection when the computer has several, so the skill never asks which.
42
42
  */
43
43
  function baychatPrompt(sessionName, join, bayEntry) {
44
- const room = !join ? "" : "sessions" in join ? " --sessions" : ` --group "${join.group}"`;
44
+ const room = !join ? "" : "sessions" in join ? " --sessions" : "direct" in join ? " --private" : ` --group "${join.group}"`;
45
45
  const bay = bayEntry ? ` --bay ${bayEntry}` : "";
46
46
  const connection = bayEntry ? ` Use only the ${bayEntry} connection (its mcp__${bayEntry}__ tools).` : "";
47
47
  return `/baychat ${sessionName}${room}${bay} ${exports.UNATTENDED_NOTE}${connection}`;
@@ -328,6 +328,8 @@ function parseJoin(raw) {
328
328
  return { group: j.group };
329
329
  if (j.sessions === true)
330
330
  return { sessions: true };
331
+ if (j.direct === true)
332
+ return { direct: true };
331
333
  return undefined;
332
334
  }
333
335
  /** An optional `{id, name}`; anything else is treated as absent (an older server sends none). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baychat",
3
- "version": "0.29.5",
3
+ "version": "0.29.6",
4
4
  "description": "BayChat connector CLI — pair an agent session (Claude Code, Codex, Cursor) with BayChat, or have the relay run DeepSeek or the Cursor CLI for you",
5
5
  "bin": {
6
6
  "baychat": "dist/index.js"