heyquilt 0.3.182 → 0.3.184
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 +101 -97
- package/RELEASES.md +14 -0
- package/bin/quilt.js +32 -32
- package/desktop/main.js +1 -1
- package/package.json +1 -1
- package/src/account.js +17 -2
- package/src/admit-policy.js +2 -2
- package/src/agent-join.js +3 -3
- package/src/agent-task-workflow.js +14 -14
- package/src/ai-vm.js +1 -1
- package/src/api/agent-placement.js +2 -2
- package/src/api/audit.js +1 -1
- package/src/api/file-paths.js +1 -1
- package/src/api/file-store.js +1 -1
- package/src/api/invite-email.js +4 -4
- package/src/api/join-text.js +5 -5
- package/src/api/memory-store.js +22 -1
- package/src/api/notify.js +7 -7
- package/src/api/permissions.js +1 -1
- package/src/api/routes/agent-wake.js +1 -1
- package/src/api/routes/agents.js +2 -2
- package/src/api/routes/ai-vm.js +5 -5
- package/src/api/routes/connections.js +66 -25
- package/src/api/routes/grants.js +2 -2
- package/src/api/routes/mail.js +10 -10
- package/src/api/routes/relay.js +1 -1
- package/src/api/routes/secrets.js +11 -11
- package/src/api/routes/session-invites.js +5 -5
- package/src/api/routes/sessions.js +3 -3
- package/src/api/routes/workspace-agents.js +14 -14
- package/src/api/routes/workspace-chat.js +77 -0
- package/src/api/routes/workspace-files.js +12 -12
- package/src/api/routes/workspace-invites.js +5 -5
- package/src/api/routes/workspaces.js +11 -11
- package/src/api/secrets-access.js +1 -1
- package/src/api/server.js +5 -4
- package/src/api/supabase-store.js +25 -1
- package/src/api/team-access.js +1 -1
- package/src/api/workspace-access.js +1 -1
- package/src/api/workspace-reach.js +3 -3
- package/src/app-tools.js +11 -11
- package/src/autowork.js +4 -4
- package/src/branch-view.js +1 -1
- package/src/catchup.js +5 -5
- package/src/chat-links.js +18 -18
- package/src/connection.js +11 -11
- package/src/control.js +5 -5
- package/src/conversation.js +1 -1
- package/src/doctor.js +2 -2
- package/src/duties.js +1 -1
- package/src/fsutil.js +1 -1
- package/src/held.js +4 -4
- package/src/hooks.js +3 -3
- package/src/hosted-client.js +2 -2
- package/src/identity.js +1 -1
- package/src/inbox.js +1 -1
- package/src/key-cli.js +1 -1
- package/src/mail-tools.js +11 -11
- package/src/mcp-proxy.js +1 -1
- package/src/mcp.js +59 -59
- package/src/new-session.js +6 -6
- package/src/project-rules.js +2 -2
- package/src/relay-ask.js +2 -2
- package/src/relay-cluster.js +3 -3
- package/src/relay-live-write.js +3 -3
- package/src/relay-mcp.js +56 -56
- package/src/relay-prune.js +1 -1
- package/src/relay-turn-sync.js +1 -1
- package/src/secret-import.js +1 -1
- package/src/secret-names.js +6 -6
- package/src/secret-run.js +3 -3
- package/src/server.js +41 -41
- package/src/session-access.js +3 -3
- package/src/session-name.js +1 -1
- package/src/session.js +50 -50
- package/src/setup.js +7 -7
- package/src/status.js +2 -2
- package/src/tasks.js +1 -1
- package/src/turn-sync.js +4 -4
- package/src/ui/account-sessions.js +2 -2
- package/src/ui/agent-env-key.js +1 -1
- package/src/ui/agent-guide.js +35 -35
- package/src/ui/agent-kinds.js +8 -8
- package/src/ui/agent-place.js +16 -16
- package/src/ui/agents-table.js +6 -6
- package/src/ui/app.css +345 -0
- package/src/ui/app.js +28 -13
- package/src/ui/board.js +2 -2
- package/src/ui/catchup.js +5 -5
- package/src/ui/changes-seen.js +2 -2
- package/src/ui/changes.js +3 -3
- package/src/ui/cloud-ai.js +12 -12
- package/src/ui/common.js +1 -1
- package/src/ui/connections.js +48 -8
- package/src/ui/diffview.js +2 -2
- package/src/ui/feed.js +1 -1
- package/src/ui/feedback.js +4 -4
- package/src/ui/files.js +120 -14
- package/src/ui/fileview.js +3 -3
- package/src/ui/git-rule.js +3 -3
- package/src/ui/home.js +97 -47
- package/src/ui/index.html +1 -1
- package/src/ui/invite.js +8 -8
- package/src/ui/invites.js +3 -3
- package/src/ui/new-session.js +3 -3
- package/src/ui/prail-model.js +22 -0
- package/src/ui/prail.js +43 -0
- package/src/ui/project-board.js +359 -0
- package/src/ui/project-channel.js +93 -0
- package/src/ui/project-model.js +224 -0
- package/src/ui/project-pop.js +451 -0
- package/src/ui/projects.js +464 -0
- package/src/ui/sandbox-keys.js +3 -3
- package/src/ui/secrets-view.js +5 -5
- package/src/ui/session-words.js +2 -2
- package/src/ui/session.js +174 -47
- package/src/ui/tree.js +3 -3
- package/src/ui/voice.js +6 -6
- package/src/ui/workspaces.js +23 -23
- package/src/ui-server.js +88 -27
- package/src/update-check.js +2 -2
- package/src/voice.js +7 -7
- package/src/wake-tool.js +1 -1
- package/src/webhooks.js +1 -1
- package/src/workspace-cli.js +12 -12
- package/src/workspace-tools.js +33 -33
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<p align="center">Real-time pair vibe coding that doesn't care which AI tool you use.</p>
|
|
6
6
|
|
|
7
7
|
You use Claude Code, your friend uses Cursor, someone else uses Codex or plain
|
|
8
|
-
vim. Everyone works in their own copy of the
|
|
8
|
+
vim. Everyone works in their own copy of the codebase, on their own machine,
|
|
9
9
|
anywhere in the world, and every change shows up on everyone else's disk
|
|
10
10
|
within milliseconds. Your agents can also see what the other agents are doing.
|
|
11
11
|
|
|
@@ -21,8 +21,12 @@ within milliseconds. Your agents can also see what the other agents are doing.
|
|
|
21
21
|
|
|
22
22
|
## How it works
|
|
23
23
|
|
|
24
|
+
A **codebase** is where you code together: one folder, kept in step for everyone
|
|
25
|
+
in it. A **project** groups codebases with their artifacts, agents, connections
|
|
26
|
+
and people.
|
|
27
|
+
|
|
24
28
|
- **Tool-agnostic by design.** Every AI coding tool eventually reads and writes
|
|
25
|
-
files, so Quilt syncs files and nothing else. It watches your
|
|
29
|
+
files, so Quilt syncs files and nothing else. It watches your folder and
|
|
26
30
|
mirrors changes into a shared [Yjs](https://yjs.dev) CRDT document. Remote
|
|
27
31
|
changes are written back to disk. Your editor or agent just sees files change.
|
|
28
32
|
- **Real merges, not overwrites.** Text files are synced character by character.
|
|
@@ -44,24 +48,24 @@ within milliseconds. Your agents can also see what the other agents are doing.
|
|
|
44
48
|
- **Agents coordinate, and can join by themselves.** An MCP server gives each
|
|
45
49
|
agent tools to see who's online, read a partner's AI feed, see where people
|
|
46
50
|
are working, resolve clashes and message each other. With an invite link, an
|
|
47
|
-
agent can even join (or start) a
|
|
51
|
+
agent can even join (or start) a codebase on its own. Tools without MCP can
|
|
48
52
|
use the `quilt` CLI or read `.quilt/STATUS.md`.
|
|
49
53
|
- **Cloud AIs too.** An AI with no computer of its own that can use an MCP
|
|
50
54
|
server over HTTP (a bot, a cloud routine, your own agent) joins through Quilt's hosted
|
|
51
55
|
MCP at `api.heyquilt.com/mcp` with the access key it got from an agent
|
|
52
|
-
invite. It joins a
|
|
56
|
+
invite. It joins a codebase from the invite link, you let it in, and it reads
|
|
53
57
|
and writes the shared files like everyone else.
|
|
54
|
-
- **
|
|
55
|
-
|
|
56
|
-
can work in them too: invite one as a global,
|
|
57
|
-
and a
|
|
58
|
+
- **Projects (behind a flag while they settle).** A project gathers your
|
|
59
|
+
codebases, the people and agents in them, and artifacts, in one place. Agents
|
|
60
|
+
can work in them too: invite one as a global, project or codebase agent,
|
|
61
|
+
and a project's agents are invited to its new codebases for you to let in.
|
|
58
62
|
- **AIs in a chat window, with nothing to set up.** ChatGPT, claude.ai, Grok and
|
|
59
|
-
other AIs you only talk to in a chat can join through a *chat link*: the
|
|
63
|
+
other AIs you only talk to in a chat can join through a *chat link*: the codebase's
|
|
60
64
|
owner (or whoever may let people in) makes one in **Invite → A chat AI** (or
|
|
61
65
|
`quilt chat-link`), pastes it into
|
|
62
66
|
the chat, and the AI works by opening links. It can read and send messages, read
|
|
63
67
|
and add tasks, read files, and add pictures, PDFs, office documents and notes as
|
|
64
|
-
new files. It can't change existing files. It shows in the
|
|
68
|
+
new files. It can't change existing files. It shows in the codebase as its own
|
|
65
69
|
member and works for 10 minutes: the owner, or whoever may let people in, extends
|
|
66
70
|
it from the people menu (or
|
|
67
71
|
`quilt chat-link extend <name> <minutes>`) while it still works. Once it runs
|
|
@@ -77,8 +81,8 @@ Get Quilt for [Mac (Apple silicon)](https://heyquilt.com/download/quilt-mac-arm6
|
|
|
77
81
|
Linux ([x86_64](https://heyquilt.com/download/quilt-linux-x86_64.AppImage),
|
|
78
82
|
[ARM](https://heyquilt.com/download/quilt-linux-arm64.AppImage): an
|
|
79
83
|
AppImage, `chmod +x` it), and open it.
|
|
80
|
-
Everything happens in the app:
|
|
81
|
-
partners click it to join. Closing the window keeps your
|
|
84
|
+
Everything happens in the app: create a codebase, send the invite link, and
|
|
85
|
+
partners click it to join. Closing the window keeps your codebases syncing from
|
|
82
86
|
the menu bar; quit from there when you're done.
|
|
83
87
|
|
|
84
88
|
The first time you open it, sign in: Quilt opens heyquilt.com, where you
|
|
@@ -103,7 +107,7 @@ quilt login
|
|
|
103
107
|
```
|
|
104
108
|
|
|
105
109
|
Run the same line again to update. Agents on that machine find Quilt's MCP server by
|
|
106
|
-
themselves (see below), and `quilt join <invite>` syncs a
|
|
110
|
+
themselves (see below), and `quilt join <invite>` syncs a codebase there.
|
|
107
111
|
|
|
108
112
|
### From source
|
|
109
113
|
|
|
@@ -124,11 +128,11 @@ quilt ui
|
|
|
124
128
|
This opens Quilt in your browser, where you can:
|
|
125
129
|
|
|
126
130
|
- **Sign in** with your heyquilt.com account (once per computer).
|
|
127
|
-
- **
|
|
128
|
-
- **Join a
|
|
131
|
+
- **Create a codebase:** pick your folder. You get an invite link to send.
|
|
132
|
+
- **Join a codebase:** paste an invite link and pick where it should go.
|
|
129
133
|
- **Work together:** see who's online, what they're working on and which files
|
|
130
134
|
they just changed. Chat, send direct messages, and drag and drop files to share
|
|
131
|
-
them. You can also
|
|
135
|
+
them. You can also open recent codebases again later.
|
|
132
136
|
|
|
133
137
|
The app only listens on `127.0.0.1` and needs the secret link `quilt ui` prints.
|
|
134
138
|
|
|
@@ -140,7 +144,7 @@ The app only listens on `127.0.0.1` and needs the secret link `quilt ui` prints.
|
|
|
140
144
|
quilt login # opens heyquilt.com, where you approve this computer
|
|
141
145
|
```
|
|
142
146
|
|
|
143
|
-
**2. Start a
|
|
147
|
+
**2. Start a codebase** in your folder:
|
|
144
148
|
|
|
145
149
|
```bash
|
|
146
150
|
cd ~/code/my-app
|
|
@@ -163,12 +167,12 @@ Keep `quilt join` running in a terminal while you work. It logs who joined,
|
|
|
163
167
|
what they're touching, held conflicts, and messages.
|
|
164
168
|
|
|
165
169
|
**Your AI tools are connected already.** Whenever the app, `quilt login`,
|
|
166
|
-
`quilt ui` or a
|
|
170
|
+
`quilt ui` or a codebase starts, Quilt adds its MCP server to every AI tool it
|
|
167
171
|
finds on the computer: Claude Code, Claude Desktop, Cursor, Windsurf, Codex,
|
|
168
172
|
VS Code (GitHub Copilot, Cline, Roo Code), Gemini CLI, GitHub Copilot CLI, Zed,
|
|
169
173
|
opencode, Kiro, Amp, Junie and Continue. It writes each tool's own settings with
|
|
170
174
|
this install's full path, so nothing depends on your PATH or on files in the
|
|
171
|
-
|
|
175
|
+
codebase, and it keeps them current when the app moves or updates. A tool that
|
|
172
176
|
was already open picks Quilt up when it restarts. A settings file Quilt can't
|
|
173
177
|
edit safely (JSON with comments, say) is left alone and named in the log.
|
|
174
178
|
`quilt setup` does the same on demand, and adds pairing etiquette to `CLAUDE.md`
|
|
@@ -196,10 +200,10 @@ may skip:
|
|
|
196
200
|
| `quilt ui` | Open the app (start, join, chat, files) |
|
|
197
201
|
| `quilt serve [--port 4321] [--data ./quilt-data]` | Run a relay (how Quilt's relay runs; see docs/hosting.md) |
|
|
198
202
|
| `quilt login` / `quilt logout` / `quilt whoami` | Sign this computer in to your heyquilt.com account, sign it out, or see which account it uses |
|
|
199
|
-
| `quilt join` | Start a new
|
|
203
|
+
| `quilt join` | Start a new codebase for this folder |
|
|
200
204
|
| `quilt join --agent <name>` | Join as a Quilt agent saved with `quilt agent join` |
|
|
201
|
-
| `quilt join <invite>` | Join a
|
|
202
|
-
| `quilt join` |
|
|
205
|
+
| `quilt join <invite>` | Join a codebase |
|
|
206
|
+
| `quilt join` | Open this folder's codebase again (merges offline edits) |
|
|
203
207
|
| `quilt invite` | Print the invite link again |
|
|
204
208
|
| `quilt status` | Who's online, focus, recent edits, open conflicts, messages |
|
|
205
209
|
| `quilt focus "adding auth"` | Tell others what you're working on |
|
|
@@ -209,7 +213,7 @@ may skip:
|
|
|
209
213
|
| `quilt messages` / `quilt messages --all` / `--with bob` | Unread messages / history / one conversation |
|
|
210
214
|
| `quilt history [path] [--by name] [--since 2h] [--diff]` | Who changed what, when, and for which task |
|
|
211
215
|
| `quilt get <message-id> [dest]` | Download a shared file again |
|
|
212
|
-
| `quilt setup` | Connect every AI tool on this computer now, and add agent instructions to the
|
|
216
|
+
| `quilt setup` | Connect every AI tool on this computer now, and add agent instructions to the codebase |
|
|
213
217
|
| `quilt mcp` | The MCP server itself (your AI tool launches this) |
|
|
214
218
|
| `quilt doctor [--watch 30]` | Check what Quilt can see of your Claude Code / Cursor chats (safe to share: no chat text) |
|
|
215
219
|
|
|
@@ -217,8 +221,8 @@ may skip:
|
|
|
217
221
|
|
|
218
222
|
| Tool | Purpose |
|
|
219
223
|
|---|---|
|
|
220
|
-
| `quilt_join_session` | Join a
|
|
221
|
-
| `quilt_start_session` | Start a new
|
|
224
|
+
| `quilt_join_session` | Join a codebase from an invite link, as a Quilt agent saved with `quilt agent join` |
|
|
225
|
+
| `quilt_start_session` | Start a new codebase for a folder, as that agent, and get an invite link |
|
|
222
226
|
| `quilt_leave_session` / `quilt_session_info` | Leave; or see the folder, your name, who's online, and the invite |
|
|
223
227
|
| `quilt_status` | Collaborators, their focus, recently edited files, what each person has changed, open conflicts, messages |
|
|
224
228
|
| `quilt_partner_feed` | Read what a collaborator's AI is doing (prompts, replies, actions) |
|
|
@@ -231,18 +235,18 @@ may skip:
|
|
|
231
235
|
| `quilt_resolve_merge` | Resolve a held conflict: drop the held lines, put them in, or say you wrote the file yourself |
|
|
232
236
|
| `quilt_message` | Message everyone, or one person with `to` |
|
|
233
237
|
| `quilt_read_messages` | Read unread (or recent) messages, including received files |
|
|
234
|
-
| `quilt_project_rules` | The
|
|
238
|
+
| `quilt_project_rules` | The codebase's rules for AI, the same for every tool: AGENTS.md (root and folders, else CLAUDE.md), Cursor rules that always apply, and the design system (DESIGN.md, or the file AGENTS.md names with `Design system: <path>`) |
|
|
235
239
|
| `quilt_inbox` | What is waiting for you: mentions (`@yourname`), direct messages and tasks handed to you since you last looked |
|
|
236
240
|
| `quilt_webhook_subscribe` / `quilt_webhook_unsubscribe` | Have each mention, direct message and handed-over task POSTed to a URL of yours as it happens, signed; or stop that |
|
|
237
241
|
| `quilt_webhook_test` | POST a signed `webhook.test` event to your webhook now, and say what the receiver answered |
|
|
238
242
|
| `quilt_check_update` | Whether the Quilt you run (your image) is current; an old one is told to update the app |
|
|
239
|
-
| `quilt_send_file` | Send a
|
|
243
|
+
| `quilt_send_file` | Send a file from the codebase through chat (secrets and paths outside it are refused) |
|
|
240
244
|
| `quilt_get_file` | Download a shared file (again) |
|
|
241
|
-
| `quilt_workspaces` | The
|
|
242
|
-
| `quilt_workspace_files` | A
|
|
243
|
-
| `quilt_workspace_read_file` / `quilt_workspace_write_file` | Read
|
|
244
|
-
| `quilt_workspace_move_file` / `quilt_workspace_delete_file` | Move or rename
|
|
245
|
-
| `quilt_workspace_webhook` / `quilt_workspace_webhook_off` | Be told when a
|
|
245
|
+
| `quilt_workspaces` | The projects you can reach, with your access, open codebases, artifacts and storage used (only when the server has projects on, as are the tools below) |
|
|
246
|
+
| `quilt_workspace_files` | A project's artifacts, by folder or glob |
|
|
247
|
+
| `quilt_workspace_read_file` / `quilt_workspace_write_file` | Read an artifact (text comes back inline; anything else as a link, saved to `~/.quilt/workspaces/` on a computer); add one with a short note |
|
|
248
|
+
| `quilt_workspace_move_file` / `quilt_workspace_delete_file` | Move or rename an artifact; delete one |
|
|
249
|
+
| `quilt_workspace_webhook` / `quilt_workspace_webhook_off` | Be told when a codebase starts in one of your projects, with its link; or stop that |
|
|
246
250
|
|
|
247
251
|
Any MCP-capable tool works: Claude Code, Cursor, Windsurf, Codex, Zed, and so on.
|
|
248
252
|
Quilt registers the server with each of them by itself (see above).
|
|
@@ -255,7 +259,7 @@ Point its MCP config at the command `quilt` with args `["mcp"]`.
|
|
|
255
259
|
|
|
256
260
|
## Watching each other's AI
|
|
257
261
|
|
|
258
|
-
In a
|
|
262
|
+
In a codebase, the app's main area has two modes:
|
|
259
263
|
|
|
260
264
|
- **AI:** one tab per person, showing their AI conversation live. You see
|
|
261
265
|
prompts and replies in full, plus one-line actions ("Edited src/app.ts",
|
|
@@ -287,8 +291,8 @@ its writer started from.
|
|
|
287
291
|
it chose to be woken; every AI sees open conflicts at the top of every Quilt answer).
|
|
288
292
|
While an AI has an open conflict of its own, moving a task to QA or Done,
|
|
289
293
|
`quilt_set_work` "done" and commits refuse until it resolves it. If its writer's AI
|
|
290
|
-
has left or gone quiet, the conflict goes to the next AI active in the
|
|
291
|
-
which is woken. Only a
|
|
294
|
+
has left or gone quiet, the conflict goes to the next AI active in the codebase,
|
|
295
|
+
which is woken. Only a codebase with no AI at all falls back to notices to people
|
|
292
296
|
after 4 and 24 hours.
|
|
293
297
|
- **Picking up tasks.** In Settings, "Let my AI pick up tasks by itself" (off, tasks
|
|
294
298
|
assigned to it, or those then unassigned ones): as your AI finishes (`quilt_set_work`
|
|
@@ -306,12 +310,12 @@ changes, its feed shows as unavailable and syncing carries on.
|
|
|
306
310
|
|
|
307
311
|
## Agents as participants
|
|
308
312
|
|
|
309
|
-
An AI agent can be a full member of a
|
|
310
|
-
it. Give the agent an invite link and it calls `quilt_join_session`. The
|
|
311
|
-
syncs into its folder, and everyone sees it
|
|
313
|
+
An AI agent can be a full member of a codebase, with no human running Quilt for
|
|
314
|
+
it. Give the agent an invite link and it calls `quilt_join_session`. The codebase
|
|
315
|
+
syncs into its folder, and everyone sees it there with an agent badge.
|
|
312
316
|
It can then read partners' AI feeds, chat, and edit files that
|
|
313
|
-
sync to everyone. It can also start a
|
|
314
|
-
hand out the invite. The
|
|
317
|
+
sync to everyone. It can also start a codebase with `quilt_start_session` and
|
|
318
|
+
hand out the invite. The codebase stays live as long as the agent's MCP server runs.
|
|
315
319
|
|
|
316
320
|
Agents that prefer the shell can run `quilt join <invite> --agent <name>` instead.
|
|
317
321
|
|
|
@@ -332,7 +336,7 @@ claude --dangerously-load-development-channels server:quilt
|
|
|
332
336
|
Claude Code still sees the inbox through the hooks and `quilt_inbox`.) An agent
|
|
333
337
|
that is woken answers with `quilt_message` and takes a task with `quilt_move_task`.
|
|
334
338
|
|
|
335
|
-
Typing `@` in the app's chat offers the
|
|
339
|
+
Typing `@` in the app's chat offers the codebase's members, so a name is spelled
|
|
336
340
|
the way the agent listens for it, and mentions are marked in every message.
|
|
337
341
|
|
|
338
342
|
### Your AI on its own cloud machine
|
|
@@ -342,7 +346,7 @@ tool and their own account. **Connect Claude**, **Connect Codex** or **Connect C
|
|
|
342
346
|
Settings → Your AI starts a small machine for that person alone (never the relay) and signs the
|
|
343
347
|
tool in with its own login: the app shows the link and code, and Quilt never asks for, keeps or
|
|
344
348
|
passes on the tool's token, or pays for its use. From then on it is "Daniel's AI", the only
|
|
345
|
-
member by that name: it joins the
|
|
349
|
+
member by that name: it joins the codebases they join, takes tasks for their AI and answers what
|
|
346
350
|
is written to it, with its own model, instructions and daily cap. It sleeps when idle and wakes
|
|
347
351
|
when it is needed. Disconnect deletes the machine and its disk.
|
|
348
352
|
|
|
@@ -354,7 +358,7 @@ then on Quilt POSTs each event to it as it happens:
|
|
|
354
358
|
|
|
355
359
|
| Event | When |
|
|
356
360
|
| --- | --- |
|
|
357
|
-
| `chat.mention` | Someone wrote `@its-name` in the
|
|
361
|
+
| `chat.mention` | Someone wrote `@its-name` in the codebase's chat |
|
|
358
362
|
| `chat.dm` | Someone sent it a direct message |
|
|
359
363
|
| `task.assigned` | A task on the board was handed to it |
|
|
360
364
|
|
|
@@ -380,7 +384,7 @@ per event.
|
|
|
380
384
|
|
|
381
385
|
The relay keeps and sends every agent's webhook, hosted or joined from a computer
|
|
382
386
|
(`quilt join`), so it works while the agent, or its computer, is asleep; it is one
|
|
383
|
-
webhook per agent, and it covers each
|
|
387
|
+
webhook per agent, and it covers each codebase the agent is in (a hosted agent's, and
|
|
384
388
|
each one an agent on a computer connects to). So an agent that only has an invite
|
|
385
389
|
link joins, subscribes once, and is woken from then on with nothing else set up. URLs
|
|
386
390
|
must be `https`, without credentials, and every address the host resolves to must be
|
|
@@ -405,51 +409,51 @@ it to the relay, same URL and secret, the next time it is let in; from then on o
|
|
|
405
409
|
the relay sends it, so the agent is not woken twice. A relay too old to keep it leaves
|
|
406
410
|
it with the computer, as before.
|
|
407
411
|
|
|
408
|
-
### Agents in
|
|
412
|
+
### Agents in projects
|
|
409
413
|
|
|
410
|
-
With
|
|
411
|
-
dialog, or a
|
|
414
|
+
With projects on, **Invite an agent** (in Settings › Agents, a project's Add
|
|
415
|
+
dialog, or a codebase's Invite dialog) asks what kind of agent to invite:
|
|
412
416
|
|
|
413
|
-
- **Global agent:** in all your
|
|
414
|
-
- **
|
|
415
|
-
invited to its
|
|
416
|
-
- **
|
|
417
|
-
carries that
|
|
417
|
+
- **Global agent:** in all your projects, invited to their codebases.
|
|
418
|
+
- **Project agent:** in one project (your own, or an org's you manage),
|
|
419
|
+
invited to its codebases.
|
|
420
|
+
- **Codebase agent:** invited to one codebase; the text you paste into the AI
|
|
421
|
+
carries that codebase's link.
|
|
418
422
|
|
|
419
|
-
Under the hood an agent works in a
|
|
423
|
+
Under the hood an agent works in a project in one of two ways:
|
|
420
424
|
|
|
421
|
-
- **Added to it.** Someone who manages the
|
|
422
|
-
|
|
423
|
-
for a new agent there (a
|
|
425
|
+
- **Added to it.** Someone who manages the project adds the agent on the
|
|
426
|
+
project's page, with edit or view access, or makes a one-time invite link
|
|
427
|
+
for a new agent there (a project agent).
|
|
424
428
|
- **Placed there by its owner.** In **Settings › Agents** in the app, or on the
|
|
425
429
|
Agents page of heyquilt.com (an org's agents: on the org's People page, with
|
|
426
|
-
Agents: Update and
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
Inheritance is an invitation, not admission. **Invited to new
|
|
432
|
-
whether each new
|
|
433
|
-
|
|
434
|
-
with the link, and the
|
|
435
|
-
lets an agent into a
|
|
436
|
-
its
|
|
437
|
-
invited to every
|
|
438
|
-
invited by hand. A
|
|
439
|
-
|
|
440
|
-
one
|
|
441
|
-
|
|
442
|
-
An agent invited to every
|
|
430
|
+
Agents: Update and Projects: Update), **Works in** says where the agent works: all your
|
|
431
|
+
projects (a **Global** agent; for an org, all the org's), the ones you pick, or only where it is added. A
|
|
432
|
+
project's admins can still change whether a placed agent is invited to its
|
|
433
|
+
codebases, or keep it out of that project.
|
|
434
|
+
|
|
435
|
+
Inheritance is an invitation, not admission. **Invited to new codebases** says
|
|
436
|
+
whether each new codebase in the project sends the agent its link (Every
|
|
437
|
+
codebase) or not (Not automatically). The agent then waits like anyone else
|
|
438
|
+
with the link, and the codebase's owner lets it in; being in the project never
|
|
439
|
+
lets an agent into a codebase by itself (people in a project still get into
|
|
440
|
+
its codebases at their project access). Only an agent's owner can have it
|
|
441
|
+
invited to every codebase: someone else's agent added to your project is
|
|
442
|
+
invited by hand. A codebase's owner sees the agents its project invited in the
|
|
443
|
+
codebase's People (waiting, in, or invited), and can say **Don't invite** for that
|
|
444
|
+
one codebase or **Invite** it again, which sends it the link at once.
|
|
445
|
+
|
|
446
|
+
An agent invited to every codebase needs to hear when one starts: it calls
|
|
443
447
|
`quilt_workspace_webhook` with a public `https` URL, and when someone starts a
|
|
444
|
-
|
|
445
|
-
the
|
|
448
|
+
codebase in one of its projects, Quilt POSTs `session.started` there with
|
|
449
|
+
the codebase's invite link, signed like the webhooks above. Quilt never
|
|
446
450
|
keeps the link: it is passed on in the same moment. Receivers whose address
|
|
447
451
|
resolves to a private network are skipped.
|
|
448
452
|
|
|
449
|
-
The
|
|
453
|
+
The artifact tools read and write the project's artifacts (images, video,
|
|
450
454
|
documents, data), so agents put what they make there with a note instead of
|
|
451
455
|
in chat. A hosted agent can write up to 2 MB per call (text or base64); an
|
|
452
|
-
agent on a computer can also send a
|
|
456
|
+
agent on a computer can also send a file from its codebase of up to 500 MB.
|
|
453
457
|
### Apps: Pipedream, Zapier, Make, n8n
|
|
454
458
|
|
|
455
459
|
An automation app joins as an agent of yours, with an **app key** (`qk_`) instead
|
|
@@ -475,15 +479,15 @@ Every hosted agent tool works this way (`quilt_message`, `quilt_tasks`,
|
|
|
475
479
|
`quilt_history`, `quilt_resolve_merge` and the rest; `tools/list` names them all), and
|
|
476
480
|
`quilt_webhook_subscribe` turns mentions, direct messages and tasks into POSTs
|
|
477
481
|
to the app (see [Webhooks](#webhooks-an-agent-sets-up-its-own-push)). The agent
|
|
478
|
-
can be in several
|
|
479
|
-
is in more than one, every tool call names the
|
|
482
|
+
can be in several codebases at once: each `quilt_join_session` adds one. While it
|
|
483
|
+
is in more than one, every tool call names the codebase in `session` (the IDs come
|
|
480
484
|
from `quilt_session_info`, and each webhook event names its own).
|
|
481
485
|
|
|
482
486
|
The **Quilt app for Pipedream** wraps this: paste the key when you connect
|
|
483
487
|
Quilt, then use its actions (Join Session, Send Message, Read Messages, Get
|
|
484
488
|
Inbox, List/Add/Move/Assign Task, Read/Write File, Share Update, Get Session
|
|
485
489
|
Status, Call Tool for any other tool, each with an optional **Session**) and its
|
|
486
|
-
instant trigger, **New Mention, Message or Task**, which covers every
|
|
490
|
+
instant trigger, **New Mention, Message or Task**, which covers every codebase the
|
|
487
491
|
agent is in. Quilt keeps one webhook per agent, so give each trigger its own agent.
|
|
488
492
|
|
|
489
493
|
### Agents are told to update
|
|
@@ -500,11 +504,11 @@ person with `@name`. Messages are kept in the room, so anyone offline sees
|
|
|
500
504
|
them when they reconnect, and `quilt status` shows your unread count.
|
|
501
505
|
|
|
502
506
|
Files you **send** (screenshots, logs, exports, a PDF spec) go through the relay
|
|
503
|
-
as attachments. They are *not* added to the
|
|
504
|
-
see the message gets the file in the `Chat files` folder of their
|
|
507
|
+
as attachments. They are *not* added to the codebase. Everyone who can
|
|
508
|
+
see the message gets the file in the `Chat files` folder of their codebase's
|
|
505
509
|
folder, including files sent while they were offline or before they joined.
|
|
506
510
|
Quilt never syncs that folder and git ignores it, so it never reaches GitHub:
|
|
507
|
-
only the people in the
|
|
511
|
+
only the people in the codebase have it. The limit is 100 MB per file.
|
|
508
512
|
|
|
509
513
|
Direct messages and files are only shown to the sender and recipient, but they
|
|
510
514
|
travel through the shared room, so they're private from other collaborators'
|
|
@@ -513,7 +517,7 @@ screens, not from the relay operator.
|
|
|
513
517
|
## The relay
|
|
514
518
|
|
|
515
519
|
Everyone connects through Quilt's relay at `relay.heyquilt.com`. It passes
|
|
516
|
-
changes between computers, keeps each
|
|
520
|
+
changes between computers, keeps each codebase's shared state and the files
|
|
517
521
|
people share in chat, and only lets in people and agents signed in to
|
|
518
522
|
heyquilt.com: the app and the `quilt` command get a pass from the accounts API
|
|
519
523
|
that lasts 10 minutes, and the relay checks it on every connection.
|
|
@@ -522,10 +526,10 @@ The relay is one small Node process (`quilt serve`); [docs/hosting.md](docs/host
|
|
|
522
526
|
describes how it's deployed and its settings. The app only connects to Quilt's
|
|
523
527
|
relay for now.
|
|
524
528
|
|
|
525
|
-
- Each
|
|
526
|
-
-
|
|
527
|
-
30
|
|
528
|
-
- Idle
|
|
529
|
+
- Each codebase has its own secret, and the owner approves who gets in.
|
|
530
|
+
- Codebases have size quotas and shared-file quotas, and each account can start
|
|
531
|
+
30 codebases an hour.
|
|
532
|
+
- Idle codebases are unloaded from memory, and codebases nobody opens for 30
|
|
529
533
|
days are deleted.
|
|
530
534
|
|
|
531
535
|
## What syncs (and what doesn't)
|
|
@@ -534,23 +538,23 @@ relay for now.
|
|
|
534
538
|
`.env` / `.env.*` (secrets stay local), build caches (`.next/`, `.turbo/`,
|
|
535
539
|
`.nuxt/`, `.svelte-kit/`, `.parcel-cache/`, `.vercel/`), editor swap files,
|
|
536
540
|
anything in a `.gitignore`, and anything in a `.quiltignore`.
|
|
537
|
-
- **To keep something out of the
|
|
541
|
+
- **To keep something out of the codebase**, list it in a `.quiltignore`
|
|
538
542
|
(same syntax as `.gitignore`). Use it for files git tracks but you don't
|
|
539
543
|
want to share, e.g. `design/*.psd` or `private-notes.md`. Like `.gitignore`,
|
|
540
544
|
a `.quiltignore` or `.gitignore` in a subfolder applies to that subfolder.
|
|
541
545
|
- Text files up to 2 MB and binary files up to 8 MB.
|
|
542
546
|
- Symlinks are not synced.
|
|
543
|
-
- On first join, if a file differs between your folder and the
|
|
544
|
-
|
|
547
|
+
- On first join, if a file differs between your folder and the codebase, the
|
|
548
|
+
codebase's version wins and yours is copied to `.quilt/conflicts/<time>/`.
|
|
545
549
|
Use `--prefer local` to push your versions instead.
|
|
546
550
|
|
|
547
551
|
**Git:** the working tree is shared, but `.git` isn't, and Quilt never commits,
|
|
548
552
|
pulls, pushes or opens a PR for you — that's still yours to run, on your own
|
|
549
553
|
machine. A `git stash`, `reset --hard` or `checkout -- .` reverts your files
|
|
550
|
-
as git does, and the
|
|
551
|
-
(your stash keeps your copy); commits you pull are merged into the
|
|
554
|
+
as git does, and the codebase's work comes back onto them a moment later
|
|
555
|
+
(your stash keeps your copy); commits you pull are merged into the codebase's
|
|
552
556
|
work line by line. Checking out another branch pauses that folder until
|
|
553
|
-
you're back on the one the
|
|
557
|
+
you're back on the one the codebase syncs.
|
|
554
558
|
|
|
555
559
|
## Security
|
|
556
560
|
|
|
@@ -570,9 +574,9 @@ you're back on the one the session syncs.
|
|
|
570
574
|
to use your name from another computer. If you lose it, the relay's host can
|
|
571
575
|
free the name by removing it from `identities` in the room's `.json` file in
|
|
572
576
|
the relay's data folder.
|
|
573
|
-
- Paths from peers are validated. Nothing can be written outside the
|
|
577
|
+
- Paths from peers are validated. Nothing can be written outside the codebase's
|
|
574
578
|
folder, into `.git/` (no sneaky hooks), or into files you ignore locally.
|
|
575
|
-
- Whoever runs the relay can read
|
|
579
|
+
- Whoever runs the relay can read a codebase's contents.
|
|
576
580
|
- Remember that you're syncing code your partner's agent wrote, and your tools
|
|
577
581
|
may run it. Only pair with people you trust.
|
|
578
582
|
|
|
@@ -609,7 +613,7 @@ for an administrator only if the Applications folder needs one), on Windows it r
|
|
|
609
613
|
installer, and on Linux it swaps the AppImage file in place; then Quilt restarts. The builds are unsigned, so this is done by hand in
|
|
610
614
|
`desktop/updater.js` rather than with Electron's updater.
|
|
611
615
|
|
|
612
|
-
Layout: `src/ui/` + `src/ui-server.js` (the app), `src/runner.js` (start/stop a
|
|
616
|
+
Layout: `src/ui/` + `src/ui-server.js` (the app), `src/runner.js` (start/stop a codebase), `src/server.js` (relay), `src/connection.js` (client protocol +
|
|
613
617
|
reconnect), `src/session.js` (folder ⇄ CRDT sync, presence, chat),
|
|
614
618
|
`src/control.js` (local API for CLI/MCP), `src/mcp.js`, `src/setup.js`,
|
|
615
619
|
`bin/quilt.js` (CLI).
|
package/RELEASES.md
CHANGED
|
@@ -11,6 +11,20 @@ Format: `## <version> — <YYYY-MM-DD>`, an optional one-line summary, then bull
|
|
|
11
11
|
Lead each bullet with a short bold phrase. Inline `code` and **bold** are rendered;
|
|
12
12
|
nothing else is.
|
|
13
13
|
|
|
14
|
+
## 0.3.184 — 2026-11-22
|
|
15
|
+
|
|
16
|
+
Connections for the agents you choose.
|
|
17
|
+
|
|
18
|
+
- **A connection for chosen agents.** In Connections, an app you connected can be for **People and chosen agents**: tick the agents that may use it. An agent that was not chosen does not see the app and cannot run its actions; people in the codebase always can.
|
|
19
|
+
|
|
20
|
+
## 0.3.183 — 2026-11-22
|
|
21
|
+
|
|
22
|
+
What you code in together is now called a codebase.
|
|
23
|
+
|
|
24
|
+
- **Codebase, not session.** The app, the command line's help, the website and everything an AI agent reads now say **codebase** for the place where you and your AIs code together. Commands and tools keep their names (`quilt join`, `quilt_join_session`, the `session` parameter), so nothing you have set up changes.
|
|
25
|
+
- **Project and artifact.** Where the app or an agent's tools said workspace, they say **project**, and a project's files are its **artifacts**. "Project" no longer means the code in your folder: that is the codebase, or simply your folder.
|
|
26
|
+
- **The rules Quilt writes into a repository** (`AGENTS.md`) use the new words the next time `quilt setup` runs there.
|
|
27
|
+
|
|
14
28
|
## 0.3.182 — 2026-11-22
|
|
15
29
|
|
|
16
30
|
Every session's folder comes with git, for whoever starts it and for whoever joins.
|