wire-mesh-core 1.31.0 → 1.32.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.
- package/dist/adapters/frame-codec.d.cts +1 -1
- package/dist/adapters/frame-codec.d.mts +1 -1
- package/dist/adapters/node-identity.cjs +26 -2
- package/dist/adapters/node-identity.d.cts +5 -3
- package/dist/adapters/node-identity.d.mts +5 -3
- package/dist/adapters/node-identity.mjs +26 -2
- package/dist/adapters/tcp-transport.d.cts +1 -1
- package/dist/adapters/tcp-transport.d.mts +1 -1
- package/dist/adapters/tls-transport.d.cts +1 -1
- package/dist/adapters/tls-transport.d.mts +1 -1
- package/dist/domain/bulk.d.cts +2 -2
- package/dist/domain/bulk.d.mts +2 -2
- package/dist/domain/capability-grant.d.cts +3 -3
- package/dist/domain/capability-grant.d.mts +3 -3
- package/dist/domain/capability-request.d.cts +2 -2
- package/dist/domain/capability-request.d.mts +2 -2
- package/dist/domain/data-sync.d.cts +2 -2
- package/dist/domain/data-sync.d.mts +2 -2
- package/dist/domain/device-id.d.cts +1 -1
- package/dist/domain/device-id.d.mts +1 -1
- package/dist/domain/grant-candidates.d.cts +1 -1
- package/dist/domain/grant-candidates.d.mts +1 -1
- package/dist/domain/group-key.cjs +93 -0
- package/dist/domain/group-key.d.cts +24 -0
- package/dist/domain/group-key.d.mts +24 -0
- package/dist/domain/group-key.mjs +87 -0
- package/dist/domain/handshake.d.cts +1 -1
- package/dist/domain/handshake.d.mts +1 -1
- package/dist/domain/mesh-session.d.cts +3 -3
- package/dist/domain/mesh-session.d.mts +3 -3
- package/dist/domain/relay-hub.d.cts +2 -2
- package/dist/domain/relay-hub.d.mts +2 -2
- package/dist/domain/relay-use-gate.d.cts +2 -2
- package/dist/domain/relay-use-gate.d.mts +2 -2
- package/dist/domain/revocation-view.d.cts +2 -2
- package/dist/domain/revocation-view.d.mts +2 -2
- package/dist/domain/room-token-verification.d.cts +2 -2
- package/dist/domain/room-token-verification.d.mts +2 -2
- package/dist/domain/room.d.cts +3 -3
- package/dist/domain/room.d.mts +3 -3
- package/dist/domain/tokens.d.cts +1 -1
- package/dist/domain/tokens.d.mts +1 -1
- package/dist/generated/protocol.cjs +9 -1
- package/dist/generated/protocol.d.cts +2 -2
- package/dist/generated/protocol.d.mts +2 -2
- package/dist/generated/protocol.mjs +9 -2
- package/dist/{identity-C5N86BPz.d.mts → identity-B4XBWkqg.d.cts} +3 -1
- package/dist/{identity-DJ06jn4k.d.cts → identity-CIb9dGkJ.d.mts} +3 -1
- package/dist/ports/identity.d.cts +1 -1
- package/dist/ports/identity.d.mts +1 -1
- package/dist/ports/transport.d.cts +1 -1
- package/dist/ports/transport.d.mts +1 -1
- package/dist/{protocol-sW8d6Og-.d.cts → protocol-gbXtNeOc.d.cts} +33 -6
- package/dist/{protocol-sW8d6Og-.d.mts → protocol-gbXtNeOc.d.mts} +33 -6
- package/dist/{tokens-DfVfE00W.d.cts → tokens-CNQirfHi.d.cts} +2 -2
- package/dist/{tokens-CpLDI5Fo.d.mts → tokens-C_LvOuYO.d.mts} +2 -2
- package/dist/{transport-B5E896PN.d.mts → transport-DAsFqDDS.d.cts} +1 -1
- package/dist/{transport-DxZ4JWZc.d.cts → transport-Dy4h2eNY.d.mts} +1 -1
- package/package.json +5 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as Frame } from "../protocol-
|
|
2
|
-
import { t as Connection } from "../transport-
|
|
1
|
+
import { N as Frame } from "../protocol-gbXtNeOc.mjs";
|
|
2
|
+
import { t as Connection } from "../transport-Dy4h2eNY.mjs";
|
|
3
3
|
//#region src/domain/relay-use-gate.d.ts
|
|
4
4
|
export interface RelayUseAuthorizationTracker {
|
|
5
5
|
/** True once authorize() has been called for this exact connection and revoke() has not been called since. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _t as RevocationEntry } from "../protocol-
|
|
2
|
-
import { a as RevocationCheck, d as VerifyRevocationEntryOptions, o as RevocationEntryVerdict } from "../tokens-
|
|
1
|
+
import { _t as RevocationEntry } from "../protocol-gbXtNeOc.cjs";
|
|
2
|
+
import { a as RevocationCheck, d as VerifyRevocationEntryOptions, o as RevocationEntryVerdict } from "../tokens-CNQirfHi.cjs";
|
|
3
3
|
//#region src/domain/revocation-view.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* An in-memory RevocationCheck fed by ingested revocation-announce frames. Keyed by token-id alone, per management.cddl's contract: a token-id can legitimately carry multiple recorded entries from different issuers (the token's own issuer, and/or any number of parties holding a delegated manage:revoke authorization over it) -- entriesFor returns every one of them unfiltered, since checking which actually apply (issuer-match, or a verified authorization) is verifyTokenChain's own obligation, not this store's.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _t as RevocationEntry } from "../protocol-
|
|
2
|
-
import { a as RevocationCheck, d as VerifyRevocationEntryOptions, o as RevocationEntryVerdict } from "../tokens-
|
|
1
|
+
import { _t as RevocationEntry } from "../protocol-gbXtNeOc.mjs";
|
|
2
|
+
import { a as RevocationCheck, d as VerifyRevocationEntryOptions, o as RevocationEntryVerdict } from "../tokens-C_LvOuYO.mjs";
|
|
3
3
|
//#region src/domain/revocation-view.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* An in-memory RevocationCheck fed by ingested revocation-announce frames. Keyed by token-id alone, per management.cddl's contract: a token-id can legitimately carry multiple recorded entries from different issuers (the token's own issuer, and/or any number of parties holding a delegated manage:revoke authorization over it) -- entriesFor returns every one of them unfiltered, since checking which actually apply (issuer-match, or a verified authorization) is verifyTokenChain's own obligation, not this store's.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DeviceId,
|
|
2
|
-
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "../tokens-
|
|
1
|
+
import { D as DeviceId, It as TokenClaims, p as CapabilityToken } from "../protocol-gbXtNeOc.cjs";
|
|
2
|
+
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "../tokens-CNQirfHi.cjs";
|
|
3
3
|
//#region src/domain/room-token-verification.d.ts
|
|
4
4
|
/** The one capability every core/room verb (room.send/read/leave/members) is gated by, per spec/room.cddl -- room.join/room.invite are deliberately ungated instead and need no token check at all. */
|
|
5
5
|
export declare const ROOM_MEMBER_CAPABILITY = "room:member";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DeviceId,
|
|
2
|
-
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "../tokens-
|
|
1
|
+
import { D as DeviceId, It as TokenClaims, p as CapabilityToken } from "../protocol-gbXtNeOc.mjs";
|
|
2
|
+
import { l as TokenVerdictReason, u as VerifyCapabilityTokenOptions } from "../tokens-C_LvOuYO.mjs";
|
|
3
3
|
//#region src/domain/room-token-verification.d.ts
|
|
4
4
|
/** The one capability every core/room verb (room.send/read/leave/members) is gated by, per spec/room.cddl -- room.join/room.invite are deliberately ungated instead and need no token check at all. */
|
|
5
5
|
export declare const ROOM_MEMBER_CAPABILITY = "room:member";
|
package/dist/domain/room.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dt as RoomPath, Et as RoomNoticeClaims, Tt as RoomNotice, p as CapabilityToken, q as MessageRef } from "../protocol-
|
|
2
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { Dt as RoomPath, Et as RoomNoticeClaims, Tt as RoomNotice, p as CapabilityToken, q as MessageRef } from "../protocol-gbXtNeOc.cjs";
|
|
2
|
+
import { t as IdentityPort } from "../identity-B4XBWkqg.cjs";
|
|
3
3
|
import { t as Clock } from "../clock-DiSx-WKM.cjs";
|
|
4
|
-
import { a as RevocationCheck } from "../tokens-
|
|
4
|
+
import { a as RevocationCheck } from "../tokens-CNQirfHi.cjs";
|
|
5
5
|
import { RoomTokenVerdictReason } from "./room-token-verification.cjs";
|
|
6
6
|
//#region src/domain/room.d.ts
|
|
7
7
|
export type RoomNoticeVerdictReason = "malformed" | "wrong_room" | "bad_signature" | "wrong_poster" | "content_expired" | RoomTokenVerdictReason;
|
package/dist/domain/room.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dt as RoomPath, Et as RoomNoticeClaims, Tt as RoomNotice, p as CapabilityToken, q as MessageRef } from "../protocol-
|
|
2
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { Dt as RoomPath, Et as RoomNoticeClaims, Tt as RoomNotice, p as CapabilityToken, q as MessageRef } from "../protocol-gbXtNeOc.mjs";
|
|
2
|
+
import { t as IdentityPort } from "../identity-CIb9dGkJ.mjs";
|
|
3
3
|
import { t as Clock } from "../clock-DiSx-WKM.mjs";
|
|
4
|
-
import { a as RevocationCheck } from "../tokens-
|
|
4
|
+
import { a as RevocationCheck } from "../tokens-C_LvOuYO.mjs";
|
|
5
5
|
import { RoomTokenVerdictReason } from "./room-token-verification.mjs";
|
|
6
6
|
//#region src/domain/room.d.ts
|
|
7
7
|
export type RoomNoticeVerdictReason = "malformed" | "wrong_room" | "bad_signature" | "wrong_poster" | "content_expired" | RoomTokenVerdictReason;
|
package/dist/domain/tokens.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as RevocationCheck, c as TokenVerdict, d as VerifyRevocationEntryOptions, f as canGrant, g as verifyRevocationEntry, h as verifyCapabilityToken, i as MintVerdict, l as TokenVerdictReason, m as mintRevocationEntry, n as MintRefusalReason, o as RevocationEntryVerdict, p as mintCapabilityToken, r as MintRevocationEntryOptions, s as RevocationEntryVerdictReason, t as MintCapabilityTokenOptions, u as VerifyCapabilityTokenOptions } from "../tokens-
|
|
1
|
+
import { a as RevocationCheck, c as TokenVerdict, d as VerifyRevocationEntryOptions, f as canGrant, g as verifyRevocationEntry, h as verifyCapabilityToken, i as MintVerdict, l as TokenVerdictReason, m as mintRevocationEntry, n as MintRefusalReason, o as RevocationEntryVerdict, p as mintCapabilityToken, r as MintRevocationEntryOptions, s as RevocationEntryVerdictReason, t as MintCapabilityTokenOptions, u as VerifyCapabilityTokenOptions } from "../tokens-CNQirfHi.cjs";
|
|
2
2
|
export { MintCapabilityTokenOptions, MintRefusalReason, MintRevocationEntryOptions, MintVerdict, RevocationCheck, RevocationEntryVerdict, RevocationEntryVerdictReason, TokenVerdict, TokenVerdictReason, VerifyCapabilityTokenOptions, VerifyRevocationEntryOptions, canGrant, mintCapabilityToken, mintRevocationEntry, verifyCapabilityToken, verifyRevocationEntry };
|
package/dist/domain/tokens.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as RevocationCheck, c as TokenVerdict, d as VerifyRevocationEntryOptions, f as canGrant, g as verifyRevocationEntry, h as verifyCapabilityToken, i as MintVerdict, l as TokenVerdictReason, m as mintRevocationEntry, n as MintRefusalReason, o as RevocationEntryVerdict, p as mintCapabilityToken, r as MintRevocationEntryOptions, s as RevocationEntryVerdictReason, t as MintCapabilityTokenOptions, u as VerifyCapabilityTokenOptions } from "../tokens-
|
|
1
|
+
import { a as RevocationCheck, c as TokenVerdict, d as VerifyRevocationEntryOptions, f as canGrant, g as verifyRevocationEntry, h as verifyCapabilityToken, i as MintVerdict, l as TokenVerdictReason, m as mintRevocationEntry, n as MintRefusalReason, o as RevocationEntryVerdict, p as mintCapabilityToken, r as MintRevocationEntryOptions, s as RevocationEntryVerdictReason, t as MintCapabilityTokenOptions, u as VerifyCapabilityTokenOptions } from "../tokens-C_LvOuYO.mjs";
|
|
2
2
|
export { MintCapabilityTokenOptions, MintRefusalReason, MintRevocationEntryOptions, MintVerdict, RevocationCheck, RevocationEntryVerdict, RevocationEntryVerdictReason, TokenVerdict, TokenVerdictReason, VerifyCapabilityTokenOptions, VerifyRevocationEntryOptions, canGrant, mintCapabilityToken, mintRevocationEntry, verifyCapabilityToken, verifyRevocationEntry };
|
|
@@ -44,6 +44,7 @@ const manageCommandParamsSchema = zod.z.lazy(() => zod.z.union([
|
|
|
44
44
|
zod.z.lazy(() => roomMembersSchema)
|
|
45
45
|
]),
|
|
46
46
|
zod.z.union([zod.z.lazy(() => roomJoinSchema), zod.z.lazy(() => roomInviteSchema)]),
|
|
47
|
+
zod.z.lazy(() => roomRekeySchema),
|
|
47
48
|
zod.z.union([
|
|
48
49
|
zod.z.lazy(() => webrtcOfferSchema),
|
|
49
50
|
zod.z.lazy(() => webrtcAnswerSchema),
|
|
@@ -276,6 +277,11 @@ const roomInviteSchema = zod.z.lazy(() => zod.z.object({
|
|
|
276
277
|
"invitee": zod.z.lazy(() => deviceIdSchema),
|
|
277
278
|
"token": zod.z.lazy(() => capabilityTokenSchema)
|
|
278
279
|
}).catchall(zod.z.unknown()));
|
|
280
|
+
const roomRekeySchema = zod.z.lazy(() => zod.z.object({
|
|
281
|
+
"verb": zod.z.literal("room.rekey"),
|
|
282
|
+
"key-epoch": zod.z.number().int().nonnegative(),
|
|
283
|
+
"wrapped-key": zod.z.union([zod.z.instanceof(Uint8Array), zod.z.array(zod.z.instanceof(Uint8Array))])
|
|
284
|
+
}).catchall(zod.z.unknown()));
|
|
279
285
|
const roomMemberSchema = zod.z.lazy(() => zod.z.object({ "device": zod.z.lazy(() => deviceIdSchema) }).catchall(zod.z.unknown()));
|
|
280
286
|
const roomJoinOkSchema = zod.z.lazy(() => zod.z.object({
|
|
281
287
|
"result": zod.z.literal("ok"),
|
|
@@ -297,7 +303,8 @@ const roomNoticeClaimsSchema = zod.z.lazy(() => zod.z.object({
|
|
|
297
303
|
"content-type": zod.z.string(),
|
|
298
304
|
"content": zod.z.instanceof(Uint8Array),
|
|
299
305
|
"refs": zod.z.array(zod.z.lazy(() => messageRefSchema)).optional(),
|
|
300
|
-
"valid-until": zod.z.number().int().nonnegative().optional()
|
|
306
|
+
"valid-until": zod.z.number().int().nonnegative().optional(),
|
|
307
|
+
"key-epoch": zod.z.number().int().nonnegative().optional()
|
|
301
308
|
}).catchall(zod.z.unknown()));
|
|
302
309
|
const streamSessionSchema = zod.z.lazy(() => zod.z.number().int().nonnegative());
|
|
303
310
|
const streamDataFrameSchema = zod.z.lazy(() => zod.z.object({
|
|
@@ -524,6 +531,7 @@ exports.roomNoticeClaimsSchema = roomNoticeClaimsSchema;
|
|
|
524
531
|
exports.roomNoticeSchema = roomNoticeSchema;
|
|
525
532
|
exports.roomPathSchema = roomPathSchema;
|
|
526
533
|
exports.roomReadSchema = roomReadSchema;
|
|
534
|
+
exports.roomRekeySchema = roomRekeySchema;
|
|
527
535
|
exports.roomSendSchema = roomSendSchema;
|
|
528
536
|
exports.streamAckFrameSchema = streamAckFrameSchema;
|
|
529
537
|
exports.streamDataFrameSchema = streamDataFrameSchema;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PeerIdentity, $n as
|
|
2
|
-
export { BulkAckFrame, BulkCancel, BulkDataFrame, BulkEndFrame, BulkOpen, BulkResume, CandidateKind, CandidatesFrame, CapabilityGrant, CapabilityGrantOk, CapabilityRequest, CapabilityScope, CapabilityToken, CapabilityVerb, CloseFrame, CoordinatorFrame, CoreCapability, CoreDomainName, CoseHeaderAlg, CoseHeaderKid, CoseHeaderLabel, CoseSign1, CoseTokenHeaders, DataEntriesFrame, DataHaveFrame, DataRequestFrame, DeviceId, DeviceIdHex, DmRoomPath, DomainId, ExecList, ExecSessionInfo, Frame, FrameVariant, GossipFrame, HandleClaims, HandleRecord, HandshakeFrame, IceCandidateInit, IdentityKey, ManageCommand, ManageCommandParams, ManageError, ManageOk, ManageRequestFrame, ManageResponseFrame, MessageRef, NamespacedCapability, NamespacedDomainId, ObservedAddressFrame, OwnerNamedRoomPath, PeerAdvert, PeerIdentity, PingFrame, PrivateUseCapability, PrivateUseDomainId, ProcKill, ProcSignal, ProcSpawn, ProtocolVersion, PtyKill, PtyResize, PtySpawn, PtyWrite, RelayConnectFrame, RelayDataFrame, RelayInboundFrame, RelayOfferFrame, RevocationAnnounceFrame, RevocationClaims, RevocationEntry, RoomInvite, RoomJoin, RoomJoinOk, RoomLeave, RoomMember, RoomMembers, RoomMembersOk, RoomNotice, RoomNoticeClaims, RoomPath, RoomRead, RoomSend, StreamAckFrame, StreamDataFrame, StreamEndFrame, StreamSession, SyncPunchFrame, TokenClaims, TransferId, WebrtcAnswer, WebrtcIceCandidate, WebrtcOffer, WireCandidate, bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomSendSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
1
|
+
import { $ as PeerIdentity, $n as relayDataFrameSchema, $t as capabilityScopeSchema, A as DomainId, An as manageErrorSchema, At as RoomSend, B as IdentityKey, Bn as peerIdentitySchema, Bt as WebrtcOffer, C as CoseTokenHeaders, Cn as handleClaimsSchema, Cr as tokenClaimsSchema, Ct as RoomMembers, D as DeviceId, Dn as identityKeySchema, Dr as webrtcOfferSchema, Dt as RoomPath, E as DataRequestFrame, En as iceCandidateInitSchema, Er as webrtcIceCandidateSchema, Et as RoomNoticeClaims, F as GossipFrame, Fn as namespacedCapabilitySchema, Ft as SyncPunchFrame, G as ManageRequestFrame, Gn as procSignalSchema, Gt as bulkEndFrameSchema, H as ManageCommandParams, Hn as privateUseCapabilitySchema, Ht as bulkAckFrameSchema, I as HandleClaims, In as namespacedDomainIdSchema, It as TokenClaims, J as NamespacedCapability, Jn as ptyKillSchema, Jt as candidateKindSchema, K as ManageResponseFrame, Kn as procSpawnSchema, Kt as bulkOpenSchema, L as HandleRecord, Ln as observedAddressFrameSchema, Lt as TransferId, M as ExecSessionInfo, Mn as manageRequestFrameSchema, Mt as StreamDataFrame, N as Frame, Nn as manageResponseFrameSchema, Nt as StreamEndFrame, O as DeviceIdHex, On as manageCommandParamsSchema, Or as wireCandidateSchema, Ot as RoomRead, P as FrameVariant, Pn as messageRefSchema, Pt as StreamSession, Q as PeerAdvert, Qn as relayConnectFrameSchema, Qt as capabilityRequestSchema, R as HandshakeFrame, Rn as ownerNamedRoomPathSchema, Rt as WebrtcAnswer, S as CoseSign1, Sn as gossipFrameSchema, Sr as syncPunchFrameSchema, St as RoomMember, T as DataHaveFrame, Tn as handshakeFrameSchema, Tr as webrtcAnswerSchema, Tt as RoomNotice, U as ManageError, Un as privateUseDomainIdSchema, Ut as bulkCancelSchema, V as ManageCommand, Vn as pingFrameSchema, Vt as WireCandidate, W as ManageOk, Wn as procKillSchema, Wt as bulkDataFrameSchema, X as ObservedAddressFrame, Xn as ptySpawnSchema, Xt as capabilityGrantOkSchema, Y as NamespacedDomainId, Yn as ptyResizeSchema, Yt as candidatesFrameSchema, Z as OwnerNamedRoomPath, Zn as ptyWriteSchema, Zt as capabilityGrantSchema, _ as CoreCapability, _n as domainIdSchema, _r as roomSendSchema, _t as RevocationEntry, a as BulkOpen, an as coreDomainNameSchema, ar as roomInviteSchema, at as ProcSpawn, b as CoseHeaderKid, bn as frameSchema, br as streamEndFrameSchema, bt as RoomJoinOk, c as CandidatesFrame, cn as coseHeaderLabelSchema, cr as roomLeaveSchema, ct as PtyResize, d as CapabilityRequest, dn as dataEntriesFrameSchema, dr as roomMembersSchema, dt as RelayConnectFrame, en as capabilityTokenSchema, er as relayInboundFrameSchema, et as PingFrame, f as CapabilityScope, fn as dataHaveFrameSchema, fr as roomNoticeClaimsSchema, ft as RelayDataFrame, g as CoordinatorFrame, gn as dmRoomPathSchema, gr as roomRekeySchema, gt as RevocationClaims, h as CloseFrame, hn as deviceIdSchema, hr as roomReadSchema, ht as RevocationAnnounceFrame, i as BulkEndFrame, in as coreCapabilitySchema, ir as revocationEntrySchema, it as ProcSignal, j as ExecList, jn as manageOkSchema, jt as StreamAckFrame, k as DmRoomPath, kn as manageCommandSchema, kt as RoomRekey, l as CapabilityGrant, ln as coseSign1Schema, lr as roomMemberSchema, lt as PtySpawn, m as CapabilityVerb, mn as deviceIdHexSchema, mr as roomPathSchema, mt as RelayOfferFrame, n as BulkCancel, nn as closeFrameSchema, nr as revocationAnnounceFrameSchema, nt as PrivateUseDomainId, o as BulkResume, on as coseHeaderAlgSchema, or as roomJoinOkSchema, ot as ProtocolVersion, p as CapabilityToken, pn as dataRequestFrameSchema, pr as roomNoticeSchema, pt as RelayInboundFrame, q as MessageRef, qn as protocolVersionSchema, qt as bulkResumeSchema, r as BulkDataFrame, rn as coordinatorFrameSchema, rr as revocationClaimsSchema, rt as ProcKill, s as CandidateKind, sn as coseHeaderKidSchema, sr as roomJoinSchema, st as PtyKill, t as BulkAckFrame, tn as capabilityVerbSchema, tr as relayOfferFrameSchema, tt as PrivateUseCapability, u as CapabilityGrantOk, un as coseTokenHeadersSchema, ur as roomMembersOkSchema, ut as PtyWrite, v as CoreDomainName, vn as execListSchema, vr as streamAckFrameSchema, vt as RoomInvite, w as DataEntriesFrame, wn as handleRecordSchema, wr as transferIdSchema, wt as RoomMembersOk, x as CoseHeaderLabel, xn as frameVariantSchema, xr as streamSessionSchema, xt as RoomLeave, y as CoseHeaderAlg, yn as execSessionInfoSchema, yr as streamDataFrameSchema, yt as RoomJoin, z as IceCandidateInit, zn as peerAdvertSchema, zt as WebrtcIceCandidate } from "../protocol-gbXtNeOc.cjs";
|
|
2
|
+
export { BulkAckFrame, BulkCancel, BulkDataFrame, BulkEndFrame, BulkOpen, BulkResume, CandidateKind, CandidatesFrame, CapabilityGrant, CapabilityGrantOk, CapabilityRequest, CapabilityScope, CapabilityToken, CapabilityVerb, CloseFrame, CoordinatorFrame, CoreCapability, CoreDomainName, CoseHeaderAlg, CoseHeaderKid, CoseHeaderLabel, CoseSign1, CoseTokenHeaders, DataEntriesFrame, DataHaveFrame, DataRequestFrame, DeviceId, DeviceIdHex, DmRoomPath, DomainId, ExecList, ExecSessionInfo, Frame, FrameVariant, GossipFrame, HandleClaims, HandleRecord, HandshakeFrame, IceCandidateInit, IdentityKey, ManageCommand, ManageCommandParams, ManageError, ManageOk, ManageRequestFrame, ManageResponseFrame, MessageRef, NamespacedCapability, NamespacedDomainId, ObservedAddressFrame, OwnerNamedRoomPath, PeerAdvert, PeerIdentity, PingFrame, PrivateUseCapability, PrivateUseDomainId, ProcKill, ProcSignal, ProcSpawn, ProtocolVersion, PtyKill, PtyResize, PtySpawn, PtyWrite, RelayConnectFrame, RelayDataFrame, RelayInboundFrame, RelayOfferFrame, RevocationAnnounceFrame, RevocationClaims, RevocationEntry, RoomInvite, RoomJoin, RoomJoinOk, RoomLeave, RoomMember, RoomMembers, RoomMembersOk, RoomNotice, RoomNoticeClaims, RoomPath, RoomRead, RoomRekey, RoomSend, StreamAckFrame, StreamDataFrame, StreamEndFrame, StreamSession, SyncPunchFrame, TokenClaims, TransferId, WebrtcAnswer, WebrtcIceCandidate, WebrtcOffer, WireCandidate, bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomRekeySchema, roomSendSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PeerIdentity, $n as
|
|
2
|
-
export { BulkAckFrame, BulkCancel, BulkDataFrame, BulkEndFrame, BulkOpen, BulkResume, CandidateKind, CandidatesFrame, CapabilityGrant, CapabilityGrantOk, CapabilityRequest, CapabilityScope, CapabilityToken, CapabilityVerb, CloseFrame, CoordinatorFrame, CoreCapability, CoreDomainName, CoseHeaderAlg, CoseHeaderKid, CoseHeaderLabel, CoseSign1, CoseTokenHeaders, DataEntriesFrame, DataHaveFrame, DataRequestFrame, DeviceId, DeviceIdHex, DmRoomPath, DomainId, ExecList, ExecSessionInfo, Frame, FrameVariant, GossipFrame, HandleClaims, HandleRecord, HandshakeFrame, IceCandidateInit, IdentityKey, ManageCommand, ManageCommandParams, ManageError, ManageOk, ManageRequestFrame, ManageResponseFrame, MessageRef, NamespacedCapability, NamespacedDomainId, ObservedAddressFrame, OwnerNamedRoomPath, PeerAdvert, PeerIdentity, PingFrame, PrivateUseCapability, PrivateUseDomainId, ProcKill, ProcSignal, ProcSpawn, ProtocolVersion, PtyKill, PtyResize, PtySpawn, PtyWrite, RelayConnectFrame, RelayDataFrame, RelayInboundFrame, RelayOfferFrame, RevocationAnnounceFrame, RevocationClaims, RevocationEntry, RoomInvite, RoomJoin, RoomJoinOk, RoomLeave, RoomMember, RoomMembers, RoomMembersOk, RoomNotice, RoomNoticeClaims, RoomPath, RoomRead, RoomSend, StreamAckFrame, StreamDataFrame, StreamEndFrame, StreamSession, SyncPunchFrame, TokenClaims, TransferId, WebrtcAnswer, WebrtcIceCandidate, WebrtcOffer, WireCandidate, bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomSendSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
1
|
+
import { $ as PeerIdentity, $n as relayDataFrameSchema, $t as capabilityScopeSchema, A as DomainId, An as manageErrorSchema, At as RoomSend, B as IdentityKey, Bn as peerIdentitySchema, Bt as WebrtcOffer, C as CoseTokenHeaders, Cn as handleClaimsSchema, Cr as tokenClaimsSchema, Ct as RoomMembers, D as DeviceId, Dn as identityKeySchema, Dr as webrtcOfferSchema, Dt as RoomPath, E as DataRequestFrame, En as iceCandidateInitSchema, Er as webrtcIceCandidateSchema, Et as RoomNoticeClaims, F as GossipFrame, Fn as namespacedCapabilitySchema, Ft as SyncPunchFrame, G as ManageRequestFrame, Gn as procSignalSchema, Gt as bulkEndFrameSchema, H as ManageCommandParams, Hn as privateUseCapabilitySchema, Ht as bulkAckFrameSchema, I as HandleClaims, In as namespacedDomainIdSchema, It as TokenClaims, J as NamespacedCapability, Jn as ptyKillSchema, Jt as candidateKindSchema, K as ManageResponseFrame, Kn as procSpawnSchema, Kt as bulkOpenSchema, L as HandleRecord, Ln as observedAddressFrameSchema, Lt as TransferId, M as ExecSessionInfo, Mn as manageRequestFrameSchema, Mt as StreamDataFrame, N as Frame, Nn as manageResponseFrameSchema, Nt as StreamEndFrame, O as DeviceIdHex, On as manageCommandParamsSchema, Or as wireCandidateSchema, Ot as RoomRead, P as FrameVariant, Pn as messageRefSchema, Pt as StreamSession, Q as PeerAdvert, Qn as relayConnectFrameSchema, Qt as capabilityRequestSchema, R as HandshakeFrame, Rn as ownerNamedRoomPathSchema, Rt as WebrtcAnswer, S as CoseSign1, Sn as gossipFrameSchema, Sr as syncPunchFrameSchema, St as RoomMember, T as DataHaveFrame, Tn as handshakeFrameSchema, Tr as webrtcAnswerSchema, Tt as RoomNotice, U as ManageError, Un as privateUseDomainIdSchema, Ut as bulkCancelSchema, V as ManageCommand, Vn as pingFrameSchema, Vt as WireCandidate, W as ManageOk, Wn as procKillSchema, Wt as bulkDataFrameSchema, X as ObservedAddressFrame, Xn as ptySpawnSchema, Xt as capabilityGrantOkSchema, Y as NamespacedDomainId, Yn as ptyResizeSchema, Yt as candidatesFrameSchema, Z as OwnerNamedRoomPath, Zn as ptyWriteSchema, Zt as capabilityGrantSchema, _ as CoreCapability, _n as domainIdSchema, _r as roomSendSchema, _t as RevocationEntry, a as BulkOpen, an as coreDomainNameSchema, ar as roomInviteSchema, at as ProcSpawn, b as CoseHeaderKid, bn as frameSchema, br as streamEndFrameSchema, bt as RoomJoinOk, c as CandidatesFrame, cn as coseHeaderLabelSchema, cr as roomLeaveSchema, ct as PtyResize, d as CapabilityRequest, dn as dataEntriesFrameSchema, dr as roomMembersSchema, dt as RelayConnectFrame, en as capabilityTokenSchema, er as relayInboundFrameSchema, et as PingFrame, f as CapabilityScope, fn as dataHaveFrameSchema, fr as roomNoticeClaimsSchema, ft as RelayDataFrame, g as CoordinatorFrame, gn as dmRoomPathSchema, gr as roomRekeySchema, gt as RevocationClaims, h as CloseFrame, hn as deviceIdSchema, hr as roomReadSchema, ht as RevocationAnnounceFrame, i as BulkEndFrame, in as coreCapabilitySchema, ir as revocationEntrySchema, it as ProcSignal, j as ExecList, jn as manageOkSchema, jt as StreamAckFrame, k as DmRoomPath, kn as manageCommandSchema, kt as RoomRekey, l as CapabilityGrant, ln as coseSign1Schema, lr as roomMemberSchema, lt as PtySpawn, m as CapabilityVerb, mn as deviceIdHexSchema, mr as roomPathSchema, mt as RelayOfferFrame, n as BulkCancel, nn as closeFrameSchema, nr as revocationAnnounceFrameSchema, nt as PrivateUseDomainId, o as BulkResume, on as coseHeaderAlgSchema, or as roomJoinOkSchema, ot as ProtocolVersion, p as CapabilityToken, pn as dataRequestFrameSchema, pr as roomNoticeSchema, pt as RelayInboundFrame, q as MessageRef, qn as protocolVersionSchema, qt as bulkResumeSchema, r as BulkDataFrame, rn as coordinatorFrameSchema, rr as revocationClaimsSchema, rt as ProcKill, s as CandidateKind, sn as coseHeaderKidSchema, sr as roomJoinSchema, st as PtyKill, t as BulkAckFrame, tn as capabilityVerbSchema, tr as relayOfferFrameSchema, tt as PrivateUseCapability, u as CapabilityGrantOk, un as coseTokenHeadersSchema, ur as roomMembersOkSchema, ut as PtyWrite, v as CoreDomainName, vn as execListSchema, vr as streamAckFrameSchema, vt as RoomInvite, w as DataEntriesFrame, wn as handleRecordSchema, wr as transferIdSchema, wt as RoomMembersOk, x as CoseHeaderLabel, xn as frameVariantSchema, xr as streamSessionSchema, xt as RoomLeave, y as CoseHeaderAlg, yn as execSessionInfoSchema, yr as streamDataFrameSchema, yt as RoomJoin, z as IceCandidateInit, zn as peerAdvertSchema, zt as WebrtcIceCandidate } from "../protocol-gbXtNeOc.mjs";
|
|
2
|
+
export { BulkAckFrame, BulkCancel, BulkDataFrame, BulkEndFrame, BulkOpen, BulkResume, CandidateKind, CandidatesFrame, CapabilityGrant, CapabilityGrantOk, CapabilityRequest, CapabilityScope, CapabilityToken, CapabilityVerb, CloseFrame, CoordinatorFrame, CoreCapability, CoreDomainName, CoseHeaderAlg, CoseHeaderKid, CoseHeaderLabel, CoseSign1, CoseTokenHeaders, DataEntriesFrame, DataHaveFrame, DataRequestFrame, DeviceId, DeviceIdHex, DmRoomPath, DomainId, ExecList, ExecSessionInfo, Frame, FrameVariant, GossipFrame, HandleClaims, HandleRecord, HandshakeFrame, IceCandidateInit, IdentityKey, ManageCommand, ManageCommandParams, ManageError, ManageOk, ManageRequestFrame, ManageResponseFrame, MessageRef, NamespacedCapability, NamespacedDomainId, ObservedAddressFrame, OwnerNamedRoomPath, PeerAdvert, PeerIdentity, PingFrame, PrivateUseCapability, PrivateUseDomainId, ProcKill, ProcSignal, ProcSpawn, ProtocolVersion, PtyKill, PtyResize, PtySpawn, PtyWrite, RelayConnectFrame, RelayDataFrame, RelayInboundFrame, RelayOfferFrame, RevocationAnnounceFrame, RevocationClaims, RevocationEntry, RoomInvite, RoomJoin, RoomJoinOk, RoomLeave, RoomMember, RoomMembers, RoomMembersOk, RoomNotice, RoomNoticeClaims, RoomPath, RoomRead, RoomRekey, RoomSend, StreamAckFrame, StreamDataFrame, StreamEndFrame, StreamSession, SyncPunchFrame, TokenClaims, TransferId, WebrtcAnswer, WebrtcIceCandidate, WebrtcOffer, WireCandidate, bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomRekeySchema, roomSendSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
@@ -43,6 +43,7 @@ const manageCommandParamsSchema = z.lazy(() => z.union([
|
|
|
43
43
|
z.lazy(() => roomMembersSchema)
|
|
44
44
|
]),
|
|
45
45
|
z.union([z.lazy(() => roomJoinSchema), z.lazy(() => roomInviteSchema)]),
|
|
46
|
+
z.lazy(() => roomRekeySchema),
|
|
46
47
|
z.union([
|
|
47
48
|
z.lazy(() => webrtcOfferSchema),
|
|
48
49
|
z.lazy(() => webrtcAnswerSchema),
|
|
@@ -275,6 +276,11 @@ const roomInviteSchema = z.lazy(() => z.object({
|
|
|
275
276
|
"invitee": z.lazy(() => deviceIdSchema),
|
|
276
277
|
"token": z.lazy(() => capabilityTokenSchema)
|
|
277
278
|
}).catchall(z.unknown()));
|
|
279
|
+
const roomRekeySchema = z.lazy(() => z.object({
|
|
280
|
+
"verb": z.literal("room.rekey"),
|
|
281
|
+
"key-epoch": z.number().int().nonnegative(),
|
|
282
|
+
"wrapped-key": z.union([z.instanceof(Uint8Array), z.array(z.instanceof(Uint8Array))])
|
|
283
|
+
}).catchall(z.unknown()));
|
|
278
284
|
const roomMemberSchema = z.lazy(() => z.object({ "device": z.lazy(() => deviceIdSchema) }).catchall(z.unknown()));
|
|
279
285
|
const roomJoinOkSchema = z.lazy(() => z.object({
|
|
280
286
|
"result": z.literal("ok"),
|
|
@@ -296,7 +302,8 @@ const roomNoticeClaimsSchema = z.lazy(() => z.object({
|
|
|
296
302
|
"content-type": z.string(),
|
|
297
303
|
"content": z.instanceof(Uint8Array),
|
|
298
304
|
"refs": z.array(z.lazy(() => messageRefSchema)).optional(),
|
|
299
|
-
"valid-until": z.number().int().nonnegative().optional()
|
|
305
|
+
"valid-until": z.number().int().nonnegative().optional(),
|
|
306
|
+
"key-epoch": z.number().int().nonnegative().optional()
|
|
300
307
|
}).catchall(z.unknown()));
|
|
301
308
|
const streamSessionSchema = z.lazy(() => z.number().int().nonnegative());
|
|
302
309
|
const streamDataFrameSchema = z.lazy(() => z.object({
|
|
@@ -441,4 +448,4 @@ const iceCandidateInitSchema = z.lazy(() => z.object({
|
|
|
441
448
|
"username-fragment": z.string().optional()
|
|
442
449
|
}));
|
|
443
450
|
//#endregion
|
|
444
|
-
export { bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomSendSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
451
|
+
export { bulkAckFrameSchema, bulkCancelSchema, bulkDataFrameSchema, bulkEndFrameSchema, bulkOpenSchema, bulkResumeSchema, candidateKindSchema, candidatesFrameSchema, capabilityGrantOkSchema, capabilityGrantSchema, capabilityRequestSchema, capabilityScopeSchema, capabilityTokenSchema, capabilityVerbSchema, closeFrameSchema, coordinatorFrameSchema, coreCapabilitySchema, coreDomainNameSchema, coseHeaderAlgSchema, coseHeaderKidSchema, coseHeaderLabelSchema, coseSign1Schema, coseTokenHeadersSchema, dataEntriesFrameSchema, dataHaveFrameSchema, dataRequestFrameSchema, deviceIdHexSchema, deviceIdSchema, dmRoomPathSchema, domainIdSchema, execListSchema, execSessionInfoSchema, frameSchema, frameVariantSchema, gossipFrameSchema, handleClaimsSchema, handleRecordSchema, handshakeFrameSchema, iceCandidateInitSchema, identityKeySchema, manageCommandParamsSchema, manageCommandSchema, manageErrorSchema, manageOkSchema, manageRequestFrameSchema, manageResponseFrameSchema, messageRefSchema, namespacedCapabilitySchema, namespacedDomainIdSchema, observedAddressFrameSchema, ownerNamedRoomPathSchema, peerAdvertSchema, peerIdentitySchema, pingFrameSchema, privateUseCapabilitySchema, privateUseDomainIdSchema, procKillSchema, procSignalSchema, procSpawnSchema, protocolVersionSchema, ptyKillSchema, ptyResizeSchema, ptySpawnSchema, ptyWriteSchema, relayConnectFrameSchema, relayDataFrameSchema, relayInboundFrameSchema, relayOfferFrameSchema, revocationAnnounceFrameSchema, revocationClaimsSchema, revocationEntrySchema, roomInviteSchema, roomJoinOkSchema, roomJoinSchema, roomLeaveSchema, roomMemberSchema, roomMembersOkSchema, roomMembersSchema, roomNoticeClaimsSchema, roomNoticeSchema, roomPathSchema, roomReadSchema, roomRekeySchema, roomSendSchema, streamAckFrameSchema, streamDataFrameSchema, streamEndFrameSchema, streamSessionSchema, syncPunchFrameSchema, tokenClaimsSchema, transferIdSchema, webrtcAnswerSchema, webrtcIceCandidateSchema, webrtcOfferSchema, wireCandidateSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId } from "./protocol-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId } from "./protocol-gbXtNeOc.cjs";
|
|
2
2
|
//#region src/ports/identity.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Wraps the local node's own identity plus the signing/verification primitives capability-token handling needs -- never hardcoded to one crypto library's own API shape (Node's webcrypto, a WASM implementation, a hardware key, etc. can all satisfy this same contract).
|
|
@@ -12,6 +12,8 @@ interface IdentityPort {
|
|
|
12
12
|
verify: (key: IdentityKey, message: Uint8Array, signature: Uint8Array) => Promise<boolean>;
|
|
13
13
|
/** Derives the device-id an arbitrary public key would produce (SHA-256 of the raw public-key bytes -- never a certificate's own DER encoding, the bug both Cascade and agent-comms had to fix). Used to check a token's self-certifying issuer-key against its claimed issuer, not just the local node's own identity. */
|
|
14
14
|
deriveDeviceId: (publicKey: Uint8Array) => Promise<DeviceId>;
|
|
15
|
+
/** Derives a raw ECDH shared secret against a peer's identity-key, the asymmetric half of room.rekey's own ECIES key-wrapping construction (wire-mesh#141) -- HKDF and AES-256-GCM, the symmetric half, need no port since they operate on plain bytes already in hand, with no platform-specific key custody involved. Optional, not a method every implementation must throw from: ECDH is only defined here for an ES256 (P-256) identity-key, so an Ed25519-only identity genuinely cannot support it, the same "some identities can do this, some can't" reality `sign`'s own two-algorithm dispatch already reflects. A caller that needs this and finds it absent must fail closed, never substitute a different construction. Returns the raw shared-secret bytes, NOT yet an encryption key -- always pass through HKDF first, never use ECDH output directly as a symmetric key. */
|
|
16
|
+
deriveSharedSecret?: (peerKey: IdentityKey) => Promise<Uint8Array<ArrayBuffer>>;
|
|
15
17
|
}
|
|
16
18
|
//#endregion
|
|
17
19
|
export { IdentityPort as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as IdentityKey, D as DeviceId } from "./protocol-
|
|
1
|
+
import { B as IdentityKey, D as DeviceId } from "./protocol-gbXtNeOc.mjs";
|
|
2
2
|
//#region src/ports/identity.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Wraps the local node's own identity plus the signing/verification primitives capability-token handling needs -- never hardcoded to one crypto library's own API shape (Node's webcrypto, a WASM implementation, a hardware key, etc. can all satisfy this same contract).
|
|
@@ -12,6 +12,8 @@ interface IdentityPort {
|
|
|
12
12
|
verify: (key: IdentityKey, message: Uint8Array, signature: Uint8Array) => Promise<boolean>;
|
|
13
13
|
/** Derives the device-id an arbitrary public key would produce (SHA-256 of the raw public-key bytes -- never a certificate's own DER encoding, the bug both Cascade and agent-comms had to fix). Used to check a token's self-certifying issuer-key against its claimed issuer, not just the local node's own identity. */
|
|
14
14
|
deriveDeviceId: (publicKey: Uint8Array) => Promise<DeviceId>;
|
|
15
|
+
/** Derives a raw ECDH shared secret against a peer's identity-key, the asymmetric half of room.rekey's own ECIES key-wrapping construction (wire-mesh#141) -- HKDF and AES-256-GCM, the symmetric half, need no port since they operate on plain bytes already in hand, with no platform-specific key custody involved. Optional, not a method every implementation must throw from: ECDH is only defined here for an ES256 (P-256) identity-key, so an Ed25519-only identity genuinely cannot support it, the same "some identities can do this, some can't" reality `sign`'s own two-algorithm dispatch already reflects. A caller that needs this and finds it absent must fail closed, never substitute a different construction. Returns the raw shared-secret bytes, NOT yet an encryption key -- always pass through HKDF first, never use ECDH output directly as a symmetric key. */
|
|
16
|
+
deriveSharedSecret?: (peerKey: IdentityKey) => Promise<Uint8Array<ArrayBuffer>>;
|
|
15
17
|
}
|
|
16
18
|
//#endregion
|
|
17
19
|
export { IdentityPort as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { t as IdentityPort } from "../identity-B4XBWkqg.cjs";
|
|
2
2
|
export { IdentityPort };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IdentityPort } from "../identity-
|
|
1
|
+
import { t as IdentityPort } from "../identity-CIb9dGkJ.mjs";
|
|
2
2
|
export { IdentityPort };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Listener, r as Transport, t as Connection } from "../transport-
|
|
1
|
+
import { n as Listener, r as Transport, t as Connection } from "../transport-DAsFqDDS.cjs";
|
|
2
2
|
export { Connection, Listener, Transport };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Listener, r as Transport, t as Connection } from "../transport-
|
|
1
|
+
import { n as Listener, r as Transport, t as Connection } from "../transport-Dy4h2eNY.mjs";
|
|
2
2
|
export { Connection, Listener, Transport };
|
|
@@ -102,7 +102,11 @@ declare const manageCommandParamsSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodUni
|
|
|
102
102
|
"1": z.ZodOptional<z.ZodNumber>;
|
|
103
103
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
104
104
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
105
|
-
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.
|
|
105
|
+
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
106
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
107
|
+
"key-epoch": z.ZodNumber;
|
|
108
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
109
|
+
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
106
110
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
107
111
|
"negotiation-id": z.ZodNumber;
|
|
108
112
|
sdp: z.ZodString;
|
|
@@ -362,7 +366,11 @@ declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.Zod
|
|
|
362
366
|
"1": z.ZodOptional<z.ZodNumber>;
|
|
363
367
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
364
368
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
365
|
-
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.
|
|
369
|
+
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
370
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
371
|
+
"key-epoch": z.ZodNumber;
|
|
372
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
373
|
+
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
366
374
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
367
375
|
"negotiation-id": z.ZodNumber;
|
|
368
376
|
sdp: z.ZodString;
|
|
@@ -589,7 +597,11 @@ declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.
|
|
|
589
597
|
"1": z.ZodOptional<z.ZodNumber>;
|
|
590
598
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
591
599
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
592
|
-
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.
|
|
600
|
+
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
601
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
602
|
+
"key-epoch": z.ZodNumber;
|
|
603
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
604
|
+
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
593
605
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
594
606
|
"negotiation-id": z.ZodNumber;
|
|
595
607
|
sdp: z.ZodString;
|
|
@@ -787,7 +799,11 @@ declare const manageCommandSchema: z.ZodLazy<z.ZodObject<{
|
|
|
787
799
|
"1": z.ZodOptional<z.ZodNumber>;
|
|
788
800
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
789
801
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
790
|
-
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.
|
|
802
|
+
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
803
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
804
|
+
"key-epoch": z.ZodNumber;
|
|
805
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
806
|
+
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
791
807
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
792
808
|
"negotiation-id": z.ZodNumber;
|
|
793
809
|
sdp: z.ZodString;
|
|
@@ -896,7 +912,11 @@ declare const manageRequestFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
|
896
912
|
"1": z.ZodOptional<z.ZodNumber>;
|
|
897
913
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
898
914
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
899
|
-
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.
|
|
915
|
+
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
916
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
917
|
+
"key-epoch": z.ZodNumber;
|
|
918
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
919
|
+
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
900
920
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
901
921
|
"negotiation-id": z.ZodNumber;
|
|
902
922
|
sdp: z.ZodString;
|
|
@@ -1024,6 +1044,11 @@ declare const roomInviteSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1024
1044
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
1025
1045
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
1026
1046
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1047
|
+
declare const roomRekeySchema: z.ZodLazy<z.ZodObject<{
|
|
1048
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
1049
|
+
"key-epoch": z.ZodNumber;
|
|
1050
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
1051
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1027
1052
|
declare const roomMemberSchema: z.ZodLazy<z.ZodObject<{
|
|
1028
1053
|
device: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
1029
1054
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
@@ -1067,6 +1092,7 @@ declare const roomNoticeClaimsSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1067
1092
|
relation: z.ZodString;
|
|
1068
1093
|
}, z.core.$strip>>>>>;
|
|
1069
1094
|
"valid-until": z.ZodOptional<z.ZodNumber>;
|
|
1095
|
+
"key-epoch": z.ZodOptional<z.ZodNumber>;
|
|
1070
1096
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1071
1097
|
declare const streamSessionSchema: z.ZodLazy<z.ZodNumber>;
|
|
1072
1098
|
declare const streamDataFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
@@ -1279,6 +1305,7 @@ type RoomMembers = z.infer<typeof roomMembersSchema>;
|
|
|
1279
1305
|
type MessageRef = z.infer<typeof messageRefSchema>;
|
|
1280
1306
|
type RoomJoin = z.infer<typeof roomJoinSchema>;
|
|
1281
1307
|
type RoomInvite = z.infer<typeof roomInviteSchema>;
|
|
1308
|
+
type RoomRekey = z.infer<typeof roomRekeySchema>;
|
|
1282
1309
|
type RoomMember = z.infer<typeof roomMemberSchema>;
|
|
1283
1310
|
type RoomJoinOk = z.infer<typeof roomJoinOkSchema>;
|
|
1284
1311
|
type RoomMembersOk = z.infer<typeof roomMembersOkSchema>;
|
|
@@ -1319,4 +1346,4 @@ type WebrtcAnswer = z.infer<typeof webrtcAnswerSchema>;
|
|
|
1319
1346
|
type WebrtcIceCandidate = z.infer<typeof webrtcIceCandidateSchema>;
|
|
1320
1347
|
type IceCandidateInit = z.infer<typeof iceCandidateInitSchema>;
|
|
1321
1348
|
//#endregion
|
|
1322
|
-
export { PeerIdentity as $,
|
|
1349
|
+
export { PeerIdentity as $, relayDataFrameSchema as $n, capabilityScopeSchema as $t, DomainId as A, manageErrorSchema as An, RoomSend as At, IdentityKey as B, peerIdentitySchema as Bn, WebrtcOffer as Bt, CoseTokenHeaders as C, handleClaimsSchema as Cn, tokenClaimsSchema as Cr, RoomMembers as Ct, DeviceId as D, identityKeySchema as Dn, webrtcOfferSchema as Dr, RoomPath as Dt, DataRequestFrame as E, iceCandidateInitSchema as En, webrtcIceCandidateSchema as Er, RoomNoticeClaims as Et, GossipFrame as F, namespacedCapabilitySchema as Fn, SyncPunchFrame as Ft, ManageRequestFrame as G, procSignalSchema as Gn, bulkEndFrameSchema as Gt, ManageCommandParams as H, privateUseCapabilitySchema as Hn, bulkAckFrameSchema as Ht, HandleClaims as I, namespacedDomainIdSchema as In, TokenClaims as It, NamespacedCapability as J, ptyKillSchema as Jn, candidateKindSchema as Jt, ManageResponseFrame as K, procSpawnSchema as Kn, bulkOpenSchema as Kt, HandleRecord as L, observedAddressFrameSchema as Ln, TransferId as Lt, ExecSessionInfo as M, manageRequestFrameSchema as Mn, StreamDataFrame as Mt, Frame as N, manageResponseFrameSchema as Nn, StreamEndFrame as Nt, DeviceIdHex as O, manageCommandParamsSchema as On, wireCandidateSchema as Or, RoomRead as Ot, FrameVariant as P, messageRefSchema as Pn, StreamSession as Pt, PeerAdvert as Q, relayConnectFrameSchema as Qn, capabilityRequestSchema as Qt, HandshakeFrame as R, ownerNamedRoomPathSchema as Rn, WebrtcAnswer as Rt, CoseSign1 as S, gossipFrameSchema as Sn, syncPunchFrameSchema as Sr, RoomMember as St, DataHaveFrame as T, handshakeFrameSchema as Tn, webrtcAnswerSchema as Tr, RoomNotice as Tt, ManageError as U, privateUseDomainIdSchema as Un, bulkCancelSchema as Ut, ManageCommand as V, pingFrameSchema as Vn, WireCandidate as Vt, ManageOk as W, procKillSchema as Wn, bulkDataFrameSchema as Wt, ObservedAddressFrame as X, ptySpawnSchema as Xn, capabilityGrantOkSchema as Xt, NamespacedDomainId as Y, ptyResizeSchema as Yn, candidatesFrameSchema as Yt, OwnerNamedRoomPath as Z, ptyWriteSchema as Zn, capabilityGrantSchema as Zt, CoreCapability as _, domainIdSchema as _n, roomSendSchema as _r, RevocationEntry as _t, BulkOpen as a, coreDomainNameSchema as an, roomInviteSchema as ar, ProcSpawn as at, CoseHeaderKid as b, frameSchema as bn, streamEndFrameSchema as br, RoomJoinOk as bt, CandidatesFrame as c, coseHeaderLabelSchema as cn, roomLeaveSchema as cr, PtyResize as ct, CapabilityRequest as d, dataEntriesFrameSchema as dn, roomMembersSchema as dr, RelayConnectFrame as dt, capabilityTokenSchema as en, relayInboundFrameSchema as er, PingFrame as et, CapabilityScope as f, dataHaveFrameSchema as fn, roomNoticeClaimsSchema as fr, RelayDataFrame as ft, CoordinatorFrame as g, dmRoomPathSchema as gn, roomRekeySchema as gr, RevocationClaims as gt, CloseFrame as h, deviceIdSchema as hn, roomReadSchema as hr, RevocationAnnounceFrame as ht, BulkEndFrame as i, coreCapabilitySchema as in, revocationEntrySchema as ir, ProcSignal as it, ExecList as j, manageOkSchema as jn, StreamAckFrame as jt, DmRoomPath as k, manageCommandSchema as kn, RoomRekey as kt, CapabilityGrant as l, coseSign1Schema as ln, roomMemberSchema as lr, PtySpawn as lt, CapabilityVerb as m, deviceIdHexSchema as mn, roomPathSchema as mr, RelayOfferFrame as mt, BulkCancel as n, closeFrameSchema as nn, revocationAnnounceFrameSchema as nr, PrivateUseDomainId as nt, BulkResume as o, coseHeaderAlgSchema as on, roomJoinOkSchema as or, ProtocolVersion as ot, CapabilityToken as p, dataRequestFrameSchema as pn, roomNoticeSchema as pr, RelayInboundFrame as pt, MessageRef as q, protocolVersionSchema as qn, bulkResumeSchema as qt, BulkDataFrame as r, coordinatorFrameSchema as rn, revocationClaimsSchema as rr, ProcKill as rt, CandidateKind as s, coseHeaderKidSchema as sn, roomJoinSchema as sr, PtyKill as st, BulkAckFrame as t, capabilityVerbSchema as tn, relayOfferFrameSchema as tr, PrivateUseCapability as tt, CapabilityGrantOk as u, coseTokenHeadersSchema as un, roomMembersOkSchema as ur, PtyWrite as ut, CoreDomainName as v, execListSchema as vn, streamAckFrameSchema as vr, RoomInvite as vt, DataEntriesFrame as w, handleRecordSchema as wn, transferIdSchema as wr, RoomMembersOk as wt, CoseHeaderLabel as x, frameVariantSchema as xn, streamSessionSchema as xr, RoomLeave as xt, CoseHeaderAlg as y, execSessionInfoSchema as yn, streamDataFrameSchema as yr, RoomJoin as yt, IceCandidateInit as z, peerAdvertSchema as zn, WebrtcIceCandidate as zt };
|
|
@@ -102,7 +102,11 @@ declare const manageCommandParamsSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodUni
|
|
|
102
102
|
"1": z.ZodOptional<z.ZodNumber>;
|
|
103
103
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
104
104
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
105
|
-
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.
|
|
105
|
+
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
106
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
107
|
+
"key-epoch": z.ZodNumber;
|
|
108
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
109
|
+
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
106
110
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
107
111
|
"negotiation-id": z.ZodNumber;
|
|
108
112
|
sdp: z.ZodString;
|
|
@@ -362,7 +366,11 @@ declare const frameVariantSchema: z.ZodLazy<z.ZodUnion<readonly [z.ZodLazy<z.Zod
|
|
|
362
366
|
"1": z.ZodOptional<z.ZodNumber>;
|
|
363
367
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
364
368
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
365
|
-
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.
|
|
369
|
+
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
370
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
371
|
+
"key-epoch": z.ZodNumber;
|
|
372
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
373
|
+
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
366
374
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
367
375
|
"negotiation-id": z.ZodNumber;
|
|
368
376
|
sdp: z.ZodString;
|
|
@@ -589,7 +597,11 @@ declare const frameSchema: z.ZodLazy<z.ZodLazy<z.ZodLazy<z.ZodUnion<readonly [z.
|
|
|
589
597
|
"1": z.ZodOptional<z.ZodNumber>;
|
|
590
598
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
591
599
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
592
|
-
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.
|
|
600
|
+
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
601
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
602
|
+
"key-epoch": z.ZodNumber;
|
|
603
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
604
|
+
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
593
605
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
594
606
|
"negotiation-id": z.ZodNumber;
|
|
595
607
|
sdp: z.ZodString;
|
|
@@ -787,7 +799,11 @@ declare const manageCommandSchema: z.ZodLazy<z.ZodObject<{
|
|
|
787
799
|
"1": z.ZodOptional<z.ZodNumber>;
|
|
788
800
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
789
801
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
790
|
-
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.
|
|
802
|
+
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
803
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
804
|
+
"key-epoch": z.ZodNumber;
|
|
805
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
806
|
+
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
791
807
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
792
808
|
"negotiation-id": z.ZodNumber;
|
|
793
809
|
sdp: z.ZodString;
|
|
@@ -896,7 +912,11 @@ declare const manageRequestFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
|
896
912
|
"1": z.ZodOptional<z.ZodNumber>;
|
|
897
913
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
898
914
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
899
|
-
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.
|
|
915
|
+
}, z.core.$catchall<z.ZodUnknown>>>>]>, z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
916
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
917
|
+
"key-epoch": z.ZodNumber;
|
|
918
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
919
|
+
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodLazy<z.ZodLazy<z.ZodObject<{
|
|
900
920
|
verb: z.ZodLiteral<"webrtc.offer">;
|
|
901
921
|
"negotiation-id": z.ZodNumber;
|
|
902
922
|
sdp: z.ZodString;
|
|
@@ -1024,6 +1044,11 @@ declare const roomInviteSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1024
1044
|
"4": z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
1025
1045
|
}, z.core.$catchall<z.ZodUnknown>>>>, z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodNull]>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>], null>>>>>;
|
|
1026
1046
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1047
|
+
declare const roomRekeySchema: z.ZodLazy<z.ZodObject<{
|
|
1048
|
+
verb: z.ZodLiteral<"room.rekey">;
|
|
1049
|
+
"key-epoch": z.ZodNumber;
|
|
1050
|
+
"wrapped-key": z.ZodUnion<readonly [z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodArray<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>]>;
|
|
1051
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1027
1052
|
declare const roomMemberSchema: z.ZodLazy<z.ZodObject<{
|
|
1028
1053
|
device: z.ZodLazy<z.ZodLazy<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>>;
|
|
1029
1054
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
@@ -1067,6 +1092,7 @@ declare const roomNoticeClaimsSchema: z.ZodLazy<z.ZodObject<{
|
|
|
1067
1092
|
relation: z.ZodString;
|
|
1068
1093
|
}, z.core.$strip>>>>>;
|
|
1069
1094
|
"valid-until": z.ZodOptional<z.ZodNumber>;
|
|
1095
|
+
"key-epoch": z.ZodOptional<z.ZodNumber>;
|
|
1070
1096
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1071
1097
|
declare const streamSessionSchema: z.ZodLazy<z.ZodNumber>;
|
|
1072
1098
|
declare const streamDataFrameSchema: z.ZodLazy<z.ZodObject<{
|
|
@@ -1279,6 +1305,7 @@ type RoomMembers = z.infer<typeof roomMembersSchema>;
|
|
|
1279
1305
|
type MessageRef = z.infer<typeof messageRefSchema>;
|
|
1280
1306
|
type RoomJoin = z.infer<typeof roomJoinSchema>;
|
|
1281
1307
|
type RoomInvite = z.infer<typeof roomInviteSchema>;
|
|
1308
|
+
type RoomRekey = z.infer<typeof roomRekeySchema>;
|
|
1282
1309
|
type RoomMember = z.infer<typeof roomMemberSchema>;
|
|
1283
1310
|
type RoomJoinOk = z.infer<typeof roomJoinOkSchema>;
|
|
1284
1311
|
type RoomMembersOk = z.infer<typeof roomMembersOkSchema>;
|
|
@@ -1319,4 +1346,4 @@ type WebrtcAnswer = z.infer<typeof webrtcAnswerSchema>;
|
|
|
1319
1346
|
type WebrtcIceCandidate = z.infer<typeof webrtcIceCandidateSchema>;
|
|
1320
1347
|
type IceCandidateInit = z.infer<typeof iceCandidateInitSchema>;
|
|
1321
1348
|
//#endregion
|
|
1322
|
-
export { PeerIdentity as $,
|
|
1349
|
+
export { PeerIdentity as $, relayDataFrameSchema as $n, capabilityScopeSchema as $t, DomainId as A, manageErrorSchema as An, RoomSend as At, IdentityKey as B, peerIdentitySchema as Bn, WebrtcOffer as Bt, CoseTokenHeaders as C, handleClaimsSchema as Cn, tokenClaimsSchema as Cr, RoomMembers as Ct, DeviceId as D, identityKeySchema as Dn, webrtcOfferSchema as Dr, RoomPath as Dt, DataRequestFrame as E, iceCandidateInitSchema as En, webrtcIceCandidateSchema as Er, RoomNoticeClaims as Et, GossipFrame as F, namespacedCapabilitySchema as Fn, SyncPunchFrame as Ft, ManageRequestFrame as G, procSignalSchema as Gn, bulkEndFrameSchema as Gt, ManageCommandParams as H, privateUseCapabilitySchema as Hn, bulkAckFrameSchema as Ht, HandleClaims as I, namespacedDomainIdSchema as In, TokenClaims as It, NamespacedCapability as J, ptyKillSchema as Jn, candidateKindSchema as Jt, ManageResponseFrame as K, procSpawnSchema as Kn, bulkOpenSchema as Kt, HandleRecord as L, observedAddressFrameSchema as Ln, TransferId as Lt, ExecSessionInfo as M, manageRequestFrameSchema as Mn, StreamDataFrame as Mt, Frame as N, manageResponseFrameSchema as Nn, StreamEndFrame as Nt, DeviceIdHex as O, manageCommandParamsSchema as On, wireCandidateSchema as Or, RoomRead as Ot, FrameVariant as P, messageRefSchema as Pn, StreamSession as Pt, PeerAdvert as Q, relayConnectFrameSchema as Qn, capabilityRequestSchema as Qt, HandshakeFrame as R, ownerNamedRoomPathSchema as Rn, WebrtcAnswer as Rt, CoseSign1 as S, gossipFrameSchema as Sn, syncPunchFrameSchema as Sr, RoomMember as St, DataHaveFrame as T, handshakeFrameSchema as Tn, webrtcAnswerSchema as Tr, RoomNotice as Tt, ManageError as U, privateUseDomainIdSchema as Un, bulkCancelSchema as Ut, ManageCommand as V, pingFrameSchema as Vn, WireCandidate as Vt, ManageOk as W, procKillSchema as Wn, bulkDataFrameSchema as Wt, ObservedAddressFrame as X, ptySpawnSchema as Xn, capabilityGrantOkSchema as Xt, NamespacedDomainId as Y, ptyResizeSchema as Yn, candidatesFrameSchema as Yt, OwnerNamedRoomPath as Z, ptyWriteSchema as Zn, capabilityGrantSchema as Zt, CoreCapability as _, domainIdSchema as _n, roomSendSchema as _r, RevocationEntry as _t, BulkOpen as a, coreDomainNameSchema as an, roomInviteSchema as ar, ProcSpawn as at, CoseHeaderKid as b, frameSchema as bn, streamEndFrameSchema as br, RoomJoinOk as bt, CandidatesFrame as c, coseHeaderLabelSchema as cn, roomLeaveSchema as cr, PtyResize as ct, CapabilityRequest as d, dataEntriesFrameSchema as dn, roomMembersSchema as dr, RelayConnectFrame as dt, capabilityTokenSchema as en, relayInboundFrameSchema as er, PingFrame as et, CapabilityScope as f, dataHaveFrameSchema as fn, roomNoticeClaimsSchema as fr, RelayDataFrame as ft, CoordinatorFrame as g, dmRoomPathSchema as gn, roomRekeySchema as gr, RevocationClaims as gt, CloseFrame as h, deviceIdSchema as hn, roomReadSchema as hr, RevocationAnnounceFrame as ht, BulkEndFrame as i, coreCapabilitySchema as in, revocationEntrySchema as ir, ProcSignal as it, ExecList as j, manageOkSchema as jn, StreamAckFrame as jt, DmRoomPath as k, manageCommandSchema as kn, RoomRekey as kt, CapabilityGrant as l, coseSign1Schema as ln, roomMemberSchema as lr, PtySpawn as lt, CapabilityVerb as m, deviceIdHexSchema as mn, roomPathSchema as mr, RelayOfferFrame as mt, BulkCancel as n, closeFrameSchema as nn, revocationAnnounceFrameSchema as nr, PrivateUseDomainId as nt, BulkResume as o, coseHeaderAlgSchema as on, roomJoinOkSchema as or, ProtocolVersion as ot, CapabilityToken as p, dataRequestFrameSchema as pn, roomNoticeSchema as pr, RelayInboundFrame as pt, MessageRef as q, protocolVersionSchema as qn, bulkResumeSchema as qt, BulkDataFrame as r, coordinatorFrameSchema as rn, revocationClaimsSchema as rr, ProcKill as rt, CandidateKind as s, coseHeaderKidSchema as sn, roomJoinSchema as sr, PtyKill as st, BulkAckFrame as t, capabilityVerbSchema as tn, relayOfferFrameSchema as tr, PrivateUseCapability as tt, CapabilityGrantOk as u, coseTokenHeadersSchema as un, roomMembersOkSchema as ur, PtyWrite as ut, CoreDomainName as v, execListSchema as vn, streamAckFrameSchema as vr, RoomInvite as vt, DataEntriesFrame as w, handleRecordSchema as wn, transferIdSchema as wr, RoomMembersOk as wt, CoseHeaderLabel as x, frameVariantSchema as xn, streamSessionSchema as xr, RoomLeave as xt, CoseHeaderAlg as y, execSessionInfoSchema as yn, streamDataFrameSchema as yr, RoomJoin as yt, IceCandidateInit as z, peerAdvertSchema as zn, WebrtcIceCandidate as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DeviceId,
|
|
2
|
-
import { t as IdentityPort } from "./identity-
|
|
1
|
+
import { D as DeviceId, It as TokenClaims, _t as RevocationEntry, gt as RevocationClaims, p as CapabilityToken } from "./protocol-gbXtNeOc.cjs";
|
|
2
|
+
import { t as IdentityPort } from "./identity-B4XBWkqg.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,5 +1,5 @@
|
|
|
1
|
-
import { D as DeviceId,
|
|
2
|
-
import { t as IdentityPort } from "./identity-
|
|
1
|
+
import { D as DeviceId, It as TokenClaims, _t as RevocationEntry, gt as RevocationClaims, p as CapabilityToken } from "./protocol-gbXtNeOc.mjs";
|
|
2
|
+
import { t as IdentityPort } from "./identity-CIb9dGkJ.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,4 +1,4 @@
|
|
|
1
|
-
import { D as DeviceId, N as Frame } from "./protocol-
|
|
1
|
+
import { D as DeviceId, N as Frame } from "./protocol-gbXtNeOc.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.
|