@pluno/product-agent-web 0.1.196 → 0.1.199

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.
@@ -0,0 +1,4 @@
1
+ export type ProductAgentActivityLoadingCandidate = {
2
+ terminal: boolean;
3
+ };
4
+ export declare function selectProductAgentActivityLoading(activities: readonly ProductAgentActivityLoadingCandidate[], active: boolean): boolean[];
package/dist/index.d.ts CHANGED
@@ -268,6 +268,9 @@ export declare class ProductAgentSessionEngine {
268
268
  private pendingSessionHistoryRequests;
269
269
  private readonly sessionHistoryManager;
270
270
  private readonly sessionRecoveryPoller;
271
+ private readonly sessionActivityRecovery;
272
+ private readonly sessionActivityRecoveryPoller;
273
+ private sessionRecoveryScope;
271
274
  private account;
272
275
  private usingPaidCreditFallback;
273
276
  private readonly accountListeners;
@@ -293,6 +296,7 @@ export declare class ProductAgentSessionEngine {
293
296
  private readonly backgroundSessionIds;
294
297
  private readonly backgroundClientMessageIds;
295
298
  private readonly deferredSessionUpdatedSessionIds;
299
+ private readonly sessionTimelineCache;
296
300
  private readonly detachedSessionIds;
297
301
  private readonly detachedClientMessageIds;
298
302
  private readonly deferredDetachedSessionEvents;
@@ -401,6 +405,8 @@ export declare class ProductAgentSessionEngine {
401
405
  private clearStarterPromptUrlRefreshTimer;
402
406
  private flushQueuedClientEvents;
403
407
  private resetForAuthenticationScopeChange;
408
+ private rememberSessionTimeline;
409
+ private getCachedSessionTimeline;
404
410
  private flushPendingWidgetLifecycleEvents;
405
411
  private flushPendingPassiveWarmup;
406
412
  private flushPendingComposerWarmup;
@@ -415,6 +421,7 @@ export declare class ProductAgentSessionEngine {
415
421
  private updatePersonalModelFromSession;
416
422
  private updateAccountFallbackFromSession;
417
423
  private shouldIgnoreBackgroundSessionEvent;
424
+ private updateInactiveSessionTimelineCache;
418
425
  private shouldIgnoreDetachedSessionEvent;
419
426
  private shouldDeferDetachedSessionEvent;
420
427
  private rememberCurrentRunAsDetached;
@@ -466,6 +473,7 @@ export declare class ProductAgentSessionEngine {
466
473
  private setState;
467
474
  private setReconnectingState;
468
475
  private startSessionRecoveryPolling;
476
+ private stopSessionRecoveryPolling;
469
477
  private applySessionRecoverySnapshot;
470
478
  private emit;
471
479
  }