@pluno/product-agent-web 0.1.188 → 0.1.190
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 +8 -0
- package/dist/product-agent-sdk.js +994 -915
- package/dist/product-agent-widget.js +2902 -2722
- package/dist/widget.d.ts +8 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -56,6 +56,10 @@ export type ProductAgentMessage = {
|
|
|
56
56
|
personalChannelConnectionRequest?: ProductAgentPersonalChannelConnectionRequest;
|
|
57
57
|
securitySettingsUrl?: string;
|
|
58
58
|
};
|
|
59
|
+
export type ProductAgentActiveScheduledFollowUp = {
|
|
60
|
+
taskId: string;
|
|
61
|
+
dueAt: string;
|
|
62
|
+
};
|
|
59
63
|
export type ProductAgentIntegrationAuthRequest = {
|
|
60
64
|
type: "pipedream_auth_required";
|
|
61
65
|
authRequestId: string;
|
|
@@ -131,6 +135,7 @@ export type ProductAgentState = {
|
|
|
131
135
|
starterPromptsLoading: boolean;
|
|
132
136
|
appearance: ProductAgentAppearance | null;
|
|
133
137
|
messages: ProductAgentMessage[];
|
|
138
|
+
activeScheduledFollowUps: ProductAgentActiveScheduledFollowUp[] | null;
|
|
134
139
|
isLoadingSession: boolean;
|
|
135
140
|
assistantDraft: string;
|
|
136
141
|
assistantDraftItemId: string | null;
|
|
@@ -281,6 +286,7 @@ export declare class PlunoProductAgent {
|
|
|
281
286
|
private lastUserMessagePageUrl;
|
|
282
287
|
private thinkingWatchdogResyncAttemptsByClientMessageId;
|
|
283
288
|
private retryableClientMessageId;
|
|
289
|
+
private stagedProactiveSuggestionQuestionMessageId;
|
|
284
290
|
private runtimeHelperJavascript;
|
|
285
291
|
private readonly attachmentFiles;
|
|
286
292
|
private sessionBrowserApisCleanup;
|
|
@@ -300,6 +306,7 @@ export declare class PlunoProductAgent {
|
|
|
300
306
|
static init(options: ProductAgentInitOptions): Promise<PlunoProductAgent>;
|
|
301
307
|
on<T extends EventName>(eventName: T, listener: Listener<T>): () => void;
|
|
302
308
|
getState(): ProductAgentState;
|
|
309
|
+
stageProactiveSuggestionQuestion(question: string): void;
|
|
303
310
|
connect(): Promise<void>;
|
|
304
311
|
disconnect(): void;
|
|
305
312
|
destroy(): void;
|
|
@@ -310,6 +317,7 @@ export declare class PlunoProductAgent {
|
|
|
310
317
|
clientMessageId?: string;
|
|
311
318
|
initiatedBy?: "pluno";
|
|
312
319
|
invocation?: ProductAgentInvocation | "pluno";
|
|
320
|
+
proactiveSuggestionQuestion?: string;
|
|
313
321
|
}): Promise<string | null>;
|
|
314
322
|
getModel(): ProductAgentModel | undefined;
|
|
315
323
|
setModel(model: ProductAgentModel): void;
|