@pluno/product-agent-web 0.1.174 → 0.1.176
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 +10 -0
- package/dist/product-agent-sdk.js +950 -810
- package/dist/product-agent-widget.js +2581 -2375
- package/dist/widget.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -162,6 +162,8 @@ export type ProductAgentInitOptions = {
|
|
|
162
162
|
persistAttachmentUpload?: (input: ProductAgentPrepareAttachmentUploadInput, file: File) => Promise<Pick<ProductAgentAttachmentUpload, "sessionId" | "attachment">>;
|
|
163
163
|
restorePersistedState?: boolean;
|
|
164
164
|
expectedPersistedSessionId?: string | null;
|
|
165
|
+
runtimeCommunityId?: string;
|
|
166
|
+
automationRunId?: string;
|
|
165
167
|
keepRunsActiveOnSessionNavigation?: boolean;
|
|
166
168
|
capturePageContent?: boolean;
|
|
167
169
|
};
|
|
@@ -246,6 +248,8 @@ export declare class PlunoProductAgent {
|
|
|
246
248
|
private pendingSessionRenameRequests;
|
|
247
249
|
private sessionLoadRequestId;
|
|
248
250
|
private sessionLoadRequestTimer;
|
|
251
|
+
private pendingSessionSubscription;
|
|
252
|
+
private sessionHistoryHydration;
|
|
249
253
|
private sessionItemsRequestId;
|
|
250
254
|
private sessionItemsCursor;
|
|
251
255
|
private hasLoadedOlderSessionItems;
|
|
@@ -326,6 +330,12 @@ export declare class PlunoProductAgent {
|
|
|
326
330
|
renameSession(sessionId: string, title: string): Promise<void>;
|
|
327
331
|
loadSession(sessionId: string): void;
|
|
328
332
|
loadOlderMessages(): void;
|
|
333
|
+
private canLoadSessionHistoryOverHttp;
|
|
334
|
+
private loadSessionHistoryOverHttp;
|
|
335
|
+
private subscribeToSessionBeforeHistory;
|
|
336
|
+
private autoLoadRemainingSessionHistory;
|
|
337
|
+
private fetchSessionHistoryPageUntilCurrent;
|
|
338
|
+
private failSessionHistoryRequest;
|
|
329
339
|
private send;
|
|
330
340
|
private getUploadToken;
|
|
331
341
|
private sendNow;
|