@runtypelabs/persona 4.33.0 → 4.34.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 (186) hide show
  1. package/dist/activity-ui.d.cts +3 -15
  2. package/dist/activity-ui.d.ts +3 -15
  3. package/dist/animations/glyph-cycle.d.cts +1 -3
  4. package/dist/animations/glyph-cycle.d.ts +1 -3
  5. package/dist/animations/wipe.d.cts +1 -3
  6. package/dist/animations/wipe.d.ts +1 -3
  7. package/dist/approval-ui.cjs +2 -2
  8. package/dist/approval-ui.d.cts +3 -15
  9. package/dist/approval-ui.d.ts +3 -15
  10. package/dist/approval-ui.js +1 -1
  11. package/dist/artifacts-ui.cjs +1 -1
  12. package/dist/artifacts-ui.d.cts +3 -21
  13. package/dist/artifacts-ui.d.ts +3 -21
  14. package/dist/background-runtime.d.cts +2 -3
  15. package/dist/background-runtime.d.ts +2 -3
  16. package/dist/{chunk-gu34lr-P.js → chunk-Brdx4NCz.js} +1 -1
  17. package/dist/{chunk-dLJWKfOb.js → chunk-C-rux8Q9.js} +1 -1
  18. package/dist/{chunk-Ds_twaZn.js → chunk-C4v-HNhS.js} +1 -1
  19. package/dist/{chunk-Bkma5hIU.js → chunk-CE4seJxF.js} +1 -1
  20. package/dist/{chunk-D6U0E82p.js → chunk-CV8EPIhT.js} +1 -1
  21. package/dist/{chunk-ql5N2I_t.js → chunk-CWzHNuVK.js} +1 -1
  22. package/dist/{chunk-DbGLjU2P.js → chunk-CYpt7PsO.js} +1 -1
  23. package/dist/{chunk-DOZmcve8.js → chunk-Csr59G5V.js} +1 -1
  24. package/dist/{chunk-DW7Vg_l2.js → chunk-CxNPSY-b.js} +1 -1
  25. package/dist/chunk-Dqa_GOcj.js +1 -0
  26. package/dist/chunk-DsWv3EGF.js +1 -0
  27. package/dist/{chunk-C7-m0EmI.js → chunk-NUNdcnAZ.js} +1 -1
  28. package/dist/{chunk-CXQJG7pb.js → chunk-YMkMvAsa.js} +2 -2
  29. package/dist/{chunk-C-EHtpbB.js → chunk-h5aOI_Pa.js} +1 -1
  30. package/dist/chunk-kizhspe5.js +1 -0
  31. package/dist/client-dispatch.js +1 -1
  32. package/dist/client-history.js +1 -1
  33. package/dist/client-stream.js +1 -1
  34. package/dist/{code-generators-DqauYyfX.d.cts → code-generators-DPAqTcAz.d.cts} +0 -2
  35. package/dist/{code-generators-DqauYyfX.d.ts → code-generators-DPAqTcAz.d.ts} +0 -2
  36. package/dist/codegen.cjs +1 -1
  37. package/dist/codegen.d.cts +1 -1
  38. package/dist/codegen.d.ts +1 -1
  39. package/dist/codegen.js +1 -1
  40. package/dist/composer-actions-runtime.cjs +1 -1
  41. package/dist/composer-actions-runtime.d.cts +4 -20
  42. package/dist/composer-actions-runtime.d.ts +4 -20
  43. package/dist/composer-actions-runtime.js +1 -1
  44. package/dist/{composer-input-DnqGCXZz.d.ts → composer-input-i_FiUp6J.d.cts} +1 -7
  45. package/dist/{composer-input-DnqGCXZz.d.cts → composer-input-i_FiUp6J.d.ts} +1 -7
  46. package/dist/{composer-store-6Iwy6WLI.d.ts → composer-store-DhGNgG7Z.d.cts} +1 -3
  47. package/dist/{composer-store-6Iwy6WLI.d.cts → composer-store-DhGNgG7Z.d.ts} +1 -3
  48. package/dist/config-diagnostics.d.cts +0 -2
  49. package/dist/config-diagnostics.d.ts +0 -2
  50. package/dist/{context-mention-manager-B-rHF98n.d.ts → context-mention-manager-DL-xwGfL.d.cts} +2 -6
  51. package/dist/{context-mention-manager-B-rHF98n.d.cts → context-mention-manager-DL-xwGfL.d.ts} +2 -6
  52. package/dist/context-mentions-inline.cjs +1 -1
  53. package/dist/context-mentions-inline.d.cts +2 -4
  54. package/dist/context-mentions-inline.d.ts +2 -4
  55. package/dist/context-mentions-inline.js +1 -1
  56. package/dist/context-mentions.cjs +1 -1
  57. package/dist/context-mentions.d.cts +3 -9
  58. package/dist/context-mentions.d.ts +3 -9
  59. package/dist/{defaults-BuOjqUAG.d.ts → defaults-Bga2Xrsp.d.cts} +1 -5
  60. package/dist/{defaults-BuOjqUAG.d.cts → defaults-Bga2Xrsp.d.ts} +1 -5
  61. package/dist/dictation-runtime.cjs +1 -1
  62. package/dist/dictation-runtime.d.cts +4 -13
  63. package/dist/dictation-runtime.d.ts +4 -13
  64. package/dist/dictation-runtime.js +1 -1
  65. package/dist/{dom-context-DHTabIn7.d.cts → dom-context-Bw-_9Evh.d.cts} +0 -2
  66. package/dist/{dom-context-DHTabIn7.d.ts → dom-context-Bw-_9Evh.d.ts} +0 -2
  67. package/dist/event-stream-view.cjs +1 -1
  68. package/dist/event-stream-view.d.cts +3 -16
  69. package/dist/event-stream-view.d.ts +3 -16
  70. package/dist/{fallback-speech-engine-SqEfkGda.d.ts → fallback-speech-engine-kLdyPcmk.d.cts} +1 -3
  71. package/dist/{fallback-speech-engine-SqEfkGda.d.cts → fallback-speech-engine-kLdyPcmk.d.ts} +1 -3
  72. package/dist/{feature-preferences-DqAmje-2.d.ts → feature-preferences-CmwZGKrf.d.cts} +1 -5
  73. package/dist/{feature-preferences-DqAmje-2.d.cts → feature-preferences-CmwZGKrf.d.ts} +1 -5
  74. package/dist/forms-ui.d.cts +2 -4
  75. package/dist/forms-ui.d.ts +2 -4
  76. package/dist/{history-confirm-dialog-B3L7QNcO.d.cts → history-confirm-dialog-i46-lPN_.d.cts} +2 -14
  77. package/dist/{history-confirm-dialog-B3L7QNcO.d.ts → history-confirm-dialog-i46-lPN_.d.ts} +2 -14
  78. package/dist/history-shell.cjs +1 -1
  79. package/dist/history-shell.d.cts +8 -27
  80. package/dist/history-shell.d.ts +8 -27
  81. package/dist/history-shell.js +1 -1
  82. package/dist/history-view.d.cts +1 -1
  83. package/dist/history-view.d.ts +1 -1
  84. package/dist/icons-extra.cjs +1 -1
  85. package/dist/icons-extra.d.cts +0 -2
  86. package/dist/icons-extra.d.ts +0 -2
  87. package/dist/index.cjs +45 -45
  88. package/dist/index.cjs.map +1 -1
  89. package/dist/index.d.cts +10 -10
  90. package/dist/index.d.ts +10 -10
  91. package/dist/index.global.js +1 -1
  92. package/dist/index.global.js.map +1 -1
  93. package/dist/index.js +49 -49
  94. package/dist/index.js.map +1 -1
  95. package/dist/install.global.js +1 -1
  96. package/dist/install.global.js.map +1 -1
  97. package/dist/launcher.global.js +2 -2
  98. package/dist/launcher.global.js.map +1 -1
  99. package/dist/{loading-label-runtime-loader-JecjOfJS.d.ts → loading-label-runtime-loader-Ccr3ETd3.d.cts} +1 -3
  100. package/dist/{loading-label-runtime-loader-JecjOfJS.d.cts → loading-label-runtime-loader-Ccr3ETd3.d.ts} +1 -3
  101. package/dist/loading-label-runtime.cjs +1 -1
  102. package/dist/loading-label-runtime.d.cts +1 -1
  103. package/dist/loading-label-runtime.d.ts +1 -1
  104. package/dist/loading-label-runtime.js +1 -1
  105. package/dist/markdown-parsers.js +1 -1
  106. package/dist/{message-bubble-CBYtpDsT.d.ts → message-bubble-C6AVaH7f.d.cts} +20 -3
  107. package/dist/{message-bubble-CBYtpDsT.d.cts → message-bubble-C6AVaH7f.d.ts} +20 -3
  108. package/dist/{plugin-kit-C1mRjLgW.d.cts → plugin-kit-BVggqE3C.d.cts} +0 -2
  109. package/dist/{plugin-kit-C1mRjLgW.d.ts → plugin-kit-BVggqE3C.d.ts} +0 -2
  110. package/dist/plugin-kit.d.cts +1 -1
  111. package/dist/plugin-kit.d.ts +1 -1
  112. package/dist/preferences-runtime.cjs +1 -1
  113. package/dist/preferences-runtime.d.cts +1 -1
  114. package/dist/preferences-runtime.d.ts +1 -1
  115. package/dist/preferences-runtime.js +1 -1
  116. package/dist/{preview-_UJwwt2L.d.cts → preview-BMdRffo4.d.cts} +2 -6
  117. package/dist/{preview-_UJwwt2L.d.ts → preview-BMdRffo4.d.ts} +2 -6
  118. package/dist/{registry-B5ZV3K-h.d.ts → registry-B16l8s1b.d.cts} +1 -8
  119. package/dist/{registry-B5ZV3K-h.d.cts → registry-B16l8s1b.d.ts} +1 -8
  120. package/dist/{session-Bys8_XuB.d.cts → session-CtZHe7fc.d.cts} +8 -92
  121. package/dist/{session-Bys8_XuB.d.ts → session-CtZHe7fc.d.ts} +8 -92
  122. package/dist/session-reconnect.d.cts +2 -4
  123. package/dist/session-reconnect.d.ts +2 -4
  124. package/dist/smart-dom-reader.d.cts +2 -8
  125. package/dist/smart-dom-reader.d.ts +2 -8
  126. package/dist/testing.d.cts +0 -2
  127. package/dist/testing.d.ts +0 -2
  128. package/dist/theme-editor-preview.cjs +42 -42
  129. package/dist/theme-editor-preview.d.cts +1 -1
  130. package/dist/theme-editor-preview.d.ts +1 -1
  131. package/dist/theme-editor-preview.js +25 -25
  132. package/dist/theme-editor.cjs +25 -5
  133. package/dist/theme-editor.d.cts +2 -22
  134. package/dist/theme-editor.d.ts +2 -22
  135. package/dist/theme-editor.js +1 -1
  136. package/dist/theme-reference.cjs +1 -1
  137. package/dist/theme-reference.d.cts +2 -4
  138. package/dist/theme-reference.d.ts +2 -4
  139. package/dist/theme-reference.js +1 -1
  140. package/dist/{tool-loading-animation-d5qAQcwv.d.ts → tool-loading-animation-D2cyFvmM.d.cts} +1 -7
  141. package/dist/{tool-loading-animation-d5qAQcwv.d.cts → tool-loading-animation-D2cyFvmM.d.ts} +1 -7
  142. package/dist/{tooltip-BkW-8MnD.d.cts → tooltip-DbXkAuJL.d.cts} +0 -2
  143. package/dist/{tooltip-BkW-8MnD.d.ts → tooltip-DbXkAuJL.d.ts} +0 -2
  144. package/dist/{turn-activity-ui-q6fHVnx-.d.cts → turn-activity-ui-Do1Nd-Ow.d.cts} +2 -12
  145. package/dist/{turn-activity-ui-q6fHVnx-.d.ts → turn-activity-ui-Do1Nd-Ow.d.ts} +2 -12
  146. package/dist/turn-activity-ui.d.cts +1 -1
  147. package/dist/turn-activity-ui.d.ts +1 -1
  148. package/dist/{types-B_mj21jg.d.cts → types-BC7MRxO5.d.cts} +76 -29
  149. package/dist/{types-B_mj21jg.d.ts → types-BC7MRxO5.d.ts} +76 -29
  150. package/dist/ui-extras.js +3 -3
  151. package/dist/voice-client-tools.d.cts +1 -3
  152. package/dist/voice-client-tools.d.ts +1 -3
  153. package/dist/voice-runtime.cjs +1 -1
  154. package/dist/voice-runtime.d.cts +2 -12
  155. package/dist/voice-runtime.d.ts +2 -12
  156. package/dist/voice-runtime.js +2 -2
  157. package/dist/voice-worklet-player.d.cts +2 -6
  158. package/dist/voice-worklet-player.d.ts +2 -6
  159. package/dist/{webmcp-runtime-entry-ClEO3qdI.d.ts → webmcp-runtime-entry-B8g46vS0.d.cts} +1 -5
  160. package/dist/{webmcp-runtime-entry-ClEO3qdI.d.cts → webmcp-runtime-entry-B8g46vS0.d.ts} +1 -5
  161. package/dist/webmcp-runtime.d.cts +1 -1
  162. package/dist/webmcp-runtime.d.ts +1 -1
  163. package/dist/widget.css +1 -1
  164. package/package.json +4 -4
  165. package/src/components/event-stream-view.test.ts +5 -0
  166. package/src/components/message-bubble.ts +26 -6
  167. package/src/components/scroll-to-bottom.test.ts +135 -0
  168. package/src/components/scroll-to-bottom.ts +50 -13
  169. package/src/components/user-message-collapse.ts +117 -0
  170. package/src/defaults.ts +6 -0
  171. package/src/styles/widget.css +56 -0
  172. package/src/theme-reference.ts +2 -2
  173. package/src/types/theme.ts +29 -0
  174. package/src/types.ts +49 -5
  175. package/src/ui.scroll-additive.test.ts +219 -117
  176. package/src/ui.scroll.test.ts +176 -13
  177. package/src/ui.ts +230 -107
  178. package/src/ui.turn-activity.test.ts +7 -7
  179. package/src/ui.user-message-collapse.test.ts +540 -0
  180. package/src/utils/auto-follow.test.ts +0 -38
  181. package/src/utils/auto-follow.ts +0 -35
  182. package/src/utils/theme.test.ts +23 -0
  183. package/src/utils/tokens.ts +16 -0
  184. package/dist/chunk-CVMIncEY.js +0 -1
  185. package/dist/chunk-DVgzoVCB.js +0 -1
  186. package/dist/chunk-d54BJdKd.js +0 -1
