@runtypelabs/persona 4.31.0 → 4.32.1

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 (141) hide show
  1. package/dist/activity-ui.cjs +2 -2
  2. package/dist/activity-ui.d.cts +11 -3
  3. package/dist/activity-ui.d.ts +11 -3
  4. package/dist/activity-ui.js +1 -1
  5. package/dist/animations/glyph-cycle.d.cts +1 -1
  6. package/dist/animations/glyph-cycle.d.ts +1 -1
  7. package/dist/animations/wipe.d.cts +1 -1
  8. package/dist/animations/wipe.d.ts +1 -1
  9. package/dist/approval-ui.d.cts +2 -2
  10. package/dist/approval-ui.d.ts +2 -2
  11. package/dist/artifacts-ui.d.cts +3 -3
  12. package/dist/artifacts-ui.d.ts +3 -3
  13. package/dist/background-runtime.d.cts +1 -1
  14. package/dist/background-runtime.d.ts +1 -1
  15. package/dist/{chunk-BrptyKSq.js → chunk-B3l7TOOv.js} +1 -1
  16. package/dist/chunk-B4ecQzeK.js +2 -0
  17. package/dist/{chunk-BWCo3rCm.js → chunk-B_H0l3u2.js} +1 -1
  18. package/dist/{chunk-MdlQetfC.js → chunk-BbXc58OA.js} +1 -1
  19. package/dist/chunk-BkOYJ11B.js +1 -0
  20. package/dist/{chunk-DE0cSmku.js → chunk-BpjtKnGI.js} +1 -1
  21. package/dist/{chunk-Co4LmTFv.js → chunk-C9uOhfk5.js} +1 -1
  22. package/dist/{chunk-CHAwCqpk.js → chunk-CdpVP6LZ.js} +1 -1
  23. package/dist/{chunk-WA9UucGf.js → chunk-CumoXK3u.js} +1 -1
  24. package/dist/{chunk-BBtVdcKU.js → chunk-DM-OJt5q.js} +1 -1
  25. package/dist/{chunk-Cb7qy0c7.js → chunk-DNdeIFJ6.js} +1 -1
  26. package/dist/{chunk-VaT6xry9.js → chunk-DTGvDx8o.js} +1 -1
  27. package/dist/{chunk-ezlpsYGk.js → chunk-DVZ8ri1z.js} +1 -1
  28. package/dist/{chunk-DhedQnek.js → chunk-DgZZqy14.js} +1 -1
  29. package/dist/{chunk-C2IbR39s.js → chunk-UWMfWW2a.js} +1 -1
  30. package/dist/client-dispatch.js +1 -1
  31. package/dist/client-history.js +1 -1
  32. package/dist/codegen.cjs +1 -1
  33. package/dist/codegen.js +1 -1
  34. package/dist/composer-actions-runtime.d.cts +2 -2
  35. package/dist/composer-actions-runtime.d.ts +2 -2
  36. package/dist/{composer-input-C2_WizXV.d.cts → composer-input-dwg_o9Z-.d.cts} +1 -1
  37. package/dist/{composer-input-C2_WizXV.d.ts → composer-input-dwg_o9Z-.d.ts} +1 -1
  38. package/dist/{composer-store-BV6kTlKv.d.cts → composer-store-Dw7Zbqxr.d.cts} +1 -1
  39. package/dist/{composer-store-BV6kTlKv.d.ts → composer-store-Dw7Zbqxr.d.ts} +1 -1
  40. package/dist/{context-mention-manager-BfZzcydV.d.cts → context-mention-manager-D2p0-JH-.d.cts} +2 -2
  41. package/dist/{context-mention-manager-BfZzcydV.d.ts → context-mention-manager-D2p0-JH-.d.ts} +2 -2
  42. package/dist/context-mentions-inline.d.cts +2 -2
  43. package/dist/context-mentions-inline.d.ts +2 -2
  44. package/dist/context-mentions.d.cts +3 -3
  45. package/dist/context-mentions.d.ts +3 -3
  46. package/dist/{defaults-DiTeXyr3.d.cts → defaults-CjX0kKzb.d.cts} +1 -1
  47. package/dist/{defaults-DiTeXyr3.d.ts → defaults-CjX0kKzb.d.ts} +1 -1
  48. package/dist/dictation-runtime.d.cts +2 -2
  49. package/dist/dictation-runtime.d.ts +2 -2
  50. package/dist/event-stream-view.d.cts +1 -1
  51. package/dist/event-stream-view.d.ts +1 -1
  52. package/dist/{fallback-speech-engine-DZ6Of7VU.d.cts → fallback-speech-engine-DmF7MczI.d.cts} +1 -1
  53. package/dist/{fallback-speech-engine-DZ6Of7VU.d.ts → fallback-speech-engine-DmF7MczI.d.ts} +1 -1
  54. package/dist/{feature-preferences-BT549D_E.d.cts → feature-preferences-CVFDt9Xf.d.cts} +1 -1
  55. package/dist/{feature-preferences-BT549D_E.d.ts → feature-preferences-CVFDt9Xf.d.ts} +1 -1
  56. package/dist/forms-ui.d.cts +2 -2
  57. package/dist/forms-ui.d.ts +2 -2
  58. package/dist/{history-confirm-dialog-Cm4oK4am.d.cts → history-confirm-dialog-DJEXsTyE.d.cts} +1 -1
  59. package/dist/{history-confirm-dialog-Cm4oK4am.d.ts → history-confirm-dialog-DJEXsTyE.d.ts} +1 -1
  60. package/dist/history-shell.d.cts +6 -6
  61. package/dist/history-shell.d.ts +6 -6
  62. package/dist/history-view.d.cts +1 -1
  63. package/dist/history-view.d.ts +1 -1
  64. package/dist/index.cjs +11 -10
  65. package/dist/index.cjs.map +1 -1
  66. package/dist/index.d.cts +9 -9
  67. package/dist/index.d.ts +9 -9
  68. package/dist/index.global.js +1 -1
  69. package/dist/index.global.js.map +1 -1
  70. package/dist/index.js +23 -22
  71. package/dist/index.js.map +1 -1
  72. package/dist/launcher.global.js +1 -1
  73. package/dist/launcher.global.js.map +1 -1
  74. package/dist/{loading-label-runtime-loader-DmiPDkBu.d.cts → loading-label-runtime-loader-CPxnoaoi.d.cts} +1 -1
  75. package/dist/{loading-label-runtime-loader-DmiPDkBu.d.ts → loading-label-runtime-loader-CPxnoaoi.d.ts} +1 -1
  76. package/dist/loading-label-runtime.d.cts +1 -1
  77. package/dist/loading-label-runtime.d.ts +1 -1
  78. package/dist/{message-bubble-D0rosKuK.d.cts → message-bubble-CkZGlCLC.d.cts} +1 -1
  79. package/dist/{message-bubble-D0rosKuK.d.ts → message-bubble-CkZGlCLC.d.ts} +1 -1
  80. package/dist/preferences-runtime.d.cts +1 -1
  81. package/dist/preferences-runtime.d.ts +1 -1
  82. package/dist/{preview-DRU27q-X.d.cts → preview-DdUvoLb4.d.cts} +2 -2
  83. package/dist/{preview-DRU27q-X.d.ts → preview-DdUvoLb4.d.ts} +2 -2
  84. package/dist/{registry-DRk3VMFc.d.cts → registry-Dz4iHNST.d.cts} +1 -1
  85. package/dist/{registry-DRk3VMFc.d.ts → registry-Dz4iHNST.d.ts} +1 -1
  86. package/dist/{session-Dj4bOm5y.d.cts → session-Baxp9iRK.d.cts} +14 -8
  87. package/dist/{session-Dj4bOm5y.d.ts → session-Baxp9iRK.d.ts} +14 -8
  88. package/dist/session-reconnect.d.cts +2 -2
  89. package/dist/session-reconnect.d.ts +2 -2
  90. package/dist/smart-dom-reader.d.cts +1 -1
  91. package/dist/smart-dom-reader.d.ts +1 -1
  92. package/dist/theme-editor-preview.cjs +46 -45
  93. package/dist/theme-editor-preview.d.cts +1 -1
  94. package/dist/theme-editor-preview.d.ts +1 -1
  95. package/dist/theme-editor-preview.js +19 -18
  96. package/dist/theme-editor.cjs +1 -1
  97. package/dist/theme-editor.d.cts +2 -2
  98. package/dist/theme-editor.d.ts +2 -2
  99. package/dist/theme-editor.js +1 -1
  100. package/dist/theme-reference.cjs +1 -1
  101. package/dist/theme-reference.d.cts +2 -2
  102. package/dist/theme-reference.d.ts +2 -2
  103. package/dist/theme-reference.js +1 -1
  104. package/dist/{tool-loading-animation-D1MS5Ace.d.cts → tool-loading-animation-un3kA5Ur.d.cts} +1 -1
  105. package/dist/{tool-loading-animation-D1MS5Ace.d.ts → tool-loading-animation-un3kA5Ur.d.ts} +1 -1
  106. package/dist/{turn-activity-ui-CorwdlI0.d.cts → turn-activity-ui-BGNhtMcH.d.cts} +2 -2
  107. package/dist/{turn-activity-ui-CorwdlI0.d.ts → turn-activity-ui-BGNhtMcH.d.ts} +2 -2
  108. package/dist/turn-activity-ui.d.cts +1 -1
  109. package/dist/turn-activity-ui.d.ts +1 -1
  110. package/dist/{types-CSXHl5cN.d.cts → types-BOZHQIk0.d.cts} +8 -1
  111. package/dist/{types-CSXHl5cN.d.ts → types-BOZHQIk0.d.ts} +8 -1
  112. package/dist/voice-client-tools.d.cts +1 -1
  113. package/dist/voice-client-tools.d.ts +1 -1
  114. package/dist/voice-runtime.cjs +1 -1
  115. package/dist/voice-runtime.d.cts +2 -2
  116. package/dist/voice-runtime.d.ts +2 -2
  117. package/dist/voice-runtime.js +1 -1
  118. package/dist/voice-worklet-player.d.cts +2 -2
  119. package/dist/voice-worklet-player.d.ts +2 -2
  120. package/dist/{webmcp-runtime-entry-DpDN6k-6.d.cts → webmcp-runtime-entry-DuAG1_yF.d.cts} +1 -1
  121. package/dist/{webmcp-runtime-entry-DpDN6k-6.d.ts → webmcp-runtime-entry-DuAG1_yF.d.ts} +1 -1
  122. package/dist/webmcp-runtime.d.cts +1 -1
  123. package/dist/webmcp-runtime.d.ts +1 -1
  124. package/dist/widget.css +1 -1
  125. package/package.json +1 -1
  126. package/src/activity-ui.ts +23 -0
  127. package/src/components/disclosure-animation.ts +5 -0
  128. package/src/components/tool-bubble.ts +1 -0
  129. package/src/index-core.ts +1 -0
  130. package/src/styles/widget.css +18 -0
  131. package/src/types.ts +8 -0
  132. package/src/ui.footer-visibility.test.ts +54 -0
  133. package/src/ui.reveal-tool-call.test.ts +258 -0
  134. package/src/ui.ts +127 -5
  135. package/src/utils/brand.test.ts +50 -0
  136. package/src/utils/brand.ts +6 -2
  137. package/src/utils/tokens.ts +2 -1
  138. package/src/utils/tool-activity-summary.test.ts +8 -0
  139. package/src/utils/tool-activity-summary.ts +2 -1
  140. package/dist/chunk-B3OrH9Ng.js +0 -2
  141. package/dist/chunk-CjhA_5Jk.js +0 -1
