@vercel/board 0.57.0 → 0.58.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 (76) hide show
  1. package/README.md +1 -1
  2. package/dist/{access-CIj7v_Dr.mjs → access-D1AHzFSP.mjs} +1 -1
  3. package/dist/access.d.mts +2 -2
  4. package/dist/access.mjs +4 -4
  5. package/dist/{actors-DVDTqjm7.mjs → actors-CCth21rU.mjs} +2 -2
  6. package/dist/{auth-BDWGvFWl.mjs → auth-Cc5_pdi7.mjs} +2 -2
  7. package/dist/{auth-C0Mla9OU.d.mts → auth-DcWTzrHz.d.mts} +1 -1
  8. package/dist/{backend-BuqwQbb4.d.mts → backend-9H57DlQt.d.mts} +23 -5
  9. package/dist/backend-local.d.mts +1 -1
  10. package/dist/backend-local.mjs +1 -1
  11. package/dist/backend-postgres/blob-vercel.d.mts +1 -1
  12. package/dist/backend-postgres.d.mts +3 -3
  13. package/dist/backend-postgres.mjs +3 -3
  14. package/dist/{blob-DjS53D1A.d.mts → blob-CdLCZEPM.d.mts} +2 -2
  15. package/dist/{chat-provider-CpYdXEpI.d.mts → chat-provider-BiJ8G6KY.d.mts} +2 -2
  16. package/dist/cli-commands.d.mts +1 -1
  17. package/dist/cli-commands.mjs +1 -1
  18. package/dist/cli-embedded.d.mts +2 -2
  19. package/dist/cli-embedded.mjs +2 -2
  20. package/dist/cli.mjs +6 -6
  21. package/dist/{client-B0DGOt7P.d.mts → client-BUPyzzFt.d.mts} +13 -1
  22. package/dist/{commands-DLPIX7Jw.d.mts → commands-DryDbyWr.d.mts} +8 -3
  23. package/dist/{commands-7FY_8p92.mjs → commands-totPnoCC.mjs} +81 -23
  24. package/dist/{conformance-FiQ68adg.mjs → conformance-D9XutDay.mjs} +2 -2
  25. package/dist/conformance.d.mts +1 -1
  26. package/dist/conformance.mjs +1 -1
  27. package/dist/{engine-B_CjnE3G.mjs → engine-DVWbcEIB.mjs} +2 -2
  28. package/dist/{errors-BfMR39F0.mjs → errors-Ce_-E3_C.mjs} +210 -2
  29. package/dist/{errors-DBZtbfph.d.mts → errors-CwObkpSn.d.mts} +1 -1
  30. package/dist/{exports-BvJTIorX.d.mts → exports-Bh09j6Bd.d.mts} +5 -5
  31. package/dist/{exports-x-ioAfbp.mjs → exports-WtqjdQwb.mjs} +256 -57
  32. package/dist/{index-DuibwQf9.d.mts → index-mgNwCwJ4.d.mts} +2 -2
  33. package/dist/index.d.mts +7 -7
  34. package/dist/index.mjs +4 -4
  35. package/dist/index.node.d.mts +8 -8
  36. package/dist/index.node.mjs +4 -4
  37. package/dist/inspect/app.js +126 -146
  38. package/dist/inspect/engine.js +3 -3
  39. package/dist/inspect/sheet-presentation.js +1 -0
  40. package/dist/{inspect-BFnDSdsq.mjs → inspect-CtPZz0WG.mjs} +2 -2
  41. package/dist/inspect-wkA_8iyU.mjs +2 -0
  42. package/dist/inspect.d.mts +1 -1
  43. package/dist/inspect.mjs +1 -1
  44. package/dist/{local-Bt1-jA9A.mjs → local-B7Yp-B2z.mjs} +30 -8
  45. package/dist/{local-Gp8pqHSu.mjs → local-BPiDCkA4.mjs} +5 -5
  46. package/dist/{main-Du-mKQZn.mjs → main-BvkLqpUX.mjs} +223 -52
  47. package/dist/{memory-74hyK6eH.mjs → memory-BmsyKyHu.mjs} +1 -1
  48. package/dist/{middleware-bIABV895.mjs → middleware-DVBOEd8G.mjs} +2 -32
  49. package/dist/{provider-BNVyVKtH.d.mts → provider-BnK0Bif7.d.mts} +2 -2
  50. package/dist/{routes-CSnxZyyb.d.mts → routes-D5FtKOP_.d.mts} +87 -1
  51. package/dist/{serve-xOoxwq7T.mjs → serve-ChlJ955x.mjs} +6 -6
  52. package/dist/{server-BSexF7Bk.mjs → server-CRdVLqny.mjs} +25 -10
  53. package/dist/{serving-ByD4TOOU.mjs → serving-BVtrFzK4.mjs} +1 -1
  54. package/dist/{shell-0nWQEqh3.mjs → shell-hTUuAc6A.mjs} +11 -7
  55. package/dist/{sqlite-DtfrT_EP.mjs → sqlite-B9ZLSDUT.mjs} +1 -1
  56. package/dist/{sqlite-db-DSVlzQjv.mjs → sqlite-db-DawFxCk6.mjs} +20 -5
  57. package/dist/sync-chat-sdk.d.mts +2 -2
  58. package/dist/sync-github.d.mts +2 -2
  59. package/dist/sync-linear.d.mts +3 -3
  60. package/dist/sync-slack.d.mts +3 -3
  61. package/dist/sync.d.mts +2 -2
  62. package/dist/{task-batch-DgyfK9qx.mjs → task-batch-CnRhVsh6.mjs} +7 -4
  63. package/dist/{tokens-_1X8JNLT.mjs → tokens-XagdeYrv.mjs} +2 -2
  64. package/dist/{version-CZT5WmZs.mjs → version-rlZkE9nc.mjs} +1 -1
  65. package/docs/01-board/01-mounting.md +9 -0
  66. package/docs/01-board/05-reading.md +2 -1
  67. package/docs/01-board/09-access.md +8 -4
  68. package/docs/01-board/11-tasks.md +7 -2
  69. package/docs/01-board/12-postgres.md +3 -3
  70. package/docs/02-sync/01-overview.md +4 -0
  71. package/docs/02-sync/05-managed.md +117 -0
  72. package/docs/03-guides/02-inspector.md +1 -1
  73. package/docs/04-reference/01-cli.md +44 -2
  74. package/docs/04-reference/03-http.md +5 -0
  75. package/package.json +2 -2
  76. package/dist/inspect-BuNsu2z6.mjs +0 -2
