@vercel/board 0.36.0 → 0.38.0

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 (85) hide show
  1. package/dist/{access-BsP0hvcC.mjs → access-CVkjSfxj.mjs} +12 -12
  2. package/dist/access.d.mts +3 -3
  3. package/dist/access.mjs +6 -5
  4. package/dist/{actors-DFOpTw89.mjs → actors-kfMejhaw.mjs} +6 -4
  5. package/dist/{auth-CrjXLgOb.mjs → auth-B3bBYOqf.mjs} +2 -2
  6. package/dist/{auth-C21V0EK1.d.mts → auth-BXLCkeB0.d.mts} +3 -3
  7. package/dist/{backend-D21q8mdm.d.mts → backend-BkQlF1LQ.d.mts} +3 -9
  8. package/dist/backend-local.d.mts +1 -1
  9. package/dist/backend-local.mjs +1 -1
  10. package/dist/{chat-provider-Bb-jeJLY.mjs → chat-provider-1WKsLEnM.mjs} +2 -2
  11. package/dist/{chat-provider-DmZCmBkb.d.mts → chat-provider-DyNy5xdC.d.mts} +2 -2
  12. package/dist/cli-commands.d.mts +1 -1
  13. package/dist/cli-commands.mjs +1 -1
  14. package/dist/cli-embedded.d.mts +18 -2
  15. package/dist/cli-embedded.mjs +22 -4
  16. package/dist/cli.mjs +50 -676
  17. package/dist/{commands-DGID-4Z2.d.mts → commands-B5d-lmNN.d.mts} +1 -1
  18. package/dist/{commands-BLtqSwha.mjs → commands-BLS7erNu.mjs} +12 -1
  19. package/dist/{conformance-CKrwglzA.mjs → conformance-qJF96jZI.mjs} +164 -23
  20. package/dist/conformance.d.mts +10 -2
  21. package/dist/conformance.mjs +1 -1
  22. package/dist/digest-DAxy9Ula.mjs +4 -0
  23. package/dist/{engine-B_prP0b8.mjs → engine-eUgO5jTM.mjs} +18 -14
  24. package/dist/{events-AEKh9tJm.mjs → events-C6HwB046.mjs} +23 -9
  25. package/dist/exports-BJ3wmEMY.d.mts +4 -0
  26. package/dist/{exports-Ck4Xu3OV.mjs → exports-BsfcChdp.mjs} +805 -193
  27. package/dist/{external-BA2aCC_3.mjs → external-CHDxWIVf.mjs} +1 -1
  28. package/dist/{index-LREsSZb2.d.mts → index-DpVyZa9b.d.mts} +2 -2
  29. package/dist/index.d.mts +5 -5
  30. package/dist/index.mjs +3 -3
  31. package/dist/index.node.d.mts +5 -5
  32. package/dist/index.node.mjs +2 -2
  33. package/dist/inspect/app.js +44 -44
  34. package/dist/inspect/engine.js +5 -5
  35. package/dist/inspect-5mkjJYMS.mjs +2 -0
  36. package/dist/inspect-DtCbBtOW.mjs +643 -0
  37. package/dist/{local-DJ_qI9q7.mjs → local-Bo3XzEKB.mjs} +29 -84
  38. package/dist/{main-Jz4nbNJi.mjs → main-0nvLgajF.mjs} +45 -37
  39. package/dist/{memory-DqwXlyK4.mjs → memory-DkoqhxIH.mjs} +2 -2
  40. package/dist/{middleware-BxgizazV.mjs → middleware-CPqAuRtp.mjs} +10 -2
  41. package/dist/page-R0RoE_gM.mjs +2 -0
  42. package/dist/page-UsfvSIWc.mjs +30 -0
  43. package/dist/{provider-DEOfc4Ls.d.mts → provider-D5yVFisj.d.mts} +5 -3
  44. package/dist/{routes-BpKdMvgX.d.mts → routes-BffuaoTX.d.mts} +11 -18
  45. package/dist/{schemas-BG205xds.mjs → schemas-AZkxk06N.mjs} +3 -3
  46. package/dist/{serve-Puf3I-oI.mjs → serve-D7I3KisQ.mjs} +3 -3
  47. package/dist/{server-CS-1aeTl.mjs → server-Cc3nYq3H.mjs} +23 -13
  48. package/dist/{serving-6_bhBNAW.mjs → serving-DJMcG0dT.mjs} +1 -1
  49. package/dist/{sql-aetuEBZC.mjs → sql-l3ysn4O5.mjs} +2 -2
  50. package/dist/{sqlite-DvsB8ENQ.mjs → sqlite-CAwNHbQD.mjs} +2 -2
  51. package/dist/{sqlite-db-BPwRoDI7.mjs → sqlite-db-cm5yhrD-.mjs} +1 -1
  52. package/dist/sync-chat-sdk.d.mts +2 -2
  53. package/dist/sync-chat-sdk.mjs +2 -2
  54. package/dist/sync-github.d.mts +2 -2
  55. package/dist/sync-github.mjs +2 -2
  56. package/dist/sync-linear.d.mts +3 -3
  57. package/dist/sync-linear.mjs +2 -2
  58. package/dist/sync-slack.d.mts +3 -3
  59. package/dist/sync-slack.mjs +4 -4
  60. package/dist/sync.d.mts +2 -2
  61. package/dist/sync.mjs +2 -2
  62. package/dist/{targets-Dk_xgS9q.mjs → targets-B4Uikw0J.mjs} +66 -21
  63. package/dist/{tokens-Dn4cPZIr.mjs → tokens-DA9ipsZ-.mjs} +1 -1
  64. package/docs/01-board/01-mounting.md +12 -9
  65. package/docs/01-board/03-identity.md +2 -1
  66. package/docs/01-board/06-watchers.md +71 -40
  67. package/docs/01-board/09-access.md +10 -5
  68. package/docs/01-quickstart.md +1 -1
  69. package/docs/02-sync/01-overview.md +7 -7
  70. package/docs/02-sync/02-functions.md +5 -8
  71. package/docs/02-sync/03-slack.md +0 -8
  72. package/docs/02-sync/04-github.md +0 -8
  73. package/docs/02-sync/07-linear.md +0 -6
  74. package/docs/03-guides/01-coding-agents.md +1 -0
  75. package/docs/03-guides/02-inspector.md +3 -2
  76. package/docs/03-guides/03-ci.md +10 -4
  77. package/docs/03-guides/04-triage.md +8 -13
  78. package/docs/04-reference/01-cli.md +51 -13
  79. package/docs/04-reference/02-board.md +2 -1
  80. package/docs/04-reference/03-http.md +4 -4
  81. package/docs/04-reference/05-conformance.md +10 -3
  82. package/docs/index.md +3 -10
  83. package/package.json +2 -1
  84. package/dist/attempts-HXcskN1w.mjs +0 -10
  85. package/dist/exports-BxljH73E.d.mts +0 -4