@@ -1,4 +1,4 @@
1
- import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-D1MS5Ace.cjs";
1
+ import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-un3kA5Ur.cjs";
2
2
  //#region src/loading-label-runtime-loader.d.ts
3
3
  /** Internal contract: resolve/decorate fresh labels, then manage committed hooks.
4
4
  * A future renderer replacement must preserve this lifecycle and readiness boundary.
@@ -1,4 +1,4 @@
1
- import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-D1MS5Ace.js";
1
+ import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-un3kA5Ur.js";
2
2
  //#region src/loading-label-runtime-loader.d.ts
3
3
  /** Internal contract: resolve/decorate fresh labels, then manage committed hooks.
4
4
  * A future renderer replacement must preserve this lifecycle and readiness boundary.
@@ -1,3 +1,3 @@
1
- import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-D1MS5Ace.cjs";
1
+ import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-un3kA5Ur.cjs";
2
2
  export { applyLoadingAnimation, applyLoadingLabel, createLoadingLabelLifecycle };
3
3
  export {}
@@ -1,3 +1,3 @@
1
- import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-D1MS5Ace.js";
1
+ import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-un3kA5Ur.js";
2
2
  export { applyLoadingAnimation, applyLoadingLabel, createLoadingLabelLifecycle };
3
3
  export {}
@@ -1,4 +1,4 @@
1
- import { Ct as AgentWidgetMessage, Et as AgentWidgetMessageLayoutConfig, Tt as AgentWidgetMessageFeedback, hi as LoadingIndicatorRenderContext, k as AgentWidgetConfig, mo as MessageGeometryTokens, wt as AgentWidgetMessageActionsConfig } from "./types-CSXHl5cN.cjs";
1
+ import { Ct as AgentWidgetMessage, Et as AgentWidgetMessageLayoutConfig, Tt as AgentWidgetMessageFeedback, gi as LoadingIndicatorRenderContext, ho as MessageGeometryTokens, k as AgentWidgetConfig, wt as AgentWidgetMessageActionsConfig } from "./types-BOZHQIk0.cjs";
2
2
  //#region src/components/message-bubble.d.ts
3
3
  type LoadingIndicatorRenderer = (context: LoadingIndicatorRenderContext) => HTMLElement | null;
4
4
  type MessageTransform = (context: {
@@ -1,4 +1,4 @@
1
- import { Ct as AgentWidgetMessage, Et as AgentWidgetMessageLayoutConfig, Tt as AgentWidgetMessageFeedback, hi as LoadingIndicatorRenderContext, k as AgentWidgetConfig, mo as MessageGeometryTokens, wt as AgentWidgetMessageActionsConfig } from "./types-CSXHl5cN.js";
1
+ import { Ct as AgentWidgetMessage, Et as AgentWidgetMessageLayoutConfig, Tt as AgentWidgetMessageFeedback, gi as LoadingIndicatorRenderContext, ho as MessageGeometryTokens, k as AgentWidgetConfig, wt as AgentWidgetMessageActionsConfig } from "./types-BOZHQIk0.js";
2
2
  //#region src/components/message-bubble.d.ts
3
3
  type LoadingIndicatorRenderer = (context: LoadingIndicatorRenderContext) => HTMLElement | null;
4
4
  type MessageTransform = (context: {
@@ -1,3 +1,3 @@
1
- import { i as applyFeaturePreferences } from "./feature-preferences-BT549D_E.cjs";
1
+ import { i as applyFeaturePreferences } from "./feature-preferences-CVFDt9Xf.cjs";
2
2
  export { applyFeaturePreferences };
3
3
  export {}
@@ -1,3 +1,3 @@
1
- import { i as applyFeaturePreferences } from "./feature-preferences-BT549D_E.js";
1
+ import { i as applyFeaturePreferences } from "./feature-preferences-CVFDt9Xf.js";
2
2
  export { applyFeaturePreferences };
3
3
  export {}
@@ -1,5 +1,5 @@
1
- import { Ct as AgentWidgetMessage, do as DeepPartial, ho as PersonaTheme, k as AgentWidgetConfig } from "./types-CSXHl5cN.cjs";
2
- import { Tn as AgentWidgetController } from "./session-Dj4bOm5y.cjs";
1
+ import { Ct as AgentWidgetMessage, fo as DeepPartial, go as PersonaTheme, k as AgentWidgetConfig } from "./types-BOZHQIk0.cjs";
2
+ import { Tn as AgentWidgetController } from "./session-Baxp9iRK.cjs";
3
3
  //#region src/theme-editor/preview-utils.d.ts
4
4
  declare const DEVICE_DIMENSIONS: Record<string, {
5
5
  w: number;
@@ -1,5 +1,5 @@
1
- import { Ct as AgentWidgetMessage, do as DeepPartial, ho as PersonaTheme, k as AgentWidgetConfig } from "./types-CSXHl5cN.js";
2
- import { Tn as AgentWidgetController } from "./session-Dj4bOm5y.js";
1
+ import { Ct as AgentWidgetMessage, fo as DeepPartial, go as PersonaTheme, k as AgentWidgetConfig } from "./types-BOZHQIk0.js";
2
+ import { Tn as AgentWidgetController } from "./session-Baxp9iRK.js";
3
3
  //#region src/theme-editor/preview-utils.d.ts
4
4
  declare const DEVICE_DIMENSIONS: Record<string, {
5
5
  w: number;
@@ -1,4 +1,4 @@
1
- import { D as AgentWidgetComponentRenderer, T as AgentWidgetComponentRenderContext } from "./types-CSXHl5cN.cjs";
1
+ import { D as AgentWidgetComponentRenderer, T as AgentWidgetComponentRenderContext } from "./types-BOZHQIk0.cjs";
2
2
  import { Marked } from "marked";
3
3
  import DOMPurify from "dompurify";
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { D as AgentWidgetComponentRenderer, T as AgentWidgetComponentRenderContext } from "./types-CSXHl5cN.js";
1
+ import { D as AgentWidgetComponentRenderer, T as AgentWidgetComponentRenderContext } from "./types-BOZHQIk0.js";
2
2
  import { Marked } from "marked";
3
3
  import DOMPurify from "dompurify";
4
4
  //#endregion
@@ -1,11 +1,11 @@
1
- import { t as ComponentContext } from "./registry-DRk3VMFc.cjs";
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-CSXHl5cN.cjs";
3
- import { n as MentionSubmitBundle } from "./context-mention-manager-BfZzcydV.cjs";
4
- import { i as MessageTransform } from "./message-bubble-D0rosKuK.cjs";
5
- import "./feature-preferences-BT549D_E.cjs";
6
- import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-DpDN6k-6.cjs";
7
- import "./fallback-speech-engine-DZ6Of7VU.cjs";
8
- import "./defaults-DiTeXyr3.cjs";
1
+ import { t as ComponentContext } from "./registry-Dz4iHNST.cjs";
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.cjs";
3
+ import { n as MentionSubmitBundle } from "./context-mention-manager-D2p0-JH-.cjs";
4
+ import { i as MessageTransform } from "./message-bubble-CkZGlCLC.cjs";
5
+ import "./feature-preferences-CVFDt9Xf.cjs";
6
+ import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-DuAG1_yF.cjs";
7
+ import "./fallback-speech-engine-DmF7MczI.cjs";
8
+ import "./defaults-CjX0kKzb.cjs";
9
9
  import { IconNode as IconNode$1 } from "lucide";
10
10
  import "marked";
11
11
  //#region src/utils/legacy-diagnostics.d.ts
@@ -240,6 +240,12 @@ type Controller = {
240
240
  * (launcher mode) or textarea is unavailable.
241
241
  */