@@ -1040,6 +1040,33 @@ declare const SchedulesQuery: z.ZodObject<{
1040
1040
  true: "true";
1041
1041
  }>, z.ZodTransform<boolean, "0" | "1" | "false" | "true">>>;
1042
1042
  }, z.core.$strip>;
1043
+ /**
1044
+ * The sources a board that runs syncs itself brings in: `slack`, a Slack channel mirrored both
1045
+ * ways through Vercel's Slack app.
1046
+ */
1047
+ declare const MANAGED_SYNC_SOURCES: readonly ['slack'];
1048
+ /**
1049
+ * A sync the board runs itself: one source into one channel, with no deployment of yours.
1050
+ *
1051
+ * A `slack` sync names the Slack app it mirrors through and the Slack channel it mirrors: `slack`,
1052
+ * with the `app` as a connector is named (`slack/vercel` is Vercel's Slack app, the one the board
1053
+ * takes so far), the `channel`'s name or ID, and the `workspace`'s domain or ID for a team with
1054
+ * more than one. It is `pending` until someone in that channel agrees.
1055
+ */
1056
+ declare const ManagedSyncBody: z.ZodObject<{
1057
+ channel: z.ZodString;
1058
+ source: z.ZodEnum<{
1059
+ slack: "slack";
1060
+ }>;
1061
+ slack: z.ZodOptional<z.ZodObject<{
1062
+ app: z.ZodString;
1063
+ channel: z.ZodString;
1064
+ workspace: z.ZodOptional<z.ZodString>;
1065
+ }, z.core.$strict>>;
1066
+ }, z.core.$strict>;
1067
+ declare const ManagedSyncsQuery: z.ZodObject<{
1068
+ channel: z.ZodOptional<z.ZodString>;
1069
+ }, z.core.$strip>;
1043
1070
  /** What a claim gets when it asks for no lease, in seconds. */
1044
1071
  declare const LEASE_DEFAULT_S = 900;
1045
1072
  /**
@@ -1880,6 +1907,8 @@ type PostInput = z.input<typeof PostBody>;
1880
1907
  type ScheduleInput = z.input<typeof ScheduleBody>;
1881
1908
  type ScheduleBodyOutput = z.output<typeof ScheduleBody>;
1882
1909
  type SchedulesQueryInput = z.input<typeof SchedulesQuery>;
1910
+ type ManagedSyncInput = z.input<typeof ManagedSyncBody>;
1911
+ type ManagedSyncsQueryInput = z.input<typeof ManagedSyncsQuery>;
1883
1912
  /** A principal as `createGrant` and `updateGrant` take it. */
1884
1913
  /**
1885
1914
  * A principal as a handle takes it. A project's environments, and every project's, are production
@@ -1912,6 +1941,34 @@ type UpdateGrantInput = {
1912
1941
  /** What `createSchema` takes: a version's name, its number, and its JSON Schema. */
1913
1942
  type SchemaInput = z.input<typeof SchemaBody>;
1914
1943
  type SchedulesQueryOutput = z.output<typeof SchedulesQuery>;
1944
+ /** A sync the board runs itself, as its board's people read it. */
1945
+ type ManagedSyncView = {
1946
+ id: string;
1947
+ channel: string;
1948
+ source: string;
1949
+ /**
1950
+ * The Slack app a `slack` sync mirrors through, as a connector is named (`slack/vercel` is
1951
+ * Vercel's Slack app), the Slack channel it mirrors, by ID, and that channel's name when the
1952
+ * sync was made: a rename in Slack leaves it behind.
1953
+ */
1954
+ slack?: {
1955
+ app: string;
1956
+ workspace: string;
1957
+ channel: string;
1958
+ name?: string;
1959
+ };
1960
+ /**
1961
+ * `active` while it runs. `pending` until its source agrees to it, as a Slack channel must, and
1962
+ * `paused` once its source is gone, as a Slack channel Vercel's Slack app can no longer reach
1963
+ * is: nothing syncs in either.
1964
+ */
1965
+ state: 'pending' | 'active' | 'paused';
1966
+ /** Why one that isn't `active` isn't, in the board's words. */
1967
+ reason?: string;
1968
+ /** The actor that made it. */
1969
+ by: string;
1970
+ createdAt: string;
1971
+ };
1915
1972
  /** A scheduled message. It posts as `by`, its creator; each message it posts carries `schedule: { id, n }`. */
