@runtypelabs/persona 4.30.0 → 4.32.0

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.
Files changed (139) hide show
  1. package/README.md +22 -1
  2. package/dist/activity-ui.cjs +2 -2
  3. package/dist/activity-ui.d.cts +11 -3
  4. package/dist/activity-ui.d.ts +11 -3
  5. package/dist/activity-ui.js +1 -1
  6. package/dist/animations/glyph-cycle.d.cts +1 -1
  7. package/dist/animations/glyph-cycle.d.ts +1 -1
  8. package/dist/animations/wipe.d.cts +1 -1
  9. package/dist/animations/wipe.d.ts +1 -1
  10. package/dist/approval-ui.d.cts +2 -2
  11. package/dist/approval-ui.d.ts +2 -2
  12. package/dist/artifacts-ui.d.cts +3 -3
  13. package/dist/artifacts-ui.d.ts +3 -3
  14. package/dist/background-runtime.d.cts +1 -1
  15. package/dist/background-runtime.d.ts +1 -1
  16. package/dist/chunk-C2IbR39s.js +1 -0
  17. package/dist/chunk-CkE90FtA.js +2 -0
  18. package/dist/{chunk-n96BB0YH.js → chunk-CzZBmTLd.js} +1 -1
  19. package/dist/chunk-DABqu7C3.js +2 -0
  20. package/dist/chunk-DDAwu89-.js +1 -0
  21. package/dist/{chunk-CqEWCkJt.js → chunk-DZg9bFK6.js} +1 -1
  22. package/dist/chunk-DbD5qyBw.js +3 -0
  23. package/dist/{chunk-gayfbmEU.js → chunk-FEzOcZof.js} +1 -1
  24. package/dist/{chunk-UyZbbbz3.js → chunk-MdlQetfC.js} +2 -2
  25. package/dist/client-dispatch.js +1 -1
  26. package/dist/client-history.js +1 -1
  27. package/dist/codegen.cjs +1 -1
  28. package/dist/codegen.js +1 -1
  29. package/dist/composer-actions-runtime.d.cts +2 -2
  30. package/dist/composer-actions-runtime.d.ts +2 -2
  31. package/dist/{composer-input-C76gfIoK.d.cts → composer-input-dwg_o9Z-.d.cts} +1 -1
  32. package/dist/{composer-input-C76gfIoK.d.ts → composer-input-dwg_o9Z-.d.ts} +1 -1
  33. package/dist/{composer-store-C7tvaz90.d.cts → composer-store-Dw7Zbqxr.d.cts} +1 -1
  34. package/dist/{composer-store-C7tvaz90.d.ts → composer-store-Dw7Zbqxr.d.ts} +1 -1
  35. package/dist/{context-mention-manager-IfT4JHma.d.cts → context-mention-manager-D2p0-JH-.d.cts} +2 -2
  36. package/dist/{context-mention-manager-IfT4JHma.d.ts → context-mention-manager-D2p0-JH-.d.ts} +2 -2
  37. package/dist/context-mentions-inline.d.cts +2 -2
  38. package/dist/context-mentions-inline.d.ts +2 -2
  39. package/dist/context-mentions.d.cts +3 -3
  40. package/dist/context-mentions.d.ts +3 -3
  41. package/dist/{defaults-Cc_p0PGM.d.cts → defaults-CjX0kKzb.d.cts} +1 -1
  42. package/dist/{defaults-Cc_p0PGM.d.ts → defaults-CjX0kKzb.d.ts} +1 -1
  43. package/dist/dictation-runtime.d.cts +2 -2
  44. package/dist/dictation-runtime.d.ts +2 -2
  45. package/dist/event-stream-view.d.cts +1 -1
  46. package/dist/event-stream-view.d.ts +1 -1
  47. package/dist/{fallback-speech-engine-CSxWpG0A.d.cts → fallback-speech-engine-DmF7MczI.d.cts} +1 -1
  48. package/dist/{fallback-speech-engine-CSxWpG0A.d.ts → fallback-speech-engine-DmF7MczI.d.ts} +1 -1
  49. package/dist/{feature-preferences-eeSOmDxg.d.cts → feature-preferences-CVFDt9Xf.d.cts} +1 -1
  50. package/dist/{feature-preferences-eeSOmDxg.d.ts → feature-preferences-CVFDt9Xf.d.ts} +1 -1
  51. package/dist/forms-ui.d.cts +2 -2
  52. package/dist/forms-ui.d.ts +2 -2
  53. package/dist/{history-confirm-dialog-DXkuAgh-.d.cts → history-confirm-dialog-DJEXsTyE.d.cts} +1 -1
  54. package/dist/{history-confirm-dialog-DXkuAgh-.d.ts → history-confirm-dialog-DJEXsTyE.d.ts} +1 -1
  55. package/dist/history-shell.d.cts +6 -6
  56. package/dist/history-shell.d.ts +6 -6
  57. package/dist/history-view.d.cts +1 -1
  58. package/dist/history-view.d.ts +1 -1
  59. package/dist/index.cjs +49 -47
  60. package/dist/index.cjs.map +1 -1
  61. package/dist/index.d.cts +9 -9
  62. package/dist/index.d.ts +9 -9
  63. package/dist/index.global.js +1 -1
  64. package/dist/index.global.js.map +1 -1
  65. package/dist/index.js +43 -41
  66. package/dist/index.js.map +1 -1
  67. package/dist/{loading-label-runtime-loader-C53YyPJ-.d.cts → loading-label-runtime-loader-CPxnoaoi.d.cts} +1 -1
  68. package/dist/{loading-label-runtime-loader-C53YyPJ-.d.ts → loading-label-runtime-loader-CPxnoaoi.d.ts} +1 -1
  69. package/dist/loading-label-runtime.d.cts +1 -1
  70. package/dist/loading-label-runtime.d.ts +1 -1
  71. package/dist/markdown-parsers.js +18 -15
  72. package/dist/{message-bubble-Cg_sTXUN.d.cts → message-bubble-CkZGlCLC.d.cts} +1 -1
  73. package/dist/{message-bubble-Cg_sTXUN.d.ts → message-bubble-CkZGlCLC.d.ts} +1 -1
  74. package/dist/preferences-runtime.d.cts +1 -1
  75. package/dist/preferences-runtime.d.ts +1 -1
  76. package/dist/{preview-BeMKALry.d.cts → preview-DdUvoLb4.d.cts} +2 -2
  77. package/dist/{preview-BeMKALry.d.ts → preview-DdUvoLb4.d.ts} +2 -2
  78. package/dist/{registry-BBe-Lesw.d.ts → registry-Dz4iHNST.d.cts} +3 -1
  79. package/dist/{registry-BBe-Lesw.d.cts → registry-Dz4iHNST.d.ts} +3 -1
  80. package/dist/{session-C0fSteA4.d.cts → session-Baxp9iRK.d.cts} +24 -9
  81. package/dist/{session-C0fSteA4.d.ts → session-Baxp9iRK.d.ts} +24 -9
  82. package/dist/session-reconnect.d.cts +2 -2
  83. package/dist/session-reconnect.d.ts +2 -2
  84. package/dist/smart-dom-reader.d.cts +1 -1
  85. package/dist/smart-dom-reader.d.ts +1 -1
  86. package/dist/theme-editor-preview.cjs +47 -45
  87. package/dist/theme-editor-preview.d.cts +1 -1
  88. package/dist/theme-editor-preview.d.ts +1 -1
  89. package/dist/theme-editor-preview.js +23 -24
  90. package/dist/theme-editor.d.cts +2 -2
  91. package/dist/theme-editor.d.ts +2 -2
  92. package/dist/theme-reference.d.cts +2 -2
  93. package/dist/theme-reference.d.ts +2 -2
  94. package/dist/{tool-loading-animation-BvdaZfwh.d.cts → tool-loading-animation-un3kA5Ur.d.cts} +1 -1
  95. package/dist/{tool-loading-animation-BvdaZfwh.d.ts → tool-loading-animation-un3kA5Ur.d.ts} +1 -1
  96. package/dist/{turn-activity-ui-BYBlInZQ.d.cts → turn-activity-ui-BGNhtMcH.d.cts} +2 -2
  97. package/dist/{turn-activity-ui-BYBlInZQ.d.ts → turn-activity-ui-BGNhtMcH.d.ts} +2 -2
  98. package/dist/turn-activity-ui.d.cts +1 -1
  99. package/dist/turn-activity-ui.d.ts +1 -1
  100. package/dist/{types-CiXi4ICM.d.cts → types-BOZHQIk0.d.cts} +13 -1
  101. package/dist/{types-CiXi4ICM.d.ts → types-BOZHQIk0.d.ts} +13 -1
  102. package/dist/voice-client-tools.d.cts +1 -1
  103. package/dist/voice-client-tools.d.ts +1 -1
  104. package/dist/voice-runtime.cjs +1 -1
  105. package/dist/voice-runtime.d.cts +2 -2
  106. package/dist/voice-runtime.d.ts +2 -2
  107. package/dist/voice-runtime.js +1 -1
  108. package/dist/voice-worklet-player.d.cts +2 -2
  109. package/dist/voice-worklet-player.d.ts +2 -2
  110. package/dist/{webmcp-runtime-entry-BTbOg3Au.d.cts → webmcp-runtime-entry-DuAG1_yF.d.cts} +1 -1
  111. package/dist/{webmcp-runtime-entry-BTbOg3Au.d.ts → webmcp-runtime-entry-DuAG1_yF.d.ts} +1 -1
  112. package/dist/webmcp-runtime.d.cts +1 -1
  113. package/dist/webmcp-runtime.d.ts +1 -1
  114. package/dist/widget.css +1 -1
  115. package/package.json +2 -2
  116. package/src/activity-ui.ts +23 -0
  117. package/src/components/disclosure-animation.ts +5 -0
  118. package/src/components/tool-bubble.ts +1 -0
  119. package/src/index-core.ts +2 -0
  120. package/src/markdown-parsers-eager.ts +2 -1
  121. package/src/markdown-parsers-entry.ts +1 -0
  122. package/src/markdown-parsers-loader.ts +2 -0
  123. package/src/postprocessors.ts +14 -0
  124. package/src/session.ts +3 -0
  125. package/src/styles/widget.css +6 -0
  126. package/src/types.ts +13 -0
  127. package/src/ui.background-conversations.test.ts +6 -0
  128. package/src/ui.footer-visibility.test.ts +54 -0
  129. package/src/ui.page-cache.test.ts +268 -0
  130. package/src/ui.postprocess.test.ts +80 -1
  131. package/src/ui.reveal-tool-call.test.ts +258 -0
  132. package/src/ui.ts +222 -32
  133. package/src/utils/actions.ts +3 -0
  134. package/src/utils/streaming-markdown.test.ts +103 -0
  135. package/src/utils/streaming-markdown.ts +186 -0
  136. package/dist/chunk-18tPmsiJ.js +0 -1
  137. package/dist/chunk-B3OrH9Ng.js +0 -2
  138. package/dist/chunk-Dp2vWE9V.js +0 -1
  139. package/dist/chunk-VloQ2dnh.js +0 -1
