@pluno/product-agent-web 0.1.155 → 0.1.157
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 +14 -0
- package/dist/product-agent-sdk.js +1733 -1548
- package/dist/product-agent-widget.js +3990 -3737
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -121,7 +121,9 @@ export type ProductAgentState = {
|
|
|
121
121
|
assistantDraftPhase: "commentary" | "final_answer" | null;
|
|
122
122
|
assistantDraftRespondsToUserMessageId: string | null;
|
|
123
123
|
assistantDraftRunId: string | null;
|
|
124
|
+
pendingMessageStatus: "sending" | "reconnecting" | null;
|
|
124
125
|
isThinking: boolean;
|
|
126
|
+
isRetrying: boolean;
|
|
125
127
|
lastError: string | null;
|
|
126
128
|
lastErrorCode: string | null;
|
|
127
129
|
lastErrorSecuritySettingsUrl: string | null;
|
|
@@ -227,7 +229,14 @@ export declare class PlunoProductAgent {
|
|
|
227
229
|
private thinkingWatchdogTimer;
|
|
228
230
|
private runAckWatchdogTimer;
|
|
229
231
|
private runAckResyncRetryTimer;
|
|
232
|
+
private pendingDeliveryAckTimer;
|
|
233
|
+
private pendingDeliveryRetryTimer;
|
|
234
|
+
private pendingClientMessageId;
|
|
235
|
+
private pendingUserMessageEvent;
|
|
236
|
+
private failedUserMessageEvent;
|
|
230
237
|
private activeClientMessageId;
|
|
238
|
+
private activeResponseUserMessageId;
|
|
239
|
+
private activeResponseRunId;
|
|
231
240
|
private activeUserMessageEvent;
|
|
232
241
|
private readonly browserConnectionInterruptedClientMessageIds;
|
|
233
242
|
private latestRecoverableClientMessageId;
|
|
@@ -307,6 +316,11 @@ export declare class PlunoProductAgent {
|
|
|
307
316
|
private scheduleThinkingWatchdog;
|
|
308
317
|
private clearThinkingWatchdog;
|
|
309
318
|
private handleRunAck;
|
|
319
|
+
private promotePendingDelivery;
|
|
320
|
+
private schedulePendingDeliveryAck;
|
|
321
|
+
private retryPendingDelivery;
|
|
322
|
+
private failPendingDelivery;
|
|
323
|
+
private clearPendingDeliveryTimers;
|
|
310
324
|
private handleRunSteered;
|
|
311
325
|
private scheduleRunAckWatchdog;
|
|
312
326
|
private recoverMissedRunAck;
|