@pluno/product-agent-web 0.1.162 → 0.1.164

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 CHANGED
@@ -110,6 +110,7 @@ export type ProductAgentAppearance = {
110
110
  fontFamily?: string;
111
111
  scribbleStyle?: boolean;
112
112
  };
113
+ export type ProductAgentTurnPhase = "sending" | "starting" | "thinking";
113
114
  export type ProductAgentState = {
114
115
  status: "idle" | "connecting" | "connected" | "reconnecting" | "closed" | "error";
115
116
  user: ProductAgentUser | null;
@@ -124,6 +125,7 @@ export type ProductAgentState = {
124
125
  assistantDraftRespondsToUserMessageId: string | null;
125
126
  assistantDraftRunId: string | null;
126
127
  pendingMessageStatus: "sending" | "reconnecting" | null;
128
+ turnPhase: ProductAgentTurnPhase | null;
127
129
  isThinking: boolean;
128
130
  isRetrying: boolean;
129
131
  lastError: string | null;
@@ -228,6 +230,7 @@ export declare class PlunoProductAgent {
228
230
  private readonly transportIdentity;
229
231
  private retryAttemptsByClientMessageId;
230
232
  private retryTimersByClientMessageId;
233
+ private readonly reportedHealthSignalKeys;
231
234
  private readonly clientMessageIdsByUserMessageItemId;
232
235
  private readonly backgroundSessionIds;
233
236
  private readonly backgroundClientMessageIds;
@@ -254,6 +257,7 @@ export declare class PlunoProductAgent {
254
257
  private readonly attachmentFiles;
255
258
  private sessionBrowserApisCleanup;
256
259
  private readonly activeBrowserToolCalls;
260
+ private readonly stoppedTurns;
257
261
  private readonly pendingToolLoadingByCallId;
258
262
  private readonly terminalToolCallIds;
259
263
  private readonly nonTranscriptToolCallIds;
@@ -309,6 +313,11 @@ export declare class PlunoProductAgent {
309
313
  private flushQueuedClientEvents;
310
314
  private flushPendingPassiveWarmup;
311
315
  private flushPendingComposerWarmup;
316
+ private findStoppedTurn;
317
+ private findStoppedTurnForEvent;
318
+ private rememberDurablyStoppedTurn;
319
+ private shouldIgnoreStoppedTurnEvent;
320
+ private filterStoppedSnapshotItems;
312
321
  private handleServerEvent;
313
322
  private shouldIgnoreBackgroundSessionEvent;
314
323
  private rememberCurrentRunAsBackground;
@@ -0,0 +1,2 @@
1
+ export declare const SAVE_RUNTIME_CAPTURED_SKILL_TOOL_NAME = "save_runtime_captured_skill";
2
+ export declare function isRuntimeCapturedSkillToolCall(data: Record<string, unknown>): boolean;
@@ -1,3 +1,4 @@
1
1
  export declare function normalizeProductAgentDownloadLinks(markdown: string, backendUrl?: string): string;
2
2
  export declare function isProductAgentDownloadHref(href: string | undefined, backendUrl?: string): boolean;
3
3
  export declare function normalizeAssistantMarkdown(markdown: string): string;
4
+ export declare function getAssistantMarkdownSummaryText(markdown: string): string;