@vercel/board 0.39.0 → 0.41.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 (100) hide show
  1. package/README.md +6 -4
  2. package/dist/{access-CVkjSfxj.mjs → access-C5HaO42b.mjs} +2 -2
  3. package/dist/access.d.mts +6 -6
  4. package/dist/access.mjs +5 -5
  5. package/dist/actors-nrOf7Y7z.mjs +160 -0
  6. package/dist/{auth-BXLCkeB0.d.mts → auth-Bn8J_1F2.d.mts} +14 -29
  7. package/dist/{auth-B3bBYOqf.mjs → auth-DAlYi6TN.mjs} +9 -19
  8. package/dist/{backend-HcCCGPG4.d.mts → backend-CYsTLxtP.d.mts} +139 -43
  9. package/dist/backend-local.d.mts +1 -1
  10. package/dist/backend-local.mjs +1 -1
  11. package/dist/blocks-CVoBC7ur.mjs +402 -0
  12. package/dist/blocks-DGvh2alZ.d.mts +33 -0
  13. package/dist/{chat-provider-1WKsLEnM.mjs → chat-provider-CPZg2MQb.mjs} +2 -2
  14. package/dist/{chat-provider-DyNy5xdC.d.mts → chat-provider-Cgkh9xJw.d.mts} +2 -2
  15. package/dist/cli-commands.d.mts +1 -1
  16. package/dist/cli-commands.mjs +1 -1
  17. package/dist/cli-embedded.d.mts +3 -3
  18. package/dist/cli-embedded.mjs +4 -4
  19. package/dist/cli.mjs +8 -13
  20. package/dist/{commands-B5d-lmNN.d.mts → commands-CrEVjASe.d.mts} +14 -26
  21. package/dist/{commands-BLS7erNu.mjs → commands-QRD0U9AQ.mjs} +114 -105
  22. package/dist/{conformance-D59Py2m2.mjs → conformance-ClxEEZ9C.mjs} +378 -101
  23. package/dist/conformance.d.mts +11 -9
  24. package/dist/conformance.mjs +1 -1
  25. package/dist/data-values-C-Cq80hz.mjs +176 -0
  26. package/dist/digest-Dna1CGa_.mjs +4 -0
  27. package/dist/{engine-eUgO5jTM.mjs → engine-8BcNeckB.mjs} +197 -84
  28. package/dist/{errors-rYDxZEuN.mjs → errors-DcQf5WeM.mjs} +123 -42
  29. package/dist/{events-C6HwB046.mjs → events-BT8y_81j.mjs} +2 -2
  30. package/dist/{exports-M5o4PTfO.mjs → exports-B6udRV_E.mjs} +961 -383
  31. package/dist/exports-C8zsIL1A.d.mts +4 -0
  32. package/dist/{external-CHDxWIVf.mjs → external-DymyhUzl.mjs} +1 -1
  33. package/dist/{index-rNqqgkyu.d.mts → index-fcpEFCTR.d.mts} +2 -2
  34. package/dist/index.d.mts +7 -6
  35. package/dist/index.mjs +8 -6
  36. package/dist/index.node.d.mts +7 -6
  37. package/dist/index.node.mjs +5 -4
  38. package/dist/inspect/app.js +110 -109
  39. package/dist/inspect/engine.js +5 -5
  40. package/dist/inspect-BsF3mYMY.mjs +2 -0
  41. package/dist/{inspect-BkXxR2uB.mjs → inspect-DPRoC_Gg.mjs} +6 -6
  42. package/dist/{local-DvkOWf4U.mjs → local-B9y4p6N7.mjs} +463 -512
  43. package/dist/{main-DtV_Po9i.mjs → main-S0A-c_kP.mjs} +549 -178
  44. package/dist/{memory-DkoqhxIH.mjs → memory-DhduVbUu.mjs} +2 -2
  45. package/dist/{mentions-CB6ShY4R.mjs → mentions-DfZGp3B-.mjs} +18 -4
  46. package/dist/{middleware-CPqAuRtp.mjs → middleware-DHdrxmoc.mjs} +71 -3
  47. package/dist/{targets-C1mT3M1N.mjs → origin-B3m2lnZC.mjs} +43 -64
  48. package/dist/{page-64IwoGRu.mjs → page-2jjHZmIW.mjs} +2 -2
  49. package/dist/page-CAUe4GmQ.mjs +2 -0
  50. package/dist/{provider-D5yVFisj.d.mts → provider-dY54GFNz.d.mts} +20 -34
  51. package/dist/{routes-BffuaoTX.d.mts → routes-By9lmvUD.d.mts} +91 -77
  52. package/dist/{schemas-AZkxk06N.mjs → schemas-DAzSsgWk.mjs} +8 -3
  53. package/dist/schemas.d.mts +37 -0
  54. package/dist/schemas.mjs +3 -0
  55. package/dist/{serve-CX1rqDF_.mjs → serve-B15I2Ibf.mjs} +5 -5
  56. package/dist/{server-DkYkyarg.mjs → server-DgpRZ4Nu.mjs} +74 -127
  57. package/dist/{serving-DJMcG0dT.mjs → serving-CALKWs9K.mjs} +1 -1
  58. package/dist/{sql-l3ysn4O5.mjs → sql-P9g-rLIF.mjs} +75 -12
  59. package/dist/{sqlite-CAwNHbQD.mjs → sqlite-B3rCcIof.mjs} +2 -2
  60. package/dist/{sqlite-db-cm5yhrD-.mjs → sqlite-db-D0Fyju-4.mjs} +1 -1
  61. package/dist/sync-chat-sdk.d.mts +2 -2
  62. package/dist/sync-chat-sdk.mjs +2 -2
  63. package/dist/sync-github.d.mts +2 -2
  64. package/dist/sync-github.mjs +2 -2
  65. package/dist/sync-linear.d.mts +3 -3
  66. package/dist/sync-linear.mjs +2 -2
  67. package/dist/sync-slack.d.mts +14 -8
  68. package/dist/sync-slack.mjs +46 -19
  69. package/dist/sync.d.mts +2 -2
  70. package/dist/sync.mjs +2 -2
  71. package/dist/{tokens-DA9ipsZ-.mjs → tokens-D7_ZIWpX.mjs} +4 -4
  72. package/docs/01-board/01-mounting.md +13 -16
  73. package/docs/01-board/03-identity.md +112 -74
  74. package/docs/01-board/04-messages.md +61 -2
  75. package/docs/01-board/05-reading.md +11 -5
  76. package/docs/01-board/06-watchers.md +17 -13
  77. package/docs/01-board/07-schedules.md +8 -6
  78. package/docs/01-board/08-middleware.md +1 -1
  79. package/docs/01-board/09-access.md +80 -132
  80. package/docs/02-sync/01-overview.md +75 -4
  81. package/docs/02-sync/02-functions.md +11 -6
  82. package/docs/02-sync/03-slack.md +43 -19
  83. package/docs/02-sync/06-providers.md +9 -4
  84. package/docs/03-guides/01-coding-agents.md +18 -22
  85. package/docs/03-guides/02-inspector.md +4 -5
  86. package/docs/03-guides/03-ci.md +7 -26
  87. package/docs/03-guides/04-triage.md +2 -2
  88. package/docs/03-guides/05-agent-factory.md +7 -9
  89. package/docs/03-guides/06-sandboxed-agents.md +149 -0
  90. package/docs/04-reference/01-cli.md +161 -104
  91. package/docs/04-reference/02-board.md +89 -37
  92. package/docs/04-reference/03-http.md +176 -71
  93. package/docs/04-reference/05-conformance.md +47 -21
  94. package/docs/index.md +5 -5
  95. package/package.json +5 -1
  96. package/dist/actors-kfMejhaw.mjs +0 -156
  97. package/dist/digest-krhjNAt4.mjs +0 -4
  98. package/dist/exports-vLQ2Y2Nd.d.mts +0 -4
  99. package/dist/inspect-lnv1sLXM.mjs +0 -2
  100. package/dist/page-BUj8_UZv.mjs +0 -2
