@pluno/product-agent-web 0.1.165 → 0.1.166

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;
@@ -227,6 +230,12 @@ export declare class PlunoProductAgent {
227
230
  private pendingSessionHistoryRequests;
228
231
  private pendingSessionPinRequests;
229
232
  private pendingSessionRenameRequests;
233
+ private sessionLoadRequestId;
234
+ private sessionLoadRequestTimer;
235
+ private sessionItemsRequestId;
236
+ private sessionItemsCursor;
237
+ private hasLoadedOlderSessionItems;
238
+ private readonly loadedOlderSessionItemIds;
230
239
  private readonly transportIdentity;
231
240
  private retryAttemptsByClientMessageId;
232
241
  private retryTimersByClientMessageId;
@@ -301,6 +310,7 @@ export declare class PlunoProductAgent {
301
310
  setSessionPinned(sessionId: string, pinned: boolean): Promise<void>;
302
311
  renameSession(sessionId: string, title: string): Promise<void>;
303
312
  loadSession(sessionId: string): void;
313
+ loadOlderMessages(): void;
304
314
  private send;
305
315
  private getUploadToken;
306
316
  private sendNow;
@@ -326,6 +336,7 @@ export declare class PlunoProductAgent {
326
336
  private clearRetryTimers;
327
337
  private rememberUserMessageClientMessageIds;
328
338
  private rejectPendingSessionHistoryRequests;
339
+ private clearSessionLoadRequest;
329
340
  private sendSessionMutation;
330
341
  private resolvePendingSessionMutation;
331
342
  private rejectPendingSessionMutation;