@@ -1,22 +1,19 @@
1
- import { t as ComponentContext } from "./registry-B5ZV3K-h.js";
2
- import { $ as AgentWidgetEvent, $i as TextContentPart, A as AgentWidgetConfigPatch, B as AgentWidgetContextMentionRef, Bi as ReadAloudState, C as AgentWidgetAttachmentsConfig, Ca as WebMcpToolResult, Co as PersonaThemePlugin, Ct as AgentWidgetMessage, E as AgentWidgetComponentRenderHandle, Fi as PersonaArtifactManualUpsert, Gt as AgentWidgetRunFinishedEvent, I as AgentWidgetContextMentionItem, Ir as ComposerQuote, Ji as SpeechCallbacks, Kn as AttachmentPreviewRenderContext, Kt as AgentWidgetRunStartedEvent, Li as PersonaArtifactRecord, Lr as ComposerResubmitOptions, N as AgentWidgetContextMentionCommandContext, Nn as AgentWidgetWebMcpConfig, Nr as ComposerOptionsPayload, Nt as AgentWidgetOpenConversationOptions, Pa as HistoryListResult, Q as AgentWidgetDockConfig, Qi as StreamAnimationPlugin, Qn as ClientFeedbackRequest, Ro as AgentWidgetPlugin, Rr as ComposerState, Sa as WebMcpConfirmInfo, So as PersonaTheme, Ta as WidgetHistoryInternals, U as AgentWidgetContextMentionSource, Ui as ResumableHandle, Un as AskUserQuestionPayload, Ur as ContentPart, Wr as ConversationExecutionState, Wt as AgentWidgetRevealToolCallOptions, Xi as SpeechRequest, Yi as SpeechEngine, Yr as DictationState, _a as VoiceResult, _i as InjectComponentDirectiveOptions, _n as AgentWidgetSuggestion, _o as DeepPartial, _t as AgentWidgetMarkdownConfig, ai as HistoryConversationPage, an as AgentWidgetStateSnapshot, ba as VoiceTranscriptMetadata, bi as InjectUserMessageOptions, ci as HistoryDisplayProjection, di as HistoryReturnSurface, do as BrandConfig, eo as RuntypeExecutionStreamEvent, f as AgentWidgetActionParser, fi as HistoryScope, g as AgentWidgetApprovalDecisionOptions, ga as VoiceProvider, gi as InjectAssistantMessageOptions, ha as VoicePriorToolResult, hi as ImageContentPart, hn as AgentWidgetStreamParser, ii as HistoryConversationDetail, it as AgentWidgetHeaderLayoutConfig, j as AgentWidgetContentSegment, k as AgentWidgetConfig, li as HistoryIdentityStatus, m as AgentWidgetApproval, mn as AgentWidgetStreamCheckpoint, n as AgentExecutionState, oi as HistoryConversationPatch, on as AgentWidgetStorageAdapter, pa as VoiceMetrics, q as AgentWidgetControllerEventMap, qn as AttachmentPreviewRenderHandle, ra as VoiceClientTools, rr as ClientToolDefinition, sa as VoiceConfig, si as HistoryConversationSummary, tr as ClientSession, u as AgentWidgetActionHandler, ut as AgentWidgetInitOptions, va as VoiceSessionBridge, vi as InjectMessageOptions, vt as AgentWidgetMarkdownOptions, wi as MessageContent, x as AgentWidgetAttachmentAdapter, xa as WebMcpConfirmHandler, ya as VoiceStatus, yi as InjectSystemMessageOptions, yt as AgentWidgetMarkdownRendererOverrides, zi as PreparedClientSession } from "./types-B_mj21jg.js";
3
- import { n as MentionSubmitBundle } from "./context-mention-manager-B-rHF98n.js";
4
- import { i as MessageTransform } from "./message-bubble-CBYtpDsT.js";
5
- import "./feature-preferences-DqAmje-2.js";
6
- import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-ClEO3qdI.js";
7
- import "./fallback-speech-engine-SqEfkGda.js";
8
- import "./defaults-BuOjqUAG.js";
1
+ import { t as ComponentContext } from "./registry-B16l8s1b.js";
2
+ import { $ as AgentWidgetEvent, $i as TextContentPart, A as AgentWidgetConfigPatch, B as AgentWidgetContextMentionRef, Bi as ReadAloudState, C as AgentWidgetAttachmentsConfig, Ca as WebMcpToolResult, Co as PersonaThemePlugin, Ct as AgentWidgetMessage, E as AgentWidgetComponentRenderHandle, Fi as PersonaArtifactManualUpsert, Gt as AgentWidgetRunFinishedEvent, I as AgentWidgetContextMentionItem, Ir as ComposerQuote, Ji as SpeechCallbacks, Kn as AttachmentPreviewRenderContext, Kt as AgentWidgetRunStartedEvent, Li as PersonaArtifactRecord, Lr as ComposerResubmitOptions, N as AgentWidgetContextMentionCommandContext, Nn as AgentWidgetWebMcpConfig, Nr as ComposerOptionsPayload, Nt as AgentWidgetOpenConversationOptions, Pa as HistoryListResult, Q as AgentWidgetDockConfig, Qi as StreamAnimationPlugin, Qn as ClientFeedbackRequest, Ro as AgentWidgetPlugin, Rr as ComposerState, Sa as WebMcpConfirmInfo, So as PersonaTheme, Ta as WidgetHistoryInternals, U as AgentWidgetContextMentionSource, Ui as ResumableHandle, Un as AskUserQuestionPayload, Ur as ContentPart, Wr as ConversationExecutionState, Wt as AgentWidgetRevealToolCallOptions, Xi as SpeechRequest, Yi as SpeechEngine, Yr as DictationState, _a as VoiceResult, _i as InjectComponentDirectiveOptions, _n as AgentWidgetSuggestion, _o as DeepPartial, _t as AgentWidgetMarkdownConfig, ai as HistoryConversationPage, an as AgentWidgetStateSnapshot, ba as VoiceTranscriptMetadata, bi as InjectUserMessageOptions, ci as HistoryDisplayProjection, di as HistoryReturnSurface, do as BrandConfig, eo as RuntypeExecutionStreamEvent, f as AgentWidgetActionParser, fi as HistoryScope, g as AgentWidgetApprovalDecisionOptions, ga as VoiceProvider, gi as InjectAssistantMessageOptions, ha as VoicePriorToolResult, hi as ImageContentPart, hn as AgentWidgetStreamParser, ii as HistoryConversationDetail, it as AgentWidgetHeaderLayoutConfig, j as AgentWidgetContentSegment, k as AgentWidgetConfig, li as HistoryIdentityStatus, m as AgentWidgetApproval, mn as AgentWidgetStreamCheckpoint, n as AgentExecutionState, oi as HistoryConversationPatch, on as AgentWidgetStorageAdapter, pa as VoiceMetrics, q as AgentWidgetControllerEventMap, qn as AttachmentPreviewRenderHandle, ra as VoiceClientTools, rr as ClientToolDefinition, sa as VoiceConfig, si as HistoryConversationSummary, tr as ClientSession, u as AgentWidgetActionHandler, ut as AgentWidgetInitOptions, va as VoiceSessionBridge, vi as InjectMessageOptions, vt as AgentWidgetMarkdownOptions, wi as MessageContent, x as AgentWidgetAttachmentAdapter, xa as WebMcpConfirmHandler, ya as VoiceStatus, yi as InjectSystemMessageOptions, yt as AgentWidgetMarkdownRendererOverrides, zi as PreparedClientSession } from "./types-BC7MRxO5.js";
3
+ import { n as MentionSubmitBundle } from "./context-mention-manager-DL-xwGfL.js";
4
+ import { i as MessageTransform } from "./message-bubble-C6AVaH7f.js";
5
+ import "./feature-preferences-CmwZGKrf.js";
6
+ import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-B8g46vS0.js";
7
+ import "./fallback-speech-engine-kLdyPcmk.js";
8
+ import "./defaults-Bga2Xrsp.js";
9
9
  import { IconNode as IconNode$1 } from "lucide";
