@pluno/product-agent-web 0.1.188 → 0.1.189
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 +474 -424
- package/dist/product-agent-widget.js +2726 -2581
- package/dist/widget.d.ts +8 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -281,6 +281,7 @@ export declare class PlunoProductAgent {
|
|
|
281
281
|
private lastUserMessagePageUrl;
|
|
282
282
|
private thinkingWatchdogResyncAttemptsByClientMessageId;
|
|
283
283
|
private retryableClientMessageId;
|
|
284
|
+
private stagedProactiveSuggestionQuestionMessageId;
|
|
284
285
|
private runtimeHelperJavascript;
|
|
285
286
|
private readonly attachmentFiles;
|
|
286
287
|
private sessionBrowserApisCleanup;
|
|
@@ -300,6 +301,7 @@ export declare class PlunoProductAgent {
|
|
|
300
301
|
static init(options: ProductAgentInitOptions): Promise<PlunoProductAgent>;
|
|
301
302
|
on<T extends EventName>(eventName: T, listener: Listener<T>): () => void;
|
|
302
303
|
getState(): ProductAgentState;
|
|
304
|
+
stageProactiveSuggestionQuestion(question: string): void;
|
|
303
305
|
connect(): Promise<void>;
|
|
304
306
|
disconnect(): void;
|
|
305
307
|
destroy(): void;
|
|
@@ -310,6 +312,7 @@ export declare class PlunoProductAgent {
|
|
|
310
312
|
clientMessageId?: string;
|
|
311
313
|
initiatedBy?: "pluno";
|
|
312
314
|
invocation?: ProductAgentInvocation | "pluno";
|
|
315
|
+
proactiveSuggestionQuestion?: string;
|
|
313
316
|
}): Promise<string | null>;
|
|
314
317
|
getModel(): ProductAgentModel | undefined;
|
|
315
318
|
setModel(model: ProductAgentModel): void;
|