@pluno/product-agent-web 0.1.134 → 0.1.135
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 +3 -0
- package/dist/product-agent-sdk.js +115 -102
- package/dist/product-agent-widget.js +1433 -1415
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -195,6 +195,7 @@ export declare class PlunoProductAgent {
|
|
|
195
195
|
private networkBatchTimer;
|
|
196
196
|
private queuedNetworkEvents;
|
|
197
197
|
private queuedClientEvents;
|
|
198
|
+
private pendingWarmupEvent;
|
|
198
199
|
private pendingSessionHistoryRequests;
|
|
199
200
|
private readonly transportIdentity;
|
|
200
201
|
private retryAttemptsByClientMessageId;
|
|
@@ -231,6 +232,7 @@ export declare class PlunoProductAgent {
|
|
|
231
232
|
connect(): Promise<void>;
|
|
232
233
|
disconnect(): void;
|
|
233
234
|
destroy(): void;
|
|
235
|
+
warmup(reason?: "panel_open" | "extension_install" | "composer_input"): void;
|
|
234
236
|
sendMessage(content: string, options?: {
|
|
235
237
|
attachments?: ProductAgentAttachment[];
|
|
236
238
|
clientMessageId?: string;
|
|
@@ -262,6 +264,7 @@ export declare class PlunoProductAgent {
|
|
|
262
264
|
private refreshStarterPromptsForCurrentUrl;
|
|
263
265
|
private clearStarterPromptUrlRefreshTimer;
|
|
264
266
|
private flushQueuedClientEvents;
|
|
267
|
+
private flushPendingWarmupEvent;
|
|
265
268
|
private handleServerEvent;
|
|
266
269
|
private retryAfterRetryableError;
|
|
267
270
|
private retryAfterInterruptedRun;
|