@chat-leo/chatleolib 0.0.0-stage → 2.0.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 +21 -0
- package/README.md +69 -2
- package/dist/ChatLeoWorker.d.ts +83 -0
- package/dist/ChatLeoWorker.d.ts.map +1 -0
- package/dist/ChatLeoWorker.js +255 -0
- package/dist/ChatLeoWorker.js.map +1 -0
- package/dist/ChatRoom.d.ts +121 -0
- package/dist/ChatRoom.d.ts.map +1 -0
- package/dist/ChatRoom.js +416 -0
- package/dist/ChatRoom.js.map +1 -0
- package/dist/ChatStore.d.ts +252 -0
- package/dist/ChatStore.d.ts.map +1 -0
- package/dist/ChatStore.js +774 -0
- package/dist/ChatStore.js.map +1 -0
- package/dist/JwtUtils.d.ts +39 -0
- package/dist/JwtUtils.d.ts.map +1 -0
- package/dist/JwtUtils.js +89 -0
- package/dist/JwtUtils.js.map +1 -0
- package/dist/Outbox.d.ts +68 -0
- package/dist/Outbox.d.ts.map +1 -0
- package/dist/Outbox.js +253 -0
- package/dist/Outbox.js.map +1 -0
- package/dist/UploadManager.d.ts +80 -0
- package/dist/UploadManager.d.ts.map +1 -0
- package/dist/UploadManager.js +204 -0
- package/dist/UploadManager.js.map +1 -0
- package/dist/chatleo-push-sw.js +149 -0
- package/dist/chatleo-push-sw.js.map +1 -0
- package/dist/index.d.ts +236 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +8526 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +8535 -0
- package/dist/index.js.map +1 -0
- package/dist/index.umd.js +8541 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/push/PushService.d.ts +32 -0
- package/dist/push/PushService.d.ts.map +1 -0
- package/dist/push/PushService.js +215 -0
- package/dist/push/PushService.js.map +1 -0
- package/dist/push-sw/index.d.ts +9 -0
- package/dist/push-sw/index.d.ts.map +1 -0
- package/dist/push-sw/index.js +142 -0
- package/dist/push-sw/index.js.map +1 -0
- package/dist/push-sw/standalone.d.ts +2 -0
- package/dist/push-sw/standalone.d.ts.map +1 -0
- package/dist/push-sw/standalone.js +3 -0
- package/dist/push-sw/standalone.js.map +1 -0
- package/dist/transport/SocketIoTransport.d.ts +37 -0
- package/dist/transport/SocketIoTransport.d.ts.map +1 -0
- package/dist/transport/SocketIoTransport.js +209 -0
- package/dist/transport/SocketIoTransport.js.map +1 -0
- package/dist/transport/WsV2Transport.d.ts +109 -0
- package/dist/transport/WsV2Transport.d.ts.map +1 -0
- package/dist/transport/WsV2Transport.js +604 -0
- package/dist/transport/WsV2Transport.js.map +1 -0
- package/dist/transport/discovery.d.ts +43 -0
- package/dist/transport/discovery.d.ts.map +1 -0
- package/dist/transport/discovery.js +87 -0
- package/dist/transport/discovery.js.map +1 -0
- package/dist/transport/factory.d.ts +38 -0
- package/dist/transport/factory.d.ts.map +1 -0
- package/dist/transport/factory.js +79 -0
- package/dist/transport/factory.js.map +1 -0
- package/dist/transport/index.d.ts +7 -0
- package/dist/transport/index.d.ts.map +1 -0
- package/dist/transport/index.js +5 -0
- package/dist/transport/index.js.map +1 -0
- package/dist/transport/types.d.ts +174 -0
- package/dist/transport/types.d.ts.map +1 -0
- package/dist/transport/types.js +35 -0
- package/dist/transport/types.js.map +1 -0
- package/dist/transport/util.d.ts +8 -0
- package/dist/transport/util.d.ts.map +1 -0
- package/dist/transport/util.js +33 -0
- package/dist/transport/util.js.map +1 -0
- package/dist/types/shared.d.ts +281 -0
- package/dist/types/shared.d.ts.map +1 -0
- package/dist/types/shared.js +2 -0
- package/dist/types/shared.js.map +1 -0
- package/dist/types/uploads.d.ts +14 -0
- package/dist/types/uploads.d.ts.map +1 -0
- package/dist/types/uploads.js +3 -0
- package/dist/types/uploads.js.map +1 -0
- package/package.json +70 -3
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { ChatRoom } from './ChatRoom';
|
|
2
|
+
import { ChatLeoMessage, RoomSummary, UserProfile, ActiveCall, CallEventData, IncomingCall, NotificationLevel } from './types/shared';
|
|
3
|
+
import type { AttachmentUploadRef } from './types/uploads';
|
|
4
|
+
import { UploadManager } from './UploadManager';
|
|
5
|
+
import type { TransportEvent } from './transport/types';
|
|
6
|
+
export type ConnectionStatus = 'connected' | 'connecting' | 'reconnecting' | 'disconnected';
|
|
7
|
+
/** Loads a page of messages older than the given cursor (sync-capable or legacy). */
|
|
8
|
+
export interface OlderMessagesLoader {
|
|
9
|
+
(roomId: string, before: {
|
|
10
|
+
seq?: number;
|
|
11
|
+
createdAt?: string;
|
|
12
|
+
}): Promise<{
|
|
13
|
+
messages: ChatLeoMessage[];
|
|
14
|
+
hasMore: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
17
|
+
/** Callbacks the library installs so message components can retry/discard local sends. */
|
|
18
|
+
export interface MessageActions {
|
|
19
|
+
retry(roomId: string, clientId: string): void;
|
|
20
|
+
discard(roomId: string, clientId: string): void;
|
|
21
|
+
}
|
|
22
|
+
/** An ephemeral activity (typing, thinking, tool use, status) of a room member, as announced by the server. */
|
|
23
|
+
export interface RoomActivity {
|
|
24
|
+
roomId: string;
|
|
25
|
+
senderId: string;
|
|
26
|
+
kind: string;
|
|
27
|
+
activityId?: string;
|
|
28
|
+
state: 'start' | 'update' | 'end';
|
|
29
|
+
ttlMs: number;
|
|
30
|
+
/** Epoch ms after which the activity must no longer be displayed without a follow-up. */
|
|
31
|
+
expiresAt: number;
|
|
32
|
+
data?: Record<string, unknown>;
|
|
33
|
+
}
|
|
34
|
+
/** A message that is being produced incrementally (agent answers). Replaced by the persisted message when it arrives. */
|
|
35
|
+
export interface StreamState {
|
|
36
|
+
streamId: string;
|
|
37
|
+
roomId: string;
|
|
38
|
+
senderId: string;
|
|
39
|
+
contentType: string;
|
|
40
|
+
text: string;
|
|
41
|
+
status: 'streaming' | 'ended' | 'aborted';
|
|
42
|
+
reason?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @class ChatStore
|
|
46
|
+
* @extends EventTarget
|
|
47
|
+
* @description This class is the central state management for the chat application. It holds the collections of rooms, users, and presence information. It also owns the `UploadManager` and dispatches events when the store's data changes.
|
|
48
|
+
*/
|
|
49
|
+
export declare class ChatStore extends EventTarget {
|
|
50
|
+
#private;
|
|
51
|
+
readonly uploadManager: UploadManager;
|
|
52
|
+
/**
|
|
53
|
+
* @constructor
|
|
54
|
+
* @description Initializes the `ChatStore` by creating new maps for rooms and users, setting the initial connection status to `false`, and creating an `UploadManager` instance.
|
|
55
|
+
*/
|
|
56
|
+
constructor();
|
|
57
|
+
/**
|
|
58
|
+
* @method setAccessToken
|
|
59
|
+
* @description Sets the access token for the `UploadManager` to use for authorization.
|
|
60
|
+
* @param {string} token - The access token.
|
|
61
|
+
*/
|
|
62
|
+
setAccessToken(token: string): void;
|
|
63
|
+
/**
|
|
64
|
+
* @method addRoom
|
|
65
|
+
* @description Adds a new room to the store and dispatches a `roomAdded` event.
|
|
66
|
+
* @param {ChatRoom} room - The `ChatRoom` object to add.
|
|
67
|
+
*/
|
|
68
|
+
addRoom(room: ChatRoom): ChatRoom;
|
|
69
|
+
/**
|
|
70
|
+
* @method usernameResolver
|
|
71
|
+
* @description Resolves a user's profile from their ID. It first checks if the ID matches the current user's profile, and if not, it looks up the user in the `users` map.
|
|
72
|
+
* @param {string} userId - The ID of the user to resolve.
|
|
73
|
+
* @returns {UserProfile | undefined} The user's profile, or `undefined` if not found.
|
|
74
|
+
*/
|
|
75
|
+
usernameResolver(userId: string): UserProfile | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* @method addUser
|
|
78
|
+
* @description Adds a single user to the store and dispatches a `userChanged` event.
|
|
79
|
+
* @param {UserProfile} u - The user's profile.
|
|
80
|
+
*/
|
|
81
|
+
addUser(u: UserProfile): void;
|
|
82
|
+
/**
|
|
83
|
+
* @method addUsers
|
|
84
|
+
* @description Adds multiple users to the store and dispatches a `userAdded` event.
|
|
85
|
+
* @param {UserProfile[]} users - An array of user profiles to add.
|
|
86
|
+
*/
|
|
87
|
+
addUsers(users: UserProfile[]): void;
|
|
88
|
+
/**
|
|
89
|
+
* @method addProfile
|
|
90
|
+
* @description Sets the current user's profile and dispatches a `profileChanged` event.
|
|
91
|
+
* @param {UserProfile} u - The user's profile.
|
|
92
|
+
*/
|
|
93
|
+
addProfile(u: UserProfile): void;
|
|
94
|
+
/**
|
|
95
|
+
* @method addRoomMessages
|
|
96
|
+
* @description Adds an array of messages to a specific room.
|
|
97
|
+
* @param {string} roomId - The ID of the room to add the messages to.
|
|
98
|
+
* @param {ChatLeoMessage[]} msgs - The messages to add.
|
|
99
|
+
*/
|
|
100
|
+
addRoomMessages(roomId: string, msgs: ChatLeoMessage[], isLive?: boolean): void;
|
|
101
|
+
markRoomAsRead(roomId: string, seq?: number): void;
|
|
102
|
+
/** Applies a read marker reported by the server (another device), without echoing it back. */
|
|
103
|
+
applyRemoteRead(roomId: string, seq?: number): void;
|
|
104
|
+
/** Updates the unread badge from a server-side count (sync or room list). */
|
|
105
|
+
setRoomUnreadCount(roomId: string, count: number): void;
|
|
106
|
+
setRoomNotificationLevel(roomId: string, level: NotificationLevel): void;
|
|
107
|
+
roomById(roomId: string): ChatRoom | undefined;
|
|
108
|
+
/** The call currently running in a room, or `undefined`. */
|
|
109
|
+
activeCall(roomId: string): ActiveCall | undefined;
|
|
110
|
+
/** The ringing direct call, if any. */
|
|
111
|
+
get incomingCall(): IncomingCall | null;
|
|
112
|
+
/** Apply the active calls from a room list or sync response; rooms without one are cleared. */
|
|
113
|
+
applyActiveCalls(rooms: RoomSummary[]): void;
|
|
114
|
+
/** Apply one room's call summary (sync entry) or clear it. */
|
|
115
|
+
applyActiveCall(roomId: string, call: ActiveCall | null): void;
|
|
116
|
+
/** Apply one normalised call event. */
|
|
117
|
+
applyCallEvent(event: CallEventData): void;
|
|
118
|
+
/** Installs the library's paging implementation used by scroll-back in the room view. */
|
|
119
|
+
setOlderMessagesLoader(loader: OlderMessagesLoader): void;
|
|
120
|
+
/** Installs the library's outbox actions used by retry/discard in message components. */
|
|
121
|
+
setMessageActions(actions: MessageActions): void;
|
|
122
|
+
/**
|
|
123
|
+
* Loads one page of older messages for a room (scroll-back). Returns `true` when more pages
|
|
124
|
+
* exist. No-op while a page for that room is already loading.
|
|
125
|
+
*/
|
|
126
|
+
loadOlderMessages(roomId: string): Promise<boolean>;
|
|
127
|
+
retryMessage(roomId: string, clientId: string): void;
|
|
128
|
+
discardMessage(roomId: string, clientId: string): void;
|
|
129
|
+
/**
|
|
130
|
+
* @method setUserPresence
|
|
131
|
+
* @description Sets the presence status for a user and dispatches a `presenceChanged` event.
|
|
132
|
+
* @param {string} userId - The ID of the user.
|
|
133
|
+
* @param {boolean} online - `true` if the user is online, `false` otherwise.
|
|
134
|
+
*/
|
|
135
|
+
setUserPresence(userId: string, online: boolean, kind?: 'agent' | 'system'): void;
|
|
136
|
+
/** `agent` / `system` for non-human participants whose presence was announced with a kind. */
|
|
137
|
+
presenceKind(userId: string): 'agent' | 'system' | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* @method isOnline
|
|
140
|
+
* @description Checks if a user is currently online.
|
|
141
|
+
* @param {string} userId - The ID of the user to check.
|
|
142
|
+
* @returns {boolean} `true` if the user is online, `false` otherwise.
|
|
143
|
+
*/
|
|
144
|
+
isOnline(userId: string): boolean;
|
|
145
|
+
/**
|
|
146
|
+
* @getter profile
|
|
147
|
+
* @description Returns the profile of the current user.
|
|
148
|
+
* @returns {UserProfile | undefined} The user's profile, or `undefined` if not set.
|
|
149
|
+
*/
|
|
150
|
+
get profile(): UserProfile | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* @getter connectionStatus
|
|
153
|
+
* @description Returns the explicit connection status.
|
|
154
|
+
*/
|
|
155
|
+
get connectionStatus(): ConnectionStatus;
|
|
156
|
+
/**
|
|
157
|
+
* @getter isConnected
|
|
158
|
+
* @description Returns `true` when status is `connected`. Kept for backward compatibility.
|
|
159
|
+
*/
|
|
160
|
+
get isConnected(): boolean;
|
|
161
|
+
/**
|
|
162
|
+
* @method setConnectionStatus
|
|
163
|
+
* @description Sets the explicit connection status and dispatches `connectionStatusChanged`
|
|
164
|
+
* (and the legacy `connectionChanged` when the boolean changes).
|
|
165
|
+
*/
|
|
166
|
+
setConnectionStatus(status: ConnectionStatus): void;
|
|
167
|
+
/**
|
|
168
|
+
* @method setConnected
|
|
169
|
+
* @description Backward-compatible boolean bridge: maps true→connected, false→disconnected.
|
|
170
|
+
*/
|
|
171
|
+
setConnected(connected: boolean): void;
|
|
172
|
+
get activeRoomId(): string | null;
|
|
173
|
+
setActiveRoomId(id: string | null): void;
|
|
174
|
+
/** Sum of unread messages across all rooms. */
|
|
175
|
+
get unreadTotal(): number;
|
|
176
|
+
/**
|
|
177
|
+
* @getter isSessionExpired
|
|
178
|
+
* @description Returns whether the session has expired (token refresh failed).
|
|
179
|
+
*/
|
|
180
|
+
get isSessionExpired(): boolean;
|
|
181
|
+
/**
|
|
182
|
+
* @method setSessionExpired
|
|
183
|
+
* @description Sets the session-expired flag and dispatches a `sessionExpiredChanged` event.
|
|
184
|
+
*/
|
|
185
|
+
setSessionExpired(expired: boolean): void;
|
|
186
|
+
/**
|
|
187
|
+
* @getter rooms
|
|
188
|
+
* @description Returns an array of all the rooms in the store.
|
|
189
|
+
* @returns {ChatRoom[]} An array of `ChatRoom` objects.
|
|
190
|
+
*/
|
|
191
|
+
get rooms(): ChatRoom[];
|
|
192
|
+
/**
|
|
193
|
+
* @method roomMessages
|
|
194
|
+
* @description Retrieves all the messages for a specific room.
|
|
195
|
+
* @param {string} roomId - The ID of the room.
|
|
196
|
+
* @returns {ChatLeoMessage[]} An array of messages for the given room.
|
|
197
|
+
*/
|
|
198
|
+
roomMessages(roomId: string): ChatLeoMessage[];
|
|
199
|
+
/**
|
|
200
|
+
* @getter users
|
|
201
|
+
* @description Returns an array of all the users in the store.
|
|
202
|
+
* @returns {UserProfile[]} An array of `UserProfile` objects.
|
|
203
|
+
*/
|
|
204
|
+
get users(): UserProfile[];
|
|
205
|
+
/**
|
|
206
|
+
* @method bindRoom
|
|
207
|
+
* @description Binds a `messageAdded` event listener to a room, which will re-dispatch the event from the store.
|
|
208
|
+
* @param {ChatRoom} room - The room to bind to.
|
|
209
|
+
*/
|
|
210
|
+
bindRoom(room: ChatRoom): void;
|
|
211
|
+
/**
|
|
212
|
+
* @method unbindRoom
|
|
213
|
+
* @description Removes the `messageAdded` event listener from a room.
|
|
214
|
+
* @param {ChatRoom} room - The room to unbind from.
|
|
215
|
+
*/
|
|
216
|
+
unbindRoom(room: ChatRoom): void;
|
|
217
|
+
/**
|
|
218
|
+
* @method onRoomMessage
|
|
219
|
+
* @description Event handler for the `messageAdded` event from a `ChatRoom`. It re-dispatches the event as `roomMessageAdded` from the `ChatStore`.
|
|
220
|
+
* @param {Event} event - The `messageAdded` event.
|
|
221
|
+
*/
|
|
222
|
+
onRoomMessage(event: Event): void;
|
|
223
|
+
onRoomMessageUpdated(event: Event): void;
|
|
224
|
+
onRoomMessageRemoved(event: Event): void;
|
|
225
|
+
onRoomRead(event: Event): void;
|
|
226
|
+
onUnreadCountChanged(event: Event): void;
|
|
227
|
+
/**
|
|
228
|
+
* Highest message `seq` held per room. Used as resume cursors by protocol v2; rooms without
|
|
229
|
+
* sequenced messages are omitted.
|
|
230
|
+
*/
|
|
231
|
+
roomCursors(): Record<string, number>;
|
|
232
|
+
/** Cursors for `POST /api/v1/sync`: the highest contiguous seq, safe even after a live gap. */
|
|
233
|
+
roomSyncCursors(): Record<string, number>;
|
|
234
|
+
/** Applies a protocol-independent event from a transport. Connection-level events are handled by `ChatLeoLib`. */
|
|
235
|
+
applyTransportEvent(e: TransportEvent): void;
|
|
236
|
+
removeRoom(roomId: string): void;
|
|
237
|
+
/**
|
|
238
|
+
* Drops every room, message, user and call held in memory.
|
|
239
|
+
*
|
|
240
|
+
* Used on logout and when a session ends so a different person on the same device
|
|
241
|
+
* never sees the previous user's data.
|
|
242
|
+
*/
|
|
243
|
+
reset(): void;
|
|
244
|
+
/** Activities currently displayed in a room (expired and ended ones are filtered out). */
|
|
245
|
+
getActivities(roomId: string): RoomActivity[];
|
|
246
|
+
/** Streamed messages that are still in progress in a room. */
|
|
247
|
+
getStreams(roomId: string): StreamState[];
|
|
248
|
+
private ensureMessageUploads;
|
|
249
|
+
getComposerUploadsByMessage(messageId: string): AttachmentUploadRef[];
|
|
250
|
+
private bindUploadManager;
|
|
251
|
+
}
|
|
252
|
+
//# sourceMappingURL=ChatStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatStore.d.ts","sourceRoot":"","sources":["../src/ChatStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAmB,MAAM,gBAAgB,CAAC;AACvJ,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,YAAY,GAAG,cAAc,GAAG,cAAc,CAAC;AAE5F,qFAAqF;AACrF,MAAM,WAAW,mBAAmB;IAClC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC;QAAE,QAAQ,EAAE,cAAc,EAAE,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAC3H;AAED,0FAA0F;AAC1F,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;I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