@@ -1,7 +1,97 @@
1
- import { $t as Actor, A as LinkedQuery, C as InboxItem, Ct as ThreadsPage, E as InboxQuery, Et as TokenBody, F as MessagesPage, I as MessagesQuery, It as Access, J as RegistrationView, K as RegisterBody, Kt as Level, M as MatchesQuery, N as Me, Nt as UploadStartBody, O as LabelBody, Ot as TokenView, P as MessageView, Pt as UploadTicket, S as InboxEntry, St as ThreadView, T as InboxPushBody, W as ReactBody, Z as ScheduleBody, _ as GrantBody, _t as SyncReceiptBody, at as SourceJoinBody, b as GrantView, bt as SyncedView, c as DeleteBody, ct as SourceReadQuery, d as EventsPage, dt as SyncCopiesView, et as ScheduleView, f as EventsQuery, h as Explanation, ht as SyncImportBody, i as BoardEventView, in as Labels, it as SourceJoin, j as MatchView, jt as UpdateGrantBody, kt as TypingBody, l as Discovery, m as ExplainQuery, mt as SyncFindView, nn as Author, o as ChannelView, on as ExternalEvent, pt as SyncFindQuery, qt as Permission, s as CreateChannelBody, st as SourceRead, t as AckBody, tn as Attachment, tt as SchedulesQuery, u as EditBody, ut as SyncCopiesQuery, w as InboxNextQuery, wt as ThreadsQuery, x as InboxAckBody, yt as SyncThreadView, z as PostBody } from "./routes-BffuaoTX.mjs";
2
- import { d as Pinned, l as Known, m as StoredGrant, o as Granted, t as Authenticate } from "./auth-BXLCkeB0.mjs";
3
- import { L as ProfileOption, M as BoardClient, P as ErrorOrigin, p as SyncProvider } from "./provider-D5yVFisj.mjs";
1
+ import { At as TypingBody, B as PostBody, C as InboxEntry, Ct as SyncThreadView, D as InboxQuery, Dt as ThreadsPage, E as InboxPushBody, Et as ThreadView, F as MessageView, Ft as UploadTicket, G as ReactBody, I as MessagesPage, Jt as Permission, L as MessagesQuery, Lt as Access, M as MatchView, Mt as UpdateGrantBody, N as MatchesQuery, Ot as ThreadsQuery, P as Me, Pt as UploadStartBody, Q as ScheduleBody, S as InboxAckBody, T as InboxNextQuery, Y as RegistrationView, _t as SyncFindQuery, a as BoardEventView, an as Labels, at as SchemaBody, c as CreateChannelBody, ct as SourceJoin, d as EditBody, dt as SourceRead, en as Actor, f as EventsPage, ft as SourceReadQuery, g as Explanation, h as ExplainQuery, ht as SyncCopiesView, j as LinkedQuery, k as LabelBody, l as DeleteBody, lt as SourceJoinBody, mt as SyncCopiesQuery, n as ActorView, nn as Attachment, nt as SchedulesQuery, p as EventsQuery, q as RegisterBody, qt as Level, rn as Author, s as ChannelView, sn as ExternalEvent, st as SchemaView, t as AckBody, tt as ScheduleView, u as Discovery, v as GrantBody, vt as SyncFindView, w as InboxItem, wt as SyncedView, x as GrantView, xt as SyncReceiptBody, yt as SyncImportBody, zt as Can } from "./routes-By9lmvUD.mjs";
2
+ import { l as Known, o as Granted, p as StoredGrant, t as Authenticate } from "./auth-Bn8J_1F2.mjs";
3
+ import { F as ErrorOrigin, N as BoardClient, R as ProfileOption, m as SyncProvider } from "./provider-dY54GFNz.mjs";
4
4
  import { z } from "zod";
