@pluno/product-agent-web 0.1.167 → 0.1.169
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 -4
- package/dist/product-agent-sdk.js +842 -780
- package/dist/product-agent-widget.js +2672 -2509
- package/dist/widget.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ProductAgentModel = "gpt-5.4-nano" | "gpt-5.4-mini" | "gpt-5.4" | "gpt-5.6-luna" | "gpt-5.6-terra" | "gpt-5.6-sol";
|
|
2
|
-
export type ProductAgentEntrySurface = "extension_sidepanel" | "extension_widget" | "main_web_chat" | "automation" | "mcp" | "embedded_widget" | "embedded_custom_ui";
|
|
2
|
+
export type ProductAgentEntrySurface = "extension_sidepanel" | "extension_widget" | "main_web_chat" | "whatsapp" | "automation" | "mcp" | "embedded_widget" | "embedded_custom_ui";
|
|
3
3
|
export type ProductAgentProductVariant = "personal" | "customer_embedded";
|
|
4
4
|
export type ProductAgentLegacyEntrySurface = "sidepanel" | "browser_extension_page_ui" | "sdk_preview_widget" | "browser_extension_sdk_preview" | "sdk-preview" | "main_chat" | "automation_run";
|
|
5
5
|
export type ProductAgentInvocation = "user" | "automation" | "scheduled_continuation" | "private_continuation";
|
|
@@ -48,6 +48,7 @@ export type ProductAgentMessage = {
|
|
|
48
48
|
retryable?: boolean;
|
|
49
49
|
integrationAuthRequest?: ProductAgentIntegrationAuthRequest;
|
|
50
50
|
scheduledCheckInAt?: string;
|
|
51
|
+
personalChannelConnectionRequest?: ProductAgentPersonalChannelConnectionRequest;
|
|
51
52
|
securitySettingsUrl?: string;
|
|
52
53
|
};
|
|
53
54
|
export type ProductAgentIntegrationAuthRequest = {
|
|
@@ -58,6 +59,12 @@ export type ProductAgentIntegrationAuthRequest = {
|
|
|
58
59
|
appLogo?: string | null;
|
|
59
60
|
expiresAt: string;
|
|
60
61
|
};
|
|
62
|
+
export type ProductAgentPersonalChannelConnectionRequest = {
|
|
63
|
+
type: "personal_channel_connection_required";
|
|
64
|
+
requestId: string;
|
|
65
|
+
channel: "whatsapp";
|
|
66
|
+
managementUrl: string;
|
|
67
|
+
};
|
|
61
68
|
export type ProductAgentAttachment = {
|
|
62
69
|
id?: string;
|
|
63
70
|
name: string;
|
|
@@ -241,6 +248,7 @@ export declare class PlunoProductAgent {
|
|
|
241
248
|
private readonly transportIdentity;
|
|
242
249
|
private retryAttemptsByClientMessageId;
|
|
243
250
|
private retryTimersByClientMessageId;
|
|
251
|
+
private recoveryExhaustionRequestedClientMessageIds;
|
|
244
252
|
private readonly reportedHealthSignalKeys;
|
|
245
253
|
private readonly clientMessageIdsByUserMessageItemId;
|
|
246
254
|
private readonly backgroundSessionIds;
|
|
@@ -259,7 +267,6 @@ export declare class PlunoProductAgent {
|
|
|
259
267
|
private activeResponseUserMessageId;
|
|
260
268
|
private activeResponseRunId;
|
|
261
269
|
private activeUserMessageEvent;
|
|
262
|
-
private readonly browserConnectionInterruptedClientMessageIds;
|
|
263
270
|
private latestRecoverableClientMessageId;
|
|
264
271
|
private lastUserMessagePageUrl;
|
|
265
272
|
private thinkingWatchdogResyncAttemptsByClientMessageId;
|
|
@@ -336,6 +343,7 @@ export declare class PlunoProductAgent {
|
|
|
336
343
|
private rememberCurrentRunAsBackground;
|
|
337
344
|
private retryAfterRetryableError;
|
|
338
345
|
private retryAfterInterruptedRun;
|
|
346
|
+
private requestSessionRecoveryExhaustion;
|
|
339
347
|
private clearRetryTimers;
|
|
340
348
|
private rememberUserMessageClientMessageIds;
|
|
341
349
|
private rejectPendingSessionHistoryRequests;
|
|
@@ -381,8 +389,6 @@ export declare class PlunoProductAgent {
|
|
|
381
389
|
private replaceTimedOutSocket;
|
|
382
390
|
private setState;
|
|
383
391
|
private setReconnectingState;
|
|
384
|
-
private rememberBrowserConnectionInterruptionForActiveRun;
|
|
385
|
-
private getRunRecoveryExhaustedErrorMessage;
|
|
386
392
|
private emit;
|
|
387
393
|
}
|
|
388
394
|
declare global {
|