@pairlobby/client 0.0.0-stage → 0.12.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/LICENSE ADDED
@@ -0,0 +1,93 @@
1
+ Elastic License 2.0
2
+
3
+ URL: https://www.elastic.co/licensing/elastic-license
4
+
5
+ ## Acceptance
6
+
7
+ By using the software, you agree to all of the terms and conditions below.
8
+
9
+ ## Copyright License
10
+
11
+ The licensor grants you a non-exclusive, royalty-free, worldwide,
12
+ non-sublicensable, non-transferable license to use, copy, distribute, make
13
+ available, and prepare derivative works of the software, in each case subject to
14
+ the limitations and conditions below.
15
+
16
+ ## Limitations
17
+
18
+ You may not provide the software to third parties as a hosted or managed
19
+ service, where the service provides users with access to any substantial set of
20
+ the features or functionality of the software.
21
+
22
+ You may not move, change, disable, or circumvent the license key functionality
23
+ in the software, and you may not remove or obscure any functionality in the
24
+ software that is protected by the license key.
25
+
26
+ You may not alter, remove, or obscure any licensing, copyright, or other notices
27
+ of the licensor in the software. Any use of the licensor’s trademarks is subject
28
+ to applicable law.
29
+
30
+ ## Patents
31
+
32
+ The licensor grants you a license, under any patent claims the licensor can
33
+ license, or becomes able to license, to make, have made, use, sell, offer for
34
+ sale, import and have imported the software, in each case subject to the
35
+ limitations and conditions in this license. This license does not cover any
36
+ patent claims that you cause to be infringed by modifications or additions to
37
+ the software. If you or your company make any written claim that the software
38
+ infringes or contributes to infringement of any patent, your patent license for
39
+ the software granted under these terms ends immediately. If your company makes
40
+ such a claim, your patent license ends immediately for work on behalf of your
41
+ company.
42
+
43
+ ## Notices
44
+
45
+ You must ensure that anyone who gets a copy of any part of the software from you
46
+ also gets a copy of these terms.
47
+
48
+ If you modify the software, you must include in any modified copies of the
49
+ software prominent notices stating that you have modified the software.
50
+
51
+ ## No Other Rights
52
+
53
+ These terms do not imply any licenses other than those expressly granted in
54
+ these terms.
55
+
56
+ ## Termination
57
+
58
+ If you use the software in violation of these terms, such use is not licensed,
59
+ and your licenses will automatically terminate. If the licensor provides you
60
+ with a notice of your violation, and you cease all violation of this license no
61
+ later than 30 days after you receive that notice, your licenses will be
62
+ reinstated retroactively. However, if you violate these terms after such
63
+ reinstatement, any additional violation of these terms will cause your licenses
64
+ to terminate automatically and permanently.
65
+
66
+ ## No Liability
67
+
68
+ *As far as the law allows, the software comes as is, without any warranty or
69
+ condition, and the licensor will not be liable to you for any damages arising
70
+ out of these terms or the use or nature of the software, under any kind of
71
+ legal claim.*
72
+
73
+ ## Definitions
74
+
75
+ The **licensor** is the entity offering these terms, and the **software** is the
76
+ software the licensor makes available under these terms, including any portion
77
+ of it.
78
+
79
+ **you** refers to the individual or entity agreeing to these terms.
80
+
81
+ **your company** is any legal entity, sole proprietorship, or other kind of
82
+ organization that you work for, plus all organizations that have control over,
83
+ are under the control of, or are under common control with that
84
+ organization. **control** means ownership of substantially all the assets of an
85
+ entity, or the power to direct its management and policies by vote, contract, or
86
+ otherwise. Control can be direct or indirect.
87
+
88
+ **your licenses** are all the licenses granted to you for the software under
89
+ these terms.
90
+
91
+ **use** means anything you do with the software requiring one of your licenses.
92
+
93
+ **trademark** means trademarks, service marks, and similar rights.
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
- # Temporary Holding Version
1
+ # @pairlobby/client
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Part of [PairLobby](https://github.com/PairLobby/app), built from `packages/client` at version 0.12.0. See that repository for documentation.
4
+
5
+ Licensed under the [Elastic License 2.0](LICENSE): you may use, copy, modify and distribute it, but may not offer it to others as a hosted or managed service.
@@ -0,0 +1,171 @@
1
+ import type { AdapterCapabilities, AutoClosePolicy, MessageRequest, MessageAction, TurnAction, TurnGrant, TurnMode, TurnQueue, RequestPage, CreateInviteResponse, ExportResponse, LocalRoom, ParticipantKind, NameSource, ParticipantRole, ReadEventsResponse, RoomEvent, RoomSnapshot, SendEventRequest, SendEventResponse } from '@pairlobby/protocol';
2
+ type RoomAccountAccess = {
3
+ private: boolean;
4
+ allowedAccounts: string[];
5
+ };
6
+ export type RoomAccountRestrictions = {
7
+ private: boolean;
8
+ accounts: string[];
9
+ preserveAllowlistSupported?: boolean;
10
+ };
11
+ type InviteAttempt = {
12
+ attemptId: string;
13
+ participantCredential: string;
14
+ };
15
+ type OperationResult = {
16
+ ok: boolean;
17
+ };
18
+ export type MessageStatusOptions = {
19
+ reason?: string;
20
+ turnToken?: string;
21
+ responseEventId?: string;
22
+ };
23
+ type HandoverRevisionResult = {
24
+ revision: number;
25
+ event: RoomEvent;
26
+ };
27
+ export type InterruptResult = {
28
+ revision: number;
29
+ event: RoomEvent;
30
+ fenced: string[];
31
+ };
32
+ type RoomEventResult = {
33
+ event: RoomEvent;
34
+ };
35
+ export interface ClientIdentity {
36
+ displayName: string;
37
+ nameSource?: NameSource;
38
+ kind: ParticipantKind;
39
+ sessionId?: string;
40
+ capabilities?: AdapterCapabilities;
41
+ }
42
+ export interface CreatedRoom {
43
+ roomId: string;
44
+ participantId: string;
45
+ controllerCredential: string;
46
+ participantCredential: string;
47
+ invite: {
48
+ code: string;
49
+ expiresAt: number;
50
+ };
51
+ room: RoomSnapshot;
52
+ }
53
+ export interface JoinedRoom {
54
+ roomId: string;
55
+ participantId: string;
56
+ participantCredential: string;
57
+ role: ParticipantRole;
58
+ room: RoomSnapshot;
59
+ }
60
+ /** An invitation to a hosted room, as its owner and admins see it. `guest` is a read-only observer. */
61
+ export type RoomInvitation = {
62
+ id: string;
63
+ handle: string;
64
+ role: 'member' | 'guest';
65
+ agents: number;
66
+ state: 'pending' | 'accepted';
67
+ createdAt: number;
68
+ expiresAt: number;
69
+ };
70
+ /** A relay's answer to an invite probe: it issued a matching code, it did not, it predates probes, or it could not be asked. */
71
+ export type InviteProbeResult = 'known' | 'unknown' | 'unsupported' | 'unreachable';
72
+ export type ServerShareInfo = {
73
+ /** Addresses other devices can join through; empty when the server only listens on the device running it. */
74
+ shareUrls: string[];
75
+ /** False when the server does not answer at all: a hosted or durable relay rather than `pairlobby serve`. */
76
+ reported: boolean;
77
+ /** True when a device on the same network or tailnet can find this server from an invite code alone. */
78
+ discoverable: boolean;
79
+ };
80
+ export declare class PairLobbyClient {
81
+ private readonly accountToken?;
82
+ private readonly signal?;
83
+ readonly serverUrl: string;
84
+ private socket;
85
+ private watermark;
86
+ private earliestSeq;
87
+ private liveEvents;
88
+ private liveBytes;
89
+ private liveRoom;
90
+ private changed;
91
+ constructor(serverUrl: string, accountToken?: string | undefined, signal?: AbortSignal | undefined);
92
+ createRoom(name: string, identity: ClientIdentity, expiresAt?: number | null, access?: RoomAccountAccess): Promise<CreatedRoom>;
93
+ /** `attemptId` and the credential must be reused across retries, or a crashed join forks a second membership. */
94
+ redeemInvite(code: string, identity: ClientIdentity, attempt?: InviteAttempt, useInviteName?: boolean): Promise<JoinedRoom>;
95
+ /**
96
+ * Asks whether this server issued an invite whose digest starts with `probe`
97
+ * (see `inviteProbe`), without sending the code. Never throws: a device looking
98
+ * for the right relay asks several, and most will not be it.
99
+ */
100
+ probeInvite(probe: string, timeoutMs?: number): Promise<InviteProbeResult>;
101
+ /** Older servers and hosted relays do not answer this, which means they have nothing extra to share. */
102
+ serverInfo(): Promise<ServerShareInfo>;
103
+ /** Joins a room this client's account is allowed into; needs the account token and a server with account login. */
104
+ joinWithAccount(roomId: string, identity: ClientIdentity, attempt?: InviteAttempt): Promise<JoinedRoom>;
105
+ snapshot(roomId: string, credential: string): Promise<RoomSnapshot>;
106
+ mintInvite(roomId: string, credential: string, role?: ParticipantRole, reusable?: boolean, expiresAt?: number | null, defaultName?: string): Promise<CreateInviteResponse>;
107
+ setLocked(roomId: string, credential: string, locked: boolean): Promise<RoomEventResult>;
108
+ setMuted(roomId: string, credential: string, participantId: string, muted: boolean): Promise<RoomEventResult>;
109
+ setRole(roomId: string, credential: string, participantId: string, role: 'member' | 'controller'): Promise<RoomSnapshot>;
110
+ accountRestrictions(roomId: string, credential: string): Promise<RoomAccountRestrictions>;
111
+ setAccountRestrictions(roomId: string, credential: string, privateRoom: boolean, emails?: string[]): Promise<OperationResult>;
112
+ setAllowedAccounts(roomId: string, credential: string, accounts: string[]): Promise<OperationResult>;
113
+ readEvents(roomId: string, credential: string, after: number, limit?: number): Promise<ReadEventsResponse>;
114
+ requests(roomId: string, credential: string, after?: number, limit?: number, recipientId?: string): Promise<RequestPage>;
115
+ turnQueue(roomId: string, credential: string): Promise<TurnQueue>;
116
+ setTurnMode(roomId: string, credential: string, mode: TurnMode): Promise<TurnQueue>;
117
+ controlTurn(roomId: string, credential: string, action: TurnAction): Promise<TurnQueue>;
118
+ claimTurn(roomId: string, credential: string, requestId: string, claimId: string): Promise<TurnGrant>;
119
+ renewTurn(roomId: string, credential: string, requestId: string, token: string): Promise<TurnGrant>;
120
+ declareWorking(roomId: string, credential: string, requestId: string, token: string): Promise<void>;
121
+ passTurn(roomId: string, credential: string, requestId: string, token: string): Promise<void>;
122
+ pendingRequests(roomId: string, credential: string, recipientId?: string): Promise<MessageRequest[]>;
123
+ request(roomId: string, credential: string, eventId: string): Promise<MessageRequest>;
124
+ acknowledgeMessage(roomId: string, credential: string, eventId: string): Promise<void>;
125
+ reportMessageStatus(roomId: string, credential: string, eventId: string, action: MessageAction | 'read', options?: MessageStatusOptions): Promise<void>;
126
+ deliveryFailed(roomId: string, credential: string, eventId: string, reason: string, turnToken?: string, stage?: MessageRequest['failureStage']): Promise<void>;
127
+ reply(roomId: string, credential: string, eventId: string, text: string, progress?: boolean, turnToken?: string): Promise<SendEventResponse>;
128
+ send(roomId: string, credential: string, request: SendEventRequest): Promise<SendEventResponse>;
129
+ control(roomId: string, credential: string, targetParticipantId: string, paused: boolean): Promise<HandoverRevisionResult>;
130
+ /** Stops one agent's running turn and holds its queued work until resume. Owner or admin only. */
131
+ interrupt(roomId: string, credential: string, targetParticipantId: string): Promise<InterruptResult>;
132
+ revoke(roomId: string, credential: string, participantId: string): Promise<RoomEventResult>;
133
+ leave(roomId: string, credential: string): Promise<RoomEventResult>;
134
+ rejoin(roomId: string, credential: string): Promise<RoomSnapshot>;
135
+ renameSelf(roomId: string, credential: string, name: string, source?: NameSource): Promise<RoomSnapshot>;
136
+ rename(roomId: string, credential: string, name: string): Promise<RoomEventResult>;
137
+ setAutoClose(roomId: string, credential: string, autoClose: AutoClosePolicy): Promise<RoomEventResult>;
138
+ setInviteRole(roomId: string, credential: string, inviteRole: 'member' | 'guest'): Promise<RoomEventResult>;
139
+ setJoinPolicy(roomId: string, credential: string, joinPolicy: 'invite_only' | 'open_to_guests'): Promise<RoomEventResult>;
140
+ /** Enters an open room as a read-only guest. No invite code, no credential to present. */
141
+ joinAsGuest(roomId: string, identity: ClientIdentity): Promise<JoinedRoom>;
142
+ /** Joins a room open to the relay's local network, as a member. The relay checks where the request comes from. */
143
+ joinOnLocalNetwork(roomId: string, identity: ClientIdentity): Promise<JoinedRoom>;
144
+ /**
145
+ * Rooms on this relay that its local network may join by name. Null when the relay
146
+ * cannot be reached, predates local joins, or does not count this device as local.
147
+ * Never throws: a device looking for a room asks several relays.
148
+ */
149
+ localRooms(name?: string, timeoutMs?: number): Promise<LocalRoom[] | null>;
150
+ /**
151
+ * Invites an account to a hosted room by its handle. The room credential must be
152
+ * the owner's or an admin's, and this client needs the inviter's account token:
153
+ * the person invited is told who asked.
154
+ */
155
+ inviteAccount(roomId: string, credential: string, handle: string, role?: 'member' | 'observer'): Promise<RoomInvitation>;
156
+ /** A hosted room's unanswered and accepted invitations, newest first. */
157
+ roomInvitations(roomId: string, credential: string): Promise<RoomInvitation[]>;
158
+ /** Withdraws an invitation nobody has answered yet. */
159
+ revokeInvitation(roomId: string, credential: string, invitationId: string): Promise<void>;
160
+ setLocalJoin(roomId: string, credential: string, localJoin: boolean): Promise<RoomEventResult>;
161
+ setExpiry(roomId: string, credential: string, expiresAt: number | null): Promise<RoomEventResult>;
162
+ close(roomId: string, credential: string): Promise<RoomEventResult>;
163
+ export(roomId: string, credential: string): Promise<ExportResponse>;
164
+ delete(roomId: string, credential: string): Promise<void>;
165
+ /** Hosted reads sleep on socket notifications; local relays retain polling. */
166
+ waitForChange(roomId: string, credential: string, after: number, timeoutMs: number, localIntervalMs?: number): Promise<void>;
167
+ closeLive(): void;
168
+ private call;
169
+ }
170
+ export {};
171
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACR,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,aAAa,EACb,UAAU,EACV,SAAS,EACT,QAAQ,EACR,SAAS,EACT,WAAW,EACX,oBAAoB,EAEpB,cAAc,EACd,SAAS,EACT,eAAe,EACf,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACpB,MAAM,qBAAqB,CAAC;AAE7B,KAAK,iBAAiB,GAAG;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,eAAe,EAAE,MAAM,EAAE,CAAA;CAAC,CAAC;AACvE,MAAM,MAAM,uBAAuB,GAAG;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,0BAA0B,CAAC,EAAE,OAAO,CAAA;CAAC,CAAC;AAEnH,KAAK,aAAa,GAAG;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,qBAAqB,EAAE,MAAM,CAAA;CAAC,CAAC;AAExE,KAAK,eAAe,GAAG;IAAC,EAAE,EAAE,OAAO,CAAA;CAAC,CAAC;AACrC,MAAM,MAAM,oBAAoB,GAAG;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,eAAe,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AAEnG,KAAK,sBAAsB,GAAG;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAC,CAAC;A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