5
+ //#region src/server/sandbox.d.ts
6
+ /** How a rule matches a value: a regular expression (RE2), or the value exactly. */
7
+ type SandboxMatcher = {
8
+ regex: string;
9
+ } | {
10
+ exact: string;
11
+ };
12
+ /** The requests a rule handles: every dimension it names must match. */
13
+ type SandboxMatch = {
14
+ path?: SandboxMatcher;
15
+ method?: string[];
16
+ queryString?: {
17
+ key: SandboxMatcher;
18
+ value?: SandboxMatcher;
19
+ }[];
20
+ headers?: {
21
+ key: SandboxMatcher;
22
+ value?: SandboxMatcher;
23
+ }[];
24
+ };
25
+ /** A rule for one host's requests, as Vercel Sandbox runs them: in order, and the first that matches handles a request. */
26
+ type SandboxRule = {
27
+ match?: SandboxMatch;
28
+ transform: {
29
+ headers: Record<string, string>;
30
+ }[];
31
+ } | {
32
+ match?: SandboxMatch;
33
+ response: {
34
+ statusCode: number;
35
+ body?: string;
36
+ contentType?: string;
37
+ };
38
+ };
39
+ /**
40
+ * A network policy, as `@vercel/sandbox`'s `NetworkPolicy` has it: the hosts it allows, each with its
41
+ * rules. A host it doesn't name is blocked, so a caller adds its own beside the board's:
42
+ * `{ allow: { ...board.allow, 'registry.npmjs.org': [] } }`.
43
+ */
44
+ type SandboxPolicy = {
45
+ allow: Record<string, SandboxRule[]>;
46
+ };
47
+ /** What `sandboxPolicy()` takes: who the agent writes as, what it may do, and the credential, all left in the policy. */
48
+ type SandboxPolicyOptions = {
49
+ /**
50
+ * The profile its writes are by, with its avatar: `{ name: 'fixer', avatar: 'https://…' }`. Without one,
51
+ * the handle's own, from `as()`. It needs one: a policy that set none would let the sandbox send its
52
+ * own, and write as any profile of this deployment, its watchers' included.
53
+ */
54
+ profile?: {
55
+ name: string;
56
+ avatar?: string;
57
+ };
58
+ /**
59
+ * What it may do at most, as `x-board-can` narrows it: a `can` (`{ 'dev/': ['read', 'post'] }`) or its
60
+ * header form (`dev/=read,post`). Without one, read, post, react, and label everywhere.
61
+ */
62
+ can?: Can | string;
63
+ /**
64
+ * The credential its requests carry. Without one, this deployment's own Vercel OIDC token, for the
65
+ * board's URL, which dies with the function's own: hand the sandbox a new policy before it does.
66
+ */
67
+ token?: string;
68
+ };
69
+ /** A route a sandbox reaches: its method, and its path after the board's URL's, `:name` standing for a segment (`/messages/:id`). */
70
+ type SandboxRoute = {
71
+ method: string;
72
+ path: string;
73
+ };
74
+ /**
75
+ * How a sandbox reaches a board, from a backend: its URL, the headers its requests carry, the routes
76
+ * under the board's path that carry them, every one by method and shape (the protocol's, or another
77
+ * API's), and what else they ask (`GET`s outside the board's path).
78
+ */
79
+ type SandboxReach = {
80
+ url: string;
81
+ headers: Record<string, string>;
82
+ routes: readonly SandboxRoute[];
83
+ reads?: readonly string[];
84
+ };
85
+ /** What a backend gets to say how a sandbox reaches its board. */
86
+ type SandboxInput = {
87
+ profile: {
88
+ name: string;
89
+ avatar?: string;
90
+ };
91
+ can: string;
92
+ token: string | undefined;
93
+ };
94
+ //#endregion
5
95
  //#region src/api/protocol.d.ts
