@vercel/board 0.45.1 → 0.46.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 (75) hide show
  1. package/dist/{access-3udXjJAg.mjs → access-Crbvd2Dm.mjs} +2 -2
  2. package/dist/access.d.mts +2 -2
  3. package/dist/access.mjs +5 -5
  4. package/dist/{actors-DasGZnfb.mjs → actors-BBphaJ_G.mjs} +3 -3
  5. package/dist/{auth-aiOVE82-.mjs → auth-C-pFnJBA.mjs} +2 -2
  6. package/dist/{auth-BG_whr9_.d.mts → auth-CkNXnQno.d.mts} +1 -1
  7. package/dist/{backend-D6yTo8Un.d.mts → backend-D3p8gjba.d.mts} +126 -4
  8. package/dist/backend-local.d.mts +1 -1
  9. package/dist/backend-local.mjs +1 -1
  10. package/dist/{chat-provider-BvNqOQFL.mjs → chat-provider-1zpY6Qo_.mjs} +2 -2
  11. package/dist/{chat-provider-V2jnjVLq.d.mts → chat-provider-Bn33acHd.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 +2 -2
  15. package/dist/cli-embedded.mjs +3 -2
  16. package/dist/cli.mjs +6 -6
  17. package/dist/{commands-DewS14_P.d.mts → commands-CSZPQ38I.d.mts} +54 -0
  18. package/dist/{commands-CqdnjUkm.mjs → commands-D0lyo8O8.mjs} +319 -0
  19. package/dist/{conformance-BInS4_6b.mjs → conformance-Blzd4CXG.mjs} +972 -6
  20. package/dist/conformance.d.mts +6 -5
  21. package/dist/conformance.mjs +1 -1
  22. package/dist/{engine-XVBt02Bl.mjs → engine-C_SlBihU.mjs} +15 -7
  23. package/dist/{errors-ZazTZh-s.mjs → errors-DZ1tbwSM.mjs} +151 -3
  24. package/dist/{events-D17RndlV.mjs → events-mGuhF4i5.mjs} +2 -2
  25. package/dist/{exports-DCxecX15.mjs → exports-DQauuHrc.mjs} +1226 -42
  26. package/dist/exports-DUX_Yzo7.d.mts +44 -0
  27. package/dist/{external-DfhN7lKK.mjs → external-BVr1Sq0y.mjs} +1 -1
  28. package/dist/{index-Djmr4GzQ.d.mts → index-BHXg4Xdo.d.mts} +2 -2
  29. package/dist/index.d.mts +6 -6
  30. package/dist/index.mjs +5 -5
  31. package/dist/index.node.d.mts +7 -6
  32. package/dist/index.node.mjs +5 -4
  33. package/dist/inspect/app.js +215 -115
  34. package/dist/inspect/engine.js +5 -5
  35. package/dist/{inspect-CHsgnf_5.mjs → inspect-2OIjv2lW.mjs} +242 -20
  36. package/dist/inspect-F-b4GPXX.mjs +2 -0
  37. package/dist/{local-DE9vmanM.mjs → local-11FMUJrU.mjs} +1593 -60
  38. package/dist/{main-CF1Me3jg.mjs → main-BYmbTDgo.mjs} +1167 -24
  39. package/dist/{memory-DyEL0fvN.mjs → memory-CZBdVNn8.mjs} +2 -2
  40. package/dist/{middleware-BHHKHA9q.mjs → middleware-BKsTcMAv.mjs} +2 -2
  41. package/dist/{provider-BC9mPYVh.d.mts → provider-D3bfHRHA.d.mts} +119 -3
  42. package/dist/{routes-CkUetTO2.mjs → routes-B2HHHD_C.mjs} +246 -6
  43. package/dist/{routes-zm4TXKCC.d.mts → routes-NEc6w3QC.d.mts} +540 -6
  44. package/dist/{schemas-BhZaystC.mjs → schemas-7VFdomFB.mjs} +34 -1
  45. package/dist/{serve-CEMvl0EH.mjs → serve-DS2T2iWI.mjs} +4 -4
  46. package/dist/{server-Bmz0zqYM.mjs → server-Ch3tuK2k.mjs} +10 -10
  47. package/dist/{serving-BLVRrJ7P.mjs → serving-9riPNrHk.mjs} +1 -1
  48. package/dist/{sql-CyVcjw8x.mjs → sql-Bml29DpM.mjs} +174 -9
  49. package/dist/{sqlite-Con-8duk.mjs → sqlite-4C5u7-ag.mjs} +2 -2
  50. package/dist/{sqlite-db-BdzxtUOV.mjs → sqlite-db-eVb9v3zc.mjs} +1 -1
  51. package/dist/sync-chat-sdk.d.mts +2 -2
  52. package/dist/sync-chat-sdk.mjs +2 -2
  53. package/dist/sync-github.d.mts +2 -2
  54. package/dist/sync-github.mjs +2 -2
  55. package/dist/sync-linear.d.mts +3 -3
  56. package/dist/sync-linear.mjs +2 -2
  57. package/dist/sync-slack.d.mts +3 -3
  58. package/dist/sync-slack.mjs +4 -4
  59. package/dist/sync.d.mts +2 -2
  60. package/dist/sync.mjs +2 -2
  61. package/dist/{origin-BbwhnKrg.mjs → task-batch-BJcLiYe1.mjs} +83 -8
  62. package/dist/{tokens-BErYXuHZ.mjs → tokens-DPKF_cb5.mjs} +2 -2
  63. package/docs/01-board/01-mounting.md +1 -1
  64. package/docs/01-board/08-middleware.md +7 -0
  65. package/docs/01-board/11-tasks.md +348 -0
  66. package/docs/03-guides/02-inspector.md +66 -9
  67. package/docs/03-guides/06-sandboxed-agents.md +5 -3
  68. package/docs/03-guides/07-build-a-ui.md +210 -0
  69. package/docs/04-reference/01-cli.md +216 -8
  70. package/docs/04-reference/02-board.md +277 -2
  71. package/docs/04-reference/03-http.md +184 -10
  72. package/docs/04-reference/05-conformance.md +10 -7
  73. package/package.json +1 -1
  74. package/dist/exports-Gspe1eEq.d.mts +0 -4
  75. package/dist/inspect-C8U3A4jQ.mjs +0 -2
@@ -0,0 +1,44 @@
1
+ import { X as MessageView } from "./routes-NEc6w3QC.mjs";
2
+ import "./auth-CkNXnQno.mjs";
3
+ import "./backend-D3p8gjba.mjs";
4
+ import { F as BoardError, Y as TaskInBatch } from "./provider-D3bfHRHA.mjs";
5
+ //#region src/client/chunks.d.ts
6
+ /** What `createTasksInChunks` makes tasks with: a handle, or anything with its `tasks.createMany`. */
7
+ type TaskBatches = {
8
+ tasks: {
9
+ createMany(channel: string, tasks: TaskInBatch[], opts?: {
10
+ id?: string;
11
+ }): Promise<MessageView[]>;
12
+ };
13
+ };
14
+ /**
15
+ * A chunk failed, with the chunks before it made: `code`, `status`, and `message` are the failure's
16
+ * own, and `created` holds the tasks that were made, each at its task's place in the `tasks` given,
17
+ * with `undefined` for the ones that weren't.
18
+ */
19
+ declare class TasksInChunksError extends BoardError {
20
+ readonly created: (MessageView | undefined)[];
21
+ constructor(cause: unknown, created: (MessageView | undefined)[]);
22
+ }
23
+ /**
24
+ * Makes `tasks` in `channel` with as many `tasks.createMany` calls as it takes, and answers their
25
+ * roots in the order given. It makes each task after the ones it waits for by `key`, names a task
26
+ * an earlier chunk made by the ID it got, and sends fewer when a board answers `batch_too_large`:
27
+ * 50, then 25, down to one. With `id`, each chunk goes under an ID made from it and where the
28
+ * chunk starts, and the plan's last task says the plan ends with it. So calling again with the
29
+ * same `id` and tasks answers the chunks that landed and makes the rest. What landed can't change
30
+ * and a plan that finished takes no more, wherever its chunks ended: both are a 409
31
+ * `duplicate_id`, with nothing new made. What a call that stopped midway didn't make can still
32
+ * change.
33
+ *
34
+ * It isn't one write. Each chunk is all or nothing, and the chunks land one after another: a task
35
+ * of an earlier chunk that's ready can be claimed before a later chunk lands. When a chunk fails
36
+ * it stops and throws a `TasksInChunksError`, whose `created` has what the chunks before it made.
37
+ * A plan that must not start early waits for a task of the caller's own, which it completes once
38
+ * this returns.
39
+ */
40
+ declare function createTasksInChunks(board: TaskBatches, channel: string, tasks: TaskInBatch[], options?: {
41
+ id?: string;
42
+ }): Promise<MessageView[]>;
43
+ //#endregion
44
+ export { TasksInChunksError as n, createTasksInChunks as r, TaskBatches as t };
@@ -1,4 +1,4 @@
1
- import { m as MessageId, p as MESSAGE_TEXT_MAX } from "./schemas-BhZaystC.mjs";
1
+ import { h as MessageId, m as MESSAGE_TEXT_MAX } from "./schemas-7VFdomFB.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/contract/external.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { f as Board, p as BoardOptions } from "./backend-D6yTo8Un.mjs";
2
- import "./exports-Gspe1eEq.mjs";
1
+ import { f as Board, p as BoardOptions } from "./backend-D3p8gjba.mjs";
2
+ import "./exports-DUX_Yzo7.mjs";
3
3
  //#region src/server/index.d.ts
4
4
  /**
5
5
  * The handle on a board. Without a `backend`, it's Vercel's board for your team, the one `name`
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
- import { $ as ScheduleBody, A as LabelBody, At as ThreadsQueryInput, B as ParsedFilters, C as InboxAckBody, Ct as SyncReceiptInput, D as InboxPushBody, Dt as ThreadView, E as InboxNextQuery, Et as ThreadSummaryView, F as Me, Ft as UploadStartBody, G as REGISTERED_WATCHERS_MAX, H as PostInput, I as MessageView, It as UploadTicket, J as RegisterBody, K as ReactBody, L as MessagesPage, Lt as routes, M as LinkedQuery, Mt as TypingResult, N as MatchView, Nt as UpdateGrantBody, O as InboxQuery, Ot as ThreadsPage, P as MatchesQuery, Pt as UpdateGrantInput, Q as RouteName, R as MessagesQuery, S as INBOX_EVENT_ID_MAX, St as SyncReceiptBody, T as InboxItem, Tt as SyncedView, U as PrincipalInput, V as PostBody, W as PrincipalView, X as RegistrationView, Y as RegisterInput, Z as ResolvedSyncTarget, _ as FiltersInput, _t as SyncFindInput, a as BoardEventView, at as SchedulesQueryOutput, b as GrantInput, bt as SyncImportBody, c as CreateChannelBody, ct as SchemaView, d as EditBody, dt as SourceMessage, et as ScheduleBodyOutput, f as EventsPage, ft as SourceRead, g as Explanation, gt as SyncCopiesView, h as ExplainQuery, ht as SyncCopiesQuery, i as BlockView, in as Attachment, it as SchedulesQueryInput, j as LinkView, jt as TypingBody, k as LABEL_CONDITIONS_MAX, kt as ThreadsQuery, l as DeleteBody, lt as SourceJoin, m as EventsQueryInput, mt as SyncBody, n as ActorView, nt as ScheduleView, o as CanAt, ot as SchemaBody, p as EventsQuery, pt as SourceReadQuery, q as Ref, r as ApiError, rt as SchedulesQuery, s as ChannelView, st as SchemaInput, t as AckBody, tt as ScheduleInput, u as Discovery, ut as SourceJoinBody, v as GrantBody, vt as SyncFindQuery, w as InboxEntry, wt as SyncThreadView, x as GrantView, xt as SyncImportInput, y as GrantCan, yt as SyncFindView, z as MessagesQueryInput } from "./routes-zm4TXKCC.mjs";
2
- import { i as Claims, r as CallerRequest } from "./auth-BG_whr9_.mjs";
3
- import { C as Method, D as SandboxPolicy, E as SandboxMatcher, O as SandboxPolicyOptions, S as HttpError, T as SandboxMatch, _ as Middleware, a as Identity, b as WritePatch, c as SelfCaller, d as AsOptions, f as Board, g as DroppedError, h as WatcherContext, i as Caller, k as SandboxRule, l as Subscription, m as Watcher, n as BackendRoute, o as InboxDelivery, p as BoardOptions, r as BoardBinding, s as ProtocolMethods, t as Backend, u as VerifiedCaller, v as MiddlewareContext, w as Protocol, x as WriteSource, y as Write } from "./backend-D6yTo8Un.mjs";
4
- import { B as Filters, F as BoardError, G as ScheduleTiming, H as ProfileOption, J as duration, K as UploadInput, L as EventsOptions, R as EventsState, U as ReplyOptions, V as PostOptions, W as ScheduleOptions, q as WaitOptions, z as ExplainPrincipal } from "./provider-BC9mPYVh.mjs";
1
+ import { $ as MessagesQueryInput, $t as TypingBody, A as FiltersInput, At as SyncBody, B as InboxPushBody, Bt as SyncThreadView, C as EditBody, Ct as SchemaInput, D as ExplainQuery, Dt as SourceMessage, E as EventsQueryInput, En as Attachment, Et as SourceJoinBody, F as INBOX_EVENT_ID_MAX, Ft as SyncFindView, G as LinkView, Gt as TasksPage, H as LABEL_CONDITIONS_MAX, Ht as TaskClaim, I as InboxAckBody, It as SyncImportBody, J as MatchesQuery, Jt as ThreadSummaryView, K as LinkedQuery, Kt as TasksQuery, L as InboxEntry, Lt as SyncImportInput, M as GrantCan, Mt as SyncCopiesView, N as GrantInput, Nt as SyncFindInput, O as Explanation, Ot as SourceRead, P as GrantView, Pt as SyncFindQuery, Q as MessagesQuery, Qt as ThreadsQueryInput, R as InboxItem, Rt as SyncReceiptBody, S as Discovery, St as SchemaBody, T as EventsQuery, Tt as SourceJoin, U as LEASE_DEFAULT_S, Ut as TaskNeedsBody, V as InboxQuery, Vt as SyncedView, W as LabelBody, Wt as TaskView, X as MessageView, Xt as ThreadsPage, Y as Me, Yt as ThreadView, Z as MessagesPage, Zt as ThreadsQuery, _ as CreateTaskInput, _t as ScheduleInput, a as BlockTaskBody, an as routes, at as REGISTERED_WATCHERS_MAX, b as CreatedTasksQuery, bt as SchedulesQueryInput, c as CanAt, ct as RegisterBody, d as ClaimReadyTaskBody, dt as ReleaseTaskBody, en as TypingResult, et as ParsedFilters, f as ClaimReadyTaskInput, ft as RenewTaskBody, g as CreateTaskBody, gt as ScheduleBodyOutput, h as CreateChannelBody, ht as ScheduleBody, i as AssignTaskBody, in as UploadTicket, it as PrincipalView, j as GrantBody, jt as SyncCopiesQuery, k as FailTaskBody, kt as SourceReadQuery, l as CancelTaskBody, lt as RegisterInput, m as CompleteTaskBody, mt as RouteName, n as ActorView, nn as UpdateGrantInput, nt as PostInput, o as BlockView, ot as ReactBody, p as ClaimTaskBody, pt as ResolvedSyncTarget, q as MatchView, qt as TasksQueryInput, r as ApiError, rn as UploadStartBody, rt as PrincipalInput, s as BoardEventView, st as Ref, t as AckBody, tn as UpdateGrantBody, tt as PostBody, u as ChannelView, ut as RegistrationView, v as CreateTasksBody, vt as ScheduleView, w as EventsPage, wt as SchemaView, x as DeleteBody, xt as SchedulesQueryOutput, y as CreateTasksInput, yt as SchedulesQuery, z as InboxNextQuery, zt as SyncReceiptInput } from "./routes-NEc6w3QC.mjs";
2
+ import { i as Claims, r as CallerRequest } from "./auth-CkNXnQno.mjs";
3
+ import { C as Method, D as SandboxPolicy, E as SandboxMatcher, O as SandboxPolicyOptions, S as HttpError, T as SandboxMatch, _ as Middleware, a as Identity, b as WritePatch, c as SelfCaller, d as AsOptions, f as Board, g as DroppedError, h as WatcherContext, i as Caller, k as SandboxRule, l as Subscription, m as Watcher, n as BackendRoute, o as InboxDelivery, p as BoardOptions, r as BoardBinding, s as ProtocolMethods, t as Backend, u as VerifiedCaller, v as MiddlewareContext, w as Protocol, x as WriteSource, y as Write } from "./backend-D3p8gjba.mjs";
4
+ import { $ as duration, B as ExplainPrincipal, F as BoardError, G as ProfileOption, H as HeldTask, I as ClaimedTask, J as ScheduleTiming, K as ReplyOptions, Q as WaitOptions, R as EventsOptions, U as NewTaskOptions, V as Filters, W as PostOptions, X as TaskOptions, Y as TaskInBatch, Z as UploadInput, q as ScheduleOptions, z as EventsState } from "./provider-D3bfHRHA.mjs";
5
+ import { n as TasksInChunksError, r as createTasksInChunks, t as TaskBatches } from "./exports-DUX_Yzo7.mjs";
5
6
  import { n as block } from "./blocks-DGvh2alZ.mjs";
6
- import "./exports-Gspe1eEq.mjs";
7
7
  //#region src/server/index.default.d.ts
8
8
  /**
9
9
  * The handle on a board. Without a `backend`, it's Vercel's board for the team, the one `name`
@@ -13,4 +13,4 @@ import "./exports-Gspe1eEq.mjs";
13
13
  */
14
14
  export declare function board(options?: BoardOptions): Board;
15
15
  //#endregion
16
- export { type AckBody, type ActorView, type ApiError, type AsOptions, type Attachment, type Backend, type BackendRoute, type BlockView, type Board, type BoardBinding, BoardError, type BoardEventView, type BoardOptions, type Caller, type CallerRequest, type CanAt, type ChannelView, type Claims, type CreateChannelBody, type DeleteBody, type Discovery, DroppedError, type EditBody, type EventsOptions, type EventsPage, type EventsQuery, type EventsQueryInput, type EventsState, type ExplainPrincipal, type ExplainQuery, type Explanation, type Filters, type FiltersInput, type GrantBody, type GrantCan, type GrantInput, type GrantView, HttpError, type INBOX_EVENT_ID_MAX, type Identity, type InboxAckBody, type InboxDelivery, type InboxEntry, type InboxItem, type InboxNextQuery, type InboxPushBody, type InboxQuery, type LABEL_CONDITIONS_MAX, type LabelBody, type LinkView, type LinkedQuery, type MatchView, type MatchesQuery, type Me, type MessageView, type MessagesPage, type MessagesQuery, type MessagesQueryInput, type Method, type Middleware, type MiddlewareContext, type ParsedFilters, type PostBody, type PostInput, type PostOptions, type PrincipalInput, type PrincipalView, type ProfileOption, type Protocol, type ProtocolMethods, type REGISTERED_WATCHERS_MAX, type ReactBody, type Ref, type RegisterBody, type RegisterInput, type RegistrationView, type ReplyOptions, type ResolvedSyncTarget, type RouteName, type SandboxMatch, type SandboxMatcher, type SandboxPolicy, type SandboxPolicyOptions, type SandboxRule, type ScheduleBody, type ScheduleBodyOutput, type ScheduleInput, type ScheduleOptions, type ScheduleTiming, type ScheduleView, type SchedulesQuery, type SchedulesQueryInput, type SchedulesQueryOutput, type SchemaBody, type SchemaInput, type SchemaView, type SelfCaller, type SourceJoin, type SourceJoinBody, type SourceMessage, type SourceRead, type SourceReadQuery, type Subscription, type SyncBody, type SyncCopiesQuery, type SyncCopiesView, type SyncFindInput, type SyncFindQuery, type SyncFindView, type SyncImportBody, type SyncImportInput, type SyncReceiptBody, type SyncReceiptInput, type SyncThreadView, type SyncedView, type ThreadSummaryView, type ThreadView, type ThreadsPage, type ThreadsQuery, type ThreadsQueryInput, type TypingBody, type TypingResult, type UpdateGrantBody, type UpdateGrantInput, type UploadInput, type UploadStartBody, type UploadTicket, type VerifiedCaller, type WaitOptions, type Watcher, type WatcherContext, type Write, type WritePatch, type WriteSource, block, duration, type routes };
16
+ export { type AckBody, type ActorView, type ApiError, type AsOptions, type AssignTaskBody, type Attachment, type Backend, type BackendRoute, type BlockTaskBody, type BlockView, type Board, type BoardBinding, BoardError, type BoardEventView, type BoardOptions, type Caller, type CallerRequest, type CanAt, type CancelTaskBody, type ChannelView, type ClaimReadyTaskBody, type ClaimReadyTaskInput, type ClaimTaskBody, type ClaimedTask, type Claims, type CompleteTaskBody, type CreateChannelBody, type CreateTaskBody, type CreateTaskInput, type CreateTasksBody, type CreateTasksInput, type CreatedTasksQuery, type DeleteBody, type Discovery, DroppedError, type EditBody, type EventsOptions, type EventsPage, type EventsQuery, type EventsQueryInput, type EventsState, type ExplainPrincipal, type ExplainQuery, type Explanation, type FailTaskBody, type Filters, type FiltersInput, type GrantBody, type GrantCan, type GrantInput, type GrantView, type HeldTask, HttpError, type INBOX_EVENT_ID_MAX, type Identity, type InboxAckBody, type InboxDelivery, type InboxEntry, type InboxItem, type InboxNextQuery, type InboxPushBody, type InboxQuery, type LABEL_CONDITIONS_MAX, type LEASE_DEFAULT_S, type LabelBody, type LinkView, type LinkedQuery, type MatchView, type MatchesQuery, type Me, type MessageView, type MessagesPage, type MessagesQuery, type MessagesQueryInput, type Method, type Middleware, type MiddlewareContext, type NewTaskOptions, type ParsedFilters, type PostBody, type PostInput, type PostOptions, type PrincipalInput, type PrincipalView, type ProfileOption, type Protocol, type ProtocolMethods, type REGISTERED_WATCHERS_MAX, type ReactBody, type Ref, type RegisterBody, type RegisterInput, type RegistrationView, type ReleaseTaskBody, type RenewTaskBody, type ReplyOptions, type ResolvedSyncTarget, type RouteName, type SandboxMatch, type SandboxMatcher, type SandboxPolicy, type SandboxPolicyOptions, type SandboxRule, type ScheduleBody, type ScheduleBodyOutput, type ScheduleInput, type ScheduleOptions, type ScheduleTiming, type ScheduleView, type SchedulesQuery, type SchedulesQueryInput, type SchedulesQueryOutput, type SchemaBody, type SchemaInput, type SchemaView, type SelfCaller, type SourceJoin, type SourceJoinBody, type SourceMessage, type SourceRead, type SourceReadQuery, type Subscription, type SyncBody, type SyncCopiesQuery, type SyncCopiesView, type SyncFindInput, type SyncFindQuery, type SyncFindView, type SyncImportBody, type SyncImportInput, type SyncReceiptBody, type SyncReceiptInput, type SyncThreadView, type SyncedView, type TaskBatches, type TaskClaim, type TaskInBatch, type TaskNeedsBody, type TaskOptions, type TaskView, TasksInChunksError, type TasksPage, type TasksQuery, type TasksQueryInput, type ThreadSummaryView, type ThreadView, type ThreadsPage, type ThreadsQuery, type ThreadsQueryInput, type TypingBody, type TypingResult, type UpdateGrantBody, type UpdateGrantInput, type UploadInput, type UploadStartBody, type UploadTicket, type VerifiedCaller, type WaitOptions, type Watcher, type WatcherContext, type Write, type WritePatch, type WriteSource, block, createTasksInChunks, duration, type routes };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { d as BoardError, p as duration, t as HttpError } from "./errors-ZazTZh-s.mjs";
2
- import { t as DroppedError } from "./middleware-BHHKHA9q.mjs";
1
+ import { f as BoardError, m as duration, t as HttpError } from "./errors-DZ1tbwSM.mjs";
2
+ import { t as DroppedError } from "./middleware-BKsTcMAv.mjs";
3
3
  import { t as block } from "./blocks-CVoBC7ur.mjs";
4
- import { i as createVercel, t as createBoard } from "./exports-DCxecX15.mjs";
4
+ import { n as createTasksInChunks, o as createVercel, r as createBoard, t as TasksInChunksError } from "./exports-DQauuHrc.mjs";
5
5
  //#region src/backend-vercel/index.default.ts
6
6
  /**
7
7
  * Your team's board, in Vercel's API. Outside Node there's no environment to find credentials or
@@ -24,10 +24,10 @@ function board(options = {}) {
24
24
  if (!fetch) throw new Error("board: pass a fetch that sends credentials Vercel's API takes, or a backend: outside Node there's no environment to find them in");
25
25
  return vercel({ fetch });
26
26
  },
27
- sync: () => import("./engine-XVBt02Bl.mjs"),
27
+ sync: () => import("./engine-C_SlBihU.mjs"),
28
28
  serving: null,
29
29
  sandbox: null
30
30
  });
31
31
  }
32
32
  //#endregion
33
- export { BoardError, DroppedError, HttpError, block, board, duration };
33
+ export { BoardError, DroppedError, HttpError, TasksInChunksError, block, board, createTasksInChunks, duration };
@@ -1,7 +1,8 @@
1
- import { $ as ScheduleBody, A as LabelBody, At as ThreadsQueryInput, B as ParsedFilters, C as InboxAckBody, Ct as SyncReceiptInput, D as InboxPushBody, Dt as ThreadView, E as InboxNextQuery, Et as ThreadSummaryView, F as Me, Ft as UploadStartBody, G as REGISTERED_WATCHERS_MAX, H as PostInput, I as MessageView, It as UploadTicket, J as RegisterBody, K as ReactBody, L as MessagesPage, Lt as routes, M as LinkedQuery, Mt as TypingResult, N as MatchView, Nt as UpdateGrantBody, O as InboxQuery, Ot as ThreadsPage, P as MatchesQuery, Pt as UpdateGrantInput, Q as RouteName, R as MessagesQuery, S as INBOX_EVENT_ID_MAX, St as SyncReceiptBody, T as InboxItem, Tt as SyncedView, U as PrincipalInput, V as PostBody, W as PrincipalView, X as RegistrationView, Y as RegisterInput, Z as ResolvedSyncTarget, _ as FiltersInput, _t as SyncFindInput, a as BoardEventView, at as SchedulesQueryOutput, b as GrantInput, bt as SyncImportBody, c as CreateChannelBody, ct as SchemaView, d as EditBody, dt as SourceMessage, et as ScheduleBodyOutput, f as EventsPage, ft as SourceRead, g as Explanation, gt as SyncCopiesView, h as ExplainQuery, ht as SyncCopiesQuery, i as BlockView, in as Attachment, it as SchedulesQueryInput, j as LinkView, jt as TypingBody, k as LABEL_CONDITIONS_MAX, kt as ThreadsQuery, l as DeleteBody, lt as SourceJoin, m as EventsQueryInput, mt as SyncBody, n as ActorView, nt as ScheduleView, o as CanAt, ot as SchemaBody, p as EventsQuery, pt as SourceReadQuery, q as Ref, r as ApiError, rt as SchedulesQuery, s as ChannelView, st as SchemaInput, t as AckBody, tt as ScheduleInput, u as Discovery, ut as SourceJoinBody, v as GrantBody, vt as SyncFindQuery, w as InboxEntry, wt as SyncThreadView, x as GrantView, xt as SyncImportInput, y as GrantCan, yt as SyncFindView, z as MessagesQueryInput } from "./routes-zm4TXKCC.mjs";
2
- import { i as Claims, r as CallerRequest } from "./auth-BG_whr9_.mjs";
3
- import { C as Method, D as SandboxPolicy, E as SandboxMatcher, O as SandboxPolicyOptions, S as HttpError, T as SandboxMatch, _ as Middleware, a as Identity, b as WritePatch, c as SelfCaller, d as AsOptions, f as Board, g as DroppedError, h as WatcherContext, i as Caller, k as SandboxRule, l as Subscription, m as Watcher, n as BackendRoute, o as InboxDelivery, p as BoardOptions, r as BoardBinding, s as ProtocolMethods, t as Backend, u as VerifiedCaller, v as MiddlewareContext, w as Protocol, x as WriteSource, y as Write } from "./backend-D6yTo8Un.mjs";
4
- import { B as Filters, F as BoardError, G as ScheduleTiming, H as ProfileOption, J as duration, K as UploadInput, L as EventsOptions, R as EventsState, U as ReplyOptions, V as PostOptions, W as ScheduleOptions, q as WaitOptions, z as ExplainPrincipal } from "./provider-BC9mPYVh.mjs";
1
+ import { $ as MessagesQueryInput, $t as TypingBody, A as FiltersInput, At as SyncBody, B as InboxPushBody, Bt as SyncThreadView, C as EditBody, Ct as SchemaInput, D as ExplainQuery, Dt as SourceMessage, E as EventsQueryInput, En as Attachment, Et as SourceJoinBody, F as INBOX_EVENT_ID_MAX, Ft as SyncFindView, G as LinkView, Gt as TasksPage, H as LABEL_CONDITIONS_MAX, Ht as TaskClaim, I as InboxAckBody, It as SyncImportBody, J as MatchesQuery, Jt as ThreadSummaryView, K as LinkedQuery, Kt as TasksQuery, L as InboxEntry, Lt as SyncImportInput, M as GrantCan, Mt as SyncCopiesView, N as GrantInput, Nt as SyncFindInput, O as Explanation, Ot as SourceRead, P as GrantView, Pt as SyncFindQuery, Q as MessagesQuery, Qt as ThreadsQueryInput, R as InboxItem, Rt as SyncReceiptBody, S as Discovery, St as SchemaBody, T as EventsQuery, Tt as SourceJoin, U as LEASE_DEFAULT_S, Ut as TaskNeedsBody, V as InboxQuery, Vt as SyncedView, W as LabelBody, Wt as TaskView, X as MessageView, Xt as ThreadsPage, Y as Me, Yt as ThreadView, Z as MessagesPage, Zt as ThreadsQuery, _ as CreateTaskInput, _t as ScheduleInput, a as BlockTaskBody, an as routes, at as REGISTERED_WATCHERS_MAX, b as CreatedTasksQuery, bt as SchedulesQueryInput, c as CanAt, ct as RegisterBody, d as ClaimReadyTaskBody, dt as ReleaseTaskBody, en as TypingResult, et as ParsedFilters, f as ClaimReadyTaskInput, ft as RenewTaskBody, g as CreateTaskBody, gt as ScheduleBodyOutput, h as CreateChannelBody, ht as ScheduleBody, i as AssignTaskBody, in as UploadTicket, it as PrincipalView, j as GrantBody, jt as SyncCopiesQuery, k as FailTaskBody, kt as SourceReadQuery, l as CancelTaskBody, lt as RegisterInput, m as CompleteTaskBody, mt as RouteName, n as ActorView, nn as UpdateGrantInput, nt as PostInput, o as BlockView, ot as ReactBody, p as ClaimTaskBody, pt as ResolvedSyncTarget, q as MatchView, qt as TasksQueryInput, r as ApiError, rn as UploadStartBody, rt as PrincipalInput, s as BoardEventView, st as Ref, t as AckBody, tn as UpdateGrantBody, tt as PostBody, u as ChannelView, ut as RegistrationView, v as CreateTasksBody, vt as ScheduleView, w as EventsPage, wt as SchemaView, x as DeleteBody, xt as SchedulesQueryOutput, y as CreateTasksInput, yt as SchedulesQuery, z as InboxNextQuery, zt as SyncReceiptInput } from "./routes-NEc6w3QC.mjs";
2
+ import { i as Claims, r as CallerRequest } from "./auth-CkNXnQno.mjs";
3
+ import { C as Method, D as SandboxPolicy, E as SandboxMatcher, O as SandboxPolicyOptions, S as HttpError, T as SandboxMatch, _ as Middleware, a as Identity, b as WritePatch, c as SelfCaller, d as AsOptions, f as Board, g as DroppedError, h as WatcherContext, i as Caller, k as SandboxRule, l as Subscription, m as Watcher, n as BackendRoute, o as InboxDelivery, p as BoardOptions, r as BoardBinding, s as ProtocolMethods, t as Backend, u as VerifiedCaller, v as MiddlewareContext, w as Protocol, x as WriteSource, y as Write } from "./backend-D3p8gjba.mjs";
4
+ import { $ as duration, B as ExplainPrincipal, F as BoardError, G as ProfileOption, H as HeldTask, I as ClaimedTask, J as ScheduleTiming, K as ReplyOptions, Q as WaitOptions, R as EventsOptions, U as NewTaskOptions, V as Filters, W as PostOptions, X as TaskOptions, Y as TaskInBatch, Z as UploadInput, q as ScheduleOptions, z as EventsState } from "./provider-D3bfHRHA.mjs";
5
+ import { n as TasksInChunksError, r as createTasksInChunks, t as TaskBatches } from "./exports-DUX_Yzo7.mjs";
5
6
  import { n as block } from "./blocks-DGvh2alZ.mjs";
6
- import { t as board } from "./index-Djmr4GzQ.mjs";
7
- export { type AckBody, type ActorView, type ApiError, type AsOptions, type Attachment, type Backend, type BackendRoute, type BlockView, type Board, type BoardBinding, BoardError, type BoardEventView, type BoardOptions, type Caller, type CallerRequest, type CanAt, type ChannelView, type Claims, type CreateChannelBody, type DeleteBody, type Discovery, DroppedError, type EditBody, type EventsOptions, type EventsPage, type EventsQuery, type EventsQueryInput, type EventsState, type ExplainPrincipal, type ExplainQuery, type Explanation, type Filters, type FiltersInput, type GrantBody, type GrantCan, type GrantInput, type GrantView, HttpError, type INBOX_EVENT_ID_MAX, type Identity, type InboxAckBody, type InboxDelivery, type InboxEntry, type InboxItem, type InboxNextQuery, type InboxPushBody, type InboxQuery, type LABEL_CONDITIONS_MAX, type LabelBody, type LinkView, type LinkedQuery, type MatchView, type MatchesQuery, type Me, type MessageView, type MessagesPage, type MessagesQuery, type MessagesQueryInput, type Method, type Middleware, type MiddlewareContext, type ParsedFilters, type PostBody, type PostInput, type PostOptions, type PrincipalInput, type PrincipalView, type ProfileOption, type Protocol, type ProtocolMethods, type REGISTERED_WATCHERS_MAX, type ReactBody, type Ref, type RegisterBody, type RegisterInput, type RegistrationView, type ReplyOptions, type ResolvedSyncTarget, type RouteName, type SandboxMatch, type SandboxMatcher, type SandboxPolicy, type SandboxPolicyOptions, type SandboxRule, type ScheduleBody, type ScheduleBodyOutput, type ScheduleInput, type ScheduleOptions, type ScheduleTiming, type ScheduleView, type SchedulesQuery, type SchedulesQueryInput, type SchedulesQueryOutput, type SchemaBody, type SchemaInput, type SchemaView, type SelfCaller, type SourceJoin, type SourceJoinBody, type SourceMessage, type SourceRead, type SourceReadQuery, type Subscription, type SyncBody, type SyncCopiesQuery, type SyncCopiesView, type SyncFindInput, type SyncFindQuery, type SyncFindView, type SyncImportBody, type SyncImportInput, type SyncReceiptBody, type SyncReceiptInput, type SyncThreadView, type SyncedView, type ThreadSummaryView, type ThreadView, type ThreadsPage, type ThreadsQuery, type ThreadsQueryInput, type TypingBody, type TypingResult, type UpdateGrantBody, type UpdateGrantInput, type UploadInput, type UploadStartBody, type UploadTicket, type VerifiedCaller, type WaitOptions, type Watcher, type WatcherContext, type Write, type WritePatch, type WriteSource, block, board, duration, type routes };
7
+ import { t as board } from "./index-BHXg4Xdo.mjs";
8
+ export { type AckBody, type ActorView, type ApiError, type AsOptions, type AssignTaskBody, type Attachment, type Backend, type BackendRoute, type BlockTaskBody, type BlockView, type Board, type BoardBinding, BoardError, type BoardEventView, type BoardOptions, type Caller, type CallerRequest, type CanAt, type CancelTaskBody, type ChannelView, type ClaimReadyTaskBody, type ClaimReadyTaskInput, type ClaimTaskBody, type ClaimedTask, type Claims, type CompleteTaskBody, type CreateChannelBody, type CreateTaskBody, type CreateTaskInput, type CreateTasksBody, type CreateTasksInput, type CreatedTasksQuery, type DeleteBody, type Discovery, DroppedError, type EditBody, type EventsOptions, type EventsPage, type EventsQuery, type EventsQueryInput, type EventsState, type ExplainPrincipal, type ExplainQuery, type Explanation, type FailTaskBody, type Filters, type FiltersInput, type GrantBody, type GrantCan, type GrantInput, type GrantView, type HeldTask, HttpError, type INBOX_EVENT_ID_MAX, type Identity, type InboxAckBody, type InboxDelivery, type InboxEntry, type InboxItem, type InboxNextQuery, type InboxPushBody, type InboxQuery, type LABEL_CONDITIONS_MAX, type LEASE_DEFAULT_S, type LabelBody, type LinkView, type LinkedQuery, type MatchView, type MatchesQuery, type Me, type MessageView, type MessagesPage, type MessagesQuery, type MessagesQueryInput, type Method, type Middleware, type MiddlewareContext, type NewTaskOptions, type ParsedFilters, type PostBody, type PostInput, type PostOptions, type PrincipalInput, type PrincipalView, type ProfileOption, type Protocol, type ProtocolMethods, type REGISTERED_WATCHERS_MAX, type ReactBody, type Ref, type RegisterBody, type RegisterInput, type RegistrationView, type ReleaseTaskBody, type RenewTaskBody, type ReplyOptions, type ResolvedSyncTarget, type RouteName, type SandboxMatch, type SandboxMatcher, type SandboxPolicy, type SandboxPolicyOptions, type SandboxRule, type ScheduleBody, type ScheduleBodyOutput, type ScheduleInput, type ScheduleOptions, type ScheduleTiming, type ScheduleView, type SchedulesQuery, type SchedulesQueryInput, type SchedulesQueryOutput, type SchemaBody, type SchemaInput, type SchemaView, type SelfCaller, type SourceJoin, type SourceJoinBody, type SourceMessage, type SourceRead, type SourceReadQuery, type Subscription, type SyncBody, type SyncCopiesQuery, type SyncCopiesView, type SyncFindInput, type SyncFindQuery, type SyncFindView, type SyncImportBody, type SyncImportInput, type SyncReceiptBody, type SyncReceiptInput, type SyncThreadView, type SyncedView, type TaskBatches, type TaskClaim, type TaskInBatch, type TaskNeedsBody, type TaskOptions, type TaskView, TasksInChunksError, type TasksPage, type TasksQuery, type TasksQueryInput, type ThreadSummaryView, type ThreadView, type ThreadsPage, type ThreadsQuery, type ThreadsQueryInput, type TypingBody, type TypingResult, type UpdateGrantBody, type UpdateGrantInput, type UploadInput, type UploadStartBody, type UploadTicket, type VerifiedCaller, type WaitOptions, type Watcher, type WatcherContext, type Write, type WritePatch, type WriteSource, block, board, createTasksInChunks, duration, type routes };
@@ -1,5 +1,6 @@
1
- import { d as BoardError, p as duration, t as HttpError } from "./errors-ZazTZh-s.mjs";
2
- import { t as DroppedError } from "./middleware-BHHKHA9q.mjs";
1
+ import { f as BoardError, m as duration, t as HttpError } from "./errors-DZ1tbwSM.mjs";
2
+ import { t as DroppedError } from "./middleware-BKsTcMAv.mjs";
3
3
  import { t as block } from "./blocks-CVoBC7ur.mjs";
4
- import { t as board } from "./server-Bmz0zqYM.mjs";
5
- export { BoardError, DroppedError, HttpError, block, board, duration };
4
+ import { n as createTasksInChunks, t as TasksInChunksError } from "./exports-DQauuHrc.mjs";
5
+ import { t as board } from "./server-Ch3tuK2k.mjs";
6
+ export { BoardError, DroppedError, HttpError, TasksInChunksError, block, board, createTasksInChunks, duration };