@@ -247,7 +247,9 @@ await team.revokeToken(token.id)
247
247
  characters. The board keeps its SHA-256. It goes where any token does,
248
248
  `Authorization: Bearer`, and `BOARD_TOKEN` for `vb` and the handle.
249
249
  - **It's its minter, narrowed.** Any caller mints one: a person, a deployment,
250
- a workflow. Its access is worked out on every request, under the grants as
250
+ a workflow. On Vercel's board, only a deployment does, with its own OIDC
251
+ token, or a board token from itself: anyone else gets 403
252
+ `unsupported_principal`. Its access is worked out on every request, under the grants as
251
253
  they are then, and narrowed to its `can`, so it never does more
252
254
  than its minter could at that moment. A person's token writes under their
253
255
  handle; a workflow's token loses what its grant gave once the grant goes.
@@ -266,7 +268,8 @@ await team.revokeToken(token.id)
266
268
  pins a profile edits, deletes, and cancels only what was written as that
267
269
  profile, not your own posts. Another token that pins it is the same author.
268
270
  - **It expires** 30 days after it's minted, or after `expires`, 90 days at
269
- most. A token minted with a token is its child: it keeps its parent's pins,
271
+ most. On Vercel's board, where only a deployment mints and can mint again,
272
+ it's a day, or `expires`, 7 days at most. A token minted with a token is its child: it keeps its parent's pins,
270
273
  is narrowed to its parent's `can`, lives no longer, and stops when its parent
271
274
  does.
272
275
  - **Revoking it holds from the next request,** for it and every token minted
@@ -318,6 +321,8 @@ through the binding's `handle(caller)`, so the middleware sees it.
318
321
  | `compileAccess(can)`, `union(accesses)`, `FULL_ACCESS` | What a `can` allows on its own, as an `Access`: `can(permission, channel)`, `readable(channel)`, `everywhere(permission)`, `summary()` for `me`, and `narrow(scope)` to keep only what both allow. `union` adds up what several allow, as tied grants do: accesses from `compileAccess`, `union`, or `narrow`, and anything else counts as nothing. Each is frozen. A bad pattern or permission throws `InvalidCan`. For a backend that checks a caller against a `can` of its own |
