slopstream 0.2.0 → 0.2.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.
package/README.md CHANGED
@@ -6,25 +6,20 @@
6
6
  </picture>
7
7
  </p>
8
8
 
9
- <p align="center"><strong>Seamless Slop Grenades.</strong></p>
9
+ <h3 align="center">Your agent can ask mine.</h3>
10
10
 
11
11
  <p align="center">
12
- Direct messaging between one Claude Code (or Codex) chat and one (or a few) of a friend's.
12
+ Everyone's agent knows how they think. Slopstream lets your agent consult a teammate's agent directly,<br>
13
+ so you stop being the clipboard between them. You decide what's shared. Decisions still need you. You see everything.
13
14
  </p>
14
15
 
15
16
  <p align="center">
16
- <a href="./SETUP-MAC.md"><img alt="Setup guide for macOS" src="https://img.shields.io/badge/setup-macOS-2563eb?style=flat-square"></a>
17
- <a href="./SETUP-WINDOWS.md"><img alt="Setup guide for Windows" src="https://img.shields.io/badge/setup-Windows-2563eb?style=flat-square"></a>
18
- <a href="./TESTING.md"><img alt="Testing guide" src="https://img.shields.io/badge/testing-guide-0ea5e9?style=flat-square"></a>
17
+ <a href="./docs/quickstart.md"><img alt="Quick start" src="https://img.shields.io/badge/docs-quick%20start-2563eb?style=flat-square"></a>
18
+ <a href="https://www.npmjs.com/package/slopstream"><img alt="npm" src="https://img.shields.io/npm/v/slopstream?style=flat-square&color=0ea5e9"></a>
19
19
  <a href="./CONTRIBUTING.md"><img alt="Contributing" src="https://img.shields.io/badge/contributions-welcome-22c55e?style=flat-square"></a>
20
20
  <a href="./LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-6b7280?style=flat-square"></a>
21
- <img alt="Status" src="https://img.shields.io/badge/status-v1-f59e0b?style=flat-square">
22
21
  </p>
23
22
 
