wire-mesh-core 1.23.0 → 1.25.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 (59) hide show
  1. package/dist/adapters/frame-codec.d.cts +1 -1
  2. package/dist/adapters/frame-codec.d.mts +1 -1
  3. package/dist/adapters/node-identity.d.cts +2 -2
  4. package/dist/adapters/node-identity.d.mts +2 -2
  5. package/dist/adapters/tcp-transport.d.cts +1 -1
  6. package/dist/adapters/tcp-transport.d.mts +1 -1
  7. package/dist/adapters/tls-transport.d.cts +1 -1
  8. package/dist/adapters/tls-transport.d.mts +1 -1
  9. package/dist/domain/bulk.cjs +400 -0
  10. package/dist/domain/bulk.d.cts +97 -0
  11. package/dist/domain/bulk.d.mts +97 -0
  12. package/dist/domain/bulk.mjs +393 -0
  13. package/dist/domain/capability-grant.d.cts +3 -3
  14. package/dist/domain/capability-grant.d.mts +3 -3
  15. package/dist/domain/capability-request.d.cts +2 -2
  16. package/dist/domain/capability-request.d.mts +2 -2
  17. package/dist/domain/device-id.d.cts +1 -1
  18. package/dist/domain/device-id.d.mts +1 -1
  19. package/dist/domain/grant-candidates.d.cts +1 -1
  20. package/dist/domain/grant-candidates.d.mts +1 -1
  21. package/dist/domain/handshake.d.cts +1 -1
  22. package/dist/domain/handshake.d.mts +1 -1
  23. package/dist/domain/mesh-session.d.cts +3 -3
  24. package/dist/domain/mesh-session.d.mts +3 -3
  25. package/dist/domain/relay-hub.d.cts +2 -2
  26. package/dist/domain/relay-hub.d.mts +2 -2
  27. package/dist/domain/relay-use-gate.d.cts +2 -2
  28. package/dist/domain/relay-use-gate.d.mts +2 -2
  29. package/dist/domain/revocation-view.cjs +1 -1
  30. package/dist/domain/revocation-view.d.cts +2 -2
  31. package/dist/domain/revocation-view.d.mts +2 -2
  32. package/dist/domain/revocation-view.mjs +1 -1
  33. package/dist/domain/room-token-verification.cjs +1 -1
  34. package/dist/domain/room-token-verification.d.cts +2 -2
  35. package/dist/domain/room-token-verification.d.mts +2 -2
  36. package/dist/domain/room-token-verification.mjs +1 -1
  37. package/dist/domain/room.cjs +108 -0
  38. package/dist/domain/room.d.cts +36 -0
  39. package/dist/domain/room.d.mts +36 -0
  40. package/dist/domain/room.mjs +106 -0
  41. package/dist/domain/tokens.d.cts +1 -1
  42. package/dist/domain/tokens.d.mts +1 -1
  43. package/dist/generated/protocol.cjs +78 -28
  44. package/dist/generated/protocol.d.cts +2 -2
  45. package/dist/generated/protocol.d.mts +2 -2
  46. package/dist/generated/protocol.mjs +72 -29
  47. package/dist/{identity-5LJ_B8go.d.mts → identity-C5N86BPz.d.mts} +1 -1
  48. package/dist/{identity-bg6IVGsH.d.cts → identity-DJ06jn4k.d.cts} +1 -1
  49. package/dist/ports/identity.d.cts +1 -1
  50. package/dist/ports/identity.d.mts +1 -1
  51. package/dist/ports/transport.d.cts +1 -1
  52. package/dist/ports/transport.d.mts +1 -1
  53. package/dist/{protocol-l9RMR3s5.d.cts → protocol-sW8d6Og-.d.cts} +177 -43
  54. package/dist/{protocol-l9RMR3s5.d.mts → protocol-sW8d6Og-.d.mts} +177 -43
  55. package/dist/{tokens-CBI54oF-.d.mts → tokens-CpLDI5Fo.d.mts} +2 -2
  56. package/dist/{tokens-H_mV_JCC.d.cts → tokens-DfVfE00W.d.cts} +2 -2
  57. package/dist/{transport-Baipikk7.d.cts → transport-B5E896PN.d.mts} +1 -1
  58. package/dist/{transport-DWbvUc3L.d.mts → transport-DxZ4JWZc.d.cts} +1 -1
  59. package/package.json +9 -1
@@ -1,42 +1,36 @@
1
1
  import { z } from "zod";
