@pluno/product-agent-web 0.1.165 → 0.1.167

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/index.d.ts CHANGED
@@ -119,6 +119,9 @@ export type ProductAgentState = {
119
119
  starterPromptsLoading: boolean;
120
120
  appearance: ProductAgentAppearance | null;
121
121
  messages: ProductAgentMessage[];
122
+ isLoadingSession: boolean;
123
+ isLoadingOlderMessages: boolean;
124
+ hasOlderMessages: boolean;
122
125
  assistantDraft: string;
123
126
  assistantDraftItemId: string | null;
124
127
  assistantDraftPhase: "commentary" | "final_answer" | null;
@@ -215,6 +218,8 @@ export declare class PlunoProductAgent {
215
218
  private connectionAttemptId;
216
219
  private connectionInProgress;
217
220
  private token;
221
+ private authenticatedUserId;
222
+ private authenticatedSocket;
218
223
  private networkCaptureCleanup;
219
224
  private networkBatchTimer;
220
225
  private queuedNetworkEvents;
@@ -227,6 +232,12 @@ export declare class PlunoProductAgent {
227
232
  private pendingSessionHistoryRequests;
228
233
  private pendingSessionPinRequests;
229
234
  private pendingSessionRenameRequests;
235
+ private sessionLoadRequestId;
236
+ private sessionLoadRequestTimer;
237
+ private sessionItemsRequestId;
238
+ private sessionItemsCursor;
239
+ private hasLoadedOlderSessionItems;
240
+ private readonly loadedOlderSessionItemIds;
230
241
  private readonly transportIdentity;
231
242
  private retryAttemptsByClientMessageId;
232
243
  private retryTimersByClientMessageId;
@@ -301,6 +312,7 @@ export declare class PlunoProductAgent {
301
312
  setSessionPinned(sessionId: string, pinned: boolean): Promise<void>;
302
313
  renameSession(sessionId: string, title: string): Promise<void>;
303
314
  loadSession(sessionId: string): void;
315
+ loadOlderMessages(): void;
304
316
  private send;
305
317
  private getUploadToken;
306
318
  private sendNow;
@@ -311,6 +323,7 @@ export declare class PlunoProductAgent {
311
323
  private refreshStarterPromptsForCurrentUrl;
312
324
  private clearStarterPromptUrlRefreshTimer;
313
325
  private flushQueuedClientEvents;
326
+ private resetForAuthenticationScopeChange;
314
327
  private flushPendingPassiveWarmup;
315
328
  private flushPendingComposerWarmup;
316
329
  private findStoppedTurn;
@@ -326,6 +339,7 @@ export declare class PlunoProductAgent {
326
339
  private clearRetryTimers;
327
340
  private rememberUserMessageClientMessageIds;
328
341
  private rejectPendingSessionHistoryRequests;
342
+ private clearSessionLoadRequest;
329
343
  private sendSessionMutation;
330
344
  private resolvePendingSessionMutation;
331
345
  private rejectPendingSessionMutation;