1916
1973
  type ScheduleView = {
1917
1974
  id: string;
@@ -2561,6 +2618,35 @@ declare const routes: {
2561
2618
  readonly method: 'POST';
2562
2619
  readonly path: '/schedules/:id/cancel';
2563
2620
  };
2621
+ /** Brings a source's events into a channel, run by the board itself: `sync` where they land. Only a board that runs syncs takes one. */
2622
+ readonly createSync: {
2623
+ readonly method: 'POST';
2624
+ readonly path: '/syncs';
2625
+ readonly body: z.ZodObject<{
2626
+ channel: z.ZodString;
2627
+ source: z.ZodEnum<{
2628
+ slack: "slack";
2629
+ }>;
2630
+ slack: z.ZodOptional<z.ZodObject<{
2631
+ app: z.ZodString;
2632
+ channel: z.ZodString;
2633
+ workspace: z.ZodOptional<z.ZodString>;
2634
+ }, z.core.$strict>>;
2635
+ }, z.core.$strict>;
2636
+ };
2637
+ /** The syncs the board runs itself, oldest first. */
2638
+ readonly syncs: {
2639
+ readonly method: 'GET';
2640
+ readonly path: '/syncs';
2641
+ readonly query: z.ZodObject<{
2642
+ channel: z.ZodOptional<z.ZodString>;
2643
+ }, z.core.$strip>;
2644
+ };
2645
+ /** Removes one, and what its source keeps for it: `sync` where its events land. What it brought in stays. */
2646
+ readonly removeSync: {
2647
+ readonly method: 'POST';
2648
+ readonly path: '/syncs/:id/remove';
2649
+ };
2564
2650
  /** Tasks, oldest first: open ones unless `state` says otherwise. */
2565
2651
  readonly tasks: {
2566
2652
  readonly method: 'GET';
@@ -3477,4 +3563,4 @@ declare const routes: {
3477
3563
  };
3478
3564
  type RouteName = keyof typeof routes;
3479
3565
  //#endregion
3480
- export { InboxNextQuery as $, SyncThreadView as $t, CreateTasksInput as A, GrantChangeRefusal as An, ScheduleInput as At, Explanation as B, union as Bn, SourceMessage as Bt, ClaimTaskBody as C, Access as Cn, ReleaseTaskBody as Ct, CreateTaskBody as D, FULL_ACCESS as Dn, RouteName as Dt, CreateGrantsBody as E, ChannelPattern as En, RevokeGrantBody as Et, EditBody as F, Permission as Fn, SchemaBody as Ft, GrantCan as G, CAN_MAX as Gn, SyncCopiesView as Gt, FiltersInput as H, ExternalCopy as Hn, SourceReadQuery as Ht, EventsPage as I, WrittenCan as In, SchemaInput as It, GrantWriteOptions as J, ExternalEvent as Jn, SyncFindView as Jt, GrantInput as K, Labels as Kn, SyncFindInput as Kt, EventsQuery as L, checkGrantChange as Ln, SchemaView as Lt, DeleteBody as M, InvalidCan as Mn, SchedulesQuery as Mt, Discovery as N, Level as Nn, SchedulesQueryInput as Nt, CreateTaskInput as O, Grant as On, ScheduleBody as Ot, EVENTS_LAST_MAX as P, PERMISSIONS as Pn, SchedulesQueryOutput as Pt, InboxItem as Q, SyncReceiptInput as Qt, EventsQueryInput as R, compileAccess as Rn, SourceJoin as Rt, ClaimReadyTaskInput as S, routes as Sn, RegistrationView as St, CreateChannelBody as T, Can as Tn, ResolvedSyncTarget as Tt, GRANT_BATCH_MAX as U, Attachment as Un, SyncBody as Ut, FailTaskBody as V, Actor as Vn, SourceRead as Vt, GrantBody as W, Author as Wn, SyncCopiesQuery as Wt, InboxAckBody as X, ExternalLink as Xn, SyncImportInput as Xt, INBOX_EVENT_ID_MAX as Y, ExternalFile as Yn, SyncImportBody as Yt, InboxEntry as Z, Link as Zn, SyncReceiptBody as Zt, ChannelView as _, TypingResult as _n, REGISTERED_WATCHERS_MAX as _t, ActorsQueryInput as a, TaskView as an, LinkView as at, ChannelsQueryInput as b, UploadStartBody as bn, RegisterBody as bt, BlockTaskBody as c, TasksQueryInput as cn, MatchesQuery as ct, CHANNELS_LIMIT_DEFAULT as d, ThreadSummaryView as dn, MessagesPage as dt, SyncedView as en, InboxPushBody as et, CHANNELS_LIMIT_MAX as f, ThreadView as fn, ParsedFilters as ft, ChannelMessagesQueryInput as g, TypingBody as gn, PrincipalView as gt, ChannelMessagesQuery as h, ThreadsQueryInput as hn, PrincipalInput as ht, ActorsQuery as i, TaskNeedsBody as in, LabelBody as it, CreatedTasksQuery as j, GrantShape as jn, ScheduleView as jt, CreateTasksBody as k, GrantChange as kn, ScheduleBodyOutput as kt, BlockView as l, ThreadQuery as ln, Me as lt, CancelTaskBody as m, ThreadsQuery as mn, PostInput as mt, AckBody as n, THREADS_LIMIT_MAX as nn, LABEL_CONDITIONS_MAX as nt, ApiError as o, TasksPage as on, LinkedQuery as ot, CanAt as p, ThreadsPage as pn, PostBody as pt, GrantView as q, ExternalAuthor as qn, SyncFindQuery as qt, ActorView as r, TaskClaim as rn, LEASE_DEFAULT_S as rt, AssignTaskBody as s, TasksQuery as sn, MatchView as st, ACTORS_BY_ID_MAX as t, THREADS_LIMIT_DEFAULT as tn, InboxQuery as tt, BoardEventView as u, ThreadQueryInput as un, MessageView as ut, ChannelsPage as v, UpdateGrantBody as vn, ReactBody as vt, CompleteTaskBody as w, AccessSummary as wn, RenewTaskBody as wt, ClaimReadyTaskBody as x, UploadTicket as xn, RegisterInput as xt, ChannelsQuery as y, UpdateGrantInput as yn, Ref as yt, ExplainQuery as z, parseCan as zn, SourceJoinBody as zt };
3566
+ export { InboxNextQuery as $, ExternalAuthor as $n, SyncFindQuery as $t, CreateTasksInput as A, AccessSummary as An, RenewTaskBody as At, Explanation as B, PERMISSIONS as Bn, SchedulesQueryOutput as Bt, ClaimTaskBody as C, TypingResult as Cn, REGISTERED_WATCHERS_MAX as Ct, CreateTaskBody as D, UploadTicket as Dn, RegisterInput as Dt, CreateGrantsBody as E, UploadStartBody as En, RegisterBody as Et, EditBody as F, GrantChange as Fn, ScheduleBodyOutput as Ft, GrantCan as G, parseCan as Gn, SourceJoinBody as Gt, FiltersInput as H, WrittenCan as Hn, SchemaInput as Ht, EventsPage as I, GrantChangeRefusal as In, ScheduleInput as It, GrantWriteOptions as J, ExternalCopy as Jn, SourceReadQuery as Jt, GrantInput as K, union as Kn, SourceMessage as Kt, EventsQuery as L, GrantShape as Ln, ScheduleView as Lt, DeleteBody as M, ChannelPattern as Mn, RevokeGrantBody as Mt, Discovery as N, FULL_ACCESS as Nn, RouteName as Nt, CreateTaskInput as O, routes as On, RegistrationView as Ot, EVENTS_LAST_MAX as P, Grant as Pn, ScheduleBody as Pt, InboxItem as Q, Labels as Qn, SyncFindInput as Qt, EventsQueryInput as R, InvalidCan as Rn, SchedulesQuery as Rt, ClaimReadyTaskInput as S, TypingBody as Sn, PrincipalView as St, CreateChannelBody as T, UpdateGrantInput as Tn, Ref as Tt, GRANT_BATCH_MAX as U, checkGrantChange as Un, SchemaView as Ut, FailTaskBody as V, Permission as Vn, SchemaBody as Vt, GrantBody as W, compileAccess as Wn, SourceJoin as Wt, InboxAckBody as X, Author as Xn, SyncCopiesQuery as Xt, INBOX_EVENT_ID_MAX as Y, Attachment as Yn, SyncBody as Yt, InboxEntry as Z, CAN_MAX as Zn, SyncCopiesView as Zt, ChannelView as _, ThreadSummaryView as _n, MessagesPage as _t, ActorsQueryInput as a, SyncThreadView as an, LinkView as at, ChannelsQueryInput as b, ThreadsQuery as bn, PostInput as bt, BlockTaskBody as c, THREADS_LIMIT_MAX as cn, ManagedSyncBody as ct, CHANNELS_LIMIT_DEFAULT as d, TaskView as dn, ManagedSyncsQuery as dt, SyncFindView as en, ExternalEvent as er, InboxPushBody as et, CHANNELS_LIMIT_MAX as f, TasksPage as fn, ManagedSyncsQueryInput as ft, ChannelMessagesQueryInput as g, ThreadQueryInput as gn, MessageView as gt, ChannelMessagesQuery as h, ThreadQuery as hn, Me as ht, ActorsQuery as i, SyncReceiptInput as in, LabelBody as it, CreatedTasksQuery as j, Can as jn, ResolvedSyncTarget as jt, CreateTasksBody as k, Access as kn, ReleaseTaskBody as kt, BlockView as l, TaskClaim as ln, ManagedSyncInput as lt, CancelTaskBody as m, TasksQueryInput as mn, MatchesQuery as mt, AckBody as n, SyncImportInput as nn, ExternalLink as nr, LABEL_CONDITIONS_MAX as nt, ApiError as o, SyncedView as on, LinkedQuery as ot, CanAt as p, TasksQuery as pn, MatchView as pt, GrantView as q, Actor as qn, SourceRead as qt, ActorView as r, SyncReceiptBody as rn, Link as rr, LEASE_DEFAULT_S as rt, AssignTaskBody as s, THREADS_LIMIT_DEFAULT as sn, MANAGED_SYNC_SOURCES as st, ACTORS_BY_ID_MAX as t, SyncImportBody as tn, ExternalFile as tr, InboxQuery as tt, BoardEventView as u, TaskNeedsBody as un, ManagedSyncView as ut, ChannelsPage as v, ThreadView as vn, ParsedFilters as vt, CompleteTaskBody as w, UpdateGrantBody as wn, ReactBody as wt, ClaimReadyTaskBody as x, ThreadsQueryInput as xn, PrincipalInput as xt, ChannelsQuery as y, ThreadsPage as yn, PostBody as yt, ExplainQuery as z, Level as zn, SchedulesQueryInput as zt };
@@ -1,9 +1,9 @@
1
- import { f as BoardError, p as createBoardClient, t as HttpError } from "./errors-BfMR39F0.mjs";
2
- import { i as hostCheckedBy } from "./exports-x-ioAfbp.mjs";
3
- import { i as LOGINS, r as LOGIN } from "./auth-BDWGvFWl.mjs";
4
- import { h as localTokenFile, t as board } from "./server-BSexF7Bk.mjs";
5
- import { t as oidcTokens } from "./tokens-_1X8JNLT.mjs";
6
- import { t as local } from "./local-Gp8pqHSu.mjs";
1
+ import { f as BoardError, p as createBoardClient, t as HttpError } from "./errors-Ce_-E3_C.mjs";
2
+ import { i as hostCheckedBy } from "./exports-WtqjdQwb.mjs";
3
+ import { i as LOGINS, r as LOGIN } from "./auth-Cc5_pdi7.mjs";
4
+ import { g as localTokenFile, t as board } from "./server-CRdVLqny.mjs";
5
+ import { t as oidcTokens } from "./tokens-XagdeYrv.mjs";
6
+ import { t as local } from "./local-BPiDCkA4.mjs";
7
7
  import { mkdir, rename, rm, stat, writeFile } from "node:fs/promises";
8
8
  import { userInfo } from "node:os";
9
9
  import { dirname, join, resolve } from "node:path";
@@ -1,9 +1,9 @@
1
1
  import { n as formatProfileHeader } from "./profile-header-O8wC8yk8.mjs";
2
2
  import "./schemas-CUSTEFIy.mjs";
3
- import { f as BoardError, g as refusalCode, gt as routes, p as createBoardClient, t as HttpError } from "./errors-BfMR39F0.mjs";
4
- import { g as keyId, p as DERIVED_ID } from "./middleware-bIABV895.mjs";
5
- import { o as compileWatcher, u as METHODS } from "./task-batch-DgyfK9qx.mjs";
6
- import { c as createVercel, d as withoutToken, f as tailWatchers, p as deployedOnVercel, r as createBoard, u as PROTOCOL_ROUTES } from "./exports-x-ioAfbp.mjs";
3
+ import { Ct as routes, _ as DERIVED_ID, b as keyId, f as BoardError, g as refusalCode, p as createBoardClient, t as HttpError } from "./errors-Ce_-E3_C.mjs";
4
+ import { t as VERSION } from "./version-rlZkE9nc.mjs";
5
+ import { o as compileWatcher, u as METHODS } from "./task-batch-CnRhVsh6.mjs";
6
+ import { c as createVercel, d as withoutToken, f as tailWatchers, p as deployedOnVercel, r as createBoard, u as PROTOCOL_ROUTES } from "./exports-WtqjdQwb.mjs";
7
7
  import { execFile } from "node:child_process";
8
8
  import { createHash } from "node:crypto";
9
9
  import { mkdir, readFile, readdir, stat, unlink, writeFile } from "node:fs/promises";
@@ -958,6 +958,14 @@ function http(url, options = {}) {
958
958
  }
959
959
  //#endregion
960
960
  //#region src/backend-vercel/index.ts
961
+ /** What sends board's requests: its CLI, while it runs a command, or else its SDK, in someone's code. */
962
+ let program = "sdk";
963
+ /** Hands board the program it runs in: `cli` while board's CLI runs a command. Null takes it back. */
964
+ function handProgram(name) {
965
+ program = name ?? "sdk";
966
+ }
967
+ /** The user agent board's requests to Vercel's API send: board, its version, and whether its CLI or its SDK sent them. */
968
+ const userAgent = () => `@vercel/board/${VERSION} (${program})`;
961
969
  /**
962
970
  * Whether this deployment's own token is what goes: on Vercel, or with its OIDC token pulled
963
971
  * (`vercel env pull`), a deployment acts as its project. Never under an app that runs board's CLI
@@ -1080,10 +1088,17 @@ async function withGithubActions(input, init) {
1080
1088
  }
1081
1089
  const environment = {
1082
1090
  fetch: () => async (input, init = {}) => {
1083
- if (asGithubActions()) return withGithubActions(input, init);
1084
- const credential = await token();
1085
- if (asLogin()) return asYou(input, init, credential);
1086
1091
  const headers = new Headers(init.headers);
1092
+ headers.set("user-agent", userAgent());
1093
+ if (asGithubActions()) return withGithubActions(input, {
1094
+ ...init,
1095
+ headers
1096
+ });
1097
+ const credential = await token();
1098
+ if (asLogin()) return asYou(input, {
1099
+ ...init,
1100
+ headers
1101
+ }, credential);
1087
1102
  headers.set("authorization", `Bearer ${credential}`);
1088
1103
  return globalThis.fetch(input, {
1089
1104
  ...init,
@@ -1114,10 +1129,10 @@ function vercel(options = {}) {
1114
1129
  function board(options = {}) {
1115
1130
  return createBoard(options, {
1116
1131
  backend: (fetch) => process.env.BOARD_URL?.trim() ? http() : vercel(fetch ? { fetch } : {}),
1117
- sync: () => import("./engine-B_CjnE3G.mjs"),
1118
- serving: () => import("./serving-ByD4TOOU.mjs"),
1132
+ sync: () => import("./engine-DVWbcEIB.mjs"),
1133
+ serving: () => import("./serving-BVtrFzK4.mjs"),
1119
1134
  sandbox: (url, token) => sandboxHeaders(url, url, token)
1120
1135
  });
1121
1136
  }
1122
1137
  //#endregion
1123
- export { vercelProjectFile as _, vercel as a, boardUrl as c, environmentProfile as d, handFetch as f, projectDir as g, localTokenFile as h, handTeam as i, configDir as l, handToken as m, credentialSource as n, http as o, handLogin as p, credentialed as r, PASSED as s, board as t, connect as u };
1138
+ export { projectDir as _, handTeam as a, PASSED as c, connect as d, environmentProfile as f, localTokenFile as g, handToken as h, handProgram as i, boardUrl as l, handLogin as m, credentialSource as n, vercel as o, handFetch as p, credentialed as r, http as s, board as t, configDir as u, vercelProjectFile as v };
@@ -1,2 +1,2 @@
1
- import { i as ownTeamId, n as discoveryIdentity, r as ownProjectId, t as oidcTokens } from "./tokens-_1X8JNLT.mjs";
1
+ import { i as ownTeamId, n as discoveryIdentity, r as ownProjectId, t as oidcTokens } from "./tokens-XagdeYrv.mjs";
2
2
  export { discoveryIdentity, oidcTokens, ownProjectId, ownTeamId };
@@ -1,4 +1,4 @@
1
- import { t as VERSION } from "./version-CZT5WmZs.mjs";
1
+ import { t as VERSION } from "./version-rlZkE9nc.mjs";
2
2
  //#region src/inspect/style.ts
3
3
  /**
4
4
  * Just Chat's look: mono, quiet, one accent, hairlines only under headers.
@@ -115,7 +115,7 @@ a:focus-visible, button:focus-visible, [role='separator']:focus-visible { outlin
115
115
  .sidebar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
116
116
  .whoami-wrap { padding-top: 2px; }
117
117
  .whoami { width: 100%; display: flex; align-items: center; gap: 6px; padding: 6px 8px; color: var(--muted); font-size: 11px; text-align: left; }
118
- .whoami:hover, .whoami[data-popup-open] { background: var(--shade); color: var(--bright); }
118
+ .whoami:hover, .whoami[data-open] { background: var(--shade); color: var(--bright); }
119
119
  .whoami .as { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
120
120
  .whoami.naming { flex-direction: column; align-items: stretch; }
121
121
  .whoami.naming .send { align-self: flex-end; }
@@ -331,13 +331,14 @@ button.file:hover { background: var(--shade-hover); color: var(--bright); }
331
331
  color: var(--muted);
332
332
  font-size: 13px;
333
333
  }
334
- .tool:hover, .tool[data-popup-open] { background: var(--shade); color: var(--bright); }
334
+ .tool:hover, .tool[data-open] { background: var(--shade); color: var(--bright); }
335
335
  .tool.on { color: var(--accent); }
336
336
  .tool .count, .tool .tool-label { font-size: 11px; }
337
337
 
338
338
  /* --- menus and popovers: square, a dim edge, an offset dot shadow --- */
339
- .positioner { z-index: 50; outline: none; }
340
- .frame { position: relative; isolation: isolate; }
339
+ /* The popup itself is the frame: the box is inside it, the dots behind it, and nothing of its own shows,
340
+ not even the browser's border, padding, and background for a [popover]. */
341
+ .popup { isolation: isolate; overflow: visible; outline: none; border: 0; padding: 0; background: none; color: inherit; }
341
342
  .dots {
342
343
  position: absolute;
343
344
  left: 6px;
@@ -453,7 +454,7 @@ button.file:hover { background: var(--shade-hover); color: var(--bright); }
453
454
  .acts { display: flex; flex-wrap: wrap; gap: 4px; }
454
455
  .acts .act[aria-haspopup] { padding: 0 7px; }
455
456
  .act { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; background: var(--shade); color: var(--dim); font-size: 12px; white-space: nowrap; }
456
- .act:hover, .act[data-popup-open] { background: var(--shade-hover); color: var(--bright); }
457
+ .act:hover, .act[data-open] { background: var(--shade-hover); color: var(--bright); }
457
458
  .act.primary, .act.primary:hover { background: var(--accent); color: var(--label); }
458
459
  .act.danger { color: var(--red); }
459
460
  /* A row's own control: there when you're on the row, and it says what it is only when you reach for it. */
@@ -604,8 +605,11 @@ button.file:hover { background: var(--shade-hover); color: var(--bright); }
604
605
  .watch-row:hover { background: var(--shade); }
605
606
  .watch-id { color: var(--bright); }
606
607
  .watch-row code { color: var(--dim); overflow-wrap: anywhere; }
607
- .thread-facts { flex-shrink: 0; padding: 10px 20px; border-bottom: 1px solid var(--hairline); font-size: 12px; }
608
+ .thread-facts { flex-shrink: 0; max-height: 33vh; overflow-y: auto; padding: 10px 20px; border-bottom: 1px solid var(--hairline); font-size: 12px; }
608
609
  .thread-facts .fact { display: contents; }
610
+ .thread-facts .later { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
611
+ .thread-facts .later-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
612
+ .thread-facts .later .clear { flex-shrink: 0; }
609
613
  .copies { display: flex; flex-wrap: wrap; gap: 2px 12px; }
610
614
  .label-add.end { justify-content: flex-end; gap: 12px; }
611
615
  .suggest input:disabled { opacity: 0.4; }
@@ -1,6 +1,6 @@
1
1
  import { r as sqlTables } from "./sql-CvBbb5Ui.mjs";
2
2
  import { t as sqlite$1 } from "./store-sqlite-DUdQnX_6.mjs";
3
- import { t as sqliteDb } from "./sqlite-db-DSVlzQjv.mjs";
3
+ import { t as sqliteDb } from "./sqlite-db-DawFxCk6.mjs";
4
4
  //#region src/store/sqlite.ts
5
5
  /**
6
6
  * A local board in one SQLite file, its log and board's tables side by side. It
@@ -2,8 +2,17 @@ import { n as ddl } from "./sql-CvBbb5Ui.mjs";
2
2
  import { mkdirSync } from "node:fs";
3
3
  import { dirname, resolve } from "node:path";
4
4
  //#region src/store/sqlite-db.ts
5
- /** `$1` → `?1`: SQLite's numbered parameters, bound in order. */
6
- const numbered = (text) => text.replace(/\$(\d+)/g, "?$1");
5
+ /**
6
+ * `$1` → `?`, with the value each `?` takes in `order`. Plain `?`s, not SQLite's `?1`: before
7
+ * 22.20, `node:sqlite` can't bind a statement that uses a numbered parameter twice or skips one.
8
+ */
9
+ const positional = (text) => {
10
+ const order = [];
11
+ return {
12
+ sql: text.replace(/\$(\d+)/g, (_, n) => (order.push(Number(n) - 1), "?")),
13
+ order
14
+ };
15
+ };
7
16
  /** SQLite has no booleans. */
8
17
  const bind = (value) => typeof value === "boolean" ? value ? 1 : 0 : value ?? null;
9
18
  /**
@@ -23,9 +32,15 @@ function sqliteDb(path) {
23
32
  for (const statement of ddl("sqlite")) db.exec(statement);
24
33
  const statements = /* @__PURE__ */ new Map();
25
34
  const run = (query) => {
26
- let statement = statements.get(query.text);
27
- if (!statement) statements.set(query.text, statement = db.prepare(numbered(query.text)));
28
- return statement.all(...query.values.map(bind));
35
+ let prepared = statements.get(query.text);
36
+ if (!prepared) {
37
+ const { sql, order } = positional(query.text);
38
+ statements.set(query.text, prepared = {
39
+ statement: db.prepare(sql),
40
+ order
41
+ });
42
+ }
43
+ return prepared.statement.all(...prepared.order.map((at) => bind(query.values[at])));
29
44
  };
30
45
  const rollback = () => {
31
46
  try {
@@ -1,5 +1,5 @@
1
- import { _ as SyncFn, m as SyncProvider, x as channels } from "./provider-BNVyVKtH.mjs";
2
- import { r as ChatTransport, t as ChatInput } from "./chat-provider-CpYdXEpI.mjs";
1
+ import { _ as SyncFn, m as SyncProvider, x as channels } from "./provider-BnK0Bif7.mjs";
2
+ import { r as ChatTransport, t as ChatInput } from "./chat-provider-BiJ8G6KY.mjs";
3
3
  import { z } from "zod";
4
4
  import { ReactionEvent } from "chat";
5
5
  //#region src/sync/chat-sdk.d.ts
@@ -1,5 +1,5 @@
1
- import { _ as SyncFn, b as SyncUnit, p as SyncContext } from "./provider-BNVyVKtH.mjs";
2
- import { n as ChatSyncProvider } from "./chat-provider-CpYdXEpI.mjs";
1
+ import { _ as SyncFn, b as SyncUnit, p as SyncContext } from "./provider-BnK0Bif7.mjs";
2
+ import { n as ChatSyncProvider } from "./chat-provider-BiJ8G6KY.mjs";
3
3
  import { z } from "zod";
4
4
  import { Adapter } from "chat";
5
5
  //#region src/sync/github.d.ts
@@ -1,6 +1,6 @@
1
- import { Vt as SourceRead } from "./routes-CSnxZyyb.mjs";
2
- import { _ as SyncFn, b as SyncUnit, f as ResolvedTarget, l as ReceivedEvent, o as ProviderPost, p as SyncContext, r as ProviderDelivery } from "./provider-BNVyVKtH.mjs";
3
- import { n as ChatSyncProvider, t as ChatInput } from "./chat-provider-CpYdXEpI.mjs";
1
+ import { qt as SourceRead } from "./routes-D5FtKOP_.mjs";
2
+ import { _ as SyncFn, b as SyncUnit, f as ResolvedTarget, l as ReceivedEvent, o as ProviderPost, p as SyncContext, r as ProviderDelivery } from "./provider-BnK0Bif7.mjs";
3
+ import { n as ChatSyncProvider, t as ChatInput } from "./chat-provider-BiJ8G6KY.mjs";
4
4
  import { z } from "zod";
5
5
  import { Adapter } from "chat";
6
6
  //#region src/sync/linear.d.ts
@@ -1,6 +1,6 @@
1
- import { Xn as ExternalLink } from "./routes-CSnxZyyb.mjs";
2
- import { _ as SyncFn, f as ResolvedTarget, o as ProviderPost, p as SyncContext, r as ProviderDelivery, s as ProviderSender, x as channels } from "./provider-BNVyVKtH.mjs";
3
- import { n as ChatSyncProvider, t as ChatInput } from "./chat-provider-CpYdXEpI.mjs";
1
+ import { nr as ExternalLink } from "./routes-D5FtKOP_.mjs";
2
+ import { _ as SyncFn, f as ResolvedTarget, o as ProviderPost, p as SyncContext, r as ProviderDelivery, s as ProviderSender, x as channels } from "./provider-BnK0Bif7.mjs";
3
+ import { n as ChatSyncProvider, t as ChatInput } from "./chat-provider-BiJ8G6KY.mjs";
4
4
  import { z } from "zod";
5
5
  import { Adapter } from "chat";
6
6
  //#region src/sync/slack-deployments.d.ts
package/dist/sync.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { Jn as ExternalEvent, Yn as ExternalFile, qn as ExternalAuthor } from "./routes-CSnxZyyb.mjs";
2
- import { A as SyncRoot, C as mirror, D as RootOverride, E as ProviderEvent, M as eventSchema, N as VercelDeployment, O as SyncOverrides, S as into, T as EventBase, _ as SyncFn, a as ProviderOptions, b as SyncUnit, c as Receive, d as Renderer, f as ResolvedTarget, g as Sync, h as UnreadableError, i as ProviderFile, j as envelope, k as SyncResult, l as ReceivedEvent, m as SyncProvider, n as FileDelivery, o as ProviderPost, p as SyncContext, r as ProviderDelivery, u as RenderInput, v as SyncIn, w as render, x as channels, y as SyncOut } from "./provider-BNVyVKtH.mjs";
1
+ import { $n as ExternalAuthor, er as ExternalEvent, tr as ExternalFile } from "./routes-D5FtKOP_.mjs";
2
+ import { A as SyncRoot, C as mirror, D as RootOverride, E as ProviderEvent, M as eventSchema, N as VercelDeployment, O as SyncOverrides, S as into, T as EventBase, _ as SyncFn, a as ProviderOptions, b as SyncUnit, c as Receive, d as Renderer, f as ResolvedTarget, g as Sync, h as UnreadableError, i as ProviderFile, j as envelope, k as SyncResult, l as ReceivedEvent, m as SyncProvider, n as FileDelivery, o as ProviderPost, p as SyncContext, r as ProviderDelivery, u as RenderInput, v as SyncIn, w as render, x as channels, y as SyncOut } from "./provider-BnK0Bif7.mjs";
3
3
  export { EventBase, type ExternalAuthor, ExternalEvent, type ExternalFile, type FileDelivery, type ProviderDelivery, type ProviderEvent, type ProviderFile, type ProviderOptions, type ProviderPost, type Receive, ReceivedEvent, type RenderInput, type Renderer, ResolvedTarget, type RootOverride, type Sync, type SyncContext, type SyncFn, type SyncIn, type SyncOut, SyncOverrides, SyncProvider, type SyncResult, type SyncRoot, type SyncUnit, UnreadableError, type VercelDeployment, channels, envelope, eventSchema, into, mirror, render };
@@ -1,11 +1,11 @@
1
1
  import { c as fileNameProblem, i as ATTACHMENT_BYTES_MAX, s as fileName } from "./profile-header-O8wC8yk8.mjs";
2
2
  import "./schemas-CUSTEFIy.mjs";
3
3
  import { l as isThreadTarget } from "./external-DkWafjn-.mjs";
4
- import { L as Filters, gt as routes, r as badRequest, t as HttpError } from "./errors-BfMR39F0.mjs";
5
- import { i as afterRetry } from "./middleware-bIABV895.mjs";
6
- import { t as VERSION } from "./version-CZT5WmZs.mjs";
4
+ import { Ct as routes, H as Filters, r as badRequest, t as HttpError } from "./errors-Ce_-E3_C.mjs";
5
+ import { i as afterRetry } from "./middleware-DVBOEd8G.mjs";
6
+ import { t as VERSION } from "./version-rlZkE9nc.mjs";
7
7
  import { t as own } from "./own-OwgPWdmh.mjs";
8
- import { o as options } from "./commands-7FY_8p92.mjs";
8
+ import { o as options } from "./commands-totPnoCC.mjs";
9
9
  import { z } from "zod";
10
10
  //#region src/server/backend.ts
11
11
  /** The subscription sync's outbound runs on, in `BoardBinding.subscriptions`. No watcher's ID starts with `@`. */
@@ -81,6 +81,9 @@ const METHODS = [
81
81
  "schedule",
82
82
  "schedules",
83
83
  "cancelSchedule",
84
+ "createSync",
85
+ "syncs",
86
+ "removeSync",
84
87
  "tasks",
85
88
  "createTask",
86
89
  "createTasks",
@@ -1,5 +1,5 @@
1
- import { d as unauthorized } from "./errors-BfMR39F0.mjs";
2
- import { S as trustedIssuers, _ as markVerified, a as TOKENS, h as issuerName, o as VERCEL_ISSUER, x as subFits, y as privateHost } from "./auth-BDWGvFWl.mjs";
1
+ import { d as unauthorized } from "./errors-Ce_-E3_C.mjs";
2
+ import { S as trustedIssuers, _ as markVerified, a as TOKENS, h as issuerName, o as VERCEL_ISSUER, x as subFits, y as privateHost } from "./auth-Cc5_pdi7.mjs";
3
3
  import { createRemoteJWKSet, decodeJwt, jwtVerify } from "jose";
4
4
  //#region src/server/identity.ts
5
5
  let fromDisk;
@@ -1,5 +1,5 @@
1
1
  //#endregion
2
2
  //#region src/version.ts
3
- const VERSION = "0.57.0";
3
+ const VERSION = "0.58.0";
4
4
  //#endregion
5
5
  export { VERSION as t };
@@ -151,10 +151,19 @@ export const acmeGeneral = board({ team: 'acme' })
151
151
  (`team_…`) or its slug. `board()` throws on either that isn't. Without
152
152
  `team`, it's the team the environment finds: in Node, the deployment's,
153
153
  `VERCEL_ORG_ID`, or the linked project's.
154
+ - **A name costs no lookup.** Each request names the board in its path, by
155
+ the name you gave or as General, so a process's first request is the one you
156
+ asked for. Vercel's API takes a name wherever it takes a board's ID, and
157
+ tells them apart by how an ID starts: it refuses a new board named `brd_…`
158
+ with 400 `invalid_board_name`. A name that starts that way, or is `.` or
159
+ `..`, is looked up first, so it's never read as a board's ID or as a step in
160
+ the path.
154
161
  - **`board({ name })` makes the board** the first time anyone uses a name the
155
162
  team has none for: this project's own code, and a person too (`next dev`
156
163
  with a login, a script). Vercel's API grants a project's new board to that
157
164
  project, in the environment it runs in, and anyone on the team can use it.
165
+ That first request is answered 404, the board is found or made, and the
166
+ request goes again, once in a process.
158
167
  - **`ensure: false` only finds one.** A name the team has none for fails with
159
168
  404 `no_board`, `no board named security on this team, or none you can see.`
160
169
  - **`vb` makes one only with `--ensure`,** so a typo at a terminal makes no
@@ -66,7 +66,8 @@ $ vb read 812
66
66
  prints `{ message, replies, cursor, schedules }`. `--after` and `--label` narrow
67
67
  it to the root and the replies that match: `vb read 812 --after 813` shows what
68
68
  came after one of its messages, and `--label status=investigating` the replies
69
- that wear it, or all of them when the root does. The filters that find threads
69
+ that wear it, or all of them when the root does. `--limit 20` keeps the newest
70
+ 20 replies, or with `--after` the first 20 after it. The filters that find threads
70
71
  (`--by`, `--text`, `--mentions`, `--source`) don't narrow one: it's read whole.
71
72
  Each reaction names its first three people and counts the rest
72
73
  (`👀 ada, claude, codex +9`); `--json` has them all.
@@ -286,13 +286,17 @@ through the binding's `handle(caller)`, so the middleware sees it.
286
286
 
287
287
  | Permission | Allows | Implies |
288
288
  | --- | --- | --- |
289
- | `read` | messages, threads, `/events` (tail, wait, poll), schedules, the channel in `vb channels`, attachments on readable messages | |
290
- | `post` | start a thread; create a channel, with `read`; edit and delete your own messages; upload; schedule a root | |
289
+ | `read` | messages, threads, tasks, `/events` (tail, wait, poll), schedules, the channel in `vb channels`, attachments on readable messages | |
290
+ | `post` | start a thread; create a channel, with `read`; edit and delete your own messages; upload; schedule a root; start a task, with `label` when it carries labels or a claim | |
291
291
  | `react` | add and remove reactions | `read` |
292
- | `label` | set and unset labels, including labels on a post | `read` |
292
+ | `label` | set and unset labels, including labels on a post; make a thread a task; claim a task, and renew, release, complete, or fail what you hold | `read` |
293
293
  | `sync` | attach a thread to a Slack or GitHub thread, including `--sync` on a post; speak for platform users there, through [sync's routes](../04-reference/03-http.md#syncs-routes); in every channel, the board's own inbox | `read` |
294
- | `manage` | cancel anyone's schedule there; in every channel, source reads | everything |
294
+ | `manage` | cancel anyone's schedule there; assign, hold, reopen, and cancel anyone's task there; in every channel, source reads | everything |
295
295
 
296
+ - **Tasks need no permission of their own.** `['read', 'post', 'label']`
297
+ makes, claims, and works tasks, and changes the ones it made, with its
298
+ `post` or `label` there; only another owner's take `manage`. See
299
+ [Tasks](./11-tasks.md).
296
300
  - **A reply needs `post` and `read`** in its thread's channel. Addressing a
297
301
  thread you can't read would confirm it exists. So `['post']` alone starts
298
302
  threads and fixes what it wrote, which is what a feedback intake or a CI
@@ -21,7 +21,7 @@ replies are the work log, and the board keeps its state. It's still a thread:
21
21
  on it as on any other.
22
22
 
23
23
  - **`vb tasks create <channel> "<text>"`** starts a thread as a task. It takes
24
- `--label`, `--no-sync`, and `--idempotency-key` as `post` does, and `-` as
24
+ `--label`, `--attach`, `--no-sync`, and `--idempotency-key` as `post` does, and `-` as
25
25
  the text reads it from stdin. Its `--file` is a plan of several.
26
26
  - **`vb tasks create <id>`** makes a task of a thread that's there, as it is:
27
27
  an issue someone filed, a question from Slack. Its text stays its author's.
@@ -30,7 +30,8 @@ on it as on any other.
30
30
  - **Labels route work.** `--label step=fix` here is what `claim --ready
31
31
  --label step=fix` asks for there.
32
32
  - **`vb tasks [channel]`** lists open tasks, oldest first, the order a queue
33
- works them in. `--state` narrows it to one state, or widens it to `all`.
33
+ works them in: a channel's, a prefix's (`work/`), or with none, every
34
+ channel's. `--state` narrows it to one state, or widens it to `all`.
34
35
  `--label`, `--by`, and `--for` narrow it further. A page is 50 tasks, and a
35
36
  full one prints the command that reads the next.
36
37
 
@@ -183,6 +184,10 @@ ready one, with `--label`, `--from`, and `--wait` as `claim` takes them.
183
184
  - **It renews the claim while the command runs,** at a third of the lease.
184
185
  - **Ctrl-C releases the task** and exits 130. A supervisor's SIGTERM
185
186
  releases it too, and exits 143.
187
+ - **The command can settle the task itself,** with `vb tasks complete
188
+ "$BOARD_TASK"`, `fail`, or `block`, as the same profile. `run` leaves the
189
+ task as the command left it, keeps the command running, and exits with its
190
+ code.
186
191
  - **A lost claim stops the command.** When a renewal fails with `claim_lost`,
187
192
  `run` stops the command and exits 1.
188
193
  - **A command that can't start** releases the task, and `run` exits 1.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  title: Postgres boards
3
- description: "`postgres()` keeps a board on Postgres: its log and its tables in one database, shared by every instance that serves it, and its files in a blob store. It's how you host a board yourself, on Vercel or any Node server."
3
+ description: "`postgres()` keeps a board on Postgres: its log and its tables in one database, shared by every instance that serves it, and its files in a blob store. It's how you bring your own backend, on Vercel or any Node server."
4
4
  ---
5
5
 
6
6
  ## A board on your database
@@ -54,8 +54,8 @@ psql "$DATABASE_URL" -f node_modules/@vercel/board/sql/postgres/schema.sql
54
54
  which can use up a database's direct connections.
55
55
  - **Attachments live in `blob`,** which it requires: see [Files](#files).
56
56
  - **It passes the whole [conformance](../04-reference/05-conformance.md) kit,**
57
- schedules, tasks, and attachments included, so `vb` and `vercel board` work
58
- against it with `--url` or `BOARD_URL`.
57
+ schedules, tasks, and attachments included, so `vercel board` works against
58
+ it with `--url` or `BOARD_URL`, and so does `vb`.
59
59
 
60
60
  Who may use it is `board()`'s, as on any board this deployment keeps: on
61
61
  Vercel, the team's people and the project's own deployments. Off Vercel, set
@@ -27,6 +27,10 @@ delivery receipts, lookups by platform ID, and an inbox of platform events. So
27
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
+ On Vercel's board, the board can also run a sync for you, with no deployment:
31
+ a Slack channel, mirrored both ways through Vercel's Slack app. See
32
+ [Syncs the board runs](./05-managed.md).
33
+
30
34
  ### With `BOARD_URL` set
31
35
 
32
36
  Sync runs where the board's log is. `board()` with `BOARD_URL` set and `sync`