2
2
  //#region src/generated/protocol.d.ts
3
- declare const dataHaveFrameSchema: z.ZodLazy<z.ZodObject<{
4
- type: z.ZodLiteral<"data-have">;
5
- peer: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
6
- "head-seq": z.ZodNumber;
7
- }, z.core.$strip>>;
8
- declare const dataRequestFrameSchema: z.ZodLazy<z.ZodObject<{
9
- type: z.ZodLiteral<"data-request">;
10
- peer: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
11
- "from-seq": z.ZodNumber;
12
- }, z.core.$strip>>;
13
- declare const dataEntriesFrameSchema: z.ZodLazy<z.ZodObject<{
14
- type: z.ZodLiteral<"data-entries">;
15
- peer: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
16
- "from-seq": z.ZodNumber;
17
- entries: z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
18
- }, z.core.$strip>>;
19
- declare const handleClaimsSchema: z.ZodLazy<z.ZodObject<{
20
- handle: z.ZodString;
21
- "device-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
22
- "identity-key": z.ZodLazy<z.ZodLazy<z.ZodObject<{
23
- alg: z.ZodNumber;
24
- "public-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
25
- }, z.core.$strip>>>;
26
- candidates: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodObject<{
27
- address: z.ZodString;
28
- kind: z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"host">, z.ZodLiteral<"server-reflexive">, z.ZodLiteral<"relayed">]>>>;
29
- priority: z.ZodNumber;
30
- }, z.core.$strip>>>>>;
31
- mailboxes: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>>>;
32
- issued: z.ZodNumber;
33
- expires: z.ZodNumber;
34
- }, z.core.$strip>>;
35
- declare const handleRecordSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodTuple<[z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
36
- "1": z.ZodOptional<z.ZodNumber>;
37
- "4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
38
- }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>;
3
+ declare const transferIdSchema: z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
4
+ declare const bulkOpenSchema: z.ZodLazy<z.ZodObject<{
5
+ verb: z.ZodLiteral<"bulk.open">;
6
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
7
+ "total-size": z.ZodOptional<z.ZodNumber>;
8
+ "content-type": z.ZodOptional<z.ZodString>;
9
+ }, z.core.$catchall<z.ZodUnknown>>>;
10
+ declare const bulkResumeSchema: z.ZodLazy<z.ZodObject<{
11
+ verb: z.ZodLiteral<"bulk.resume">;
12
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
13
+ "ack-seq": z.ZodNumber;
14
+ }, z.core.$catchall<z.ZodUnknown>>>;
15
+ declare const bulkCancelSchema: z.ZodLazy<z.ZodObject<{
16
+ verb: z.ZodLiteral<"bulk.cancel">;
17
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
18
+ reason: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$catchall<z.ZodUnknown>>>;
39
20
  declare const manageCommandParamsSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
21
+ verb: z.ZodLiteral<"bulk.open">;
22
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
23
+ "total-size": z.ZodOptional<z.ZodNumber>;
24
+ "content-type": z.ZodOptional<z.ZodString>;
25
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
26
+ verb: z.ZodLiteral<"bulk.resume">;
27
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
28
+ "ack-seq": z.ZodNumber;
29
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
30
+ verb: z.ZodLiteral<"bulk.cancel">;
31
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
32
+ reason: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
40
34
  verb: z.ZodLiteral<"pty.spawn">;
41
35
  shell: z.ZodOptional<z.ZodString>;
42
36
  argv: z.ZodArray<z.ZodString>;
@@ -126,6 +120,59 @@ declare const manageCommandParamsSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodUni
126
120
  "username-fragment": z.ZodOptional<z.ZodString>;
127
121
  }, z.core.$strip>>>>;
128
122
  }, z.core.$strip>>>]>]>>;
