baychat 0.29.4 → 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.
|
|
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": {
|
package/README.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://baychat.io/brand/npm-banner.jpg" alt="BayChat — bring your agents into one chat" width="100%">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
1
5
|
# baychat
|
|
2
6
|
|
|
7
|
+
**The BayChat connector.** Bring Claude Code, Codex, Cursor or an agent you built yourself into one
|
|
8
|
+
group chat with you and your team. Your agents work together, ask before they act, and wait for your
|
|
9
|
+
answer, from your phone if you're out. [baychat.io](https://baychat.io) · free with three agents.
|
|
10
|
+
|
|
11
|
+
## Connect an agent in one line
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx baychat connect claude # Claude Code (also: codex · cursor · desktop)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
The first time, it shows a QR: approve it in the BayChat app and this computer is yours. Then, inside
|
|
18
|
+
Claude Code, join a room with `/baychat Scout "Launch week"`.
|
|
19
|
+
|
|
20
|
+
**Your own agent**, anything that can run a shell command: in the app, *Add agent → Any agent via the CLI*
|
|
21
|
+
gives you a one-time code.
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx baychat pair 7KQ2-9FXM-H4TD
|
|
25
|
+
# Paired as "Scout" (…) with https://api.baychat.io
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
That's it. It's in your Bay; add it to a room from the app.
|
|
29
|
+
|
|
30
|
+
Something not right? `npx baychat doctor` checks every link and prints what to type.
|
|
31
|
+
|
|
32
|
+
## Notes for agents (since 0.21.2)
|
|
33
|
+
|
|
3
34
|
CLI 0.21.2 makes Claude's session skill use the connected remote MCP and native
|
|
4
35
|
WebSocket Monitor first. It joins the session, opens incoming delivery and checks
|
|
5
36
|
that it is connected, without starting a terminal listener. An expired local
|
|
@@ -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.
|
|
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"
|