10
10
  import "marked";
11
- //#region src/utils/legacy-diagnostics.d.ts
12
11
  /** Owned by the outer widget lifetime, including controller/layout rebuilds. */
13
12
  type LegacyDiagnosticContext = {
14
13
  warned: Set<string>;
15
14
  current: Set<string>;
16
15
  debug: boolean;
17
16
  };
18
- //#endregion
19
- //#region src/utils/actions.d.ts
20
17
  type ActionManagerProcessContext = {
21
18
  text: string;
22
19
  message: AgentWidgetMessage;
@@ -42,8 +39,6 @@ declare const createActionManager: (options: ActionManagerOptions) => {
42
39
  } | null;
43
40
  syncFromMetadata: () => void;
44
41
  };
45
- //#endregion
46
- //#region src/components/feedback.d.ts
47
42
  /**
48
43
  * Feedback UI components for CSAT and NPS collection
49
44
  */
@@ -93,8 +88,6 @@ type NPSFeedbackOptions = {
93
88
  declare function createCSATFeedback(options: CSATFeedbackOptions): HTMLElement;
94
89
  /** Create a NPS feedback form with its original rating scale. */
95
90
  declare function createNPSFeedback(options: NPSFeedbackOptions): HTMLElement;
96
- //#endregion
97
- //#region src/ui.d.ts
98
91
  type Controller = {
99
92
  /** Resolves once the configured UI and its styles can be shown together.
100
93
  * Rejects on a preparation failure; update() retries missing modules. */
@@ -338,8 +331,6 @@ declare const createAgentExperience: (mount: HTMLElement, initialConfig?: AgentW
338
331
  preparation?: Promise<unknown>[];
339
332
  }) => Controller;
340
333
  type AgentWidgetController = Controller;
341
- //#endregion
342
- //#region src/runtime/init.d.ts
343
334
  type AgentWidgetInitHandle = AgentWidgetController & {
344
335
  host: HTMLElement;
345
336
  /** Move a live direct-layout widget to a connected container in the same document. */
@@ -350,8 +341,6 @@ type AgentWidgetInitHandle = AgentWidgetController & {
350
341
  /** Handles of all currently mounted widgets, oldest first. */
351
342
  declare const getAgentWidgetHandles: () => AgentWidgetInitHandle[];
352
343
  declare const initAgentWidget: (options: AgentWidgetInitOptions) => AgentWidgetInitHandle;
353
- //#endregion
354
- //#region src/components/ask-user-question-bubble.d.ts
355
344
  declare const ASK_USER_QUESTION_TOOL_NAME = "ask_user_question";
356
345
  declare const isAskUserQuestionMessage: (message: AgentWidgetMessage) => boolean;
357
346
  /**
@@ -384,8 +373,6 @@ declare const ensureAskUserQuestionSheet: (message: AgentWidgetMessage, config:
384
373
  * Runs a slide-out transition before removing.
385
374
  */
386
375
  declare const removeAskUserQuestionSheet: (overlay: HTMLElement | null | undefined, toolCallId?: string) => void;
387
- //#endregion
388
- //#region src/ask-user-question-tool.d.ts
389
376
  /**
390
377
  * JSON Schema for the tool's parameters. Mirrors {@link AskUserQuestionPayload}
391
378
  *, the shape `parseAskUserQuestionPayload` hydrates the answer sheet from, * so the schema the model is held to and the schema the renderer expects can
@@ -467,8 +454,6 @@ declare const ASK_USER_QUESTION_CLIENT_TOOL: ClientToolDefinition;
467
454
  * generic tool bubble with no way to advance.
468
455
  */
469
456
  declare const builtInClientToolsForDispatch: (config: AgentWidgetConfig | undefined) => ClientToolDefinition[];
470
- //#endregion
471
- //#region src/suggest-replies-tool.d.ts
472
457
  declare const SUGGEST_REPLIES_TOOL_NAME = "suggest_replies";
473
458
  /**
474
459
  * JSON Schema for the tool's parameters. The model owns semantics only: id,
@@ -535,8 +520,6 @@ declare const parseSuggestRepliesPayload: (args: unknown, maxItems?: number) =>
535
520
  * latest renders.
536
521
  */
537
522
  declare const latestAgentSuggestions: (messages: AgentWidgetMessage[], maxItems?: number) => AgentWidgetSuggestion[] | null;
538
- //#endregion
539
- //#region src/runtime/host-layout.d.ts
540
523
  type WidgetHostLayoutMode = "direct" | "docked";
541
524
  type WidgetHostLayout = {
542
525
  mode: WidgetHostLayoutMode;
@@ -547,8 +530,6 @@ type WidgetHostLayout = {
547
530
  destroy: () => void;
548
531
  };
549
532
  declare const createWidgetHostLayout: (target: HTMLElement, config?: AgentWidgetConfig) => WidgetHostLayout;
550
- //#endregion
551
- //#region src/client.d.ts
552
533
  type DispatchOptions = {
553
534
  messages: AgentWidgetMessage[];
554
535
  signal?: AbortSignal;
@@ -888,11 +869,7 @@ declare class AgentWidgetClient {
888
869
  assistantMessageId?: string;
889
870
  }): Promise<Response>;
890
871
  }
891
- //#endregion
892
- //#region src/utils/storage.d.ts
893
872
  declare const createLocalStorageAdapter: (key?: string) => AgentWidgetStorageAdapter;
894
- //#endregion
895
- //#region src/postprocessors.d.ts
896
873
  /**
897
874
  * Repair incomplete Markdown for a streaming display before parsing it as HTML.
898
875
  * Apply custom text transforms first, then pass the result and the callback's
@@ -973,8 +950,6 @@ declare const createDirectivePostprocessor: (markdownConfig?: AgentWidgetMarkdow
973
950
  * For custom markdown configuration, use `createDirectivePostprocessor()`.
974
951
  */
975
952
  declare const directivePostprocessor: (text: string) => string;
976
- //#endregion
977
- //#region src/utils/sanitize.d.ts
978
953
  /**
979
954
  * A function that sanitizes an HTML string, returning safe HTML.
980
955
  */
@@ -992,8 +967,6 @@ declare const createDefaultSanitizer: () => SanitizeFunction;
992
967
  * - custom function → returned as-is
993
968
  */
994
969
  declare const resolveSanitizer: (option: boolean | SanitizeFunction | undefined) => SanitizeFunction | null;
995
- //#endregion
996
- //#region src/utils/formatting.d.ts
997
970
  /**
998
971
  * Plain text parser - passes through text as-is without any parsing.
999
972
  * This is the default parser.
@@ -1029,8 +1002,6 @@ declare const createFlexibleJsonStreamParser: (textExtractor?: (parsed: any) =>
1029
1002
  * Extracts text from <text>...</text> tags in XML responses.
1030
1003
  */
1031
1004
  declare const createXmlParser: () => AgentWidgetStreamParser;
1032
- //#endregion
1033
- //#region src/utils/content.d.ts
1034
1005
  /**
1035
1006
  * Normalize content to ContentPart[] format.
1036
1007
  * Converts string content to a single text content part.
@@ -1079,8 +1050,6 @@ declare function validateImageFile(file: File, acceptedTypes?: string[], maxSize
1079
1050
  valid: boolean;
1080
1051
  error?: string;
1081
1052
  };
1082
- //#endregion
1083
- //#region src/utils/mention-matcher.d.ts
1084
1053
  /**
1085
1054
  * Filter + rank items for the current `@query`. An empty query keeps all items,
1086
1055
  * recency-ordered. Non-matching items are dropped.
@@ -1159,8 +1128,6 @@ declare function createSlashCommandsSource(opts: {
1159
1128
  label: string;
1160
1129
  commands: SlashCommandDefinition[];
1161
1130
  }): AgentWidgetContextMentionSource;
1162
- //#endregion
1163
- //#region src/utils/attachment-manager.d.ts
1164
1131
  /** Lifecycle state of one pending attachment (roadmap section 8). */
1165
1132
  type PendingAttachmentStatus = "processing" | "uploading" | "ready" | "error";
1166
1133
  /**
@@ -1270,8 +1237,6 @@ declare class AttachmentManager {
1270
1237
  */
1271
1238
  static fromConfig(config?: AgentWidgetAttachmentsConfig, onAttachmentsChange?: (attachments: PendingAttachment[]) => void): AttachmentManager;
1272
1239
  }
1273
- //#endregion
1274
- //#region src/utils/message-id.d.ts
1275
1240
  /**
1276
1241
  * Message ID utilities for client-side message tracking
1277
1242
  * Used for feedback integration with the Runtype API
@@ -1291,8 +1256,6 @@ declare function generateUserMessageId(): string;
1291
1256
  * Format: ast_{timestamp_base36}_{random_8chars}
1292
1257
  */
1293
1258
  declare function generateAssistantMessageId(): string;
1294
- //#endregion
1295
- //#region src/utils/dock.d.ts
1296
1259
  declare const isDockedMountMode: (config?: AgentWidgetConfig) => boolean;
1297
1260
  /**
1298
1261
  * Resolved dock layout. For `reveal: "resize"`, when the panel is closed the dock column is `0px`.
@@ -1302,15 +1265,11 @@ declare const isDockedMountMode: (config?: AgentWidgetConfig) => boolean;
1302
1265
  * Unknown keys on `launcher.dock` (e.g. legacy `collapsedWidth`) are ignored.
1303
1266
  */
1304
1267
  declare const resolveDockConfig: (config?: AgentWidgetConfig) => Required<AgentWidgetDockConfig>;
1305
- //#endregion
1306
- //#region src/version.d.ts
1307
1268
  /**
1308
1269
  * The current version of the @runtypelabs/persona package.
1309
1270
  * This is automatically derived from package.json.
1310
1271
  */
1311
1272
  declare const VERSION: string;
1312
- //#endregion
1313
- //#region src/plugins/registry.d.ts
1314
1273
  declare class PluginRegistry {
1315
1274
  #private;
1316
1275
  /**
@@ -1336,8 +1295,6 @@ declare class PluginRegistry {
1336
1295
  clear(): void;
1337
1296
  }
1338
1297
  declare const pluginRegistry: PluginRegistry;
1339
- //#endregion
1340
- //#region src/utils/stream-animation.d.ts
1341
1298
  /**
1342
1299
  * Register a custom stream animation plugin globally. Subsequent widget
1343
1300
  * instances can reference the plugin by `name` in `features.streamAnimation.type`.
@@ -1347,8 +1304,6 @@ declare const pluginRegistry: PluginRegistry;
1347
1304
  declare const registerStreamAnimationPlugin: (plugin: StreamAnimationPlugin) => void;
1348
1305
  declare const unregisterStreamAnimationPlugin: (name: string) => void;
1349
1306
  declare const listRegisteredStreamAnimations: () => string[];
1350
- //#endregion
1351
- //#region src/types/install-loading.d.ts
1352
1307
  /** Context supplied by the script installer's delayed loading surface. */
1353
1308
  interface InstallLoadingContext {
1354
1309
  /** Connected, absolutely positioned status container. Add your UI here.
@@ -1363,8 +1318,6 @@ interface InstallLoadingContext {
1363
1318
  * Cleanup runs once on success or failure; a retry gets a new container.
1364
1319
  * This installer-only hook belongs on window.siteAgentConfig, outside config. */
1365
1320
  type InstallLoadingRenderer = (context: InstallLoadingContext) => void | (() => void);
1366
- //#endregion
1367
- //#region src/utils/plugins.d.ts
1368
1321
  declare function accessibilityPlugin(): PersonaThemePlugin;
1369
1322
  declare function animationsPlugin(): PersonaThemePlugin;
1370
1323
  declare function brandPlugin(brandConfig: {
@@ -1384,8 +1337,6 @@ declare function createPlugin(config: {
1384
1337
  cssVariables?: Record<string, string>;
1385
1338
  afterResolve?: (resolved: Record<string, string>) => Record<string, string>;
1386
1339
  }): PersonaThemePlugin;
1387
- //#endregion
1388
- //#region src/components/demo-carousel.d.ts
1389
1340
  interface DemoCarouselItem {
1390
1341
  /** URL to load in the iframe (relative or absolute). */
1391
1342
  url: string;
@@ -1433,8 +1384,6 @@ interface DemoCarouselHandle {
1433
1384
  destroy(): void;
1434
1385
  }
1435
1386
  declare function createDemoCarousel(container: HTMLElement, options: DemoCarouselOptions): DemoCarouselHandle;
1436
- //#endregion
1437
- //#region src/voice/runtype-voice-provider.d.ts
1438
1387
  type TranscriptCallback = (role: "user" | "assistant", text: string, isFinal: boolean, metadata?: VoiceTranscriptMetadata) => void;
1439
1388
  declare class RuntypeVoiceProvider implements VoiceProvider {
1440
1389
  #private;
@@ -1479,8 +1428,6 @@ declare class RuntypeVoiceProvider implements VoiceProvider {
1479
1428
  onTranscript(callback: TranscriptCallback): void;
1480
1429
  onMetrics(callback: (metrics: VoiceMetrics) => void): void;
1481
1430
  }
1482
- //#endregion
1483
- //#region src/voice/browser-voice-provider.d.ts
1484
1431
  declare class BrowserVoiceProvider implements VoiceProvider {
1485
1432
  #private;
1486
1433
  private config;
@@ -1495,13 +1442,9 @@ declare class BrowserVoiceProvider implements VoiceProvider {
1495
1442
  disconnect(): Promise<void>;
1496
1443
  static isSupported(): boolean;
1497
1444
  }
1498
- //#endregion
1499
- //#region src/voice/voice-factory.d.ts
1500
1445
  declare function createVoiceProvider(config: VoiceConfig): VoiceProvider;
1501
1446
  declare function createBestAvailableVoiceProvider(config?: Partial<VoiceConfig>): VoiceProvider;
1502
1447
  declare function isVoiceSupported(config?: Partial<VoiceConfig>): boolean;
1503
- //#endregion
1504
- //#region src/voice/browser-speech-engine.d.ts
1505
1448
  /**
1506
1449
  * Pick the best available English voice from the browser's voice list.
1507
1450
  * Prefers high-quality remote/natural voices, then enhanced local voices,
@@ -1525,8 +1468,6 @@ declare class BrowserSpeechEngine implements SpeechEngine {
1525
1468
  resume(): void;
1526
1469
  stop(): void;
1527
1470
  }
1528
- //#endregion
1529
- //#region src/voice/read-aloud-controller.d.ts
1530
1471
  type ReadAloudListener = (activeId: string | null, state: ReadAloudState) => void;
1531
1472
  declare class ReadAloudController {
1532
1473
  #private;
@@ -1552,8 +1493,6 @@ declare class ReadAloudController {
1552
1493
  /** Drop the controller and its engine (called on widget teardown). */
1553
1494
  destroy(): void;
1554
1495
  }
1555
- //#endregion
1556
- //#region src/webmcp-bridge-public.d.ts
1557
1496
  /**
1558
1497
  * npm-facing `WebMcpBridge` with the historical one-argument constructor.
1559
1498
  *
@@ -1566,8 +1505,6 @@ declare class ReadAloudController {
1566
1505
  declare class WebMcpBridge extends WebMcpBridge$1 {
1567
1506
  constructor(config: AgentWidgetWebMcpConfig);
1568
1507
  }
1569
- //#endregion
1570
- //#region src/utils/roving-tablist.d.ts
1571
1508
  /**
1572
1509
  * Roving-tabindex tablist controller (WAI-ARIA APG tabs pattern). Owns the tab
1573
1510
  * roles, aria-selected, roving tabindex, Arrow/Home/End keyboard nav routed
@@ -1593,8 +1530,6 @@ interface RovingTablistController {
1593
1530
  destroy(): void;
1594
1531
  }
1595
1532
  declare function createRovingTablist(container: HTMLElement, options: RovingTablistOptions): RovingTablistController;
1596
- //#endregion
1597
- //#region src/utils/theme.d.ts
1598
1533
  type ColorScheme = 'light' | 'dark' | 'auto';
1599
1534
  interface PersonaWidgetConfig {
1600
1535
  brand?: BrandConfig;
@@ -1611,8 +1546,6 @@ declare const getColorScheme: (config?: WidgetConfig) => 'light' | 'dark';
1611
1546
  declare const getActiveTheme: (config?: WidgetConfig) => PersonaTheme;
1612
1547
  declare const applyThemeVariables: (element: HTMLElement, config?: WidgetConfig) => void;
1613
1548
  declare const createThemeObserver: (callback: (scheme: 'light' | 'dark') => void) => (() => void);
1614
- //#endregion
1615
- //#region src/utils/component-parser.d.ts
1616
1549
  /**
1617
1550
  * Represents a component directive extracted from JSON
1618
1551
  */
@@ -1644,8 +1577,6 @@ declare function createComponentStreamParser(): {
1644
1577
  * Type guard to check if an object is a component directive
1645
1578
  */
1646
1579
  declare function isComponentDirectiveType(obj: unknown): obj is ComponentDirective;
1647
- //#endregion
1648
- //#region src/utils/component-middleware.d.ts
1649
1580
  /**
1650
1581
  * Options for component middleware
1651
1582
  */
@@ -1695,8 +1626,6 @@ declare function hasComponentDirective(message: AgentWidgetMessage): boolean;
1695
1626
  * streamed ones.
1696
1627
  */
1697
1628
  declare function extractComponentDirectiveFromMessage(message: AgentWidgetMessage): ComponentDirective | null;
1698
- //#endregion
1699
- //#region src/presets.d.ts
1700
1629
  /**
1701
1630
  * A named preset containing partial widget configuration.
1702
1631
  * Apply with: `createAgentExperience(el, { ...PRESET_SHOP.config, apiUrl: '...' })`
@@ -1726,8 +1655,6 @@ declare const PRESET_FULLSCREEN: WidgetPreset;
1726
1655
  declare const PRESETS: Record<string, WidgetPreset>;
1727
1656
  /** Look up a preset by ID. */
1728
1657
  declare function getPreset(id: string): WidgetPreset | undefined;
1729
- //#endregion
1730
- //#region src/components/header-builder.d.ts
1731
1658
  interface HeaderElements {
1732
1659
  header: HTMLElement;
1733
1660
  iconHolder: HTMLElement;
@@ -1753,8 +1680,6 @@ declare const buildHeader: (context: HeaderBuildContext) => HeaderElements;
1753
1680
  * Attach header elements to the container, handling placement modes.
1754
1681
  */
1755
1682
  declare const attachHeaderToContainer: (container: HTMLElement, headerElements: HeaderElements, config?: AgentWidgetConfig) => void;
1756
- //#endregion
1757
- //#region src/components/composer-builder.d.ts
1758
1683
  interface ComposerElements {
1759
1684
  footer: HTMLElement;
1760
1685
  suggestions: HTMLElement;
@@ -1798,8 +1723,6 @@ interface ComposerBuildContext {
1798
1723
  * shares the same low-level part factories from `composer-parts.ts`.
1799
1724
  */
1800
1725
  declare const buildComposer: (context: ComposerBuildContext) => ComposerElements;
1801
- //#endregion
1802
- //#region src/components/panel.d.ts
1803
1726
  interface PanelElements {
1804
1727
  container: HTMLElement;
1805
1728
  body: HTMLElement;
@@ -1856,8 +1779,6 @@ interface PanelElements {
1856
1779
  peekBanner?: HTMLButtonElement;
1857
1780
  peekTextNode?: HTMLElement;
1858
1781
  }
1859
- //#endregion
1860
- //#region src/components/header-layouts.d.ts
1861
1782
  interface HeaderLayoutContext {
1862
1783
  config: AgentWidgetConfig;
1863
1784
  showClose?: boolean;
@@ -1888,13 +1809,9 @@ declare const getHeaderLayout: (layoutName: string) => HeaderLayoutRenderer;
1888
1809
  * Applies layout config settings to determine which layout to use
1889
1810
  */
1890
1811
  declare const buildHeaderWithLayout: (config: AgentWidgetConfig, layoutConfig?: AgentWidgetHeaderLayoutConfig, context?: Partial<HeaderLayoutContext>) => HeaderElements;
1891
- //#endregion
1892
- //#region src/index-core.d.ts
1893
1812
  /** @deprecated FlowSSEEvent was folded into the unified ExecutionStreamEvent
1894
1813
  * (Runtype PR #5722). Use RuntypeExecutionStreamEvent instead. */
1895
1814
  type RuntypeFlowSSEEvent = RuntypeExecutionStreamEvent;
1896
- //#endregion
1897
- //#region src/session.d.ts
1898
1815
  type AgentWidgetSessionStatus = "idle" | "connecting" | "connected" | "error" | "paused" | "resuming";
1899
1816
  type SessionCallbacks = {
1900
1817
  onConversationExecutionState?: (state: ConversationExecutionState) => void;
@@ -2561,6 +2478,5 @@ declare class AgentWidgetSession {
2561
2478
  stopSpeaking(): void;
2562
2479
  private upsertMessage;
2563
2480
  }
2564
- //#endregion
2565
2481
  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 };
2566
2482
  export {}
@@ -1,6 +1,5 @@
1
- import { Ct as AgentWidgetMessage, Ui as ResumableHandle, k as AgentWidgetConfig } from "./types-B_mj21jg.cjs";
2
- import { n as AgentWidgetSessionStatus } from "./session-Bys8_XuB.cjs";
3
- //#region src/session-reconnect.d.ts
1
+ import { Ct as AgentWidgetMessage, Ui as ResumableHandle, k as AgentWidgetConfig } from "./types-BC7MRxO5.cjs";
2
+ import { n as AgentWidgetSessionStatus } from "./session-CtZHe7fc.cjs";
4
3
  /**
5
4
  * The narrow surface the reconnect loop needs from the owning session. The
6
5
  * session builds this once (lazily, alongside the controller) so the loop can
@@ -48,5 +47,4 @@ export interface ReconnectController {
48
47
  wake(): void;
49
48
  }
50
49
  export declare function createReconnectController(host: ReconnectHost): ReconnectController;
51
- //#endregion
52
50
  export {}
@@ -1,6 +1,5 @@
1
- import { Ct as AgentWidgetMessage, Ui as ResumableHandle, k as AgentWidgetConfig } from "./types-B_mj21jg.js";
2
- import { n as AgentWidgetSessionStatus } from "./session-Bys8_XuB.js";
3
- //#region src/session-reconnect.d.ts
1
+ import { Ct as AgentWidgetMessage, Ui as ResumableHandle, k as AgentWidgetConfig } from "./types-BC7MRxO5.js";
2
+ import { n as AgentWidgetSessionStatus } from "./session-CtZHe7fc.js";
4
3
  /**
5
4
  * The narrow surface the reconnect loop needs from the owning session. The
6
5
  * session builds this once (lazily, alongside the controller) so the loop can
@@ -48,5 +47,4 @@ export interface ReconnectController {
48
47
  wake(): void;
49
48
  }
50
49
  export declare function createReconnectController(host: ReconnectHost): ReconnectController;
51
- //#endregion
52
50
  export {}
@@ -1,6 +1,5 @@
1
- import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-B_mj21jg.cjs";
2
- import { r as EnrichedPageElement } from "./dom-context-DHTabIn7.cjs";
3
- //#region src/vendor/smart-dom-reader/index.d.ts
1
+ import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-BC7MRxO5.cjs";
2
+ import { r as EnrichedPageElement } from "./dom-context-Bw-_9Evh.cjs";
4
3
  /**
5
4
  * VENDORED type declarations: @mcp-b/smart-dom-reader v2.3.1 (MIT).
6
5
  * Copied verbatim from upstream dist/index.d.mts (only the trailing sourceMappingURL
@@ -186,8 +185,6 @@ declare global {
186
185
  SmartDOMReaderBundle: SmartDOMReaderBundle;
187
186
  }
188
187
  }
189
- //#endregion
190
- //#region src/utils/smart-dom-adapter.d.ts
191
188
  /** Options for {@link smartDomResultToEnriched}. */
192
189
  interface SmartDomAdapterOptions {
193
190
  /**
@@ -220,8 +217,6 @@ interface SmartDomAdapterOptions {
220
217
  * - Deduplicates by selector and preserves discovery order (interactive before semantic).
221
218
  */
222
219
  export declare function smartDomResultToEnriched(result: SmartDOMResult, opts?: SmartDomAdapterOptions): EnrichedPageElement[];
223
- //#endregion
224
- //#region src/smart-dom-reader.d.ts
225
220
  /** Options for {@link collectSmartDomContext} and {@link createSmartDomReaderContextProvider}. */
226
221
  export interface SmartDomContextOptions extends SmartDomAdapterOptions {
227
222
  /**
@@ -302,6 +297,5 @@ export interface SmartDomMentionSourceOptions extends SmartDomContextOptions {
302
297
  * ```
303
298
  */
304
299
  export declare function createSmartDomMentionSource(opts?: SmartDomMentionSourceOptions): AgentWidgetContextMentionSource;
305
- //#endregion
306
300
  export type { EnrichedPageElement, SmartDomAdapterOptions };
307
301
  export {}
@@ -1,6 +1,5 @@
1
- import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-B_mj21jg.js";
2
- import { r as EnrichedPageElement } from "./dom-context-DHTabIn7.js";
3
- //#region src/vendor/smart-dom-reader/index.d.ts
1
+ import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-BC7MRxO5.js";
2
+ import { r as EnrichedPageElement } from "./dom-context-Bw-_9Evh.js";
4
3
  /**
5
4
  * VENDORED type declarations: @mcp-b/smart-dom-reader v2.3.1 (MIT).
6
5
  * Copied verbatim from upstream dist/index.d.mts (only the trailing sourceMappingURL
@@ -186,8 +185,6 @@ declare global {
186
185
  SmartDOMReaderBundle: SmartDOMReaderBundle;
187
186
  }
188
187
  }
189
- //#endregion
190
- //#region src/utils/smart-dom-adapter.d.ts
191
188
  /** Options for {@link smartDomResultToEnriched}. */
192
189
  interface SmartDomAdapterOptions {
193
190
  /**
@@ -220,8 +217,6 @@ interface SmartDomAdapterOptions {
220
217
  * - Deduplicates by selector and preserves discovery order (interactive before semantic).
221
218
  */
222
219
  export declare function smartDomResultToEnriched(result: SmartDOMResult, opts?: SmartDomAdapterOptions): EnrichedPageElement[];
223
- //#endregion
224
- //#region src/smart-dom-reader.d.ts
225
220
  /** Options for {@link collectSmartDomContext} and {@link createSmartDomReaderContextProvider}. */
226
221
  export interface SmartDomContextOptions extends SmartDomAdapterOptions {
227
222
  /**
@@ -302,6 +297,5 @@ export interface SmartDomMentionSourceOptions extends SmartDomContextOptions {
302
297
  * ```
303
298
  */
304
299
  export declare function createSmartDomMentionSource(opts?: SmartDomMentionSourceOptions): AgentWidgetContextMentionSource;
305
- //#endregion
306
300
  export type { EnrichedPageElement, SmartDomAdapterOptions };
307
301
  export {}
@@ -1,4 +1,3 @@
1
- //#region src/testing/mock-stream.d.ts
2
1
  /** Shared helpers for mocking SSE streams in demos, previews, and tests. */
3
2
  interface MockSSEFrame {
4
3
  type: string;
@@ -42,6 +41,5 @@ interface MockSSEResponseOptions extends CreateMockSSEStreamOptions {
42
41
  }
43
42
  /** Convenience wrapper: returns a `Response` ready to hand back from a `customFetch` implementation. */
44
43
  export declare function createMockSSEResponse(frames: ReadonlyArray<MockSSEFrame>, options?: MockSSEResponseOptions): Response;
45
- //#endregion
46
44
  export type { AssistantTurnFramesOptions, CreateMockSSEStreamOptions, MockSSEFrame, MockSSEResponseOptions };
47
45
  export {}
package/dist/testing.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- //#region src/testing/mock-stream.d.ts
2
1
  /** Shared helpers for mocking SSE streams in demos, previews, and tests. */
3
2
  interface MockSSEFrame {
4
3
  type: string;
@@ -42,6 +41,5 @@ interface MockSSEResponseOptions extends CreateMockSSEStreamOptions {
42
41
  }
43
42
  /** Convenience wrapper: returns a `Response` ready to hand back from a `customFetch` implementation. */
44
43
  export declare function createMockSSEResponse(frames: ReadonlyArray<MockSSEFrame>, options?: MockSSEResponseOptions): Response;
45
- //#endregion
46
44
  export type { AssistantTurnFramesOptions, CreateMockSSEStreamOptions, MockSSEFrame, MockSSEResponseOptions };
47
45
  export {}