123
+ declare const bulkDataFrameSchema: z.ZodLazy<z.ZodObject<{
124
+ type: z.ZodLiteral<"bulk-data">;
125
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
126
+ seq: z.ZodNumber;
127
+ bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
128
+ }, z.core.$strip>>;
129
+ declare const bulkAckFrameSchema: z.ZodLazy<z.ZodObject<{
130
+ type: z.ZodLiteral<"bulk-ack">;
131
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
132
+ "ack-seq": z.ZodNumber;
133
+ window: z.ZodNumber;
134
+ }, z.core.$strip>>;
135
+ declare const bulkEndFrameSchema: z.ZodLazy<z.ZodObject<{
136
+ type: z.ZodLiteral<"bulk-end">;
137
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
138
+ digest: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
139
+ }, z.core.$strip>>;
140
+ declare const dataHaveFrameSchema: z.ZodLazy<z.ZodObject<{
141
+ type: z.ZodLiteral<"data-have">;
142
+ peer: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
143
+ "head-seq": z.ZodNumber;
144
+ }, z.core.$strip>>;
145
+ declare const dataRequestFrameSchema: z.ZodLazy<z.ZodObject<{
146
+ type: z.ZodLiteral<"data-request">;
147
+ peer: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
148
+ "from-seq": z.ZodNumber;
149
+ }, z.core.$strip>>;
150
+ declare const dataEntriesFrameSchema: z.ZodLazy<z.ZodObject<{
151
+ type: z.ZodLiteral<"data-entries">;
152
+ peer: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
153
+ "from-seq": z.ZodNumber;
154
+ entries: z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
155
+ }, z.core.$strip>>;
156
+ declare const handleClaimsSchema: z.ZodLazy<z.ZodObject<{
157
+ handle: z.ZodString;
158
+ "device-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
159
+ "identity-key": z.ZodLazy<z.ZodLazy<z.ZodObject<{
160
+ alg: z.ZodNumber;
161
+ "public-key": z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
162
+ }, z.core.$strip>>>;
163
+ candidates: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodObject<{
164
+ address: z.ZodString;
165
+ kind: z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"host">, z.ZodLiteral<"server-reflexive">, z.ZodLiteral<"relayed">]>>>;
166
+ priority: z.ZodNumber;
167
+ }, z.core.$strip>>>>>;
168
+ mailboxes: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>>>;
169
+ issued: z.ZodNumber;
170
+ expires: z.ZodNumber;
171
+ }, z.core.$strip>>;
172
+ declare const handleRecordSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodTuple<[z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
173
+ "1": z.ZodOptional<z.ZodNumber>;
174
+ "4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
175
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>;
129
176
  declare const ptySpawnSchema: z.ZodLazy<z.ZodObject<{
130
177
  verb: z.ZodLiteral<"pty.spawn">;
131
178
  shell: z.ZodOptional<z.ZodString>;
@@ -178,7 +225,7 @@ declare const execSessionInfoSchema: z.ZodLazy<z.ZodObject<{
178
225
  declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
179
226
  type: z.ZodLiteral<"handshake">;
180
227
  version: z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
181
- domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
228
+ domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
182
229
  params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
183
230
  }, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
184
231
  type: z.ZodLiteral<"ping">;
@@ -231,6 +278,19 @@ declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.Zod
231
278
  command: z.ZodLazy<z.ZodLazy<z.ZodObject<{
232
279
  verb: z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>;
233
280
  params: z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
281
+ verb: z.ZodLiteral<"bulk.open">;
282
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
283
+ "total-size": z.ZodOptional<z.ZodNumber>;
284
+ "content-type": z.ZodOptional<z.ZodString>;
285
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
286
+ verb: z.ZodLiteral<"bulk.resume">;
287
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
288
+ "ack-seq": z.ZodNumber;
289
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
290
+ verb: z.ZodLiteral<"bulk.cancel">;
291
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
292
+ reason: z.ZodOptional<z.ZodString>;
293
+ }, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
234
294
  verb: z.ZodLiteral<"pty.spawn">;
235
295
  shell: z.ZodOptional<z.ZodString>;
236
296
  argv: z.ZodArray<z.ZodString>;
@@ -374,11 +434,25 @@ declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.Zod
374
434
  peer: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
375
435
  "from-seq": z.ZodNumber;
376
436
  entries: z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
437
+ }, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
438
+ type: z.ZodLiteral<"bulk-data">;
439
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
440
+ seq: z.ZodNumber;
441
+ bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
442
+ }, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
443
+ type: z.ZodLiteral<"bulk-ack">;
444
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
445
+ "ack-seq": z.ZodNumber;
446
+ window: z.ZodNumber;
447
+ }, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
448
+ type: z.ZodLiteral<"bulk-end">;
449
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
450
+ digest: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
377
451
  }, z.core.$strip>>>]>>;
378
452
  declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
379
453
  type: z.ZodLiteral<"handshake">;
380
454
  version: z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
381
- domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
455
+ domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
382
456
  params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
383
457
  }, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
384
458
  type: z.ZodLiteral<"ping">;
