@pluno/product-agent-web 0.1.134 → 0.1.136

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
@@ -42,6 +42,7 @@ export type ProductAgentMessage = {
42
42
  callId?: string;
43
43
  attachments?: ProductAgentAttachment[];
44
44
  loading?: boolean;
45
+ steered?: boolean;
45
46
  retryable?: boolean;
46
47
  integrationAuthRequest?: ProductAgentIntegrationAuthRequest;
47
48
  securitySettingsUrl?: string;
@@ -195,6 +196,7 @@ export declare class PlunoProductAgent {
195
196
  private networkBatchTimer;
196
197
  private queuedNetworkEvents;
197
198
  private queuedClientEvents;
199
+ private pendingWarmupEvent;
198
200
  private pendingSessionHistoryRequests;
199
201
  private readonly transportIdentity;
200
202
  private retryAttemptsByClientMessageId;
@@ -231,6 +233,7 @@ export declare class PlunoProductAgent {
231
233
  connect(): Promise<void>;
232
234
  disconnect(): void;
233
235
  destroy(): void;
236
+ warmup(reason?: "panel_open" | "extension_install" | "composer_input"): void;
234
237
  sendMessage(content: string, options?: {
235
238
  attachments?: ProductAgentAttachment[];
236
239
  clientMessageId?: string;
@@ -262,6 +265,7 @@ export declare class PlunoProductAgent {
262
265
  private refreshStarterPromptsForCurrentUrl;
263
266
  private clearStarterPromptUrlRefreshTimer;
264
267
  private flushQueuedClientEvents;
268
+ private flushPendingWarmupEvent;
265
269
  private handleServerEvent;
266
270
  private retryAfterRetryableError;
267
271
  private retryAfterInterruptedRun;
@@ -272,6 +276,7 @@ export declare class PlunoProductAgent {
272
276
  private scheduleThinkingWatchdog;
273
277
  private clearThinkingWatchdog;
274
278
  private handleRunAck;
279
+ private handleRunSteered;
275
280
  private scheduleRunAckWatchdog;
276
281
  private recoverMissedRunAck;
277
282
  private scheduleRunAckResyncRetry;
@@ -0,0 +1 @@
1
+ export declare function formatProductAgentMessageTimestamp(timestamp: string, now?: number, locales?: string | string[]): string;