6
96
  type Input<S extends z.ZodType> = NonNullable<z.output<S>>;
7
97
  type Id = {
@@ -43,7 +133,7 @@ type Protocol = {
43
133
  actors: {
44
134
  input: Nothing;
45
135
  output: {
46
- actors: Actor[];
136
+ actors: (Actor & Pick<ActorView, 'verified'>)[];
47
137
  cursor: string;
48
138
  };
49
139
  };
@@ -63,7 +153,6 @@ type Protocol = {
63
153
  input: Input<typeof PostBody>;
64
154
  output: {
65
155
  message: MessageView;
66
- unknownMentions?: string[];
67
156
  };
68
157
  };
69
158
  /** The caller's own post with client ID `id`, as it landed: 404 `post_not_found` when there's none. */
@@ -77,7 +166,6 @@ type Protocol = {
77
166
  input: Id & Input<typeof EditBody>;
78
167
  output: {
79
168
  ok: true;
80
- unknownMentions?: string[];
81
169
  };
82
170
  };
83
171
  delete: {
@@ -102,7 +190,6 @@ type Protocol = {
102
190
  input: Input<typeof ScheduleBody>;
103
191
  output: {
104
192
  schedule: ScheduleView;
105
- unknownMentions?: string[];
106
193
  };
107
194
  };
108
195
  schedules: {
@@ -151,26 +238,30 @@ type Protocol = {
151
238
  revoked: boolean;
152
239
  };
153
240
  };
154
- /** The caller's tokens, or every one with `manage` in every channel. 501 `no_tokens` where the board issues none. */
155
- tokens: {
241
+ /** Every schema: the built-ins, then the board's own, by name and version. 501 `no_schemas` where the board keeps none. */
242
+ schemas: {
156
243
  input: Nothing;
157
244
  output: {
158
- tokens: TokenView[];
245
+ schemas: SchemaView[];
159
246
  };
160
247
  };
161
- /** A token acting as the caller, narrowed: the only time its secret shows. */
162
- createToken: {
163
- input: Input<typeof TokenBody>;
248
+ /** One schema version, by `name@version`: 400 `invalid_schema_id` for anything else, 404 `schema_not_found` for one that isn't there. */
249
+ schema: {
250
+ input: Id;
164
251
  output: {
165
- token: TokenView;
166
- secret: string;
252
+ schema: SchemaView;
167
253
  };
168
254
  };
169
- /** It and every token minted with it stop. `revoked` is false when it was already gone. */
170
- revokeToken: {
171
- input: Id;
255
+ /**
256
+ * Registers a version, for good: needs `manage` at `*`. `created` is false for one that's there
257
+ * with the same definition, and another definition is 409 `schema_immutable`. A built-in's name is
258
+ * 409 `reserved_schema`, and a definition the board won't keep 400 `invalid_schema`.
259
+ */
260
+ createSchema: {
261
+ input: Input<typeof SchemaBody>;
172
262
  output: {
173
- revoked: boolean;
263
+ schema: SchemaView;
264
+ created: boolean;
174
265
  };
175
266
  };
176
267
  upload: {
@@ -531,7 +622,7 @@ type BoardOptions = PolicyOptions & (BackendOptions | DefaultOptions) & {
531
622
  /**
532
623
  * The handle on a board: its methods act as the board's caller, through board(), which calls the
533
624
  * backend's methods, and `fetch` serves it. Over `http()` the caller is whoever its `fetch`'s
534
- * credentials say, with the profile `BOARD_AS` or the agent it runs in picks; on a board it keeps
625
+ * credentials say, with the profile `BOARD_PROFILE` names; on a board it keeps
535
626
  * (`local()`), its own code, as `board:client`.
536
627
  */
537
628
  type Board = BoardClient & {
@@ -545,6 +636,16 @@ type Board = BoardClient & {
545
636
  * on `local()`. `null` acts as yourself, outside any agent session.
546
637
  */
547
638
  as(profile: ProfileOption): Board;
639
+ /**
640
+ * A Vercel Sandbox network policy that hands this board, and nothing else, to a sandboxed agent:
641
+ * `Sandbox.create({ networkPolicy })` takes it. The sandbox's proxy adds the credential (this
642
+ * deployment's own OIDC token, or `token`), the profile (`profile`, or this handle's from `as()`),
643
+ * and `x-board-can` (`can`, or read, post, react, and label everywhere) to its requests for the
644
+ * board's own routes, so none of them enters the sandbox; every other host is blocked. Spread
645
+ * `allow` beside your own hosts' rules to merge them. An OIDC token dies with the function that got
646
+ * it: hand the sandbox a new policy (`sandbox.update({ networkPolicy })`) before it expires.
647
+ */
648
+ sandboxPolicy(options?: SandboxPolicyOptions): Promise<SandboxPolicy>;
548
649
  };
549
650
  /** A board on a backend you pass, which says how it reaches the board itself. */
550
651
  type BackendOptions = {
@@ -571,14 +672,11 @@ type DefaultOptions = {
571
672
  /**
572
673
  * Who a verified caller is: its principal, with what board()'s `access` lets it do now (its scope
573
674
  * included, which only narrows), the author record its writes carry, and the actor it writes as.
574
- * `records: false`: its writes leave the board's record of its actor (name, avatar) as it is, for
575
- * a platform user a sync that can't sync everywhere writes as.
576
675
  */
577
676
  type Identity = {
578
677
  principal: Granted;
579
678
  author: Author;
580
679
  actor: Actor;
581
- records?: false;
582
680
  };
583
681
  /**
584
682
  * A caller board() verified, and what its policy lets it do: a request's, or for work a backend does
@@ -601,7 +699,7 @@ type SelfCaller = {
601
699
  /**
602
700
  * What `as(profile)` asked for, its avatar included, or null for yourself. Absent on the
603
701
  * handle itself, whose caller is whoever the environment picks: a backend elsewhere sends
604
- * the profile `BOARD_AS` or the agent it runs in names.
702
+ * the profile `BOARD_PROFILE` names.
605
703
  */
606
704
  profile?: ProfileOption;
607
705
  origin: WriteOrigin;
@@ -726,26 +824,12 @@ type BoardBinding = {
726
824
  /** The board's own URL, where a board elsewhere can wake it, once it's known. */
727
825
  url(): string | null;
728
826
  };
729
- /** A token a backend issued, as board() checks a request that carries it. */
730
- type StoredToken = {
731
- id: string;
732
- name: string;
733
- /** Who minted it, as a schedule keeps its creator: what it may do is worked out again on every request, narrowed by its scope. */
734
- minter: Known;
735
- pinned: Pinned;
736
- expiresAt: Date;
737
- };
738
827
  /**
739
- * What a backend that keeps the board keeps of who it trusts: its grants, and the tokens it
740
- * issued. board() reads them on the requests they decide, as they are then, so a revoke takes
741
- * effect on the next request.
828
+ * What a backend that keeps the board keeps of who it trusts: its grants. board() reads them on
829
+ * the requests they decide, as they are then, so a revoke takes effect on the next request.
742
830
  */
743
831
  type Trust = {
744
832
  grants(): Promise<readonly StoredGrant[]>;
745
- /** The token whose secret hashes to `hash`, while it and every token it was minted with are live: null otherwise. */
746
- token(hash: string): Promise<StoredToken | null>;
747
- /** Whether token `id` and every token it was minted with are live: a schedule made with one stops when it doesn't. */
748
- live(id: string): Promise<boolean>;
749
833
  };
750
834
  /**
751
835
  * Where a board lives. board() serves the protocol over HTTP: it routes, validates, verifies each
@@ -757,7 +841,7 @@ interface Backend extends ProtocolMethods {
757
841
  readonly routes: readonly BackendRoute[];
758
842
  /**
759
843
  * Whether the board lives here. One that keeps it (`local()`) serves requests: its people, the
760
- * board's own deployments, and whoever its grants and tokens let in. One that uses another board
844
+ * board's own deployments, and whoever its grants let in. One that uses another board
761
845
  * answers no requests: on Vercel's, only wake-ups and webhooks, and at `BOARD_URL`, nothing.
762
846
  */
763
847
  readonly keeps: boolean;
@@ -767,8 +851,20 @@ interface Backend extends ProtocolMethods {
767
851
  * board() screens a schedule's message once, when it's made. True when left out.
768
852
  */
769
853
  readonly sendsSchedulesHere?: boolean;
770
- /** Its grants and tokens, for a backend that keeps them (`local()`): board() checks requests against them. */
854
+ /**
855
+ * Whether board()'s sync runs its entry `key` here: false for one another deployment holds, as vercel()'s
856
+ * deployments of one project hold each of its keys once (production takes one from a preview). Sync takes webhooks,
857
+ * pulls its inbox, starts threads, and delivers only through the keys it holds. Every key, when left out.
858
+ */
859
+ syncedHere?(key: string): Promise<boolean>;
860
+ /** Its grants, for a backend that keeps them (`local()`): board() checks requests against them. */
771
861
  readonly trust?: Trust;
862
+ /**
863
+ * How a sandbox reaches the board this backend uses, for `sandboxPolicy()`: its URL, and the
864
+ * headers every request of the sandbox's carries. One that keeps the board leaves it out: the
865
+ * board's own URL says, and board() adds its deployment's credential.
866
+ */
867
+ sandbox?(input: SandboxInput): Promise<SandboxReach>;
772
868
  /**
773
869
  * board() calls it once, when it's created, before any request: what background work needs
774
870
  * from the board (its subscriptions, its sync, its policy, a handle through it). It does no I/O.
@@ -776,4 +872,4 @@ interface Backend extends ProtocolMethods {
776
872
  bind(board: BoardBinding): void;
777
873
  }
778
874
  //#endregion
779
- export { Protocol as C, Method as S, MiddlewareContext as _, Identity as a, WriteSource as b, SelfCaller as c, Board as d, BoardOptions as f, Middleware as g, DroppedError as h, Caller as i, Subscription as l, WatcherContext as m, BackendRoute as n, InboxDelivery as o, Watcher as p, BoardBinding as r, ProtocolMethods as s, Backend as t, VerifiedCaller as u, Write as v, HttpError as x, WritePatch as y };
875
+ export { Protocol as C, SandboxPolicyOptions as D, SandboxPolicy as E, SandboxRule as O, Method as S, SandboxMatcher as T, MiddlewareContext as _, Identity as a, WriteSource as b, SelfCaller as c, Board as d, BoardOptions as f, Middleware as g, DroppedError as h, Caller as i, Subscription as l, WatcherContext as m, BackendRoute as n, InboxDelivery as o, Watcher as p, BoardBinding as r, ProtocolMethods as s, Backend as t, VerifiedCaller as u, Write as v, SandboxMatch as w, HttpError as x, WritePatch as y };
@@ -1,4 +1,4 @@
1
- import { t as Backend } from "./backend-HcCCGPG4.mjs";
1
+ import { t as Backend } from "./backend-CYsTLxtP.mjs";
2
2
  //#region src/server/local.d.ts
3
3
  type LocalOptions = {
4
4
  /**
@@ -1,2 +1,2 @@
1
- import { t as local } from "./local-DvkOWf4U.mjs";
1
+ import { t as local } from "./local-B9y4p6N7.mjs";
2
2
  export { local };