@@ -431,6 +505,19 @@ declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.
431
505
  command: z.ZodLazy<z.ZodLazy<z.ZodObject<{
432
506
  verb: z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>;
433
507
  params: z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
508
+ verb: z.ZodLiteral<"bulk.open">;
509
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
510
+ "total-size": z.ZodOptional<z.ZodNumber>;
511
+ "content-type": z.ZodOptional<z.ZodString>;
512
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
513
+ verb: z.ZodLiteral<"bulk.resume">;
514
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
515
+ "ack-seq": z.ZodNumber;
516
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
517
+ verb: z.ZodLiteral<"bulk.cancel">;
518
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
519
+ reason: z.ZodOptional<z.ZodString>;
520
+ }, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
434
521
  verb: z.ZodLiteral<"pty.spawn">;
435
522
  shell: z.ZodOptional<z.ZodString>;
436
523
  argv: z.ZodArray<z.ZodString>;
@@ -574,16 +661,30 @@ declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.
574
661
  peer: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
575
662
  "from-seq": z.ZodNumber;
576
663
  entries: z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
664
+ }, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
665
+ type: z.ZodLiteral<"bulk-data">;
666
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
667
+ seq: z.ZodNumber;
668
+ bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
669
+ }, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
670
+ type: z.ZodLiteral<"bulk-ack">;
671
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
672
+ "ack-seq": z.ZodNumber;
673
+ window: z.ZodNumber;
674
+ }, z.core.$strip>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
675
+ type: z.ZodLiteral<"bulk-end">;
676
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
677
+ digest: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
577
678
  }, z.core.$strip>>>]>>>>;
578
679
  declare const protocolVersionSchema: z.ZodLazy<z.ZodNumber>;
579
- declare const domainIdSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>;
580
- declare const coreDomainNameSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">]>>;
680
+ declare const domainIdSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>;
681
+ declare const coreDomainNameSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>;
581
682
  declare const namespacedDomainIdSchema: z.ZodLazy<z.ZodString>;
582
683
  declare const privateUseDomainIdSchema: z.ZodLazy<z.ZodString>;
583
684
  declare const handshakeFrameSchema: z.ZodLazy<z.ZodObject<{
584
685
  type: z.ZodLiteral<"handshake">;
585
686
  version: z.ZodLazy<z.ZodLazy<z.ZodNumber>>;
586
- domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
687
+ domains: z.ZodArray<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLiteral<"core/management">, z.ZodLiteral<"core/exec">, z.ZodLiteral<"core/data">, z.ZodLiteral<"core/federation">, z.ZodLiteral<"core/webrtc">, z.ZodLiteral<"core/room">, z.ZodLiteral<"core/bulk">]>>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>>;
587
688
  params: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
588
689
  }, z.core.$strip>>;
