@runtypelabs/persona 4.32.1 → 4.33.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 (165) hide show
  1. package/dist/activity-ui.d.cts +3 -3
  2. package/dist/activity-ui.d.ts +3 -3
  3. package/dist/animations/glyph-cycle.d.cts +1 -1
  4. package/dist/animations/glyph-cycle.d.ts +1 -1
  5. package/dist/animations/wipe.d.cts +1 -1
  6. package/dist/animations/wipe.d.ts +1 -1
  7. package/dist/approval-ui.d.cts +2 -2
  8. package/dist/approval-ui.d.ts +2 -2
  9. package/dist/artifacts-ui.d.cts +3 -3
  10. package/dist/artifacts-ui.d.ts +3 -3
  11. package/dist/background-runtime.d.cts +1 -1
  12. package/dist/background-runtime.d.ts +1 -1
  13. package/dist/{chunk-BbXc58OA.js → chunk-6CUrH_jm.js} +1 -1
  14. package/dist/{chunk-B_H0l3u2.js → chunk-BRM3bHcJ.js} +1 -1
  15. package/dist/chunk-CEPM3FOp.js +1 -0
  16. package/dist/{chunk-CumoXK3u.js → chunk-CXQJG7pb.js} +1 -1
  17. package/dist/{chunk-UWMfWW2a.js → chunk-D1G8tgYc.js} +1 -1
  18. package/dist/{chunk-BpjtKnGI.js → chunk-D6U0E82p.js} +1 -1
  19. package/dist/{chunk-2FnmZ9AA.js → chunk-DOZmcve8.js} +1 -1
  20. package/dist/chunk-DVgzoVCB.js +1 -0
  21. package/dist/{chunk-C9uOhfk5.js → chunk-DW7Vg_l2.js} +1 -1
  22. package/dist/{chunk-B3l7TOOv.js → chunk-DbGLjU2P.js} +1 -1
  23. package/dist/{chunk-DTGvDx8o.js → chunk-Dj2a9f9w.js} +1 -1
  24. package/dist/{chunk-DgZZqy14.js → chunk-d54BJdKd.js} +1 -1
  25. package/dist/chunk-dLJWKfOb.js +1 -0
  26. package/dist/{chunk-DNdeIFJ6.js → chunk-gu34lr-P.js} +1 -1
  27. package/dist/chunk-i4qGOJAL.js +1 -0
  28. package/dist/{chunk-DVZ8ri1z.js → chunk-ql5N2I_t.js} +1 -1
  29. package/dist/client-dispatch.js +1 -1
  30. package/dist/client-history.js +1 -1
  31. package/dist/codegen.cjs +1 -1
  32. package/dist/codegen.js +1 -1
  33. package/dist/composer-actions-runtime.d.cts +2 -2
  34. package/dist/composer-actions-runtime.d.ts +2 -2
  35. package/dist/{composer-input-dwg_o9Z-.d.cts → composer-input-DnqGCXZz.d.cts} +1 -1
  36. package/dist/{composer-input-dwg_o9Z-.d.ts → composer-input-DnqGCXZz.d.ts} +1 -1
  37. package/dist/{composer-store-Dw7Zbqxr.d.cts → composer-store-6Iwy6WLI.d.cts} +1 -1
  38. package/dist/{composer-store-Dw7Zbqxr.d.ts → composer-store-6Iwy6WLI.d.ts} +1 -1
  39. package/dist/{context-mention-manager-D2p0-JH-.d.cts → context-mention-manager-B-rHF98n.d.cts} +2 -2
  40. package/dist/{context-mention-manager-D2p0-JH-.d.ts → context-mention-manager-B-rHF98n.d.ts} +2 -2
  41. package/dist/context-mentions-inline.d.cts +2 -2
  42. package/dist/context-mentions-inline.d.ts +2 -2
  43. package/dist/context-mentions.d.cts +3 -3
  44. package/dist/context-mentions.d.ts +3 -3
  45. package/dist/{defaults-CjX0kKzb.d.ts → defaults-BuOjqUAG.d.cts} +2 -1
  46. package/dist/{defaults-CjX0kKzb.d.cts → defaults-BuOjqUAG.d.ts} +2 -1
  47. package/dist/dictation-runtime.d.cts +2 -2
  48. package/dist/dictation-runtime.d.ts +2 -2
  49. package/dist/event-stream-view.d.cts +1 -1
  50. package/dist/event-stream-view.d.ts +1 -1
  51. package/dist/{fallback-speech-engine-DmF7MczI.d.cts → fallback-speech-engine-SqEfkGda.d.cts} +1 -1
  52. package/dist/{fallback-speech-engine-DmF7MczI.d.ts → fallback-speech-engine-SqEfkGda.d.ts} +1 -1
  53. package/dist/{feature-preferences-CVFDt9Xf.d.cts → feature-preferences-DqAmje-2.d.cts} +1 -1
  54. package/dist/{feature-preferences-CVFDt9Xf.d.ts → feature-preferences-DqAmje-2.d.ts} +1 -1
  55. package/dist/forms-ui.d.cts +2 -2
  56. package/dist/forms-ui.d.ts +2 -2
  57. package/dist/{history-confirm-dialog-DJEXsTyE.d.cts → history-confirm-dialog-B3L7QNcO.d.cts} +1 -1
  58. package/dist/{history-confirm-dialog-DJEXsTyE.d.ts → history-confirm-dialog-B3L7QNcO.d.ts} +1 -1
  59. package/dist/history-shell.cjs +1 -1
  60. package/dist/history-shell.d.cts +6 -6
  61. package/dist/history-shell.d.ts +6 -6
  62. package/dist/history-shell.js +1 -1
  63. package/dist/history-view.d.cts +1 -1
  64. package/dist/history-view.d.ts +1 -1
  65. package/dist/index.cjs +38 -38
  66. package/dist/index.cjs.map +1 -1
  67. package/dist/index.d.cts +9 -9
  68. package/dist/index.d.ts +9 -9
  69. package/dist/index.global.js +1 -1
  70. package/dist/index.global.js.map +1 -1
  71. package/dist/index.js +52 -52
  72. package/dist/index.js.map +1 -1
  73. package/dist/install.global.js +1 -1
  74. package/dist/install.global.js.map +1 -1
  75. package/dist/launcher.global.js +2 -2
  76. package/dist/launcher.global.js.map +1 -1
  77. package/dist/{loading-label-runtime-loader-CPxnoaoi.d.cts → loading-label-runtime-loader-JecjOfJS.d.cts} +1 -1
  78. package/dist/{loading-label-runtime-loader-CPxnoaoi.d.ts → loading-label-runtime-loader-JecjOfJS.d.ts} +1 -1
  79. package/dist/loading-label-runtime.d.cts +1 -1
  80. package/dist/loading-label-runtime.d.ts +1 -1
  81. package/dist/{message-bubble-CkZGlCLC.d.ts → message-bubble-CBYtpDsT.d.cts} +2 -2
  82. package/dist/{message-bubble-CkZGlCLC.d.cts → message-bubble-CBYtpDsT.d.ts} +2 -2
  83. package/dist/preferences-runtime.d.cts +1 -1
  84. package/dist/preferences-runtime.d.ts +1 -1
  85. package/dist/{preview-DdUvoLb4.d.cts → preview-_UJwwt2L.d.cts} +2 -2
  86. package/dist/{preview-DdUvoLb4.d.ts → preview-_UJwwt2L.d.ts} +2 -2
  87. package/dist/{registry-Dz4iHNST.d.cts → registry-B5ZV3K-h.d.cts} +1 -1
  88. package/dist/{registry-Dz4iHNST.d.ts → registry-B5ZV3K-h.d.ts} +1 -1
  89. package/dist/{session-Baxp9iRK.d.cts → session-Bys8_XuB.d.cts} +10 -9
  90. package/dist/{session-Baxp9iRK.d.ts → session-Bys8_XuB.d.ts} +10 -9
  91. package/dist/session-reconnect.d.cts +2 -2
  92. package/dist/session-reconnect.d.ts +2 -2
  93. package/dist/smart-dom-reader.d.cts +1 -1
  94. package/dist/smart-dom-reader.d.ts +1 -1
  95. package/dist/theme-editor-preview.cjs +31 -31
  96. package/dist/theme-editor-preview.d.cts +1 -1
  97. package/dist/theme-editor-preview.d.ts +1 -1
  98. package/dist/theme-editor-preview.js +19 -19
  99. package/dist/theme-editor.cjs +1 -1
  100. package/dist/theme-editor.d.cts +2 -2
  101. package/dist/theme-editor.d.ts +2 -2
  102. package/dist/theme-editor.js +1 -1
  103. package/dist/theme-reference.cjs +1 -1
  104. package/dist/theme-reference.d.cts +4 -2
  105. package/dist/theme-reference.d.ts +4 -2
  106. package/dist/theme-reference.js +1 -1
  107. package/dist/{tool-loading-animation-un3kA5Ur.d.cts → tool-loading-animation-d5qAQcwv.d.cts} +1 -1
  108. package/dist/{tool-loading-animation-un3kA5Ur.d.ts → tool-loading-animation-d5qAQcwv.d.ts} +1 -1
  109. package/dist/{turn-activity-ui-BGNhtMcH.d.cts → turn-activity-ui-q6fHVnx-.d.cts} +2 -2
  110. package/dist/{turn-activity-ui-BGNhtMcH.d.ts → turn-activity-ui-q6fHVnx-.d.ts} +2 -2
  111. package/dist/turn-activity-ui.d.cts +1 -1
  112. package/dist/turn-activity-ui.d.ts +1 -1
  113. package/dist/{types-BOZHQIk0.d.cts → types-B_mj21jg.d.cts} +91 -7
  114. package/dist/{types-BOZHQIk0.d.ts → types-B_mj21jg.d.ts} +91 -7
  115. package/dist/voice-client-tools.d.cts +1 -1
  116. package/dist/voice-client-tools.d.ts +1 -1
  117. package/dist/voice-runtime.cjs +1 -1
  118. package/dist/voice-runtime.d.cts +2 -2
  119. package/dist/voice-runtime.d.ts +2 -2
  120. package/dist/voice-runtime.js +1 -1
  121. package/dist/voice-worklet-player.d.cts +2 -2
  122. package/dist/voice-worklet-player.d.ts +2 -2
  123. package/dist/{webmcp-runtime-entry-DuAG1_yF.d.cts → webmcp-runtime-entry-ClEO3qdI.d.cts} +1 -1
  124. package/dist/{webmcp-runtime-entry-DuAG1_yF.d.ts → webmcp-runtime-entry-ClEO3qdI.d.ts} +1 -1
  125. package/dist/webmcp-runtime.d.cts +1 -1
  126. package/dist/webmcp-runtime.d.ts +1 -1
  127. package/dist/widget.css +1 -1
  128. package/package.json +1 -1
  129. package/src/client-dispatch.ts +69 -16
  130. package/src/client.operator-role.test.ts +217 -0
  131. package/src/components/message-bubble.test.ts +169 -0
  132. package/src/components/message-bubble.ts +97 -28
  133. package/src/defaults-parity.test.ts +14 -0
  134. package/src/index-core.ts +7 -0
  135. package/src/index-global.ts +2 -1
  136. package/src/install.test.ts +6 -5
  137. package/src/install.ts +2 -2
  138. package/src/launcher-global.ts +2 -1
  139. package/src/session.resubmit-from.test.ts +27 -0
  140. package/src/session.test.ts +51 -0
  141. package/src/session.ts +22 -12
  142. package/src/styles/widget.css +23 -1
  143. package/src/theme-reference.ts +3 -1
  144. package/src/types/theme.ts +21 -0
  145. package/src/types.ts +71 -6
  146. package/src/ui.ask-user-question-plugin.test.ts +154 -0
  147. package/src/ui.operator-role.test.ts +336 -0
  148. package/src/ui.ts +37 -12
  149. package/src/utils/__snapshots__/tokens-parity.test.ts.snap +236 -0
  150. package/src/utils/brand.test.ts +14 -0
  151. package/src/utils/brand.ts +8 -4
  152. package/src/utils/cdn-release.test.ts +20 -0
  153. package/src/utils/cdn-release.ts +14 -0
  154. package/src/utils/history-messages.test.ts +30 -0
  155. package/src/utils/history-messages.ts +26 -8
  156. package/src/utils/message-fingerprint.ts +4 -0
  157. package/src/utils/resubmit-turn.test.ts +13 -0
  158. package/src/utils/resubmit-turn.ts +12 -1
  159. package/src/utils/tokens.ts +31 -0
  160. package/src/welcome.test.ts +16 -0
  161. package/src/welcome.ts +10 -2
  162. package/dist/chunk-BkOYJ11B.js +0 -1
  163. package/dist/chunk-Bz9jAgba.js +0 -1
  164. package/dist/chunk-CdpVP6LZ.js +0 -1
  165. package/dist/chunk-DM-OJt5q.js +0 -1