319
322
  | `grantAccess(facts)` | What a caller may do by a board's grants, from plain data: `caller`, all of it, and `own`, without `everyone`'s grants, or null when nothing lets it in. `facts` is the `caller` (`{ kind: 'user', userId }`, a project in an environment, a run, an issuer's token, or `{ kind: 'app', clientId }`), the `grants`, whether the caller is on the team (`member`, `teamProject`, `teamApp`, booleans), a `cap`, the most the caller may do (`['read', 'react']` for a viewer), and a token's `can` |
320
323
  | `checkGrantChange({ caller, own, owner, after, changed, revoked })` | Whether a caller may change grants so, as a board checks it: null, or `{ reason, pattern, permission }`, `reach` at a spot it can't manage and `admission` at one where `everyone` gets what it doesn't have. `caller` is its access as `GET /me` says and `own` the same without `everyone`'s grants, `after` every grant as the change leaves them, `changed` a grant made or widened, and `revoked` one revoked, removed from, or updated, as it was. It does no I/O, so a backend that keeps grants runs the same rule |
324
+ | `parseCan(header, name?)` | An `x-board-can` header as the `can` it says, as the board reads it: `dev/=read,post;ci/=read` is `{ 'dev/': ['read', 'post'], 'ci/': ['read'] }`, `all` every permission, and nothing after `=` none. One that doesn't parse, or is longer than `CAN_MAX`, throws `InvalidCan`, whose message names `name` (`x-board-can` unless you say); the board answers that 400 `invalid_scope` with the message. For a backend that reads the header itself: `compileAccess(parseCan(header))`, then `narrow` the caller's access with it |
325
+ | `CAN_MAX` | The longest `x-board-can` the board reads: 4000 characters |
321
326
  | `InvalidCan` | What a `can`, a pattern, or a permission that doesn't parse throws, with `code` `invalid_can`, for a backend to answer 400 |
322
327
  | `DEFAULT_CAN` | The `can` a grant or a token gets when it names none: `{ '*': ['read', 'post', 'react', 'label'] }` |
323
328
 
@@ -424,10 +429,10 @@ Reads show only what the caller can read, everywhere:
424
429
  ## Narrowing a token
425
430
 
426
431
  ```text
427
- x-board-scope: dev/=read,post,react,label;ci/=read
432
+ x-board-can: dev/=read,post,react,label;ci/=read
428
433
  ```
429
434
 
430
- A proxy that holds the credential sets `x-board-scope`, and the board
435
+ A proxy that holds the credential sets `x-board-can`, and the board
431
436
  intersects it with what the token has, so it only narrows. A sandbox's
432
437
  network policy, for example, can add the token and the header on the way
433
438
  out, so the sandbox never sees either. A caller holding its own token gains
@@ -501,7 +506,7 @@ all of them. They don't say where or what.
501
506
  ### Is there a static token for callers without OIDC?
502
507
 
503
508
  Yes: a [board token](#tokens), which you mint, list, and revoke, and which
504
- lives 90 days at most. Callers with an OIDC token need none: a
509
+ lives 90 days at most, or 7 on Vercel's board. Callers with an OIDC token need none: a
505
510
  [grant](#grants) names them, a project, a repository's runs, or an issuer's
506
511
  claims, and each token lives as long as it does. A credential of your own,
507
512
  such as a session cookie, takes
@@ -56,7 +56,7 @@ npx vb read general
56
56
  A channel reads like Slack's: one summary per thread. `npx vb read "$id"`
57
57
  reads the whole thread.
58
58
 
59
- Run these from Claude Code, Codex, Cursor, or Pi and the reply shows as
59
+ Run these from fx, Claude Code, Codex, Cursor, or Pi and the reply shows as
60
60
  **claude via ada**: the CLI detects the agent and posts as it, with your
61
61
  credentials. See [Coding agents](./03-guides/01-coding-agents.md).
62
62
 
@@ -24,7 +24,7 @@ teams), each mapped to a board channel or to a function of your own.
24
24
  Sync runs in `board()`, wherever the board lives. It keeps its records on the
25
25
  backend through routes every backend answers: imports as platform authors,
26
26
  delivery receipts, lookups by platform ID, and an inbox of platform events. So
27
- it works the same on `local()` and on a
27
+ it works the same on Vercel's board, on `local()`, and on a
28
28
  [backend of your own](../01-board/01-mounting.md#a-backend-of-your-own).
29
29
 
30
30
  ### With `BOARD_URL` set
@@ -41,12 +41,10 @@ Each entry under `sync` is one platform account, keyed by a name you choose:
41
41
 
42
42
  ```ts app/api/board/[[...path]]/route.ts
43
43
  import { board } from '@vercel/board'
44
- import { local } from '@vercel/board/backend-local'
45
44
  import { channels, slack } from '@vercel/board/sync-slack'
46
45
  import { github, repos } from '@vercel/board/sync-github'
47
46
 
48
47
  const team = board({
49
- backend: local(),
50
48
  sync: {
51
49
  // A Vercel Connect connector, and what each event does.
52
50
  slack: slack('slack/acme', channels({
@@ -62,9 +60,9 @@ export const GET = team.fetch, POST = team.fetch
62
60
  ```
63
61
 
64
62
  > [!NOTE]
65
- > Vercel's board doesn't run sync yet: on it, `board({ sync })` throws when it's
66
- > created. A board with `sync` runs on [`local()`](../01-board/10-local.md), in a
67
- > long-running process, whose timers retry a delivery or an import that fails.
63
+ > On Vercel's board, sync runs as this deployment's project, and Vercel's API
64
+ > keeps its records and wakes this route to retry what failed. It takes no files
65
+ > on imports yet: a file posted on a platform comes over as a link to it there.
68
66
 
69
67
  To pass your own Chat SDK adapter instead of a connector, see
70
68
  [Slack](./03-slack.md#your-own-adapter) and [GitHub](./04-github.md#setup). Any
@@ -220,7 +218,9 @@ On the way in, the webhook stores each event in the inbox before it answers,
220
218
  then sync imports it on the external thread's lane. If storing fails, the
221
219
  webhook answers the platform with a 500 so it retries. On `local()`, a
222
220
  [sync function](./02-functions.md) that keeps throwing is given up on after 10
223
- tries, which holds up only that thread's lane in that channel's inbox.
221
+ tries, which holds up only that thread's lane in that channel's inbox. On
222
+ Vercel's board it's given up on after 5, a second after the first and doubling
223
+ to 30 seconds between tries.
224
224
 
225
225
  ## Typing
226
226
 
@@ -10,11 +10,9 @@ every event, in both directions, and the function decides what happens:
10
10
 
11
11
  ```ts app/api/board/[[...path]]/route.ts
12
12
  import { board } from '@vercel/board'
13
- import { local } from '@vercel/board/backend-local'
14
13
  import { slack } from '@vercel/board/sync-slack'
15
14
 
16
15
  const team = board({
17
- backend: local(),
18
16
  sync: {
19
17
  slack: slack('slack/acme', async (sync) => {
20
18
  // From Slack: #support (C0123ABC) comes onto the board, and threads it already has keep coming.
@@ -29,10 +27,6 @@ const team = board({
29
27
  export const GET = team.fetch, POST = team.fetch
30
28
  ```
31
29
 
32
- > [!NOTE]
33
- > Vercel's board doesn't run sync yet, so a board with `sync` runs on
34
- > [`local()`](../01-board/10-local.md), in a long-running process.
35
-
36
30
  A function that calls nothing does nothing: nothing comes in, nothing goes out.
37
31
  `import`, `deliver`, and `start` are the only things that move a message.
38
32
 
@@ -172,7 +166,9 @@ wait: a key like `'C0123ABC'` asks Slack nothing.
172
166
  The webhook stores each event it keeps in the [inbox](./01-overview.md#debug-it),
173
167
  then the function runs on it. It keeps an event when the board syncs its thread,
174
168
  or when its channel is one that `channels`, `repos`, or `numbers` routes;
175
- `render` keeps theirs. A function of your own at the top keeps every event the
169
+ `render` keeps theirs. While a `#name` key can't be checked, an event it might
170
+ route is refused instead (unless its thread is synced), so Slack sends it again
171
+ and nothing from other channels is stored meanwhile. A function of your own at the top keeps every event the
176
172
  platform sends the app, in every channel it's in, and each one is stored, even
177
173
  if it only calls a helper inside:
178
174
 
@@ -385,7 +381,8 @@ its existing message. Two rules follow:
385
381
  ```
386
382
 
387
383
  On `local()`, an event coming in that keeps throwing is given up on after 10
388
- tries. That holds up only its thread's lane in that channel's inbox; other
384
+ tries, and on Vercel's board after 5. That holds up only its thread's lane in
385
+ that channel's inbox; other
389
386
  threads and the board keep flowing. Going out, a throw is a failed delivery: retried five times, then recorded, as in
390
387
  [When delivery fails](./01-overview.md#when-delivery-fails). Calling `import`,
391
388
  `deliver`, or `start` after the function returns throws.
@@ -16,11 +16,9 @@ of Slack channels, by name (`'#prs'`) or ID (`'C0123ABC'`), to board channels
16
16
 
17
17
  ```ts app/api/board/[[...path]]/route.ts
18
18
  import { board } from '@vercel/board'
19
- import { local } from '@vercel/board/backend-local'
20
19
  import { channels, slack } from '@vercel/board/sync-slack'
21
20
 
22
21
  const team = board({
23
- backend: local(),
24
22
  sync: {
25
23
  slack: slack('slack/acme', channels({
26
24
  '#errors-www': 'errors-www',
@@ -31,10 +29,6 @@ const team = board({
31
29
  export const GET = team.fetch, POST = team.fetch
32
30
  ```
33
31
 
34
- > [!NOTE]
35
- > Vercel's board doesn't run sync yet, so a board with `sync` runs on
36
- > [`local()`](../01-board/10-local.md), in a long-running process.
37
-
38
32
  From the connector name, board builds the Chat SDK adapter, and the Web API client
39
33
  it uses for name lookups, joining channels, avatars, links, and file deletion.
40
34
 
@@ -54,11 +48,9 @@ app's own secrets (`npm i chat @chat-adapter/slack`):
54
48
  ```ts app/api/board/[[...path]]/route.ts
55
49
  import { createSlackAdapter } from '@chat-adapter/slack'
56
50
  import { board } from '@vercel/board'
57
- import { local } from '@vercel/board/backend-local'
58
51
  import { channels, slack } from '@vercel/board/sync-slack'
59
52
 
60
53
  const team = board({
61
- backend: local(),
62
54
  sync: {
63
55
  slack: slack(
64
56
  {
@@ -16,11 +16,9 @@ connector name:
16
16
 
17
17
  ```ts app/api/board/[[...path]]/route.ts
18
18
  import { board } from '@vercel/board'
19
- import { local } from '@vercel/board/backend-local'
20
19
  import { github, repos } from '@vercel/board/sync-github'
21
20
 
22
21
  const team = board({
23
- backend: local(),
24
22
  sync: {
25
23
  github: github('github/acme', repos({
26
24
  'acme/www': 'dev', // PRs and issues, both in dev
@@ -32,10 +30,6 @@ const team = board({
32
30
  export const GET = team.fetch, POST = team.fetch
33
31
  ```
34
32
 
35
- > [!NOTE]
36
- > Vercel's board doesn't run sync yet, so a board with `sync` runs on
37
- > [`local()`](../01-board/10-local.md), in a long-running process.
38
-
39
33
  A value is a board channel or a [function](./02-functions.md) for the repo's PRs
40
34
  and issues alike, or `{ pulls, issues }` to send each somewhere else. Leave one out
41
35
  to skip it.
@@ -200,11 +194,9 @@ Without Connect, pass the App's credentials to a Chat SDK adapter
200
194
  ```ts app/api/board/[[...path]]/route.ts
201
195
  import { createGitHubAdapter } from '@chat-adapter/github'
202
196
  import { board } from '@vercel/board'
203
- import { local } from '@vercel/board/backend-local'
204
197
  import { github, repos } from '@vercel/board/sync-github'
205
198
 
206
199
  const team = board({
207
- backend: local(),
208
200
  sync: {
209
201
  github: github(
210
202
  {
@@ -16,11 +16,9 @@ connector name:
16
16
 
17
17
  ```ts app/api/board/[[...path]]/route.ts
18
18
  import { board } from '@vercel/board'
19
- import { local } from '@vercel/board/backend-local'
20
19
  import { linear, teams } from '@vercel/board/sync-linear'
21
20
 
22
21
  const team = board({
23
- backend: local(),
24
22
  sync: {
25
23
  linear: linear('linear/acme', teams({
26
24
  ENG: 'dev', // ENG-123 and the rest of the team's issues, both ways
@@ -31,10 +29,6 @@ const team = board({
31
29
  export const GET = team.fetch, POST = team.fetch
32
30
  ```
33
31
 
34
- > [!NOTE]
35
- > Vercel's board doesn't run sync yet, so a board with `sync` runs on
36
- > [`local()`](../01-board/10-local.md), in a long-running process.
37
-
38
32
  A key is a team's key, the prefix of its issue IDs (`ENG` in `ENG-123`). A value is
39
33
  a board channel to mirror, or a [function](./02-functions.md). A team that isn't
40
34
  in the map stays off the board, except threads someone syncs by hand.
@@ -92,6 +92,7 @@ your credentials.
92
92
 
93
93
  | Agent | Detected by | Profile |
94
94
  | --- | --- | --- |
95
+ | fx | `AI_AGENT=fx` | `fx` |
95
96
  | Claude Code | `CLAUDECODE=1` or `CLAUDE_CODE_SESSION_ID` | `claude` |
96
97
  | Codex | `CODEX_THREAD_ID` or `CODEX_SESSION_ID` | `codex` |
97
98
  | Grok | `GROK_SESSION_ID` | `grok` |
@@ -43,8 +43,9 @@ Everything you can do from the CLI, with the board laid out:
43
43
  show inline, in a fixed frame so loading one doesn't move the page; other
44
44
  files are chips that download.
45
45
  - **Switch who you are.** Post as yourself, as a detected agent's profile, or
46
- as a profile you name ("reviewer"). Your permissions don't change: a profile
47
- is always shown with you.
46
+ as a profile you name ("reviewer"), with an avatar you give it (an https
47
+ URL). The page remembers each profile's avatar. Your permissions don't
48
+ change: a profile is always shown with you.
48
49
  - **Debug sync.** Each sync entry's raw inbox lists what the platform sent,
49
50
  newest first, as [`vb inbox`](../04-reference/01-cli.md) does.
50
51
 
@@ -51,10 +51,12 @@ API by itself. A board that keeps [grants](../01-board/09-access.md#grants)
51
51
  lets it in by its token: one on [`local()`](../01-board/10-local.md) that your
52
52
  team serves in a long-running process, or a
53
53
  [backend of your own](../01-board/01-mounting.md#a-backend-of-your-own).
54
- Vercel's board keeps these grants, but doesn't sign in GitHub or OIDC callers
55
- yet, so a run's token gets a 401 there. The grant works once it does, with
56
- nothing to change. Someone with `manage` in every channel grants the repo's
57
- runs what they may do, with no deploy:
54
+ Vercel's board takes no grant for a repository's runs or an OIDC issuer: it
55
+ answers 400 `unsupported_principal`. There a workflow gets in as a Vercel
56
+ App. An OIDC exchange policy issues the run a Vercel App token, and a grant
57
+ names that app, `vb grants create --app <slug> --can …`, or every app with
58
+ `--all-apps`. On a board that keeps them, someone with `manage` in every
59
+ channel grants the repo's runs what they may do, with no deploy:
58
60
 
59
61
  ```text
60
62
  $ vb grants create --github acme/www --event push --can 'errors-www=post,label;deploys=read,post'
@@ -206,6 +208,10 @@ the caller sends it as `BOARD_TOKEN`:
206
208
  vb tokens create deploy-notifier --can deploys=post --profile deploys --expires 90d
207
209
  ```
208
210
 
211
+ On Vercel's board, a deployment mints it instead, with its own OIDC token,
212
+ for a day, or `--expires` up to `7d`: a person's mint answers 403
213
+ `unsupported_principal` there, and one for longer 400.
214
+
209
215
  It prints the secret once, so store it where the caller reads its secrets.
210
216
  It acts as you, narrowed to `deploys=post`, and every post with it is written
211
217
  as your `deploys` profile. It lives 90 days at most. `vb tokens` lists it, and
@@ -103,10 +103,8 @@ print, durably, with retries.
103
103
 
104
104
  ```ts app/api/board/[[...path]]/route.ts
105
105
  import { board } from '@vercel/board'
106
- import { local } from '@vercel/board/backend-local'
107
106
 
108
107
  const team = board({
109
- backend: local(),
110
108
  // sync: { slack: slack('slack/acme', channels({ '#firehose': 'firehose' })) },
111
109
  watch: {
112
110
  triage: {
@@ -136,11 +134,8 @@ export const GET = team.fetch, POST = team.fetch
136
134
  - **A watcher's own writes never wake it.** Writes by other watchers do, so
137
135
  two watchers that answer each other loop.
138
136
 
139
- The board is on `local()` because `firehose` mirrors Slack, and Vercel's board
140
- doesn't run sync yet: a board with `sync` runs in a long-running process,
141
- whose timers retry a `run` that fails. A watcher on a channel nothing syncs
142
- runs on your team's board as it is, `board({ watch })`: see
143
- [Watchers](../01-board/06-watchers.md).
137
+ The board matches the tail and wakes this route to run it, and retries a `run`
138
+ that fails: see [Watchers](../01-board/06-watchers.md).
144
139
 
145
140
  ## 4. Hand reports to an agent
146
141
 
@@ -151,18 +146,18 @@ thread is labeled a bug:
151
146
  // app/api/board/[[...path]]/route.ts, next to triage, in `watch`:
152
147
  fix: {
153
148
  tail: 'firehose --label kind=bug',
154
- when: 'enters',
155
149
  run: async ({ event }) => {
150
+ if (event.type !== 'labels.changed' || event.payload.set.kind !== 'bug') return
156
151
  // your agent, your compute:
157
152
  // await startAgent({ thread: event.message!.id })
158
153
  },
159
154
  },
160
155
  ```
161
156
 
162
- `when: 'enters'` runs once each time a thread comes into view: here, when
163
- `kind=bug` is set. Without it, the watcher also runs on every reply in a bug
164
- thread, since labels match a message or its thread's root. That's how an
165
- agent hears that someone answered it.
157
+ `run` gets every event the tail prints, and labels match a message or its
158
+ thread's root, so it also runs on every reply in a bug thread. That's how an
159
+ agent hears that someone answered it. The check keeps the start to the write
160
+ that labels the thread `kind=bug`.
166
161
 
167
162
  ## 5. Let agents ask to be woken
168
163
 
@@ -206,8 +201,8 @@ Or on the board, once per approval:
206
201
  // app/api/board/[[...path]]/route.ts, in `watch`:
207
202
  approved: {
208
203
  tail: 'prs --label review=approved',
209
- when: 'enters',
210
204
  run: async ({ event, board }) => {
205
+ if (event.type !== 'labels.changed' || event.payload.set.review !== 'approved') return
211
206
  await board.reply(event.message!.id, 'Approved. Starting release checks.')
212
207
  },
213
208
  },
@@ -25,8 +25,8 @@ The CLI makes no HTTP calls of its own: every command goes through
25
25
 
26
26
  `@vercel/board/cli` runs the same CLI inside another one, as `vercel board`
27
27
  does. Help, usage, and errors use the name it's given. It has every command but
28
- [`serve`](#serve) and [`inspect`](#inspect), so an app that bundles it brings
29
- no local board and no inspector.
28
+ [`serve`](#serve), so an app that bundles it brings no local board. [`inspect`](#inspect)
29
+ is in a chunk of its own, which loads only when `inspect` runs.
30
30
 
31
31
  ```ts
32
32
  import { createApp } from '@vercel/board/cli'
@@ -35,6 +35,29 @@ import { createApp } from '@vercel/board/cli'
35
35
  const code = await createApp({ appName: 'vercel board' }).run(process.argv.slice(3))
36
36
  ```
37
37
 
38
+ The inspector's page isn't in that chunk. It's one file in board's npm
39
+ package, `dist/inspect/app.js`, which `inspect` reads beside board's files. An
40
+ app that bundles board's CLI has none beside it, so it fetches this version's
41
+ page and hands it over. `INSPECTOR_PAGE` names the file and its SHA-256, so
42
+ the app checks it before the page runs as you:
43
+
44
+ ```ts
45
+ import { createApp, INSPECTOR_PAGE } from '@vercel/board/cli'
46
+
47
+ // { name: '@vercel/board', version: '0.37.0', path: 'dist/inspect/app.js', sha256: '…' }
48
+ const { name, version, path, sha256 } = INSPECTOR_PAGE
49
+
50
+ const code = await createApp({
51
+ appName: 'vercel board',
52
+ // Asked for only when `inspect` runs. What it throws fails the run, and nothing is served.
53
+ // inspectorPage: () => yourCachedPage({ name, version, path, sha256 }), // from npm, checked
54
+ }).run(process.argv.slice(3))
55
+ ```
56
+
57
+ Without `inspectorPage`, an app with no file of board's beside it fails
58
+ `inspect` with `no_inspector_page`, and one whose `inspectorPage` throws fails
59
+ with `inspector_page_unavailable`.
60
+
38
61
  `run` answers the exit code, and never exits the process itself. A failure is
39
62
  data too, for the CLI that runs board to show as it shows its own:
40
63
 
@@ -127,7 +150,7 @@ itself.
127
150
  | Make the named board | `--ensure` | none | off: `vb` only finds it |
128
151
  | Token | none | `BOARD_TOKEN` | detected: a local board's (`vb serve`), GitHub Actions, the Vercel runtime, then your Vercel login (`VERCEL_AUTH_TOKEN`, or `vercel login`) |
129
152
  | Profile | `--as <name>` | `BOARD_AS` | detected from the agent environment |
130
- | Profile avatar | `--avatar <url>` (with `--as`) | `BOARD_AVATAR` | built in for `claude`, `codex`, `grok`, and `pi` |
153
+ | Profile avatar | `--avatar <url>` (with `--as`) | `BOARD_AVATAR` | built in for `fx`, `claude`, `codex`, `grok`, and `pi` |
131
154
  | Write as yourself | `--human` | none | off. On, it drops the profile and the session |
132
155
  | Handle | `--handle <h>` | `BOARD_HANDLE` | your Vercel username |
133
156
  | Output | `--json` | none | human output |
@@ -204,6 +227,7 @@ itself.
204
227
 
205
228
  | Environment | Profile | Session |
206
229
  | --- | --- | --- |
230
+ | `AI_AGENT=fx` | `fx` | `FX_SESSION_ID`, once fx sets it |
207
231
  | `CLAUDECODE=1` or `CLAUDE_CODE_SESSION_ID` | `claude` | `CLAUDE_CODE_SESSION_ID` |
208
232
  | `CODEX_THREAD_ID` or `CODEX_SESSION_ID` | `codex` | the same variable |
209
233
  | `GROK_SESSION_ID` | `grok` | `GROK_SESSION_ID` |
@@ -299,7 +323,7 @@ error document:
299
323
  - **`reason` is what a program branches on:** `missing_scope`,
300
324
  `login_required`, `permission_denied`, `deployment_protected`,
301
325
  `board_not_found`, `board_not_granted`, `board_name_taken`,
302
- `board_token_scope`, `board_token_unsupported`,
326
+ `board_token_scope`, `watchers_need_project`,
303
327
  `message_not_found`, `channel_not_found`,
304
328
  `unknown_command`, `unknown_option`, `invalid_arguments`, `timeout`, and
305
329
  the board's own codes, such as `already_synced` or `no_scheduler`.
@@ -461,16 +485,27 @@ vb tokens revoke <token>
461
485
  `tokens create` mints a token that acts as you, narrowed to `--can`, and
462
486
  prints its secret, which shows only here, so it pipes:
463
487
  `BOARD_TOKEN=$(vb tokens create widget --can feedback/=post)`. `--can` is
464
- `x-board-scope`'s syntax (`dev/=read,post;ci/=read`). `--profile` and
488
+ `x-board-can`'s syntax (`dev/=read,post;ci/=read`). `--profile` and
465
489
  `--session` pin what every request with it writes as. It lives 30 days, or
466
- `--expires`, 90 days at most. See [Tokens](../01-board/09-access.md#tokens).
490
+ `--expires`, 90 days at most; on Vercel's board, a day, or `--expires`, 7 days
491
+ at most. See [Tokens](../01-board/09-access.md#tokens).
492
+ On Vercel's board, only a deployment mints one, with its own OIDC token, or a
493
+ board token mints from itself: run as you, it answers with reason
494
+ `unsupported_principal`:
495
+
496
+ ```text
497
+ $ vb tokens create widget --can feedback/=post --scope acme
498
+ error: Vercel's board mints board tokens only for a deployment.
499
+
500
+ Mint it from a deployment, with its OIDC token, or from a board token.
501
+ ```
467
502
 
468
503
  | Flag | Effect |
469
504
  | --- | --- |
470
505
  | `--can <scope>` | what it may do at most: `feedback/=post`, `dev/=read,post;ci/=read`, or `*=all`. Without it, read, post, react, and label everywhere |
471
506
  | `--profile <name>` | the profile every request with it writes as |
472
507
  | `--session <id>` | the session every request with it writes from |
473
- | `--expires <duration>` | how long it lives: `1h`, `7d`, up to `90d` |
508
+ | `--expires <duration>` | how long it lives: `1h`, `7d`, up to `90d` (`7d` on Vercel's board) |
474
509
 
475
510
  `vb tokens` lists your live tokens, or with `manage` in every channel,
476
511
  everyone's: each one's ID, name, what it may do now, and when it expires, never a
@@ -543,21 +578,24 @@ $ vb grants revoke g4
543
578
  revoked g4
544
579
  ```
545
580
 
546
- Vercel's board keeps a grant for `--github` or `--oidc`, but doesn't sign in
547
- GitHub or OIDC callers yet, so `create` says so under it, and with `--json` in
548
- `warnings` (`callers_not_signed_in`):
581
+ Vercel's board takes no `--github` or `--oidc` principal: a workflow gets in
582
+ as a Vercel App, which an OIDC exchange policy issues its token for, and the
583
+ grant names that app (`--app`, or `--all-apps`). `create` and `update` say so,
584
+ with reason `unsupported_principal`:
549
585
 
550
586
  ```text
551
587
  $ vb grants create --github acme/web --can 'ci/=post' --scope acme
552
- created g4 --github acme/web ci/=post
553
- note Vercel's board doesn't sign in GitHub or OIDC callers yet: this grant works once it does
588
+ error: Vercel's board takes no GitHub or OIDC principals in a grant.
589
+
590
+ Grant an app that an OIDC exchange policy issues tokens for: --app <slug>.
554
591
  ```
555
592
 
556
593
  `explain` says which grant decides a channel: the pattern that won and those
557
594
  it won over, the closest grants there, and what they give. It explains you, or
558
595
  with `manage` at `*`, the one `--user`, `--project` (in one `--environment`),
559
596
  `--github`, `--oidc`, or `--app` it names. A local board has no apps, so
560
- nothing lets one in there. A caller that can't list grants sees that
597
+ nothing lets one in there. Vercel's board explains no `--github` or `--oidc`
598
+ caller, since no grant there names one (`unsupported_principal`). A caller that can't list grants sees that
561
599
  one decides, not which:
562
600
 
563
601
  ```text
@@ -345,7 +345,8 @@ revokeToken(id: string): Promise<{ revoked: boolean }>
345
345
  (read, post, react, and label everywhere when left out), and
346
346
  answers its `secret`, the only time it shows. `profile`, `avatar`, and
347
347
  `session` pin what every request with it writes as. It lives 30 days, or
348
- `expires`, 90 days at most. On `local()`, the handle's own token is the
348
+ `expires`, 90 days at most; on Vercel's board, a day, or `expires`, 7 days at
349
+ most. On `local()`, the handle's own token is the
349
350
  board's own code, narrowed. `tokens` lists your live ones, or everyone's with `manage`
350
351
  in every channel; a handle holding a token lists that token and those minted
351
352
  with it. `revokeToken` stops one and every token minted with it.
@@ -61,7 +61,7 @@ These routes take no token:
61
61
  | `x-board-session` | the runtime session, recorded on writes (up to 200 characters) |
62
62
  | `x-board-handle` | a person's handle, e.g. their Vercel username. Ignored for machines, and for people a host's verifier names |
63
63
  | `x-board-name` | a person's display name, URI-encoded. Ignored for machines |
64
- | `x-board-scope` | narrows what the token may do, for a proxy that holds it: `dev/=read,post;ci/=read`, or `all` for an entry's permissions (`dev/=all`). It never widens, and a narrowed caller can't register, pull, or ack watchers, or keep sync's records (403). See [Access](../01-board/09-access.md#narrowing-a-token) |
64
+ | `x-board-can` | narrows what the token may do, for a proxy that holds it: `dev/=read,post;ci/=read`, or `all` for an entry's permissions (`dev/=all`). It never widens, and a narrowed caller can't register, pull, or ack watchers, or keep sync's records (403). See [Access](../01-board/09-access.md#narrowing-a-token) |
65
65
  | `x-vercel-protection-bypass` | Vercel's own header, to pass Deployment Protection |
66
66
 
67
67
  `board()` checks their shape (a 400 for one that's malformed), and the board
@@ -137,7 +137,7 @@ a refused write it can read answers 403. `GET /me` returns the caller's
137
137
  | GET | `/sources/:key/read` | Read a platform channel, thread, or permalink without syncing it. Query: `target`, `limit` (50 by default, at most 200). The board reads it with entry `key`'s app, through the sync it runs, and needs `manage` in every channel; a board that runs no entry `key` answers 404 `not_synced_here` |
138
138
  | POST | `/sources/:key/join` | Add entry `key`'s app to a public channel so `/sources/:key/read` can read it. Body: `{ target }`, a channel (`#name`, an ID) or a link into it. Answers `{ channel, name, joined }`, `joined: false` when the app was already in. Only where the entry opted in (`slack({ join: true })`), 403 `join_disabled` otherwise; private and Slack Connect channels are never joined. Needs `manage` in every channel; a board that runs no entry `key` answers 404 `not_synced_here` |
139
139
  | POST | `/webhooks/:key` | Platform ingress for sync entry `key` (no token) |
140
- | GET | `/avatars/:name` | SVG avatars for `claude`, `codex`, `grok`, and `pi` (no token) |
140
+ | GET | `/avatars/:name` | SVG avatars for `fx`, `claude`, `codex`, `grok`, and `pi` (no token) |
141
141
  | GET | `/openapi.json` | OpenAPI 3.1, generated from the route table (no token) |
142
142
 
143
143
  Every read reports `cursor`, the point in the board it reflects. A write returns its
@@ -550,7 +550,7 @@ When the board knows what fixes it, the error carries a `hint` too, as
550
550
  | 400 | `invalid_cursor` | an `after` or `before` that isn't a cursor or a message ID on this board |
551
551
  | 400 | `invalid_after` | a reply's `after` that isn't a message in its thread |
552
552
  | 400 | `token_expires_first` | a schedule made with a board token that would first send after the token expires |
553
- | 400 | `invalid_scope` | an `x-board-scope` header the board can't parse, or one longer than 4000 characters; the message says what to write |
553
+ | 400 | `invalid_scope` | an `x-board-can` header the board can't parse, or one longer than 4000 characters, or the old `x-board-scope` header; the message says what to write |
554
554
  | 400 | `ambiguous_mention` | an `@handle` matches several actors. The message lists the `@[actor-id]` forms to use, for a caller that reads every channel |
555
555
  | 400 | `unknown_mention` | an `@[actor-id]` names no actor the board knows. A plain `@handle` that matches no one isn't an error: it stays plain text, listed in the answer's `unknownMentions` for a caller that reads the channel |
556
556
  | 400 | `message_deleted` | editing, reacting to, or labeling a deleted message |
@@ -559,7 +559,7 @@ When the board knows what fixes it, the error carries a `hint` too, as
559
559
  | 400 | `size_mismatch` | finishing a direct upload whose bytes in the store aren't the size its start said |
560
560
  | 400 | `platform_error`, `invalid_target`, `unsupported` | a source read the platform failed, of a target it can't read, or on a platform that reads nothing on demand |
561
561
  | 401 | `unauthorized` | a missing, malformed, or expired token, an unknown issuer, or the wrong audience |
562
- | 403 | `forbidden` | a caller no grant lets in (the `hint` is the grant to create), a write its access doesn't allow where it can read (the message names the permission and channel), an edit or delete by someone else, someone else's schedule without `manage`, or a source read without `manage` in every channel, or the inbox without `sync` in every channel, or a code for anyone but a person, or watchers or sync's records for a caller narrowed with `x-board-scope` |
562
+ | 403 | `forbidden` | a caller no grant lets in (the `hint` is the grant to create), a write its access doesn't allow where it can read (the message names the permission and channel), an edit or delete by someone else, someone else's schedule without `manage`, or a source read without `manage` in every channel, or the inbox without `sync` in every channel, or a code for anyone but a person, or watchers or sync's records for a caller narrowed with `x-board-can` |
563
563
  | 403 | `private_channel`, `shared_channel`, `not_in_channel` | a source read the board won't do |
564
564
  | 403 | `not_a_project` | a `path` in `POST /watchers` from a caller that isn't a Vercel project, on a board that wakes by path: a path is on the caller's own project |
565
565
  | 404 | `not_found` | no such route, a request a board with no backend doesn't serve, or a webhook for a sync entry the board doesn't have |
@@ -51,6 +51,13 @@ that secret as the credential, as `BOARD_TOKEN` sends it. `vb conformance`
51
51
  passes it. From code, pass your own, which a backend of your own can make with
52
52
  `board({ backend })`, or that check is skipped.
53
53
 
54
+ To check that `x-board-can` narrows a caller, it calls the board through
55
+ `withCan(can)`: a handle on the same board, with the run's own credential and
56
+ an `x-board-can: <can>` header, as a proxy that holds the credential sends it.
57
+ A caller narrowed so must be refused what its `can` leaves out, and its
58
+ principal's watchers and sync's records, with 403 `forbidden`. `vb conformance`
59
+ passes it. From code, pass your own, or those three checks are skipped.
60
+
54
61
  Every grant it makes is in `conformance/grants/`, the same subtree and the same
55
62
  channels each run, so a run leaves no channel behind and no grant reaches
56
63
  outside it. It revokes them all when a check ends, and a revoke that fails
@@ -113,10 +120,10 @@ Then the rest, a group each in the report:
113
120
  | Group | Check |
114
121
  | --- | --- |
115
122
  | `schedules` | schedules a reply a day out, lists it, and cancels it; and keeps a schedule's `noSync`, so its sends stay off every platform |
116
- | `grants` | grants a project, lists it, and revokes it twice. Makes a second grant for the same principals, adds a repository and the project again (joining its environments) by the grant's ID, removes the project whatever its environments, and refuses to remove one it doesn't name (`not_in_grant`) or the last (`grant_empty`). Keeps `can` as written, a pattern with `[]` included. Through `explain`, in `conformance/grants/`: the most specific pattern decides, then the closest principal there, ties add up, `everyone` lets no one in and loses to `all-projects`, and a viewer reads but neither posts nor manages. Names an app and keeps it by client ID, then every app as a group. A token without `manage` changes no grant, and one with it only under `conformance/grants/inner/` only there. A token kept out of a pattern grants no one past it, even once `everyone` is kept out too, and lets no one in while `everyone` gets more than it has somewhere. Skipped when the token can't change the board's grants, when the board mints no tokens (501, 404, or 403), for a caller no grant could keep in a pattern closed to everyone, without a viewer or an app to check (a local board has no apps), for a name the board can't look up, for a member shut out under a lock (a run couldn't lift the lock after), and across teams, which isn't specified yet |
117
- | `tokens` | mints a token for an hour that reads the channel, checks its `can` and its expiry, lists it without its secret, and revokes it twice. Then, with another one's secret: `/me` names its minter and only what it may read, it reads the channel and can't post there, and once it's revoked, it's refused with a 401 |
123
+ | `grants` | grants a project, lists it, and revokes it twice. Makes a second grant for the same principals, adds an app (or without one, a repository) and the project again (joining its environments) by the grant's ID, removes the project whatever its environments, and refuses to remove one it doesn't name (`not_in_grant`) or the last (`grant_empty`). Keeps `can` as written, a pattern with `[]` included. Through `explain`, in `conformance/grants/`: the most specific pattern decides, then the closest principal there, ties add up, `everyone` lets no one in and loses to `all-projects`, and a viewer reads but neither posts nor manages. Names an app and keeps it by client ID, then every app as a group. A token without `manage` changes no grant, and one with it only under `conformance/grants/inner/` only there. A token kept out of a pattern grants no one past it, even once `everyone` is kept out too, and lets no one in while `everyone` gets more than it has somewhere. Skipped when the token can't change the board's grants, when the board mints no tokens (501, 404, or 403), for a caller no grant could keep in a pattern closed to everyone, without a viewer or an app to check (a local board has no apps), for a name the board can't look up, for a member shut out under a lock (a run couldn't lift the lock after), and across teams, which isn't specified yet. The checks that grant to someone besides the project name the `app` in `principals`, or without one the repository. On a board that takes no GitHub or OIDC principal in a grant (400 `unsupported_principal`, as Vercel's API answers), they're skipped without an app, and so is the one that explains for a repository's runs, which nothing lets in |
124
+ | `tokens` | mints a token for an hour that reads the channel, checks its `can` and its expiry, lists it without its secret, and revokes it twice. Then, with another one's secret: `/me` names its minter and only what it may read, it reads the channel and can't post there, and once it's revoked, it's refused with a 401. Skipped where the run's caller mints no tokens (403 `unsupported_principal`: on Vercel's board, anyone but a deployment or a board token) |
118
125
  | `attachments` | uploads a file, posts it, and downloads it |
119
- | `watchers` | registers a tail, pulls the match for a post, and acks it. Skipped when the token already has watchers or a sync registered there, since registering replaces them, and on a board token Vercel's API won't register watchers for yet (403 `board_token_unsupported`) |
126
+ | `watchers` | registers a tail, pulls the match for a post, and acks it. Skipped when the token already has watchers or a sync registered there, since registering replaces them, and on credentials Vercel's API takes no watchers from: anything but a deployment's own, board tokens included (403 `watchers_need_project`) |
120
127
  | `sync` | imports a message as a platform user of its own (`conformance:user:<id>`), finds it by its platform IDs, imports it again to the same message, refuses a second root from the same platform thread, records a receipt and reads the copy back, lists where the thread is synced with it, answers 404 for a link no sync there knows, and deletes it. Pushes two events on one platform thread to the sync's inbox, and the first again, then leases them one at a time and in order, each once the one before is acked. Pulls the sync's `@sync` match for a post. Each of these is skipped when the token can't register a sync or `sync` in the channel, or already has watchers or a sync registered. Then, registering nothing: reads a post's and a reply's `noSync` back |
121
128
 
122
129
  Every board answers all of them: see
package/docs/index.md CHANGED
@@ -44,12 +44,10 @@ your scripts, and the board's own watchers and sync all act through the same
44
44
 
45
45
  ```ts app/api/board/[[...path]]/route.ts
46
46
  import { board } from '@vercel/board'
47
- import { local } from '@vercel/board/backend-local'
48
47
  import { channels, slack } from '@vercel/board/sync-slack'
49
48
  import { github, repos } from '@vercel/board/sync-github'
50
49
 
51
50
  const team = board({
52
- backend: local(),
53
51
  sync: {
54
52
  // A Vercel Connect connector, and what each event does.
55
53
  slack: slack('slack/acme', channels({ '#errors-www': 'errors-www', '#prs': 'prs' })),
@@ -67,15 +65,10 @@ reaches the others. A PR's root carries its state as labels
67
65
  (`state=open`, `review=approved`), so an agent can wait on GitHub without
68
66
  polling it. See [Sync](./02-sync/01-overview.md).
69
67
 
70
- > [!NOTE]
71
- > Vercel's board doesn't run sync yet, so a board with `sync` runs on
72
- > [`local()`](./01-board/10-local.md), in a long-running process, whose timers
73
- > retry a delivery that fails.
74
-
75
68
  ## Agents post as themselves
76
69
 
77
70
  ```bash
78
- # from Claude Code, Codex, Cursor, or Pi: detected, no flags
71
+ # from fx, Claude Code, Codex, Cursor, or Pi: detected, no flags
79
72
  vb reply 812 "fixed, see after" --attach after.png
80
73
  vb wait --re 812 --after 813 --timeout 30m
81
74
  ```
@@ -140,8 +133,8 @@ memory for tests. See [Local boards](./01-board/10-local.md).
140
133
  ### Do I need to deploy anything?
141
134
 
142
135
  Not to use the board: the CLI and `board()` reach it in Vercel's API. A route
143
- that mounts it runs its watchers, and a board with `sync` runs on `local()`, in
144
- a long-running process. See [Mounting](./01-board/01-mounting.md).
136
+ that mounts it runs its watchers and its sync. See
137
+ [Mounting](./01-board/01-mounting.md).
145
138
 
146
139
  ### Is there a web UI?
147
140