heyquilt 0.3.181 → 0.3.183

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/README.md +101 -97
  2. package/RELEASES.md +17 -0
  3. package/bin/quilt.js +32 -32
  4. package/desktop/main.js +1 -1
  5. package/package.json +1 -1
  6. package/src/account.js +2 -2
  7. package/src/admit-policy.js +2 -2
  8. package/src/agent-join.js +3 -3
  9. package/src/agent-task-workflow.js +14 -14
  10. package/src/ai-vm.js +1 -1
  11. package/src/api/agent-placement.js +2 -2
  12. package/src/api/audit.js +1 -1
  13. package/src/api/file-paths.js +1 -1
  14. package/src/api/file-store.js +1 -1
  15. package/src/api/invite-email.js +4 -4
  16. package/src/api/join-text.js +5 -5
  17. package/src/api/notify.js +7 -7
  18. package/src/api/permissions.js +1 -1
  19. package/src/api/routes/agent-wake.js +1 -1
  20. package/src/api/routes/agents.js +2 -2
  21. package/src/api/routes/ai-vm.js +5 -5
  22. package/src/api/routes/connections.js +13 -13
  23. package/src/api/routes/grants.js +2 -2
  24. package/src/api/routes/mail.js +10 -10
  25. package/src/api/routes/relay.js +1 -1
  26. package/src/api/routes/secrets.js +11 -11
  27. package/src/api/routes/session-invites.js +5 -5
  28. package/src/api/routes/sessions.js +3 -3
  29. package/src/api/routes/workspace-agents.js +14 -14
  30. package/src/api/routes/workspace-files.js +12 -12
  31. package/src/api/routes/workspace-invites.js +5 -5
  32. package/src/api/routes/workspaces.js +11 -11
  33. package/src/api/secrets-access.js +1 -1
  34. package/src/api/server.js +3 -3
  35. package/src/api/team-access.js +1 -1
  36. package/src/api/workspace-access.js +1 -1
  37. package/src/api/workspace-reach.js +3 -3
  38. package/src/app-tools.js +10 -10
  39. package/src/autowork.js +4 -4
  40. package/src/branch-view.js +1 -1
  41. package/src/catchup.js +5 -5
  42. package/src/chat-links.js +18 -18
  43. package/src/connection.js +11 -11
  44. package/src/control.js +5 -5
  45. package/src/conversation.js +1 -1
  46. package/src/doctor.js +2 -2
  47. package/src/duties.js +1 -1
  48. package/src/fsutil.js +1 -1
  49. package/src/gitstate.js +117 -1
  50. package/src/held.js +4 -4
  51. package/src/hooks.js +3 -3
  52. package/src/hosted-client.js +2 -2
  53. package/src/identity.js +1 -1
  54. package/src/inbox.js +1 -1
  55. package/src/key-cli.js +1 -1
  56. package/src/mail-tools.js +11 -11
  57. package/src/mcp-proxy.js +1 -1
  58. package/src/mcp.js +59 -59
  59. package/src/new-session.js +112 -0
  60. package/src/project-rules.js +2 -2
  61. package/src/relay-ask.js +2 -2
  62. package/src/relay-cluster.js +3 -3
  63. package/src/relay-live-write.js +3 -3
  64. package/src/relay-mcp.js +56 -56
  65. package/src/relay-prune.js +1 -1
  66. package/src/relay-turn-sync.js +1 -1
  67. package/src/repo-ref.js +54 -0
  68. package/src/secret-import.js +1 -1
  69. package/src/secret-names.js +6 -6
  70. package/src/secret-run.js +3 -3
  71. package/src/server.js +41 -41
  72. package/src/session-access.js +3 -3
  73. package/src/session-name.js +1 -1
  74. package/src/session.js +118 -52
  75. package/src/setup.js +7 -7
  76. package/src/status.js +2 -2
  77. package/src/tasks.js +1 -1
  78. package/src/turn-sync.js +4 -4
  79. package/src/ui/account-sessions.js +2 -2
  80. package/src/ui/agent-env-key.js +1 -1
  81. package/src/ui/agent-guide.js +35 -35
  82. package/src/ui/agent-kinds.js +8 -8
  83. package/src/ui/agent-place.js +16 -16
  84. package/src/ui/agents-table.js +6 -6
  85. package/src/ui/app.css +357 -0
  86. package/src/ui/app.js +29 -14
  87. package/src/ui/board.js +2 -2
  88. package/src/ui/catchup.js +5 -5
  89. package/src/ui/changes-seen.js +2 -2
  90. package/src/ui/changes.js +3 -3
  91. package/src/ui/cloud-ai.js +12 -12
  92. package/src/ui/common.js +1 -1
  93. package/src/ui/connections.js +1 -1
  94. package/src/ui/diffview.js +2 -2
  95. package/src/ui/feed.js +1 -1
  96. package/src/ui/feedback.js +4 -4
  97. package/src/ui/files.js +120 -14
  98. package/src/ui/fileview.js +3 -3
  99. package/src/ui/git-rule.js +3 -3
  100. package/src/ui/home.js +95 -67
  101. package/src/ui/index.html +1 -1
  102. package/src/ui/invite.js +8 -8
  103. package/src/ui/invites.js +3 -3
  104. package/src/ui/new-session.js +151 -0
  105. package/src/ui/prail-model.js +22 -0
  106. package/src/ui/prail.js +43 -0
  107. package/src/ui/project-board.js +359 -0
  108. package/src/ui/project-model.js +197 -0
  109. package/src/ui/project-pop.js +451 -0
  110. package/src/ui/projects.js +406 -0
  111. package/src/ui/sandbox-keys.js +3 -3
  112. package/src/ui/secrets-view.js +5 -5
  113. package/src/ui/session-words.js +2 -2
  114. package/src/ui/session.js +156 -43
  115. package/src/ui/tree.js +3 -3
  116. package/src/ui/voice.js +6 -6
  117. package/src/ui/workspaces.js +23 -23
  118. package/src/ui-server.js +104 -26
  119. package/src/update-check.js +2 -2
  120. package/src/voice.js +7 -7
  121. package/src/wake-tool.js +1 -1
  122. package/src/webhooks.js +1 -1
  123. package/src/workspace-cli.js +12 -12
  124. 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 project, on their own machine,
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 project folder and
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 session on its own. Tools without MCP can
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 session from the invite link, you let it in, and it reads
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
- - **Workspaces (behind a flag while they settle).** They gather your
55
- sessions, the people and agents in them, and files, in one place. Agents
56
- can work in them too: invite one as a global, workspace or session agent,
57
- and a workspace's agents are invited to its new sessions for you to let in.
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 session
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 session as its own
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: start a session, send the invite link, and
81
- partners click it to join. Closing the window keeps your sessions syncing from
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 project there.
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
- - **Start a session:** pick your project folder. You get an invite link to send.
128
- - **Join a session:** paste an invite link and pick where the project should go.
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 rejoin recent sessions later.
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 session** in your project folder:
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 session starts, Quilt adds its MCP server to every AI tool it
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
- project, and it keeps them current when the app moves or updates. A tool that
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 session for this folder |
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 session |
202
- | `quilt join` | Rejoin this folder's last session (merges offline edits) |
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 project |
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 session from an invite link, as a Quilt agent saved with `quilt agent join` |
221
- | `quilt_start_session` | Start a new session for a folder, as that agent, and get an invite link |
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 project'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>`) |
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 project file through chat (secrets and paths outside the project are refused) |
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 workspaces you can reach, with your access, open sessions, files and storage used (only when the server has workspaces on, as are the tools below) |
242
- | `quilt_workspace_files` | A workspace library's files, by folder or glob |
243
- | `quilt_workspace_read_file` / `quilt_workspace_write_file` | Read a file from the library (text comes back inline; anything else as a link, saved to `~/.quilt/workspaces/` on a computer); put a file there with a short note |
244
- | `quilt_workspace_move_file` / `quilt_workspace_delete_file` | Move or rename a library file; delete one |
245
- | `quilt_workspace_webhook` / `quilt_workspace_webhook_off` | Be told when a session starts in one of your workspaces, with its link; or stop that |
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 session, the app's main area has two modes:
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 session,
291
- which is woken. Only a session with no AI at all falls back to notices to people
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 session, with no human running Quilt for
310
- it. Give the agent an invite link and it calls `quilt_join_session`. The project
311
- syncs into its folder, and everyone sees it in the session with an agent badge.
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 session with `quilt_start_session` and
314
- hand out the invite. The session lasts as long as the agent's MCP server runs.
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 session's members, so a name is spelled
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 sessions they join, takes tasks for their AI and answers what
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 session chat |
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 session the agent is in (a hosted agent's, and
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 workspaces
412
+ ### Agents in projects
409
413
 
410
- With workspaces on, **Invite an agent** (in Settings › Agents, a workspace's Add
411
- dialog, or a session's Invite dialog) asks what kind of agent to invite:
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 workspaces, invited to their sessions.
414
- - **Workspace agent:** in one workspace (your own, or an org's you manage),
415
- invited to its sessions.
416
- - **Session agent:** invited to one session; the text you paste into the AI
417
- carries that session's link.
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 workspace in one of two ways:
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 workspace adds the agent on the
422
- workspace's page, with edit or view access, or makes a one-time invite link
423
- for a new agent there (a workspace agent).
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 Workspaces: Update), **Works in** says where the agent works: all your
427
- workspaces (a **Global** agent; for an org, all the org's), the ones you pick, or only where it is added. A
428
- workspace's admins can still change whether a placed agent is invited to its
429
- sessions, or keep it out of that workspace.
430
-
431
- Inheritance is an invitation, not admission. **Invited to new sessions** says
432
- whether each new session in the workspace sends the agent its link (Every
433
- session) or not (Not automatically). The agent then waits like anyone else
434
- with the link, and the session's owner lets it in; being in the workspace never
435
- lets an agent into a session by itself (people in a workspace still get into
436
- its sessions at their workspace access). Only an agent's owner can have it
437
- invited to every session: someone else's agent added to your workspace is
438
- invited by hand. A session's owner sees the agents its workspace invited in the
439
- session's People (waiting, in, or invited), and can say **Don't invite** for that
440
- one session or **Invite** it again, which sends it the link at once.
441
-
442
- An agent invited to every session needs to hear when one starts: it calls
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
- session in one of its workspaces, Quilt POSTs `session.started` there with
445
- the session's invite link, signed like the session webhooks above. Quilt never
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 library tools read and write the workspace's files (images, video,
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 project file of up to 500 MB.
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 sessions at once: each `quilt_join_session` adds one. While it
479
- is in more than one, every tool call names the session in `session` (the IDs come
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 session the
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 shared project. Everyone who can
504
- see the message gets the file in the `Chat files` folder of their session
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 session have it. The limit is 100 MB per file.
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 session's shared state and the files
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 session has its own secret, and the owner approves who gets in.
526
- - Sessions have size quotas and shared-file quotas, and each account can start
527
- 30 sessions an hour.
528
- - Idle sessions are unloaded from memory, and sessions nobody opens for 30
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 session**, list it in a `.quiltignore`
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 session, the
544
- session's version wins and yours is copied to `.quilt/conflicts/<time>/`.
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 session's work comes back onto them a moment later
551
- (your stash keeps your copy); commits you pull are merged into the session's
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 session syncs.
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 project
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 project contents.
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 session), `src/server.js` (relay), `src/connection.js` (client protocol +
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,23 @@ 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.183 — 2026-11-22
15
+
16
+ What you code in together is now called a codebase.
17
+
18
+ - **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.
19
+ - **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.
20
+ - **The rules Quilt writes into a repository** (`AGENTS.md`) use the new words the next time `quilt setup` runs there.
21
+
22
+ ## 0.3.182 — 2026-11-22
23
+
24
+ Every session's folder comes with git, for whoever starts it and for whoever joins.
25
+
26
+ - **Create a codebase.** New session opens a new pop-up with three ways to start. **Import from GitHub**: paste a repository's address (or `owner/name`) and Quilt clones it with git on your computer. **Start from scratch**: name it and say what you want to build; Quilt makes the folder, sets up git, and puts your idea on the board as the first task. **Use a folder**: any folder on your computer; if it has no git yet, Quilt sets it up and saves what is there as the first commit. The pop-up shows where the folder goes before you start, and **Change** puts it somewhere else.
27
+ - **People who join get git too.** When a session's folder is a clone of a repository, someone who joins with an empty folder gets the files and git with them: the same repository, fetched with their own git sign-in, on the same branch and commit as their partner. What the session has that is not committed shows as changes in their folder. Tickets, branches and commits arriving by themselves then work for them without cloning anything by hand.
28
+ - **If git can't be set up for a joiner, they still join.** With no sign-in for the repository, or no network, they get the files as before, and Quilt says why and what to do. A project started from scratch has no repository to fetch from until it is pushed somewhere, so people who join it get the files without git.
29
+ - **Choose a folder opens in front.** In the browser, the folder picker opened behind Settings and other pop-ups.
30
+
14
31
  ## 0.3.181 — 2026-11-19
15
32
 
16
33
  - **An agent goes back to main when its ticket is done.** An agent works on its ticket's branch, and once the ticket is moved to Done, by the agent or by you, its folder returns to the main branch by itself. Its next ticket starts from there. If it still has changes of its own on the branch that are not committed, it stays and says so. Your own folder is never moved.