242
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;
243
249
  /**
244
250
  * Programmatically resolve a pending approval.
245
251
  * @param approvalId - The approval ID to resolve
@@ -1,11 +1,11 @@
1
- import { t as ComponentContext } from "./registry-DRk3VMFc.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-CSXHl5cN.js";
3
- import { n as MentionSubmitBundle } from "./context-mention-manager-BfZzcydV.js";
4
- import { i as MessageTransform } from "./message-bubble-D0rosKuK.js";
5
- import "./feature-preferences-BT549D_E.js";
6
- import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-DpDN6k-6.js";
7
- import "./fallback-speech-engine-DZ6Of7VU.js";
8
- import "./defaults-DiTeXyr3.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
@@ -240,6 +240,12 @@ type Controller = {
240
240
  * (launcher mode) or textarea is unavailable.
241
241
  */
242
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;
243
249
  /**
244
250
  * Programmatically resolve a pending approval.
245
251
  * @param approvalId - The approval ID to resolve
@@ -1,5 +1,5 @@
1
- import { Ct as AgentWidgetMessage, Li as ResumableHandle, k as AgentWidgetConfig } from "./types-CSXHl5cN.cjs";
2
- import { n as AgentWidgetSessionStatus } from "./session-Dj4bOm5y.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-CSXHl5cN.js";
2
- import { n as AgentWidgetSessionStatus } from "./session-Dj4bOm5y.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-CSXHl5cN.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-CSXHl5cN.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
  /**