@@ -1,4 +1,4 @@
1
- import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-un3kA5Ur.cjs";
1
+ import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-d5qAQcwv.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-un3kA5Ur.js";
1
+ import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-d5qAQcwv.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-un3kA5Ur.cjs";
1
+ import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-d5qAQcwv.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-un3kA5Ur.js";
1
+ import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-d5qAQcwv.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, gi as LoadingIndicatorRenderContext, ho as MessageGeometryTokens, k as AgentWidgetConfig, wt as AgentWidgetMessageActionsConfig } from "./types-BOZHQIk0.js";
1
+ import { Ct as AgentWidgetMessage, Dt as AgentWidgetMessageLayoutConfig, Et as AgentWidgetMessageFeedback, Ot as AgentWidgetMessageRole, bo as MessageGeometryTokens, k as AgentWidgetConfig, wt as AgentWidgetMessageActionsConfig, xi as LoadingIndicatorRenderContext } from "./types-B_mj21jg.cjs";
2
2
  //#region src/components/message-bubble.d.ts
3
3
  type LoadingIndicatorRenderer = (context: LoadingIndicatorRenderContext) => HTMLElement | null;
4
4
  type MessageTransform = (context: {
@@ -21,7 +21,7 @@ declare const renderLoadingIndicatorWithFallback: (location: 'inline' | 'standal
21
21
  /**
22
22
  * Get bubble classes based on layout preset
23
23
  */
24
- declare const getBubbleClasses: (role: "user" | "assistant" | "system", layout?: AgentWidgetMessageLayoutConfig["layout"]) => string[];
24
+ declare const getBubbleClasses: (role: AgentWidgetMessageRole, layout?: AgentWidgetMessageLayoutConfig["layout"]) => string[];
25
25
  /**
26
26
  * Apply the `components.message.user/assistant` geometry tokens to a bubble.
27
27
  * Written inline as var() chains so the per-layout default stays the fallback;
@@ -1,4 +1,4 @@
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";
1
+ import { Ct as AgentWidgetMessage, Dt as AgentWidgetMessageLayoutConfig, Et as AgentWidgetMessageFeedback, Ot as AgentWidgetMessageRole, bo as MessageGeometryTokens, k as AgentWidgetConfig, wt as AgentWidgetMessageActionsConfig, xi as LoadingIndicatorRenderContext } from "./types-B_mj21jg.js";
2
2
  //#region src/components/message-bubble.d.ts
3
3
  type LoadingIndicatorRenderer = (context: LoadingIndicatorRenderContext) => HTMLElement | null;
4
4
  type MessageTransform = (context: {
@@ -21,7 +21,7 @@ declare const renderLoadingIndicatorWithFallback: (location: 'inline' | 'standal
21
21
  /**
22
22
  * Get bubble classes based on layout preset
23
23
  */
24
- declare const getBubbleClasses: (role: "user" | "assistant" | "system", layout?: AgentWidgetMessageLayoutConfig["layout"]) => string[];
24
+ declare const getBubbleClasses: (role: AgentWidgetMessageRole, layout?: AgentWidgetMessageLayoutConfig["layout"]) => string[];
25
25
  /**
26
26
  * Apply the `components.message.user/assistant` geometry tokens to a bubble.
27
27
  * Written inline as var() chains so the per-layout default stays the fallback;
@@ -1,3 +1,3 @@
1
- import { i as applyFeaturePreferences } from "./feature-preferences-CVFDt9Xf.cjs";
1
+ import { i as applyFeaturePreferences } from "./feature-preferences-DqAmje-2.cjs";
2
2
  export { applyFeaturePreferences };
3
3
  export {}
@@ -1,3 +1,3 @@
1
- import { i as applyFeaturePreferences } from "./feature-preferences-CVFDt9Xf.js";
1
+ import { i as applyFeaturePreferences } from "./feature-preferences-DqAmje-2.js";
2
2
  export { applyFeaturePreferences };
3
3
  export {}
@@ -1,5 +1,5 @@
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";
1
+ import { Ct as AgentWidgetMessage, So as PersonaTheme, _o as DeepPartial, k as AgentWidgetConfig } from "./types-B_mj21jg.cjs";
2
+ import { Tn as AgentWidgetController } from "./session-Bys8_XuB.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, fo as DeepPartial, go as PersonaTheme, k as AgentWidgetConfig } from "./types-BOZHQIk0.js";
2
- import { Tn as AgentWidgetController } from "./session-Baxp9iRK.js";
1
+ import { Ct as AgentWidgetMessage, So as PersonaTheme, _o as DeepPartial, k as AgentWidgetConfig } from "./types-B_mj21jg.js";
2
+ import { Tn as AgentWidgetController } from "./session-Bys8_XuB.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-BOZHQIk0.cjs";
1
+ import { D as AgentWidgetComponentRenderer, T as AgentWidgetComponentRenderContext } from "./types-B_mj21jg.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-BOZHQIk0.js";
1
+ import { D as AgentWidgetComponentRenderer, T as AgentWidgetComponentRenderContext } from "./types-B_mj21jg.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-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";
1
+ import { t as ComponentContext } from "./registry-B5ZV3K-h.cjs";
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.cjs";
3
+ import { n as MentionSubmitBundle } from "./context-mention-manager-B-rHF98n.cjs";
4
+ import { i as MessageTransform } from "./message-bubble-CBYtpDsT.cjs";
5
+ import "./feature-preferences-DqAmje-2.cjs";
6
+ import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-ClEO3qdI.cjs";
7
+ import "./fallback-speech-engine-SqEfkGda.cjs";
8
+ import "./defaults-BuOjqUAG.cjs";
9
9
  import { IconNode as IconNode$1 } from "lucide";
10
10
  import "marked";
11
11
  //#region src/utils/legacy-diagnostics.d.ts
@@ -2406,7 +2406,8 @@ declare class AgentWidgetSession {
2406
2406
  * the new attempt gets fresh message ids.
2407
2407
  *
2408
2408
  * Returns false when the id is unknown, is not a user message, or the rebuilt
2409
- * turn would carry no content; nothing is truncated in that case.
2409
+ * turn would carry no content, or truncation would remove an operator reply;
2410
+ * nothing is truncated in those cases.
2410
2411
  */
2411
2412
  resubmitFrom(messageId: string, options: ComposerResubmitOptions): boolean;
2412
2413
  /**
@@ -1,11 +1,11 @@
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";
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";
9
9
  import { IconNode as IconNode$1 } from "lucide";
10
10
  import "marked";
11
11
  //#region src/utils/legacy-diagnostics.d.ts
@@ -2406,7 +2406,8 @@ declare class AgentWidgetSession {
2406
2406
  * the new attempt gets fresh message ids.
2407
2407
  *
2408
2408
  * Returns false when the id is unknown, is not a user message, or the rebuilt
2409
- * turn would carry no content; nothing is truncated in that case.
2409
+ * turn would carry no content, or truncation would remove an operator reply;
2410
+ * nothing is truncated in those cases.
2410
2411
  */
2411
2412
  resubmitFrom(messageId: string, options: ComposerResubmitOptions): boolean;
2412
2413
  /**
@@ -1,5 +1,5 @@
1
- import { Ct as AgentWidgetMessage, Ri as ResumableHandle, k as AgentWidgetConfig } from "./types-BOZHQIk0.cjs";
2
- import { n as AgentWidgetSessionStatus } from "./session-Baxp9iRK.cjs";
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
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, Ri as ResumableHandle, k as AgentWidgetConfig } from "./types-BOZHQIk0.js";
2
- import { n as AgentWidgetSessionStatus } from "./session-Baxp9iRK.js";
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
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-BOZHQIk0.cjs";
1
+ import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-B_mj21jg.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-BOZHQIk0.js";
1
+ import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-B_mj21jg.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
  /**