@@ -1,11 +1,11 @@
1
- import { t as ComponentContext } from "./registry-BBe-Lesw.js";
2
- import { $ as AgentWidgetEvent, $r as HistoryConversationPage, $t as AgentWidgetStateSnapshot, A as AgentWidgetConfigPatch, Ar as ComposerQuote, B as AgentWidgetContextMentionRef, Bn as AttachmentPreviewRenderContext, Bt as AgentWidgetRunStartedEvent, C as AgentWidgetAttachmentsConfig, Ct as AgentWidgetMessage, Dn as AgentWidgetWebMcpConfig, Dr as ComposerOptionsPayload, E as AgentWidgetComponentRenderHandle, Hi as SpeechCallbacks, I as AgentWidgetContextMentionItem, Ja as RuntypeExecutionStreamEvent, Ki as StreamAnimationPlugin, Kn as ClientFeedbackRequest, Li as ResumableHandle, Ln as AskUserQuestionPayload, Lr as ContentPart, Mr as ComposerState, N as AgentWidgetContextMentionCommandContext, Ni as PreparedClientSession, Oa as HistoryListResult, Ot as AgentWidgetOpenConversationOptions, Pi as ReadAloudState, Q as AgentWidgetDockConfig, Qr as HistoryConversationDetail, Rr as ConversationExecutionState, U as AgentWidgetContextMentionSource, Ui as SpeechEngine, Ur as DictationState, Vn as AttachmentPreviewRenderHandle, Wi as SpeechRequest, Yn as ClientSession, Zi as VoiceClientTools, Zn as ClientToolDefinition, _a as WebMcpToolResult, _t as AgentWidgetMarkdownConfig, ai as HistoryReturnSurface, ao as BrandConfig, cn as AgentWidgetStreamCheckpoint, da as VoiceResult, di as InjectComponentDirectiveOptions, dn as AgentWidgetSuggestion, do as DeepPartial, ei as HistoryConversationPatch, en as AgentWidgetStorageAdapter, f as AgentWidgetActionParser, fa as VoiceSessionBridge, fi as InjectMessageOptions, g as AgentWidgetApprovalDecisionOptions, ga as WebMcpConfirmInfo, go as PersonaThemePlugin, ha as WebMcpConfirmHandler, ho as PersonaTheme, it as AgentWidgetHeaderLayoutConfig, j as AgentWidgetContentSegment, ji as PersonaArtifactRecord, jo as AgentWidgetPlugin, jr as ComposerResubmitOptions, k as AgentWidgetConfig, ki as PersonaArtifactManualUpsert, la as VoicePriorToolResult, li as ImageContentPart, ln as AgentWidgetStreamParser, m as AgentWidgetApproval, ma as VoiceTranscriptMetadata, mi as InjectUserMessageOptions, n as AgentExecutionState, ni as HistoryDisplayProjection, oi as HistoryScope, pa as VoiceStatus, pi as InjectSystemMessageOptions, q as AgentWidgetControllerEventMap, qi as TextContentPart, ri as HistoryIdentityStatus, sa as VoiceMetrics, ta as VoiceConfig, ti as HistoryConversationSummary, u as AgentWidgetActionHandler, ua as VoiceProvider, ui as InjectAssistantMessageOptions, ut as AgentWidgetInitOptions, vi as MessageContent, vt as AgentWidgetMarkdownOptions, x as AgentWidgetAttachmentAdapter, ya as WidgetHistoryInternals, yt as AgentWidgetMarkdownRendererOverrides, zt as AgentWidgetRunFinishedEvent } from "./types-CiXi4ICM.js";
3
- import { n as MentionSubmitBundle } from "./context-mention-manager-IfT4JHma.js";
4
- import { i as MessageTransform } from "./message-bubble-Cg_sTXUN.js";
5
- import "./feature-preferences-eeSOmDxg.js";
6
- import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-BTbOg3Au.js";
7
- import "./fallback-speech-engine-CSxWpG0A.js";
8
- import "./defaults-Cc_p0PGM.js";
1
+ import { t as ComponentContext } from "./registry-Dz4iHNST.js";
2
+ import { $ as AgentWidgetEvent, $r as HistoryConversationDetail, A as AgentWidgetConfigPatch, Ai as PersonaArtifactManualUpsert, B as AgentWidgetContextMentionRef, Bt as AgentWidgetRunFinishedEvent, C as AgentWidgetAttachmentsConfig, Ct as AgentWidgetMessage, E as AgentWidgetComponentRenderHandle, Fi as ReadAloudState, Gi as SpeechRequest, Hn as AttachmentPreviewRenderHandle, I as AgentWidgetContextMentionItem, Ji as TextContentPart, Mi as PersonaArtifactRecord, Mo as AgentWidgetPlugin, Mr as ComposerResubmitOptions, N as AgentWidgetContextMentionCommandContext, Nr as ComposerState, On as AgentWidgetWebMcpConfig, Or as ComposerOptionsPayload, Ot as AgentWidgetOpenConversationOptions, Pi as PreparedClientSession, Q as AgentWidgetDockConfig, Qi as VoiceClientTools, Qn as ClientToolDefinition, Ri as ResumableHandle, Rn as AskUserQuestionPayload, Rr as ContentPart, U as AgentWidgetContextMentionSource, Ui as SpeechCallbacks, Vn as AttachmentPreviewRenderContext, Vt as AgentWidgetRunStartedEvent, Wi as SpeechEngine, Wr as DictationState, Xn as ClientSession, Ya as RuntypeExecutionStreamEvent, _a as WebMcpConfirmInfo, _o as PersonaThemePlugin, _t as AgentWidgetMarkdownConfig, ba as WidgetHistoryInternals, ca as VoiceMetrics, da as VoiceProvider, di as InjectAssistantMessageOptions, ei as HistoryConversationPage, en as AgentWidgetStateSnapshot, f as AgentWidgetActionParser, fa as VoiceResult, fi as InjectComponentDirectiveOptions, fn as AgentWidgetSuggestion, fo as DeepPartial, g as AgentWidgetApprovalDecisionOptions, ga as WebMcpConfirmHandler, go as PersonaTheme, ha as VoiceTranscriptMetadata, hi as InjectUserMessageOptions, ii as HistoryIdentityStatus, it as AgentWidgetHeaderLayoutConfig, j as AgentWidgetContentSegment, jr as ComposerQuote, k as AgentWidgetConfig, ka as HistoryListResult, ln as AgentWidgetStreamCheckpoint, m as AgentWidgetApproval, ma as VoiceStatus, mi as InjectSystemMessageOptions, n as AgentExecutionState, na as VoiceConfig, ni as HistoryConversationSummary, oi as HistoryReturnSurface, oo as BrandConfig, pa as VoiceSessionBridge, pi as InjectMessageOptions, q as AgentWidgetControllerEventMap, qi as StreamAnimationPlugin, qn as ClientFeedbackRequest, ri as HistoryDisplayProjection, si as HistoryScope, ti as HistoryConversationPatch, tn as AgentWidgetStorageAdapter, u as AgentWidgetActionHandler, ua as VoicePriorToolResult, ui as ImageContentPart, un as AgentWidgetStreamParser, ut as AgentWidgetInitOptions, va as WebMcpToolResult, vt as AgentWidgetMarkdownOptions, x as AgentWidgetAttachmentAdapter, yi as MessageContent, yt as AgentWidgetMarkdownRendererOverrides, zr as ConversationExecutionState, zt as AgentWidgetRevealToolCallOptions } from "./types-BOZHQIk0.js";
3
+ import { n as MentionSubmitBundle } from "./context-mention-manager-D2p0-JH-.js";
4
+ import { i as MessageTransform } from "./message-bubble-CkZGlCLC.js";
5
+ import "./feature-preferences-CVFDt9Xf.js";
6
+ import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-DuAG1_yF.js";
7
+ import "./fallback-speech-engine-DmF7MczI.js";
8
+ import "./defaults-CjX0kKzb.js";
9
9
  import { IconNode as IconNode$1 } from "lucide";