589
690
  declare const identityKeySchema: z.ZodLazy<z.ZodObject<{
@@ -602,6 +703,19 @@ declare const peerIdentitySchema: z.ZodLazy<z.ZodObject<{
602
703
  declare const manageCommandSchema: z.ZodLazy<z.ZodObject<{
603
704
  verb: z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>;
604
705
  params: z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
706
+ verb: z.ZodLiteral<"bulk.open">;
707
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
708
+ "total-size": z.ZodOptional<z.ZodNumber>;
709
+ "content-type": z.ZodOptional<z.ZodString>;
710
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
711
+ verb: z.ZodLiteral<"bulk.resume">;
712
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
713
+ "ack-seq": z.ZodNumber;
714
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
715
+ verb: z.ZodLiteral<"bulk.cancel">;
716
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
717
+ reason: z.ZodOptional<z.ZodString>;
718
+ }, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
605
719
  verb: z.ZodLiteral<"pty.spawn">;
606
720
  shell: z.ZodOptional<z.ZodString>;
607
721
  argv: z.ZodArray<z.ZodString>;
@@ -698,6 +812,19 @@ declare const manageRequestFrameSchema: z.ZodLazy<z.ZodObject<{
698
812
  command: z.ZodLazy<z.ZodLazy<z.ZodObject<{
699
813
  verb: z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>, z.ZodLazy<z.ZodLazy<z.ZodString>>]>>>;
700
814
  params: z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
815
+ verb: z.ZodLiteral<"bulk.open">;
816
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
817
+ "total-size": z.ZodOptional<z.ZodNumber>;
818
+ "content-type": z.ZodOptional<z.ZodString>;
819
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
820
+ verb: z.ZodLiteral<"bulk.resume">;
821
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
822
+ "ack-seq": z.ZodNumber;
823
+ }, z.core.$catchall<z.ZodUnknown>>>>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
824
+ verb: z.ZodLiteral<"bulk.cancel">;
825
+ "transfer-id": z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
826
+ reason: z.ZodOptional<z.ZodString>;
827
+ }, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
701
828
  verb: z.ZodLiteral<"pty.spawn">;
702
829
  shell: z.ZodOptional<z.ZodString>;
703
830
  argv: z.ZodArray<z.ZodString>;
@@ -1097,12 +1224,19 @@ declare const iceCandidateInitSchema: z.ZodLazy<z.ZodObject<{
1097
1224
  "sdp-m-line-index": z.ZodOptional<z.ZodNumber>;
1098
1225
  "username-fragment": z.ZodOptional<z.ZodString>;
1099
1226
  }, z.core.$strip>>;
1227
+ type TransferId = z.infer<typeof transferIdSchema>;
1228
+ type BulkOpen = z.infer<typeof bulkOpenSchema>;
1229
+ type BulkResume = z.infer<typeof bulkResumeSchema>;
1230
+ type BulkCancel = z.infer<typeof bulkCancelSchema>;
1231
+ type ManageCommandParams = z.infer<typeof manageCommandParamsSchema>;
1232
+ type BulkDataFrame = z.infer<typeof bulkDataFrameSchema>;
1233
+ type BulkAckFrame = z.infer<typeof bulkAckFrameSchema>;
1234
+ type BulkEndFrame = z.infer<typeof bulkEndFrameSchema>;
1100
1235
  type DataHaveFrame = z.infer<typeof dataHaveFrameSchema>;
1101
1236
  type DataRequestFrame = z.infer<typeof dataRequestFrameSchema>;
1102
1237
  type DataEntriesFrame = z.infer<typeof dataEntriesFrameSchema>;
1103
1238
  type HandleClaims = z.infer<typeof handleClaimsSchema>;
1104
1239
  type HandleRecord = z.infer<typeof handleRecordSchema>;
1105
- type ManageCommandParams = z.infer<typeof manageCommandParamsSchema>;
1106
1240
  type PtySpawn = z.infer<typeof ptySpawnSchema>;
1107
1241
  type PtyWrite = z.infer<typeof ptyWriteSchema>;
1108
1242
  type PtyResize = z.infer<typeof ptyResizeSchema>;
@@ -1185,4 +1319,4 @@ type WebrtcAnswer = z.infer<typeof webrtcAnswerSchema>;
1185
1319
  type WebrtcIceCandidate = z.infer<typeof webrtcIceCandidateSchema>;
1186
1320
  type IceCandidateInit = z.infer<typeof iceCandidateInitSchema>;
1187
1321
  //#endregion
1188
- export { ProcSpawn as $, roomNoticeSchema as $n, dataRequestFrameSchema as $t, HandleClaims as A, procKillSchema as An, WebrtcAnswer as At, ManageResponseFrame as B, relayInboundFrameSchema as Bn, capabilityTokenSchema as Bt, DmRoomPath as C, observedAddressFrameSchema as Cn, RoomSend as Ct, Frame as D, pingFrameSchema as Dn, StreamSession as Dt, ExecSessionInfo as E, peerIdentitySchema as En, StreamEndFrame as Et, ManageCommand as F, ptyResizeSchema as Fn, candidatesFrameSchema as Ft, OwnerNamedRoomPath as G, roomInviteSchema as Gn, coreDomainNameSchema as Gt, NamespacedCapability as H, revocationAnnounceFrameSchema as Hn, closeFrameSchema as Ht, ManageCommandParams as I, ptySpawnSchema as In, capabilityGrantOkSchema as It, PingFrame as J, roomLeaveSchema as Jn, coseHeaderLabelSchema as Jt, PeerAdvert as K, roomJoinOkSchema as Kn, coseHeaderAlgSchema as Kt, ManageError as L, ptyWriteSchema as Ln, capabilityGrantSchema as Lt, HandshakeFrame as M, procSpawnSchema as Mn, WebrtcOffer as Mt, IceCandidateInit as N, protocolVersionSchema as Nn, WireCandidate as Nt, FrameVariant as O, privateUseCapabilitySchema as On, SyncPunchFrame as Ot, IdentityKey as P, ptyKillSchema as Pn, candidateKindSchema as Pt, ProcSignal as Q, roomNoticeClaimsSchema as Qn, dataHaveFrameSchema as Qt, ManageOk as R, relayConnectFrameSchema as Rn, capabilityRequestSchema as Rt, DeviceIdHex as S, namespacedDomainIdSchema as Sn, RoomRead as St, ExecList as T, peerAdvertSchema as Tn, StreamDataFrame as Tt, NamespacedDomainId as U, revocationClaimsSchema as Un, coordinatorFrameSchema as Ut, MessageRef as V, relayOfferFrameSchema as Vn, capabilityVerbSchema as Vt, ObservedAddressFrame as W, revocationEntrySchema as Wn, coreCapabilitySchema as Wt, PrivateUseDomainId as X, roomMembersOkSchema as Xn, coseTokenHeadersSchema as Xt, PrivateUseCapability as Y, roomMemberSchema as Yn, coseSign1Schema as Yt, ProcKill as Z, roomMembersSchema as Zn, dataEntriesFrameSchema as Zt, CoseTokenHeaders as _, manageOkSchema as _n, RoomMembers as _t, CapabilityRequest as a, execSessionInfoSchema as an, streamEndFrameSchema as ar, RelayConnectFrame as at, DataRequestFrame as b, messageRefSchema as bn, RoomNoticeClaims as bt, CapabilityVerb as c, gossipFrameSchema as cn, tokenClaimsSchema as cr, RelayOfferFrame as ct, CoreCapability as d, handshakeFrameSchema as dn, webrtcOfferSchema as dr, RevocationEntry as dt, deviceIdHexSchema as en, roomPathSchema as er, ProtocolVersion as et, CoreDomainName as f, iceCandidateInitSchema as fn, wireCandidateSchema as fr, RoomInvite as ft, CoseSign1 as g, manageErrorSchema as gn, RoomMember as gt, CoseHeaderLabel as h, manageCommandSchema as hn, RoomLeave as ht, CapabilityGrantOk as i, execListSchema as in, streamDataFrameSchema as ir, PtyWrite as it, HandleRecord as j, procSignalSchema as jn, WebrtcIceCandidate as jt, GossipFrame as k, privateUseDomainIdSchema as kn, TokenClaims as kt, CloseFrame as l, handleClaimsSchema as ln, webrtcAnswerSchema as lr, RevocationAnnounceFrame as lt, CoseHeaderKid as m, manageCommandParamsSchema as mn, RoomJoinOk as mt, CandidatesFrame as n, dmRoomPathSchema as nn, roomSendSchema as nr, PtyResize as nt, CapabilityScope as o, frameSchema as on, streamSessionSchema as or, RelayDataFrame as ot, CoseHeaderAlg as p, identityKeySchema as pn, RoomJoin as pt, PeerIdentity as q, roomJoinSchema as qn, coseHeaderKidSchema as qt, CapabilityGrant as r, domainIdSchema as rn, streamAckFrameSchema as rr, PtySpawn as rt, CapabilityToken as s, frameVariantSchema as sn, syncPunchFrameSchema as sr, RelayInboundFrame as st, CandidateKind as t, deviceIdSchema as tn, roomReadSchema as tr, PtyKill as tt, CoordinatorFrame as u, handleRecordSchema as un, webrtcIceCandidateSchema as ur, RevocationClaims as ut, DataEntriesFrame as v, manageRequestFrameSchema as vn, RoomMembersOk as vt, DomainId as w, ownerNamedRoomPathSchema as wn, StreamAckFrame as wt, DeviceId as x, namespacedCapabilitySchema as xn, RoomPath as xt, DataHaveFrame as y, manageResponseFrameSchema as yn, RoomNotice as yt, ManageRequestFrame as z, relayDataFrameSchema as zn, capabilityScopeSchema as zt };
1322
+ export { PeerIdentity as $, relayInboundFrameSchema as $n, capabilityTokenSchema as $t, DomainId as A, manageOkSchema as An, StreamAckFrame as At, IdentityKey as B, pingFrameSchema as Bn, WireCandidate as Bt, CoseTokenHeaders as C, handleRecordSchema as Cn, webrtcAnswerSchema as Cr, RoomMembers as Ct, DeviceId as D, manageCommandParamsSchema as Dn, RoomPath as Dt, DataRequestFrame as E, identityKeySchema as En, wireCandidateSchema as Er, RoomNoticeClaims as Et, GossipFrame as F, namespacedDomainIdSchema as Fn, TokenClaims as Ft, ManageRequestFrame as G, procSpawnSchema as Gn, bulkOpenSchema as Gt, ManageCommandParams as H, privateUseDomainIdSchema as Hn, bulkCancelSchema as Ht, HandleClaims as I, observedAddressFrameSchema as In, TransferId as It, NamespacedCapability as J, ptyResizeSchema as Jn, candidatesFrameSchema as Jt, ManageResponseFrame as K, protocolVersionSchema as Kn, bulkResumeSchema as Kt, HandleRecord as L, ownerNamedRoomPathSchema as Ln, WebrtcAnswer as Lt, ExecSessionInfo as M, manageResponseFrameSchema as Mn, StreamEndFrame as Mt, Frame as N, messageRefSchema as Nn, StreamSession as Nt, DeviceIdHex as O, manageCommandSchema as On, RoomRead as Ot, FrameVariant as P, namespacedCapabilitySchema as Pn, SyncPunchFrame as Pt, PeerAdvert as Q, relayDataFrameSchema as Qn, capabilityScopeSchema as Qt, HandshakeFrame as R, peerAdvertSchema as Rn, WebrtcIceCandidate as Rt, CoseSign1 as S, handleClaimsSchema as Sn, transferIdSchema as Sr, RoomMember as St, DataHaveFrame as T, iceCandidateInitSchema as Tn, webrtcOfferSchema as Tr, RoomNotice as Tt, ManageError as U, procKillSchema as Un, bulkDataFrameSchema as Ut, ManageCommand as V, privateUseCapabilitySchema as Vn, bulkAckFrameSchema as Vt, ManageOk as W, procSignalSchema as Wn, bulkEndFrameSchema as Wt, ObservedAddressFrame as X, ptyWriteSchema as Xn, capabilityGrantSchema as Xt, NamespacedDomainId as Y, ptySpawnSchema as Yn, capabilityGrantOkSchema as Yt, OwnerNamedRoomPath as Z, relayConnectFrameSchema as Zn, capabilityRequestSchema as Zt, CoreCapability as _, execListSchema as _n, streamDataFrameSchema as _r, RevocationEntry as _t, BulkOpen as a, coseHeaderAlgSchema as an, roomJoinOkSchema as ar, ProcSpawn as at, CoseHeaderKid as b, frameVariantSchema as bn, syncPunchFrameSchema as br, RoomJoinOk as bt, CandidatesFrame as c, coseSign1Schema as cn, roomMemberSchema as cr, PtyResize as ct, CapabilityRequest as d, dataHaveFrameSchema as dn, roomNoticeClaimsSchema as dr, RelayConnectFrame as dt, capabilityVerbSchema as en, relayOfferFrameSchema as er, PingFrame as et, CapabilityScope as f, dataRequestFrameSchema as fn, roomNoticeSchema as fr, RelayDataFrame as ft, CoordinatorFrame as g, domainIdSchema as gn, streamAckFrameSchema as gr, RevocationClaims as gt, CloseFrame as h, dmRoomPathSchema as hn, roomSendSchema as hr, RevocationAnnounceFrame as ht, BulkEndFrame as i, coreDomainNameSchema as in, roomInviteSchema as ir, ProcSignal as it, ExecList as j, manageRequestFrameSchema as jn, StreamDataFrame as jt, DmRoomPath as k, manageErrorSchema as kn, RoomSend as kt, CapabilityGrant as l, coseTokenHeadersSchema as ln, roomMembersOkSchema as lr, PtySpawn as lt, CapabilityVerb as m, deviceIdSchema as mn, roomReadSchema as mr, RelayOfferFrame as mt, BulkCancel as n, coordinatorFrameSchema as nn, revocationClaimsSchema as nr, PrivateUseDomainId as nt, BulkResume as o, coseHeaderKidSchema as on, roomJoinSchema as or, ProtocolVersion as ot, CapabilityToken as p, deviceIdHexSchema as pn, roomPathSchema as pr, RelayInboundFrame as pt, MessageRef as q, ptyKillSchema as qn, candidateKindSchema as qt, BulkDataFrame as r, coreCapabilitySchema as rn, revocationEntrySchema as rr, ProcKill as rt, CandidateKind as s, coseHeaderLabelSchema as sn, roomLeaveSchema as sr, PtyKill as st, BulkAckFrame as t, closeFrameSchema as tn, revocationAnnounceFrameSchema as tr, PrivateUseCapability as tt, CapabilityGrantOk as u, dataEntriesFrameSchema as un, roomMembersSchema as ur, PtyWrite as ut, CoreDomainName as v, execSessionInfoSchema as vn, streamEndFrameSchema as vr, RoomInvite as vt, DataEntriesFrame as w, handshakeFrameSchema as wn, webrtcIceCandidateSchema as wr, RoomMembersOk as wt, CoseHeaderLabel as x, gossipFrameSchema as xn, tokenClaimsSchema as xr, RoomLeave as xt, CoseHeaderAlg as y, frameSchema as yn, streamSessionSchema as yr, RoomJoin as yt, IceCandidateInit as z, peerIdentitySchema as zn, WebrtcOffer as zt };
@@ -1,5 +1,5 @@
1
- import { dt as RevocationEntry, kt as TokenClaims, s as CapabilityToken, ut as RevocationClaims, x as DeviceId } from "./protocol-l9RMR3s5.mjs";
2
- import { t as IdentityPort } from "./identity-5LJ_B8go.mjs";
1
+ import { D as DeviceId, Ft as TokenClaims, _t as RevocationEntry, gt as RevocationClaims, p as CapabilityToken } from "./protocol-sW8d6Og-.mjs";
2
+ import { t as IdentityPort } from "./identity-C5N86BPz.mjs";
3
3
  import { t as Clock } from "./clock-DiSx-WKM.mjs";
4
4
  import { z } from "zod";
5
5
  import { JsonValue, PredicateNode, Resolution } from "trilean";
@@ -1,5 +1,5 @@
1
- import { dt as RevocationEntry, kt as TokenClaims, s as CapabilityToken, ut as RevocationClaims, x as DeviceId } from "./protocol-l9RMR3s5.cjs";
2
- import { t as IdentityPort } from "./identity-bg6IVGsH.cjs";
1
+ import { D as DeviceId, Ft as TokenClaims, _t as RevocationEntry, gt as RevocationClaims, p as CapabilityToken } from "./protocol-sW8d6Og-.cjs";
2
+ import { t as IdentityPort } from "./identity-DJ06jn4k.cjs";
3
3
  import { t as Clock } from "./clock-DiSx-WKM.cjs";
4
4
  import { z } from "zod";
5
5
  import { JsonValue, PredicateNode, Resolution } from "trilean";
@@ -1,4 +1,4 @@
1
- import { D as Frame, x as DeviceId } from "./protocol-l9RMR3s5.cjs";
1
+ import { D as DeviceId, N as Frame } from "./protocol-sW8d6Og-.mjs";
2
2
  //#region src/ports/transport.d.ts
3
3
  /**
4
4
  * An async, serialisable-data contract for exchanging frame values over some connection -- deliberately without baking in any specific transport's own primitives (no raw socket types, no WebSocket-specific options), so a TCP adapter, a WebSocket adapter, or an in-memory adapter for tests can all satisfy it.
@@ -1,4 +1,4 @@
1
- import { D as Frame, x as DeviceId } from "./protocol-l9RMR3s5.mjs";
1
+ import { D as DeviceId, N as Frame } from "./protocol-sW8d6Og-.cjs";
2
2
  //#region src/ports/transport.d.ts
3
3
  /**
4
4
  * An async, serialisable-data contract for exchanging frame values over some connection -- deliberately without baking in any specific transport's own primitives (no raw socket types, no WebSocket-specific options), so a TCP adapter, a WebSocket adapter, or an in-memory adapter for tests can all satisfy it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wire-mesh-core",
3
- "version": "1.23.0",
3
+ "version": "1.25.0",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c",
6
6
  "repository": {
@@ -86,6 +86,10 @@
86
86
  "import": "./dist/adapters/tls-transport.mjs",
87
87
  "require": "./dist/adapters/tls-transport.cjs"
88
88
  },
89
+ "./domain/bulk": {
90
+ "import": "./dist/domain/bulk.mjs",
91
+ "require": "./dist/domain/bulk.cjs"
92
+ },
89
93
  "./domain/capability-grant": {
90
94
  "import": "./dist/domain/capability-grant.mjs",
91
95
  "require": "./dist/domain/capability-grant.cjs"
@@ -122,6 +126,10 @@
122
126
  "import": "./dist/domain/revocation-view.mjs",
123
127
  "require": "./dist/domain/revocation-view.cjs"
124
128
  },
129
+ "./domain/room": {
130
+ "import": "./dist/domain/room.mjs",
131
+ "require": "./dist/domain/room.cjs"
132
+ },
125
133
  "./domain/room-path": {
126
134
  "import": "./dist/domain/room-path.mjs",
127
135
  "require": "./dist/domain/room-path.cjs"