@pluno/product-agent-web 0.1.160 → 0.1.162

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
@@ -1,5 +1,6 @@
1
1
  export type ProductAgentModel = "gpt-5.4-nano" | "gpt-5.4-mini" | "gpt-5.4" | "gpt-5.6-luna" | "gpt-5.6-terra" | "gpt-5.6-sol";
2
2
  export type ProductAgentEntrySurface = "extension_sidepanel" | "extension_widget" | "main_web_chat" | "automation" | "mcp" | "embedded_widget" | "embedded_custom_ui";
3
+ export type ProductAgentProductVariant = "personal" | "customer_embedded";
3
4
  export type ProductAgentLegacyEntrySurface = "sidepanel" | "browser_extension_page_ui" | "sdk_preview_widget" | "browser_extension_sdk_preview" | "sdk-preview" | "main_chat" | "automation_run";
4
5
  export type ProductAgentInvocation = "user" | "automation" | "scheduled_continuation" | "private_continuation";
5
6
  export type ProductAgentUser = {
@@ -136,6 +137,7 @@ export type ProductAgentInitOptions = {
136
137
  model?: ProductAgentModel;
137
138
  clientId?: string;
138
139
  metadata?: Record<string, unknown> | (() => Record<string, unknown> | undefined);
140
+ productVariant?: ProductAgentProductVariant;
139
141
  entrySurface?: ProductAgentEntrySurface | ProductAgentLegacyEntrySurface;
140
142
  autoConnect?: boolean;
141
143
  initialStarterPrompts?: string[];
@@ -215,7 +217,11 @@ export declare class PlunoProductAgent {
215
217
  private networkBatchTimer;
216
218
  private queuedNetworkEvents;
217
219
  private queuedClientEvents;
218
- private pendingWarmupEvent;
220
+ private pendingPassiveWarmupEvent;
221
+ private pendingComposerWarmup;
222
+ private activeComposerWarmupId;
223
+ private activeComposerWarmupScope;
224
+ private pendingWarmupAckTimer;
219
225
  private pendingSessionHistoryRequests;
220
226
  private pendingSessionPinRequests;
221
227
  private pendingSessionRenameRequests;
@@ -301,7 +307,8 @@ export declare class PlunoProductAgent {
301
307
  private refreshStarterPromptsForCurrentUrl;
302
308
  private clearStarterPromptUrlRefreshTimer;
303
309
  private flushQueuedClientEvents;
304
- private flushPendingWarmupEvent;
310
+ private flushPendingPassiveWarmup;
311
+ private flushPendingComposerWarmup;
305
312
  private handleServerEvent;
306
313
  private shouldIgnoreBackgroundSessionEvent;
307
314
  private rememberCurrentRunAsBackground;
@@ -343,6 +350,8 @@ export declare class PlunoProductAgent {
343
350
  private startHeartbeat;
344
351
  private stopHeartbeat;
345
352
  private clearHeartbeatAckTimer;
353
+ private clearPendingWarmupAckTimer;
354
+ private clearPendingComposerWarmup;
346
355
  private clearSocketConnectTimer;
347
356
  private clearSocketAuthTimer;
348
357
  private clearSocketPhaseTimers;