10
10
  import "marked";
11
11
  //#region src/utils/legacy-diagnostics.d.ts
@@ -30,6 +30,7 @@ type ActionManagerOptions = {
30
30
  updateSessionMetadata: (updater: (prev: Record<string, unknown>) => Record<string, unknown>) => void;
31
31
  emit: <K extends keyof AgentWidgetControllerEventMap>(event: K, payload: AgentWidgetControllerEventMap[K]) => void;
32
32
  documentRef: Document | null;
33
+ captureResubmitGuard?: () => () => boolean;
33
34
  };
34
35
  declare const defaultJsonActionParser: AgentWidgetActionParser;
35
36
  declare const defaultActionHandlers: Record<string, AgentWidgetActionHandler>;
@@ -239,6 +240,12 @@ type Controller = {
239
240
  * (launcher mode) or textarea is unavailable.
240
241
  */
241
242
  focusInput: () => boolean;
243
+ /**
244
+ * Bring a tool call into view: opens any collapsed group holding it, expands its details
245
+ * (unless `expand: false`), scrolls it to the center of the transcript and briefly marks it
246
+ * with `data-persona-revealed`. Returns false when no rendered tool bubble has that id.
247
+ */
248
+ revealToolCall: (toolCallId: string, options?: AgentWidgetRevealToolCallOptions) => boolean;
242
249
  /**
243
250
  * Programmatically resolve a pending approval.
244
251
  * @param approvalId - The approval ID to resolve
@@ -886,6 +893,14 @@ declare class AgentWidgetClient {
886
893
  declare const createLocalStorageAdapter: (key?: string) => AgentWidgetStorageAdapter;
887
894
  //#endregion
888
895
  //#region src/postprocessors.d.ts
896
+ /**
897
+ * Repair incomplete Markdown for a streaming display before parsing it as HTML.
898
+ * Apply custom text transforms first, then pass the result and the callback's
899
+ * `streaming` flag here. Completed text is returned unchanged. This never
900
+ * mutates message content or raw payloads and does not load the parser chunk;
901
+ * until that chunk is ready, only the lightweight table repairs are available.
902
+ */
903
+ declare const preprocessStreamingMarkdown: (text: string, streaming: boolean) => string;
889
904
  /**
890
905
  * Options for creating a markdown processor
891
906
  */
@@ -2546,5 +2561,5 @@ declare class AgentWidgetSession {
2546
2561
  private upsertMessage;
2547
2562
  }
2548
2563
  //#endregion
2549
- export { BrowserVoiceProvider as $, createLocalStorageAdapter as $t, extractComponentDirectiveFromMessage as A, createActionManager as An, createImagePart as At, getColorScheme as B, createPlainTextParser as Bt, PRESETS as C, initAgentWidget as Cn, AttachmentManager as Ct, WidgetPreset as D, NPSFeedbackOptions as Dn, createSlashCommandsSource as Dt, PRESET_SHOP as E, CSATFeedbackOptions as En, SlashCommandDefinition as Et, isComponentDirectiveType as F, hasImages as Ft, ReadAloudController as G, resolveSanitizer as Gt, RovingTablistOptions as H, createXmlParser as Ht, applyThemeVariables as I, normalizeContent as It, BrowserSpeechEngineOptions as J, createMarkdownProcessor as Jt, ReadAloudListener as K, MarkdownProcessorOptions as Kt, createThemeObserver as L, validateImageFile as Lt, renderComponentDirective as M, defaultJsonActionParser as Mn, fileToImagePart as Mt, ComponentDirective as N, getDisplayText as Nt, getPreset as O, createCSATFeedback as On, createStaticMentionSource as Ot, createComponentStreamParser as P, getImageParts as Pt, isVoiceSupported as Q, markdownPostprocessor as Qt, detectColorScheme as R, createFlexibleJsonStreamParser as Rt, buildHeader as S, getAgentWidgetHandles as Sn, generateUserMessageId as St, PRESET_MINIMAL as T, createAgentExperience as Tn, PendingAttachment as Tt, createRovingTablist as U, SanitizeFunction as Ut, RovingTablistController as V, createRegexJsonParser as Vt, WebMcpBridge as W, createDefaultSanitizer as Wt, createBestAvailableVoiceProvider as X, directivePostprocessor as Xt, pickBestVoice as Y, createMarkdownProcessorFromConfig as Yt, createVoiceProvider as Z, escapeHtml as Zt, ComposerElements as _, ensureAskUserQuestionSheet as _n, VERSION as _t, SessionRunActivity as a, createWidgetHostLayout as an, accessibilityPlugin as at, HeaderElements as b, removeAskUserQuestionSheet as bn, generateAssistantMessageId as bt, HeaderLayoutContext as c, SUGGEST_REPLIES_TOOL_NAME as cn, createPlugin as ct, buildHeaderWithLayout as d, parseSuggestRepliesPayload as dn, InstallLoadingContext as dt, AgentWidgetClient as en, RuntypeVoiceProvider as et, buildMinimalHeader as f, ASK_USER_QUESTION_CLIENT_TOOL as fn, InstallLoadingRenderer as ft, ComposerBuildContext as g, createAskUserQuestionBubble as gn, pluginRegistry as gt, PanelElements as h, ASK_USER_QUESTION_TOOL_NAME as hn, unregisterStreamAnimationPlugin as ht, SessionHistoryState as i, WidgetHostLayoutMode as in, createDemoCarousel as it, hasComponentDirective as j, defaultActionHandlers as jn, createTextPart as jt, createComponentMiddleware as k, createNPSFeedback as kn, defaultMentionFilter as kt, HeaderLayoutRenderer as l, isSuggestRepliesMessage as ln, highContrastPlugin as lt, headerLayouts as m, builtInClientToolsForDispatch as mn, registerStreamAnimationPlugin as mt, AgentWidgetSessionStatus as n, SSEEventCallback as nn, DemoCarouselItem as nt, IconNode$1 as o, SUGGEST_REPLIES_CLIENT_TOOL as on, animationsPlugin as ot, getHeaderLayout as p, ASK_USER_QUESTION_PARAMETERS_SCHEMA as pn, listRegisteredStreamAnimations as pt, BrowserSpeechEngine as q, createDirectivePostprocessor as qt, SessionHistoryError as r, WidgetHostLayout as rn, DemoCarouselOptions as rt, RuntypeFlowSSEEvent as s, SUGGEST_REPLIES_PARAMETERS_SCHEMA as sn, brandPlugin as st, AgentWidgetSession as t, HistoryClientError as tn, DemoCarouselHandle as tt, buildDefaultHeader as u, latestAgentSuggestions as un, reducedMotionPlugin as ut, buildComposer as v, isAskUserQuestionMessage as vn, isDockedMountMode as vt, PRESET_FULLSCREEN as w, AgentWidgetController as wn, AttachmentManagerConfig as wt, attachHeaderToContainer as x, AgentWidgetInitHandle as xn, generateMessageId as xt, HeaderBuildContext as y, parseAskUserQuestionPayload as yn, resolveDockConfig as yt, getActiveTheme as z, createJsonStreamParser as zt };
2564
+ export { BrowserVoiceProvider as $, preprocessStreamingMarkdown as $t, extractComponentDirectiveFromMessage as A, createNPSFeedback as An, createImagePart as At, getColorScheme as B, createPlainTextParser as Bt, PRESETS as C, getAgentWidgetHandles as Cn, AttachmentManager as Ct, WidgetPreset as D, CSATFeedbackOptions as Dn, createSlashCommandsSource as Dt, PRESET_SHOP as E, createAgentExperience as En, SlashCommandDefinition as Et, isComponentDirectiveType as F, hasImages as Ft, ReadAloudController as G, resolveSanitizer as Gt, RovingTablistOptions as H, createXmlParser as Ht, applyThemeVariables as I, normalizeContent as It, BrowserSpeechEngineOptions as J, createMarkdownProcessor as Jt, ReadAloudListener as K, MarkdownProcessorOptions as Kt, createThemeObserver as L, validateImageFile as Lt, renderComponentDirective as M, defaultActionHandlers as Mn, fileToImagePart as Mt, ComponentDirective as N, defaultJsonActionParser as Nn, getDisplayText as Nt, getPreset as O, NPSFeedbackOptions as On, createStaticMentionSource as Ot, createComponentStreamParser as P, getImageParts as Pt, isVoiceSupported as Q, markdownPostprocessor as Qt, detectColorScheme as R, createFlexibleJsonStreamParser as Rt, buildHeader as S, AgentWidgetInitHandle as Sn, generateUserMessageId as St, PRESET_MINIMAL as T, AgentWidgetController as Tn, PendingAttachment as Tt, createRovingTablist as U, SanitizeFunction as Ut, RovingTablistController as V, createRegexJsonParser as Vt, WebMcpBridge as W, createDefaultSanitizer as Wt, createBestAvailableVoiceProvider as X, directivePostprocessor as Xt, pickBestVoice as Y, createMarkdownProcessorFromConfig as Yt, createVoiceProvider as Z, escapeHtml as Zt, ComposerElements as _, createAskUserQuestionBubble as _n, VERSION as _t, SessionRunActivity as a, WidgetHostLayoutMode as an, accessibilityPlugin as at, HeaderElements as b, parseAskUserQuestionPayload as bn, generateAssistantMessageId as bt, HeaderLayoutContext as c, SUGGEST_REPLIES_PARAMETERS_SCHEMA as cn, createPlugin as ct, buildHeaderWithLayout as d, latestAgentSuggestions as dn, InstallLoadingContext as dt, createLocalStorageAdapter as en, RuntypeVoiceProvider as et, buildMinimalHeader as f, parseSuggestRepliesPayload as fn, InstallLoadingRenderer as ft, ComposerBuildContext as g, ASK_USER_QUESTION_TOOL_NAME as gn, pluginRegistry as gt, PanelElements as h, builtInClientToolsForDispatch as hn, unregisterStreamAnimationPlugin as ht, SessionHistoryState as i, WidgetHostLayout as in, createDemoCarousel as it, hasComponentDirective as j, createActionManager as jn, createTextPart as jt, createComponentMiddleware as k, createCSATFeedback as kn, defaultMentionFilter as kt, HeaderLayoutRenderer as l, SUGGEST_REPLIES_TOOL_NAME as ln, highContrastPlugin as lt, headerLayouts as m, ASK_USER_QUESTION_PARAMETERS_SCHEMA as mn, registerStreamAnimationPlugin as mt, AgentWidgetSessionStatus as n, HistoryClientError as nn, DemoCarouselItem as nt, IconNode$1 as o, createWidgetHostLayout as on, animationsPlugin as ot, getHeaderLayout as p, ASK_USER_QUESTION_CLIENT_TOOL as pn, listRegisteredStreamAnimations as pt, BrowserSpeechEngine as q, createDirectivePostprocessor as qt, SessionHistoryError as r, SSEEventCallback as rn, DemoCarouselOptions as rt, RuntypeFlowSSEEvent as s, SUGGEST_REPLIES_CLIENT_TOOL as sn, brandPlugin as st, AgentWidgetSession as t, AgentWidgetClient as tn, DemoCarouselHandle as tt, buildDefaultHeader as u, isSuggestRepliesMessage as un, reducedMotionPlugin as ut, buildComposer as v, ensureAskUserQuestionSheet as vn, isDockedMountMode as vt, PRESET_FULLSCREEN as w, initAgentWidget as wn, AttachmentManagerConfig as wt, attachHeaderToContainer as x, removeAskUserQuestionSheet as xn, generateMessageId as xt, HeaderBuildContext as y, isAskUserQuestionMessage as yn, resolveDockConfig as yt, getActiveTheme as z, createJsonStreamParser as zt };
2550
2565
  export {}
@@ -1,5 +1,5 @@
1
- import { Ct as AgentWidgetMessage, Li as ResumableHandle, k as AgentWidgetConfig } from "./types-CiXi4ICM.cjs";
2
- import { n as AgentWidgetSessionStatus } from "./session-C0fSteA4.cjs";
1
+ import { Ct as AgentWidgetMessage, Ri as ResumableHandle, k as AgentWidgetConfig } from "./types-BOZHQIk0.cjs";
2
+ import { n as AgentWidgetSessionStatus } from "./session-Baxp9iRK.cjs";
3
3
  //#region src/session-reconnect.d.ts
4
4
  /**
5
5
  * The narrow surface the reconnect loop needs from the owning session. The
@@ -1,5 +1,5 @@
1
- import { Ct as AgentWidgetMessage, Li as ResumableHandle, k as AgentWidgetConfig } from "./types-CiXi4ICM.js";
2
- import { n as AgentWidgetSessionStatus } from "./session-C0fSteA4.js";
1
+ import { Ct as AgentWidgetMessage, Ri as ResumableHandle, k as AgentWidgetConfig } from "./types-BOZHQIk0.js";
2
+ import { n as AgentWidgetSessionStatus } from "./session-Baxp9iRK.js";
3
3
  //#region src/session-reconnect.d.ts
4
4
  /**
5
5
  * The narrow surface the reconnect loop needs from the owning session. The
@@ -1,4 +1,4 @@
1
- import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-CiXi4ICM.cjs";
1
+ import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-BOZHQIk0.cjs";
2
2
  import { r as EnrichedPageElement } from "./dom-context-DHTabIn7.cjs";
3
3
  //#region src/vendor/smart-dom-reader/index.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-CiXi4ICM.js";
1
+ import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-BOZHQIk0.js";
2
2
  import { r as EnrichedPageElement } from "./dom-context-DHTabIn7.js";
3
3
  //#region src/vendor/smart-dom-reader/index.d.ts
4
4
  /**