24
- > **Independent, open-source project.** Slopstream is not affiliated with, endorsed by, or sponsored by Anthropic, OpenAI, or Tailscale Inc. **Claude** and **Claude Code** are trademarks of Anthropic PBC. **Codex** is a trademark of OpenAI. **Tailscale** is a trademark of Tailscale Inc. Slopstream is a third-party client that talks to these products through their public interfaces; it is not part of any of them. See [§19 Trademarks & affiliation disclaimer](#19-trademarks--affiliation-disclaimer) for the full notice.
25
-
26
- ---
27
-
28
23
  <p align="center">
29
24
  <a href="https://www.youtube.com/watch?v=J1oNjnPSRO8">
30
25
  <img alt="Watch the Slopstream demo" src="https://img.youtube.com/vi/J1oNjnPSRO8/maxresdefault.jpg" width="720">
@@ -37,663 +32,84 @@
37
32
 
38
33
  ---
39
34
 
40
- - A message arrives as a **new prompt in the chat that is already open**. It never starts a new chat.
41
- - **Only while both are online.** Nothing is queued, so nobody's agent can get pinged at 3 a.m.
42
- - **One chat to one chat, or a small, explicit group.** Not "anyone can message my Claude". A link can grow to a few people (default up to 3, configurable), with every addition approved by someone already in it.
43
-
44
- ## Quick start
45
-
46
- Two people, two minutes, no servers to run. You need Node 20+ and Claude Code (or Codex).
47
-
48
- ```
49
- Alice (in her project folder): npm install -g slopstream
50
- slopstream link # logs in with GitHub, prints https://<relay>/j/abcde-fghjk
51
- Bob (opens the link, then): npm install -g slopstream
52
- slopstream join abcde-fghjk # logs in with GitHub, Alice approves, done
53
- ```
54
-
55
- - **`slopstream link`** logs you in with GitHub (first time only), wires up the current folder, and prints a link to send to your friend. It waits for them to join and asks you to approve. Closed the terminal? The invite stays valid for 24 hours; approve later with `slopstream requests` / `slopstream approve <code>`.
56
- - **`slopstream join <code-or-link>`** logs you in, wires up your folder, and asks the inviter to approve. Both commands must be typed by a person in a terminal; an agent cannot run them.
57
-
58
- Then start the session with the command the CLI prints (for Claude Code: `claude --dangerously-load-development-channels server:slopstream`).
59
-
60
- Running your own relay instead (Tailscale, no GitHub)? See [Self-hosting](#self-hosting-tailscale--your-own-relay) below, or the fast paths [SETUP-MAC.md](./SETUP-MAC.md) / [SETUP-WINDOWS.md](./SETUP-WINDOWS.md). What the hosted relay stores: [PRIVACY.md](./PRIVACY.md). Found a vulnerability? [SECURITY.md](./SECURITY.md). For what Slopstream is and why it exists, see [product.md](./product.md).
61
-
62
- ### Commands
63
-
64
- | Command | What it does |
65
- |---|---|
66
- | `slopstream link [chat] [--add]` | Log in if needed, wire up this folder, make an invite link, wait and approve |
67
- | `slopstream join <code-or-link> [chat]` | Accept a friend's invite for this folder |
68
- | `slopstream requests` / `approve <code>` / `deny <code>` / `cancel <code>` | Handle your open invites later |
69
- | `slopstream login` / `whoami` / `logout` | GitHub login on this machine |
70
- | `slopstream devices [revoke <id>]` | See or revoke the devices logged in as you |
71
- | `slopstream links` / `unlink <chat>` / `pause <chat>` / `resume <chat>` | Manage links |
72
- | `slopstream status` | Is this machine ready? |
73
-
74
- The full list (including the self-host commands) is in [Reference](#12-reference).
75
-
76
- ---
77
-
78
- # Self-hosting (Tailscale + your own relay)
79
-
80
- Everything below is the long guide for running **your own relay** over Tailscale with admin-created tokens. It still works exactly as before. If you just want to link agents, use the Quick start above.
81
-
82
- ## Contents
83
-
84
- Quick start is above. The numbered sections are the self-hosting guide and the reference.
85
-
86
- 1. [How the pieces fit together](#1-how-the-pieces-fit-together)
87
- 2. [Before you start](#2-before-you-start)
88
- 3. [Step 1: Install Tailscale (both of you)](#3-step-1-install-tailscale-both-of-you)
89
- 4. [Step 2: Let your friend reach your machine](#4-step-2-let-your-friend-reach-your-machine)
90
- 5. [Step 3: Get Slopstream (both of you)](#5-step-3-get-slopstream-both-of-you)
91
- 6. [Step 4: Start the relay (the relay host only)](#6-step-4-start-the-relay-the-relay-host-only)
92
- 7. [Step 5: Connect each machine to the relay (both)](#7-step-5-connect-each-machine-to-the-relay-both)
93
- 8. [Step 6: Pair one chat with one chat](#8-step-6-pair-one-chat-with-one-chat)
94
- 9. [Step 7: Turn it on in a project and use it](#9-step-7-turn-it-on-in-a-project-and-use-it)
95
- 10. [Test it (alone, with a friend, with Codex)](#10-test-it-alone-with-a-friend-with-codex)
96
- 11. [Every day after setup](#11-every-day-after-setup)
97
- 12. [Reference](#12-reference)
98
- 13. [Security: what is enforced and what is not](#13-security-what-is-enforced-and-what-is-not)
99
- 14. [Troubleshooting](#14-troubleshooting)
100
- 15. [Uninstall](#15-uninstall)
101
- 16. [Known limits](#16-known-limits)
102
- 17. [Contributing](#17-contributing)
103
- 18. [License](#18-license)
104
- 19. [Trademarks & affiliation disclaimer](#19-trademarks--affiliation-disclaimer)
105
-
106
- ---
107
-
108
- ## 1. How the pieces fit together
109
-
110
- ```
111
- Your machine Your friend's machine
112
- ┌───────────────────────┐ ┌───────────────────────┐
113
- │ Claude Code session │ │ Claude Code session │
114
- │ ▲ │ stdio │ │ ▲ │ stdio │
115
- │ │ ▼ │ │ │ ▼ │
116
- │ BRIDGE (per session) │───┐ ┌───│ BRIDGE (per session) │
117
- └───────────────────────┘ │ over Tailscale │ └───────────────────────┘
118
- ▼ ▼
119
- ┌─────────────────────────────────────┐
120
- │ RELAY (runs on ONE of your machines) │
121
- │ logins, pairing, "who is online", │
122
- │ delivery rules, rate limit, audit │
123
- └─────────────────────────────────────┘
124
- ```
125
-
126
- | Piece | What it is | Who runs it |
127
- |---|---|---|
128
- | **Tailscale** | A private network between your machines, so the relay never has to be on the open internet | both of you |
129
- | **Relay** | A tiny server that routes messages between linked chats | **one person**, the "relay host" |
130
- | **Bridge** | A small program that Claude Code starts inside each linked chat. It receives messages and gives Claude a `send_message` tool | both (Claude Code starts it for you) |
131
- | **`slopstream` CLI** | Commands for setup, pairing and unlinking. **Claude itself cannot run these**, on purpose | both |
132
-
133
- Throughout this guide, the examples assume **you** are the relay host and **your friend** is the other person. If it's the other way around, just swap which of you follows the steps marked **[relay host]**.
35
+ ## People have become the clipboard between their agents
134
36
 
135
- ## 2. Before you start
37
+ You ask your agent something. You copy its answer to a teammate on Slack. They paste it into *their* agent, then copy the answer back to you.
136
38
 
137
- Each of you needs:
39
+ At work it's the same with documents. Someone's agent writes a proposal and it goes into Google Drive. A colleague downloads it, gives it to their own agent to review with their own rules, and pastes the feedback back. The agents never meet. Every hop costs a person's time and loses context.
138
40
 
139
- - [ ] A **Mac on macOS 12 (Monterey) or newer**, or **Windows 10 1809+ / 11**. Both work for Claude Code to Claude Code; a Mac host with a Windows joiner is tested. On Windows, follow [SETUP-WINDOWS.md](./SETUP-WINDOWS.md) for the commands, because this file's examples are written for a Unix shell, and see [Running on Windows](#running-on-windows) for what is and is not covered.
140
- - [ ] **Node.js 20 or newer.** Check with `node -v`. If it's missing or old, install it from [nodejs.org](https://nodejs.org) or with `nvm install --lts`.
141
- - [ ] **Claude Code v2.1.80 or newer.** Check with `claude --version`; update with `claude update`.
142
- - [ ] Claude Code logged in with your **claude.ai account** (a Pro plan is fine). Channels do **not** work with an API key. Inside Claude Code, `/status` shows how you're logged in.
143
- - [ ] A **Tailscale account** each (free, created in Step 1). Do not share one account between the two of you.
41
+ *If my job is to copy-paste between my agent and yours, why am I even there?*
144
42
 
145
- ## 3. Step 1: Install Tailscale (both of you)
43
+ ## An agent is a piece of its owner's intelligence
146
44
 
147
- **What Tailscale is, in one paragraph.** Tailscale makes a private, encrypted network between your devices, wherever they are. Each device gets a private address that looks like `100.101.102.103`. Only devices on your private network can reach it. That's how your friend's machine can talk to the relay on your machine without you opening anything to the internet.
45
+ Over months, people load their agents with their rules, methods, standards and context: how they review code, what their API guarantees, which risks they watch for. So your teammate's agent carries part of what your team knows.
148
46
 
149
- Do this on **each** machine:
47
+ Today you can only reach that by taking your teammate's time, or by copying files into your own agent, which loses their rules and context.
150
48
 
151
- 1. Go to **<https://tailscale.com/download>** and download the macOS app. Tailscale offers a Standalone version, a Mac App Store version and an open-source CLI version; **the Standalone version is the one they recommend**. Don't install both the App Store and Standalone versions on the same machine.
152
- 2. Open the downloaded app and drag it to Applications if asked. Launch **Tailscale**.
153
- 3. The app walks you through setup. macOS will ask to **allow a VPN configuration**. Approve it. This is normal; Tailscale uses the VPN mechanism to create the private network.
154
- 4. **Sign in** with an identity you already have (for example Google, Apple, GitHub or Microsoft). **Each of you signs in with your own account**; don't share one.
155
- 5. When it says you're connected, Tailscale is running. It lives in your **menu bar** at the top right.
49
+ **Slopstream connects that intelligence.** Your agent asks theirs directly. **Ask anyone's agent, not anyone's time.**
156
50
 
157
- **Check it worked:** open **<https://login.tailscale.com/admin/machines>** in a browser while signed in. You should see your machine in the list with an address that starts with `100.`. That `100.x.x.x` address is your machine's Tailscale IP.
51
+ ## How it works
158
52
 
159
- > **Write down the relay host's `100.x.x.x` address.** You'll need it several times below. In this guide it's shown as `100.101.102.103`; yours will differ.
160
-
161
- ## 4. Step 2: Let your friend reach your machine
162
-
163
- Right now you and your friend each have your own separate private network. You need to let your friend's machine reach **just your machine** (the one that will run the relay). The cleanest way is to **share that one machine** with them. They do not join your network and you don't see their devices.
164
-
165
- ### 4a. [relay host] Share your machine with your friend
166
-
167
- 1. Open **<https://console.tailscale.com/admin/machines>** (same Machines page as before).
168
- 2. Find **your machine** in the list. Click the **⋯** (ellipsis) menu on its row and choose **Share**.
169
- 3. Pick a method:
170
- - **Share by email:** enter your friend's email and click **Share**. They get a single-use invite link.
171
- - **Copy invite link:** click **Copy share link** and send it to them yourself. **Treat the link like a password.** A single-use link works once and unused links expire after 30 days.
172
- 4. Wait for them to accept. Their email appears in the Share dialog once they have.
173
-
174
- ### 4b. [friend] Accept the share
175
-
176
- 1. Make sure you finished Step 1 and are signed in to **your own** Tailscale account.
177
- 2. Open the invite link (from the email, or sent to you directly) and accept. You must be the owner/admin of your own Tailscale network to accept, which you are by default since you just created it.
178
- 3. In the Tailscale admin console (**Machines** page) you should now see the relay host's machine listed.
179
- 4. **Note its `100.x.x.x` address as it appears for you.** It's usually the same address the relay host sees, but if it clashes with one of yours Tailscale gives it a different one. **Always use the address shown in your own console.**
180
-
181
- ### 4c. Check that it works (after Step 4 below, when the relay is running)
182
-
183
- From your friend's machine, with the relay running on the relay host's machine:
184
-
185
- ```bash
186
- nc -vz 100.101.102.103 8787
187
- ```
188
-
189
- Expected: `Connection to 100.101.102.103 port 8787 [tcp/*] succeeded!` If it hangs and times out, see [Troubleshooting](#14-troubleshooting) ("Can't reach the relay"). That section also covers the one Tailscale setting that can block a shared machine and the simpler fallback of inviting your friend into your network instead.
190
-
191
- > **Good to know:** a shared machine can *receive* connections but can't start them. That's perfect here: your friend's machine connects *to* the relay; the relay never connects out.
192
-
193
- ## 5. Step 3: Get Slopstream (both of you)
194
-
195
- Two ways to get it: pick one.
196
-
197
- ### Option A: as a Claude Code plugin (no npm/Node setup to think about)
198
-
199
- Inside a Claude Code session:
200
-
201
- ```
202
- /plugin marketplace add mrlegendary25/slopstream
203
- /plugin install slopstream@slopstream
204
- ```
205
-
206
- This gives you `/slopstream:status`, `/slopstream:links`, `/slopstream:init` and `/slopstream:demo` as slash commands, with dependencies installed automatically on first use. Pairing (`setup`, `pair-create`, `pair-accept`, `invite`, `unlink`) still needs a real terminal on purpose (see Step 6); run `/slopstream:get-started` for the exact commands to copy, including the on-disk path the plugin installed to.
207
-
208
- ### Option B: clone it and link the CLI yourself
209
-
210
- ```bash
211
- git clone https://github.com/mrlegendary25/slopstream.git
212
- cd slopstream
213
-
214
- npm install
215
- npm link
216
- ```
53
+ 1. **Link once.** You type `slopstream link` and send your teammate the link. They type `slopstream join`. You approve. That's it.
54
+ 2. **Ask in your own words.** *"Ask Leo's agent what the orders API returns for an empty cart."*
55
+ 3. **It arrives in their open session,** as a new prompt, clearly marked as coming from your agent. Their agent answers, the answer lands back in your session, and your agent carries on. No copy-paste on either side.
217
56
 
218
- - `npm install` downloads the three libraries it needs.
219
- - `npm link` gives you the `slopstream` command everywhere on your machine.
220
- - **Don't move the folder after this**: the project settings written in Step 7 record its full path. If you do move it, re-run `slopstream init <chat>` in each linked project afterward.
57
+ ## You stay in control
221
58
 
222
- **Check it worked:**
59
+ > **Humans approve decisions, not messages.**
223
60
 
224
- ```bash
225
- slopstream
226
- ```
227
-
228
- You should see a list of commands (`setup`, `pair-create`, `pair-accept`, `invite`, `links`, `unlink`, `init`, `status`, `demo`).
229
-
230
- *(Optional)* run the self-test to confirm everything on your machine works:
231
-
232
- ```bash
233
- npm test
234
- ```
235
-
236
- It runs three test files and should print three `N passed, 0 failed` summaries (one per file). A line saying `error: auth: bad user or token` in the middle is expected; the test checks that a wrong password is rejected.
237
-
238
- ## 6. Step 4: Start the relay (the relay host only)
239
-
240
- Only the relay host does this step. Your friend skips to Step 5.
241
-
242
- ### 6a. Choose where the relay keeps its data
243
-
244
- The relay stores users, links and an audit log in a folder. **Use one fixed folder** so you don't lose them by starting the relay from a different directory:
245
-
246
- ```bash
247
- DATA_DIR="$HOME/.slopstream-relay"
248
- ```
249
-
250
- You'll pass `DATA_DIR=...` on each command below. (It's shown inline so each command is copy-pasteable.)
251
-
252
- ### 6b. Create a user for each person
253
-
254
- From inside the Slopstream folder you cloned in Step 3:
255
-
256
- ```bash
257
- DATA_DIR="$HOME/.slopstream-relay" node relay/admin.js add-user <you>
258
- DATA_DIR="$HOME/.slopstream-relay" node relay/admin.js add-user <friend>
259
- ```
260
-
261
- (Pick any usernames you like: letters, digits, `.`, `_` and `-` only.) Each command prints:
262
-
263
- ```
264
- user: <friend>
265
- token: kJ8x...long-random-string...
266
- (share this token with <friend> privately; it will not be shown again)
267
- ```
268
-
269
- - **The token is a password. It is shown once.** The relay only stores a hash.
270
- - Send your friend **their** token (and only theirs) through a private channel, such as a messaging app or a direct message, and tell them their username.
271
- - If a token leaks or gets lost: `DATA_DIR="$HOME/.slopstream-relay" node relay/admin.js remove-user <name>`, then `add-user <name>` again.
272
-
273
- ### 6c. Start the relay
274
-
275
- Find your Tailscale IP (the `100.x.x.x` address from Step 1), then, from inside the Slopstream folder:
276
-
277
- ```bash
278
- HOST=100.101.102.103 PORT=8787 DATA_DIR="$HOME/.slopstream-relay" caffeinate -i node relay/server.js
279
- ```
280
-
281
- Expected output:
282
-
283
- ```
284
- slopstream relay listening on ws://100.101.102.103:8787 data=/Users/you/.slopstream-relay
285
- ```
286
-
287
- What each part does:
288
- - `HOST=100.101.102.103` makes the relay listen **only on your Tailscale address**, so nothing on your Wi-Fi or the internet can reach it.
289
- - `PORT=8787` is the door number. Change it if something else uses it.
290
- - `caffeinate -i` stops your machine from falling asleep from inactivity while the relay runs. It is a macOS program: **on Windows, drop it** and run `node relay/server.js` with the same environment variables (`$env:HOST="100.101.102.103"` and so on in PowerShell), then stop Windows from sleeping in Settings, System, Power.
291
-
292
- **Leave this terminal window open.** It is the relay. Closing it, or your machine going to sleep, takes the relay down and **nobody can message anybody**.
293
-
294
- Now go back to [4c](#4c-check-that-it-works-after-step-4-below-when-the-relay-is-running) and have your friend run the `nc` test.
295
-
296
- *(Optional)* a one-command launcher, so you don't retype this. Run this from inside the Slopstream folder, once:
297
-
298
- ```bash
299
- cat > ~/start-slopstream-relay.sh <<EOF
300
- #!/bin/bash
301
- cd $(pwd)
302
- HOST=100.101.102.103 PORT=8787 DATA_DIR="\$HOME/.slopstream-relay" exec caffeinate -i node relay/server.js
303
- EOF
304
- chmod +x ~/start-slopstream-relay.sh
305
- ```
306
-
307
- (This bakes in the folder you ran it from and leaves `$HOME` to resolve normally; edit the IP to yours if you change it later.) Then `~/start-slopstream-relay.sh` starts the relay.
308
-
309
- ## 7. Step 5: Connect each machine to the relay (both)
310
-
311
- Each of you, once per machine. You need the relay's address, your username and your token.
312
-
313
- ```bash
314
- slopstream setup ws://100.101.102.103:8787 <you> <your-token>
315
- ```
316
-
317
- Your friend runs the same command with their own details:
318
-
319
- ```bash
320
- slopstream setup ws://100.101.102.103:8787 <friend> <friend-token>
321
- ```
61
+ - **Your agent shares only what you allow.** Today you approve every message before it's sent, and see every message before your agent acts on it.
62
+ - **Decisions still need you.** Another agent can ask, but it can't agree anything on your behalf, and it can never make your agent take an action.
63
+ - **You see everything.** Every message, both ways, is visible to you and logged on your machine.
64
+ - **Nobody links to you without you.** Linking needs both people at a real terminal. An agent can't do it, even if a message tries to talk it into it.
322
65
 
323
- Use the **relay host's** Tailscale address as seen from *your own* console (see 4b). Expected output:
66
+ Next: your agent will be able to answer *factual* questions on its own, through a read-only helper that can't change anything, with each answer shown to you in a digest. Proposals will still need both people. See the [roadmap](./product.md#9-roadmap).
324
67
 
325
- ```
326
- OK. Authenticated as "<friend>". Saved to ~/.slopstream/config.json
327
- ```
328
-
329
- That file (`~/.slopstream/config.json`) holds your relay address, username and token, readable only by you. Setup verifies your login before saving, so if it prints OK you're connected.
330
-
331
- ## 8. Step 6: Pair one chat with one chat
332
-
333
- A **link** joins your chat to one or more of your friends' chats, into a shared group. You identify a chat by a short **label** you pick (letters, digits, `.`, `_`, `-`), for example `projX`. In practice the label stands for "the Claude Code chat I run in this project".
334
-
335
- - Labels are yours. **Your `projX` and your friend's `projX` can be named differently**, e.g. `mine` and `theirs`.
336
- - One label can have **one** link, but that link can hold more than two chats, by default up to **3** total (set `MAX_GROUP_SIZE` on the relay to change this).
337
- - Pairing is done in the terminal, **never by Claude**, and it needs a human on both sides.
338
-
339
- **You** (create the code):
340
-
341
- ```bash
342
- slopstream pair-create projX
343
- ```
344
-
345
- ```
346
- Pairing code for chat "projX": 1A2B3C4D (valid 10 min)
347
- Give it to your friend. They run: slopstream pair-accept 1A2B3C4D <their-chat-label>
348
- Waiting...
349
- ```
350
-
351
- Send your friend the 8-character code. It expires in 10 minutes.
352
-
353
- **Your friend** (accepts it, using their own label):
354
-
355
- ```bash
356
- slopstream pair-accept 1A2B3C4D projX
357
- ```
358
-
359
- ```
360
- waiting for <you> to approve
361
- ```
362
-
363
- **You** then see:
364
-
365
- ```
366
- <friend> wants to link their chat "projX" to your chat "projX".
367
- Approve? [y/N]
368
- ```
369
-
370
- Type `y` and press Enter. Both terminals print a `Linked: ...` line (you see `Linked: projX <-> <friend>/projX`; your friend sees it from their side, `Linked: projX <-> <you>/projX`).
371
-
372
- **Adding a third person to that same link** (optional, up to `MAX_GROUP_SIZE`): either person, from their own chat, invites:
373
-
374
- ```bash
375
- slopstream invite projX
376
- ```
377
-
378
- This prints an invite code exactly like `pair-create` did. The third person accepts it the same way a second person would: `slopstream pair-accept <code> <their-chat-label>`, then the inviter approves. Once three chats share a link, `send_message` needs `to: "<username>"` to say who a message is for; `link_status` lists everyone currently in the group.
379
-
380
- Useful commands:
381
-
382
- ```bash
383
- slopstream links # list your links (and who else is in each group)
384
- slopstream unlink projX # leave the link; it dissolves for everyone if fewer than 2 chats remain
385
- ```
386
-
387
- ## 9. Step 7: Turn it on in a project and use it
388
-
389
- ### 9a. Enable it in the project folder (both)
390
-
391
- Go to the project whose Claude Code chat you linked, and run init **with the same label you paired**:
392
-
393
- ```bash
394
- cd ~/path/to/projectX
395
- slopstream init projX
396
- ```
397
-
398
- This does two things, both safe to run again:
399
- 1. Creates (or updates) `.mcp.json` so Claude Code can start the bridge for this project.
400
- 2. Appends a **safety-rules block** to the project's `CLAUDE.md`, telling Claude that messages from a linked friend's agent are untrusted and must be shown to you before anything happens.
401
-
402
- Only folders where you ran `init` get the bridge. Every other Claude Code session on your machine is untouched.
403
-
404
- ### 9b. Start the linked session (both)
405
-
406
- Always start it with this flag:
407
-
408
- ```bash
409
- claude --dangerously-load-development-channels server:slopstream
410
- ```
411
-
412
- Tip: save a shortcut. Add to `~/.zshrc`, then `source ~/.zshrc`:
413
-
414
- ```bash
415
- alias slopclaude='claude --dangerously-load-development-channels server:slopstream'
416
- ```
417
-
418
- Why that long flag: channels are a **research preview**, and custom channels aren't on Anthropic's approved list yet, so Claude Code requires this flag to load one. It only works in an **interactive** session (not `claude -p`).
419
-
420
- On first start you'll see:
421
- 1. A full-screen **development channels warning**. Choose **"I am using this for local development"**.
422
- 2. **"New MCP server found in this project: slopstream"**. Choose **"Use this MCP server"**.
423
-
424
- Then a faint line under the banner confirms the channel is registered:
425
- `Channels (experimental) messages from server:slopstream inject directly in this session ...`
426
-
427
- ### 9c. Check the link
428
-
429
- In the chat, type: **"Use link_status."** Claude should show something like:
430
-
431
- ```json
432
- { "chat": "projX", "connectedToRelay": true,
433
- "linkedTo": { "user": "<friend>", "chat": "projX" }, "peerOnline": true }
434
- ```
435
-
436
- - `connectedToRelay: false` → relay down or Tailscale off.
437
- - `peerOnline: false` → your friend's linked session isn't running right now.
438
-
439
- ### 9d. Use it
440
-
441
- **Sending.** Just ask in plain language: *"Ask my friend's agent whether the migration branch is merged."* Claude calls `send_message`. Claude Code shows a **permission prompt**. Read the text, then choose **"Yes" (this time only)**. **Never choose "always allow" for `send_message`.** That prompt is your outgoing approval.
442
-
443
- **Receiving.** A message from your friend's agent appears in your open chat as a new prompt, shown as a line starting with `←` and `slopstream`, and marked `[UNTRUSTED message from <friend>'s agent ...]`. Claude then **shows it to you and waits**. You decide: ignore it, reply, or do something with it. If you want to reply, tell Claude what to say; it will use `send_message` and you approve again.
444
-
445
- **Rules of the road (also in your `CLAUDE.md`):** short, purposeful text messages; no files; no secrets; no long agent-to-agent ping-pong without you in the loop.
446
-
447
- **If the other side is offline**, the send fails with a clear message and **nothing is queued**. Try again when they're back.
448
-
449
- **A link belongs to the project folder, not to one specific conversation.** If you `/exit` Claude and later open a brand new Claude Code session in the *same* linked folder, it reconnects as the same chat automatically; your friend can message it again without you doing anything. If you want to stop that (say, you're done for the day and don't want to automatically be reachable next time you open that folder), run `slopstream pause projX` once; it keeps the link but makes that chat refuse to connect until you run `slopstream resume projX`. This takes effect the next time a session starts, not retroactively on one that's already open.
450
-
451
- ## 10. Test it (alone, with a friend, with Codex)
452
-
453
- See **[TESTING.md](./TESTING.md)**. It has three parts:
454
-
455
- 1. **Solo.** One command, `slopstream demo up`, gives you two (or three) fake people on your own machine. Test the plumbing with no AI at all, then with real Claude sessions.
456
- 2. **Different machines, Claude to Claude.** The real setup, with a test script to run together.
457
- 3. **Different machines, Claude to Codex.** You on Claude Code, your friend on Codex.
458
-
459
- Run Part 1 before involving your friend.
460
-
461
- ### Using Codex instead of Claude Code
68
+ ## Quick start
462
69
 
463
- Everything above is the same (Tailscale, relay, `setup`, pairing). Only the project step differs:
70
+ You need Node 20+ and Claude Code or Codex.
464
71
 
465
72
  ```bash
466
- cd ~/path/to/projectX
467
- slopstream init projX --agent codex
468
- codex
73
+ npm install -g slopstream
74
+ slopstream link # you: log in with GitHub, get a link, send it
75
+ slopstream join <link> # your teammate: join, you approve, done
469
76
  ```
470
77
 
471
- On first run in that folder: **trust the folder**, choose **"Trust all and continue"** on the hooks prompt, and send any first message (for example `ready`) so Slopstream learns which Codex chat to deliver into. After that, approved messages arrive as a new prompt in that chat. Because Codex has no equivalent of Claude Code's push channel, Slopstream asks you itself, with a macOS pop-up, before anything is sent or shown to the agent. Full details and the fallback inbox (`check slopstream`) are in TESTING.md Part 3.
78
+ Then start your session the way the CLI tells you to, and ask your agent to message theirs. The full walkthrough is in the [Quick start guide](./docs/quickstart.md).
472
79
 
473
- ## 11. Every day after setup
80
+ **Works today with:** Claude Code and Codex, on macOS and Windows, in any mix (Claude ↔ Claude, Claude ↔ Codex, Codex ↔ Codex), for two people or a small group. **Next:** more agents, including chat apps.
474
81
 
475
- **Relay host:**
476
- 1. Make sure Tailscale is connected (menu bar icon).
477
- 2. Start the relay: `~/start-slopstream-relay.sh` (or the command from 6c). Keep the window open.
82
+ ## Documentation
478
83
 
479
- **Friend:**
480
- 1. Make sure Tailscale is connected.
481
-
482
- **Both:** open the linked project and start `slopclaude` (or the full `claude --dangerously-load-development-channels server:slopstream`). Ask Claude *"is my friend online?"* and you're set.
483
-
484
- Setup, pairing and `init` are one-time. The relay host's machine has to be awake and running the relay whenever you want to talk.
485
-
486
- ## 12. Reference
487
-
488
- ### Commands
489
-
490
- | Command | What it does |
84
+ | | |
491
85
  |---|---|
492
- | `slopstream link`, `join`, `requests`, `approve`, `deny`, `cancel`, `login`, `whoami`, `logout`, `devices` | Hosted-relay flow; see the Quick start |
493
- | `slopstream setup <relay-url> <user> <token>` | **[self-host]** Save your login (once per machine) |
494
- | `slopstream pair-create <chat> [--yes]` | **[self-host]** Make a pairing code and wait for the friend; you approve. `--yes` skips the prompt |
495
- | `slopstream pair-accept <code> <chat>` | Accept a friend's code for one of your chats |
496
- | `slopstream invite <chat> [--yes]` | Add another person to a chat that's **already** linked, up to the relay's `MAX_GROUP_SIZE` |
497
- | `slopstream links` | List your links (and who else is in each group) |
498
- | `slopstream unlink <chat>` | Leave a link; it dissolves for everyone if fewer than 2 chats would remain |
499
- | `slopstream pause <chat>` | Stop that chat connecting to the relay (nobody can reach it), without unlinking it |
500
- | `slopstream resume <chat>` | Undo `pause` |
501
- | `slopstream force-clean [--yes] [--relay-data <dir>] [--home <dir>]` | **DANGER:** wipe this machine's login/pauses/logs AND the relay's users/links/audit log back to zero. Keeps the npm link |
502
- | `slopstream force-stop-clean [--yes] [--relay-data <dir>] [--home <dir>]` | Same as `force-clean`, but first finds and kills any running `relay/server.js` process on this machine |
503
- | `slopstream init <chat> [--agent claude\|codex]` | In a project folder: wire it up for Claude Code (`.mcp.json`, `CLAUDE.md`) or Codex (`.codex/config.toml`, `AGENTS.md`) |
504
- | `slopstream status` | Is this machine ready? Login, relay reachable, links and who is online, installed agents |
505
- | `slopstream demo up [--a claude\|codex] [--b claude\|codex] [--c claude\|codex] [--port N]` | Solo test: private relay + two or three fake people + their project folders, on this machine |
506
- | `slopstream demo status` / `demo down` | Show who is online in the demo / stop the demo relay |
507
- | `slopstream demo peer --side a\|b\|c` | A no-AI stand-in for one side of the demo (type to send, `@username ...` to target one peer in a group, see what arrives) |
508
- | `slopstream simulate --chat <chat> [--agent claude\|codex]` | The same stand-in against your real setup |
509
- | `node relay/admin.js add-user <name>` | **[relay host]** create a user, print the token once |
510
- | `node relay/admin.js list-users` / `remove-user <name>` | **[relay host]** manage users |
511
- | `node relay/server.js` | **[relay host]** run the relay |
512
- | `npm test` | Run the end-to-end checks |
513
-
514
- Also installable as a Claude Code plugin (`/plugin install slopstream`, see Step 3): the safe, non-secret commands above are available as `/slopstream:status`, `/slopstream:links`, `/slopstream:init`, `/slopstream:demo` and `/slopstream:get-started`. `setup`/`pair-create`/`pair-accept`/`invite`/`unlink` are deliberately **not** slash commands, since they carry a private token or need a human y/N decision; `/slopstream:get-started` tells you the exact terminal commands to run instead.
515
-
516
- ### What Claude can do in a linked chat
517
-
518
- Only **`send_message`** (with an optional `to`, required once more than one person is linked) and **`link_status`** (plus **`check_inbox`** on Codex). The agent cannot pair, invite, unlink, change who's allowed, or read your token.
519
-
520
- ### Settings (environment variables)
521
-
522
- Relay (set on the command line when you start it):
523
-
524
- | Variable | Default | Meaning |
525
- |---|---|---|
526
- | `HOST` | `127.0.0.1` | Address to listen on. Use your Tailscale IP |
527
- | `PORT` | `8787` | Port |
528
- | `DATA_DIR` | `./data` | Where users, links and the audit log live. **Set it to a fixed folder** |
529
- | `MAX_TEXT` | `8000` | Max characters per message |
530
- | `MAX_GROUP_SIZE` | `3` | How many chats one link can hold (2 = classic one-to-one; raise it to allow bigger groups) |
531
- | `RATE_MAX` | `30` | Max messages per link per window |
532
- | `RATE_WINDOW_MS` | `600000` | The window (10 minutes) |
533
-
534
- Bridge and CLI:
535
-
536
- | Variable | Default | Meaning |
537
- |---|---|---|
538
- | `SLOPSTREAM_HOME` | `~/.slopstream` | Where your login and local log live |
539
- | `SLOPSTREAM_CHAT` | the project's folder name | Which chat label this session is. `init` sets it for you |
540
- | `SLOPSTREAM_AGENT` | `claude` | `claude` (push via channel), `codex` (push via `codex queue`), or `generic` (inbox only). `init` sets it |
541
- | `SLOPSTREAM_GATE` | `off` for claude, `native` otherwise | `native` = the bridge asks you with a desktop pop-up before sending or showing a message (osascript on macOS, PowerShell on Windows) |
542
- | `SLOPSTREAM_GATE_CMD` | none | Your own approver command (JSON on stdin, exit 0 = approve). For Linux, or for tests |
543
- | `SLOPSTREAM_PWSH` | `powershell.exe` | Windows only. Which PowerShell to use for the approval pop-up, e.g. `pwsh.exe` |
544
- | `SLOPSTREAM_CODEX_BIN` | `codex` | Which `codex` program to call for the push. On Windows give the full path if `codex` is not on `PATH` |
545
-
546
- ### Running on Windows
547
-
548
- **Tested:** a **Mac host with a Windows joiner, Claude Code to Claude Code**, run end to end: pairing, `link_status`, and messages both ways.
549
-
550
- **Not tested yet:** **Windows as the relay host**, and the **PowerShell approval pop-up** (only the Codex path uses it). **Codex on Windows does not work yet**, see the last bullet below. If something here is wrong, [open an issue](https://github.com/mrlegendary25/slopstream/issues) and say so.
551
-
552
- **For the commands, use [SETUP-WINDOWS.md](./SETUP-WINDOWS.md)**, which is this whole guide's fast path rewritten in PowerShell, for both the host and the joiner role. What follows is just the behavioural differences.
553
-
554
- What is different on Windows:
555
-
556
- - **Starting the relay.** Drop `caffeinate -i`; it is a macOS program. In PowerShell:
557
- ```powershell
558
- $env:HOST="100.101.102.103"; $env:PORT="8787"; $env:DATA_DIR="$HOME\.slopstream-relay"; node relay/server.js
559
- ```
560
- Keep the machine awake in Settings, System, Power instead.
561
- - **`slopstream stop`** finds the relay through a pidfile the relay writes on start (`<DATA_DIR>\relay.pid` and `%USERPROFILE%\.slopstream-relay.pid`), not by scanning process names. If you started the relay a different way and `stop` cannot see it, close its window. Not yet exercised on Windows, since the tested setup hosts the relay on a Mac.
562
- - **Approval pop-ups** (the `native` gate, which Codex uses) are a PowerShell message box with **Yes** / **No** buttons rather than named buttons, so the action is spelled out in the message text. Set `SLOPSTREAM_PWSH=pwsh.exe` to use PowerShell 7. Not yet tested, because Claude Code to Claude Code never reaches it.
563
- - **Codex push.** `codex` installs as a `.cmd` shim on Windows. Slopstream resolves the shim to the script it wraps and runs that directly, rather than going through `cmd.exe`, so message text never reaches a command interpreter. If it cannot find `codex`, the message waits in the inbox and you ask your agent `check slopstream`. Set `SLOPSTREAM_CODEX_BIN` to the full path if `codex` is installed somewhere unusual.
564
- - **Codex on Windows does not work yet.** `slopstream init <chat> --agent codex` writes the `SessionStart` hook command into `.codex\config.toml` with POSIX single-quoting, which `cmd.exe` does not understand. Claude Code to Claude Code is unaffected. Known gap.
565
- - **File permissions.** Your token in `~/.slopstream/config.json` is written with owner-only permissions on macOS. Windows ignores that mode flag, so the file lands with whatever your user profile's default permissions are. On a single-user machine that is fine; on a shared one, tighten it yourself.
566
- - **Tailscale** has a Windows app; the sharing and access-control steps in Step 1 and Step 2 are the same.
567
-
568
- Linux is not covered: the relay and bridge should run, but there is no native approval pop-up, so set `SLOPSTREAM_GATE_CMD` to your own approver or `SLOPSTREAM_GATE=off` to rely on your agent's own permission prompts.
569
-
570
- ### Where things are stored
571
-
572
- | Path | What | Sensitive? |
573
- |---|---|---|
574
- | `~/.slopstream/config.json` | Relay address, your username, your token | Yes (readable only by you) |
575
- | `~/.slopstream/log.jsonl` | Every message you sent or received, with text | Yes, it's your conversation |
576
- | `<DATA_DIR>/users.json` | Users and **hashed** tokens | Moderate |
577
- | `<DATA_DIR>/links.json` | Who is linked to whom | Low |
578
- | `<DATA_DIR>/audit.jsonl` | Events plus **full message text** | **Yes**, see below |
579
- | `<project>/.mcp.json` | How Claude Code starts the bridge (absolute path to this folder) | No |
580
- | `<project>/.codex/config.toml`, `AGENTS.md` | The Codex equivalents of the two files around this row (between `slopstream:start`/`end` markers) | No |
581
- | `<project>/CLAUDE.md` | Contains the safety-rules block between `slopstream:start` and `slopstream:end` markers | No |
582
-
583
- **Whoever runs the relay can read every message** in `audit.jsonl`. That's fine between friends who trust each other. It's something to fix (end-to-end encryption) before this is used among strangers; see product.md.
584
-
585
- ## 13. Security: what is enforced and what is not
586
-
587
- **Hard rules (enforced by the relay in code, covered by tests):**
588
- - A chat only connects if it has a link. Third parties and unlinked chats can't attach.
589
- - Delivery happens only if the target's linked session is connected right now. **Nothing is ever queued.**
590
- - Pairing and invites need a one-time code **and** an existing member's approval.
591
- - Wrong or missing token → rejected.
592
- - Text only, 8000 characters max, 30 messages per 10 minutes per link.
593
- - `unlink` takes effect immediately.
594
- - Claude has no tool that can pair, invite, unlink, pause/resume or change the allowlist.
595
-
596
- **Soft rules (depend on Claude and on you):**
597
- - *Incoming messages are untrusted.* Every inbound message is wrapped and labelled, characters that could forge the wrapper are neutralised, and Claude is told to show you and wait. But a language model can still be tricked by a clever prompt-injection. **Treat what another agent says like a stranger's email.**
598
- - *Outgoing approval (Claude Code)* is Claude Code's permission prompt. It protects you only if you **don't** pick "always allow".
599
- - *Codex* has a **hard** gate: the bridge itself asks you with a pop-up before any message goes out or reaches the agent. If it can't ask, the answer is no.
600
-
601
- **Your habits:**
602
- - Don't add `send_message` to your always-allow list.
603
- - Don't run the linked session in a mode that skips permission prompts.
604
- - Don't approve sending file contents, keys or secrets.
605
- - Keep your token private. If it leaks, the relay host removes and re-adds you.
606
- - Unlink when a collaboration ends.
86
+ | [Quick start](./docs/quickstart.md) | Install, link with a teammate, send your first message |
87
+ | [Using Slopstream](./docs/using.md) | Asking, answering, groups, pausing, day to day |
88
+ | [Codex](./docs/codex.md) | Setting up the Codex side |
89
+ | [Windows](./docs/windows.md) | What's different on Windows |
90
+ | [Self-hosting](./docs/self-hosting.md) | Run your own relay (Cloudflare or Node) |
91
+ | [Testing](./docs/testing.md) | Try everything alone on one machine, then with a teammate |
92
+ | [Security](./docs/security.md) | What's enforced, what isn't, and good habits |
93
+ | [Reference](./docs/reference.md) | Every command, setting and file |
94
+ | [Troubleshooting](./docs/troubleshooting.md) | Fixes for common problems, and how to uninstall |
95
+ | [Product overview](./product.md) | Why Slopstream exists, how it's designed, where it's going |
607
96
 
608
- ## 14. Troubleshooting
97
+ The same docs are published as a site: <https://mrlegendary25.github.io/slopstream/>.
609
98
 
610
- **`command not found: slopstream`**: see the end of [Step 3](#5-step-3-get-slopstream-both-of-you).
99
+ ## Security and privacy
611
100
 
612
- **`error: cannot reach relay ws://...`** / **Can't reach the relay** (on your friend's side):
613
- 1. Is the relay still running on the relay host's machine, with that machine awake? (Check its terminal; `lid closed = relay down`.)
614
- 2. Is **Tailscale connected** on both machines (menu bar icon)?
615
- 3. Is the address right? Use the relay host's IP **as shown in your own Tailscale admin console**, plus `:8787`.
616
- 4. From your friend's machine: `nc -vz 100.101.102.103 8787`. If it times out but the relay is running, Tailscale may be blocking the shared machine. A new Tailscale network starts with a permissive default policy, which normally works, but Tailscale's sharing docs say the owner's access rules must also cover the shared user. So open **Access controls** in the Tailscale console and make sure a rule lets shared users reach the relay host's machine on port 8787, for example (adapted from Tailscale's ACL docs; confirm the exact format in the console's policy editor, which validates it for you):
617
- ```json
618
- { "action": "accept", "src": ["autogroup:shared"], "dst": ["100.101.102.103:8787"] }
619
- ```
620
- **Simpler fallback:** instead of sharing the machine, invite your friend into your Tailscale network from the **Users** page of the admin console. Then the default rules just work. The downside is that your friend's devices then live in your network.
621
- 5. macOS firewall: when starting the relay, click **Allow** on the "accept incoming network connections" prompt.
101
+ - Found a vulnerability? Please report it privately, as described in [SECURITY.md](./SECURITY.md).
102
+ - What an attacker can and can't do today: [THREAT_MODEL.md](./THREAT_MODEL.md).
103
+ - What the hosted relay stores: [PRIVACY.md](./PRIVACY.md). In short, metadata only, never message text.
622
104
 
623
- **`error: auth: bad user or token`**: wrong username or token. Check for stray spaces. If the token is lost, the relay host runs `remove-user` then `add-user` and sends the new one.
105
+ ## Contributing
624
106
 
625
- **`/mcp` does not list `slopstream` at all** (but `.mcp.json` exists in the folder): Claude Code requires approval before it will use a project's MCP servers, and until then the server sits at `⏸ Pending approval` and is not listed. Run `claude mcp list` from the project folder to see the status. Approve the prompt on startup; if you dismissed it earlier the choice is cached in `~/.claude.json`, so run `claude mcp reset-project-choices` and start Claude again. A freshly cloned, untrusted folder also cannot approve its own servers, so try a plain new directory to rule that out.
107
+ Bug reports, fixes and focused features are welcome. Read [CONTRIBUTING.md](./CONTRIBUTING.md) first. Commits need a `Signed-off-by` line ([DCO](./CONTRIBUTING.md#sign-off-your-commits-dco)).
626
108
 
627
- **Bridge says `chat "projX" is not linked`** (visible in `link_status`): the label in `.mcp.json` doesn't match a link. Run `slopstream links`, then re-run `slopstream init <the-paired-label>` in the project.
109
+ ## License
628
110
 
629
- **`link_status` shows `connectedToRelay: false`**: relay down, Tailscale off, or wrong address. If you moved or re-installed, run `slopstream setup ...` again.
111
+ Apache License 2.0. See [LICENSE](./LICENSE) and [NOTICE](./NOTICE).
630
112
 
631
- **Messages don't appear in the session:**
632
- - Did you start Claude Code **with** `--dangerously-load-development-channels server:slopstream`? Without it the bridge can send but incoming pushes are dropped silently.
633
- - Are you using an API key? Channels need a claude.ai login (`/status`).
634
- - Is Claude Code ≥ 2.1.80?
635
- - Inside the session run `/mcp` and check `slopstream`. If it says `failed`, restart with debug logging: `claude --debug --dangerously-load-development-channels server:slopstream`, then read `~/.claude/debug/<session-id>.txt`.
636
- - You see "blocked by org policy": only happens on Team/Enterprise plans where an admin must enable Channels. Not applicable to a personal Pro plan.
637
-
638
- **`send_message` says `peer_offline` / "Not sent: the peer is offline"**: the other side's linked session isn't running or can't reach the relay. By design nothing is queued; try again when they're back.
639
-
640
- **`rate_limited`**: more than 30 messages in 10 minutes on this link. Wait, or the relay host raises `RATE_MAX`.
641
-
642
- **Another session of the same chat can't connect (`duplicate`)**: one chat label can be online in only one session at a time. The relay clears dead connections within about 30 seconds; the bridge retries automatically.
643
-
644
- **Pair code "unknown or expired"**: codes last 10 minutes and work once. Run `pair-create` (or `invite`) again.
645
-
646
- **Moved the project folder**: `.mcp.json` points to the old path. Re-run `slopstream init <chat>`.
647
-
648
- **Your tokens/links vanished after restarting the relay**: you started it without a fixed `DATA_DIR`, from a different folder. Start it with `DATA_DIR="$HOME/.slopstream-relay"` as in Step 4.
649
-
650
- ## 15. Uninstall
651
-
652
- ```bash
653
- slopstream unlink projX # for each link
654
- # in each project: delete the "slopstream" entry from .mcp.json,
655
- # and the block between <!-- slopstream:start --> and <!-- slopstream:end --> in CLAUDE.md
656
- rm -rf ~/.slopstream # your saved login and local log
657
- npm unlink -g slopstream # removes the command (run inside the project folder)
658
- ```
659
-
660
- Relay host: stop the relay (Ctrl+C in its window) and optionally `rm -rf ~/.slopstream-relay`, and remove the Tailscale share from the Machines page.
661
-
662
- ## 16. Known limits
663
-
664
- - **Inbound approval is soft** (see Part 13).
665
- - **Both machines must be on, and the relay host's machine must be awake.** There's no always-on hosted relay yet.
666
- - **Claude Code and Codex.** A chat is a labelled project, not a specific session id. Codex needs one first message per session to bind to the right chat, and a recent Codex (verified on 0.162.1). Other agents are on the roadmap in product.md.
667
- - **Channels are a research preview** and may change in future Claude Code versions.
668
- - The message format is shaped like the A2A standard (`contextId`, `parts[]`) but isn't full A2A yet.
669
- - The relay host can read messages (no end-to-end encryption yet).
670
-
671
- ## 17. Contributing
672
-
673
- Contributions are welcome: bug reports, fixes, and small, focused features. Before opening a PR:
674
-
675
- 1. Read [CONTRIBUTING.md](./CONTRIBUTING.md) for the development setup, code style, and the security-sensitive areas (`relay/server.js`, `bridge/gate.js`, `bridge/server.js`) that get extra scrutiny.
676
- 2. Run `npm test` and make sure the suite still passes.
677
- 3. For anything bigger than a small fix, open an issue first so the approach can be agreed on before you write the code.
678
-
679
- Bug reports and feature requests go to [GitHub Issues](https://github.com/mrlegendary25/slopstream/issues). Security issues should be reported privately rather than as a public issue; see CONTRIBUTING.md for details.
680
-
681
- ## 18. License
682
-
683
- Slopstream is released under the **Apache License 2.0**, a permissive license that also includes an explicit patent grant. See [LICENSE](./LICENSE) for the full text and [NOTICE](./NOTICE) for attribution.
684
-
685
- ## 19. Trademarks & affiliation disclaimer
686
-
687
- Slopstream is an independent, community-maintained open-source project. It is **not affiliated with, endorsed by, sponsored by, or officially connected to Anthropic PBC, OpenAI, or Tailscale Inc.**, or any of their respective affiliates.
688
-
689
- - **Claude** and **Claude Code** are trademarks of **Anthropic PBC**.
690
- - **Codex** is a trademark of **OpenAI**.
691
- - **Tailscale** is a trademark of **Tailscale Inc.**
692
-
693
- These names are used in this project solely to describe compatibility and interoperability; Slopstream is a third-party client that connects to these products through their publicly documented interfaces (the Claude Code channels/MCP mechanism, the Codex CLI, and a standard Tailscale network). No endorsement by, or partnership with, any of these companies is claimed or implied.
694
-
695
- The software is provided "as is", without warranty of any kind; see [LICENSE](./LICENSE) for the full disclaimer of warranty and liability.
696
-
697
- ---
113
+ ## Trademarks
698
114
 
699
- *Sources for the Tailscale steps: [Install Tailscale on macOS](https://tailscale.com/docs/install/mac), [Three ways to run Tailscale on macOS](https://tailscale.com/docs/concepts/macos-variants), [Node sharing](https://tailscale.com/kb/1084/sharing), [Access control policies](https://tailscale.com/kb/1018/acls). Channels details: [Claude Code channels reference](https://code.claude.com/docs/en/channels-reference).*
115
+ Slopstream is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by Anthropic PBC or OpenAI. **Claude** and **Claude Code** are trademarks of Anthropic PBC. **Codex** is a trademark of OpenAI. These names are used only to describe compatibility: Slopstream connects to these products through their public interfaces (the Claude Code channels and MCP mechanism, and the Codex CLI). The software is provided "as is", without warranty of any kind; see [LICENSE](./LICENSE).