@gengage/assistant-fe 0.6.46 → 0.6.48

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.
@@ -156,7 +156,19 @@ export declare class ChatDrawer {
156
156
  /** Remove one transcript bubble (e.g. superseded empty assistant placeholder). */
157
157
  removeMessageBubble(messageId: string): void;
158
158
  showTypingIndicator(searchText?: string, mode?: TypingIndicatorMode | 'auto'): void;
159
- /** Accumulate a new thinking step (shown as a checklist in the typing indicator). */
159
+ /**
160
+ * Re-establish the typing indicator after the first rendered answer tore it
161
+ * down, so staged progress from later agent rounds (e.g. top-picks ranking,
162
+ * a second planner round, enrichment) stays visible while the stream is
163
+ * still open. Unlike `showTypingIndicator`, this PRESERVES the accumulated
164
+ * `_thinkingSteps` (it does not call `removeTypingIndicator`) and is
165
+ * idempotent — if the indicator is already live it is a no-op, so a burst of
166
+ * post-answer loading events does not destroy/recreate the DOM and flicker.
167
+ * The indicator is torn down again on stream completion (onDone/onError →
168
+ * `removeTypingIndicator`).
169
+ */
170
+ resumeTypingIndicator(): void;
171
+ /** Track the latest thinking step shown by loading indicators. */
160
172
  addThinkingStep(text: string): void;
161
173
  setThinkingSteps(steps: string[]): void;
162
174
  removeTypingIndicator(): void;
@@ -313,6 +325,8 @@ export declare class ChatDrawer {
313
325
  restorePanelState(accountId: string): boolean;
314
326
  private _createLoadingSequence;
315
327
  private _applyLoadingSteps;
328
+ private _normalizeLoadingSteps;
329
+ private _uniqueLoadingSteps;
316
330
  private _clearLoadingBindingInterval;
317
331
  private _destroyLoadingBinding;
318
332
  private _updateSendEnabled;
@@ -1,4 +1,4 @@
1
- import { c as e, d as t, f as r, i as s, l as n, n as i, r as l, s as C, t as c, u as d } from "./runtime-DBmJg9TG.js";
1
+ import { c as e, d as t, f as r, i as s, l as n, n as i, r as l, s as C, t as c, u as d } from "./runtime-CtOsorKK.js";
2
2
  export {
3
3
  d as CHAT_SCROLL_ELEMENT_ID,
4
4
  s as ChatPresentationState,