@pluno/product-agent-web 0.1.180 → 0.1.182
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 +2 -8
- package/dist/product-agent-sdk.js +959 -968
- package/dist/product-agent-widget.js +2728 -2748
- package/dist/transportIdentity.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -130,8 +130,6 @@ export type ProductAgentState = {
|
|
|
130
130
|
appearance: ProductAgentAppearance | null;
|
|
131
131
|
messages: ProductAgentMessage[];
|
|
132
132
|
isLoadingSession: boolean;
|
|
133
|
-
isLoadingOlderMessages: boolean;
|
|
134
|
-
hasOlderMessages: boolean;
|
|
135
133
|
assistantDraft: string;
|
|
136
134
|
assistantDraftItemId: string | null;
|
|
137
135
|
assistantDraftPhase: "commentary" | "final_answer" | null;
|
|
@@ -250,10 +248,7 @@ export declare class PlunoProductAgent {
|
|
|
250
248
|
private sessionLoadRequestTimer;
|
|
251
249
|
private pendingSessionSubscription;
|
|
252
250
|
private sessionHistoryHydration;
|
|
253
|
-
private
|
|
254
|
-
private sessionItemsCursor;
|
|
255
|
-
private hasLoadedOlderSessionItems;
|
|
256
|
-
private readonly loadedOlderSessionItemIds;
|
|
251
|
+
private sessionActivityRequestId;
|
|
257
252
|
private readonly transportIdentity;
|
|
258
253
|
private retryAttemptsByClientMessageId;
|
|
259
254
|
private retryTimersByClientMessageId;
|
|
@@ -331,11 +326,10 @@ export declare class PlunoProductAgent {
|
|
|
331
326
|
setSessionPinned(sessionId: string, pinned: boolean): Promise<void>;
|
|
332
327
|
renameSession(sessionId: string, title: string): Promise<void>;
|
|
333
328
|
loadSession(sessionId: string): void;
|
|
334
|
-
loadOlderMessages(): void;
|
|
335
329
|
private canLoadSessionHistoryOverHttp;
|
|
336
330
|
private loadSessionHistoryOverHttp;
|
|
337
331
|
private subscribeToSessionBeforeHistory;
|
|
338
|
-
private
|
|
332
|
+
private autoLoadSessionActivity;
|
|
339
333
|
private fetchSessionHistoryPageUntilCurrent;
|
|
340
334
|
private failSessionHistoryRequest;
|
|
341
335
|
private send;
|