@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
@@ -1213,6 +1213,27 @@ interface MessageTokens {
1213
1213
  /** Assistant bubble box-shadow (token ref or raw CSS, e.g. `none`). */
1214
1214
  shadow?: string;
1215
1215
  };
1216
+ /**
1217
+ * Operator bubble: a human speaking on the agent's side (`role: "operator"`).
1218
+ * Renders on the assistant's side. Defaults tint the container with the
1219
+ * theme primary (`--persona-primary`), so `brand` themes follow without
1220
+ * extra config. Geometry keys fall back to the layout preset, not to the
1221
+ * assistant's geometry.
1222
+ */
1223
+ operator?: MessageGeometryTokens & {
1224
+ /** @default "color-mix(in srgb, var(--persona-primary) 6%, var(--persona-container))" */
1225
+ background?: TokenReference<'color'>;
1226
+ /** @default semantic.colors.text */
1227
+ text?: TokenReference<'color'>;
1228
+ /** @default palette.radius.lg */
1229
+ borderRadius?: TokenReference<'radius'>;
1230
+ /** @default "color-mix(in srgb, var(--persona-primary) 20%, var(--persona-container))" */
1231
+ border?: TokenReference<'color'>;
1232
+ /** Border width; set to 0px to drop it. @default "1px" */
1233
+ borderWidth?: string;
1234
+ /** Operator bubble box-shadow (token ref or raw CSS, e.g. `none`). */
1235
+ shadow?: string;
1236
+ };
1216
1237
  /** Border color between messages in the thread. */
1217
1238
  border?: TokenReference<'color'>;
1218
1239
  }
@@ -2934,6 +2955,8 @@ interface VisitorStore {
2934
2955
  //#region src/utils/history-messages.d.ts
2935
2956
  /** One message as served by the client conversation history route. */
2936
2957
  type HistoryWireMessage = {
2958
+ /** Optional display provenance from a custom history adapter. */
2959
+ author?: AgentWidgetMessageAuthor;
2937
2960
  id: string;
2938
2961
  role: string;
2939
2962
  /** Model content: string (legacy render-safe fallback) or multi-modal parts. */
@@ -3705,7 +3728,7 @@ type AgentWidgetReplayedToolResult = {
3705
3728
  * from its own stored transcript there.
3706
3729
  */
3707
3730
  type AgentWidgetRequestPayloadMessage = {
3708
- role: AgentWidgetMessageRole | "tool";
3731
+ role: AgentWidgetModelMessageRole | "tool";
3709
3732
  content: MessageContent;
3710
3733
  createdAt: string;
3711
3734
  /** Optional assistant phase for backend adapters that replay provider history. */
@@ -4188,6 +4211,19 @@ type AgentMessageMetadata = {
4188
4211
  batch?: string;
4189
4212
  };
4190
4213
  };
4214
+ /** Ordinary model context only; the serializer owns tool-call/result pairing. */
4215
+ type AgentWidgetModelMessageProjection = Pick<AgentWidgetRequestPayloadMessage, "content" | "createdAt" | "phase"> & {
4216
+ role: AgentWidgetModelMessageRole;
4217
+ };
4218
+ /** Synchronous, per-message conversion before any dispatch transport serializes history. */
4219
+ type AgentWidgetModelMessageTransform = (context: {
4220
+ /** Full UI transcript entry, including identity and human provenance. */
4221
+ message: Readonly<AgentWidgetMessage>;
4222
+ /** Resolved model content: contentParts > llmContent > rawContent > content. */
4223
+ content: MessageContent;
4224
+ /** Normal model projection; null for operator messages. Return null to omit. */
4225
+ modelMessage: AgentWidgetModelMessageProjection | null;
4226
+ }) => AgentWidgetModelMessageProjection | null;
4191
4227
  type AgentWidgetRequestMiddlewareContext = {
4192
4228
  payload: AgentWidgetRequestPayload;
4193
4229
  config: AgentWidgetConfig;
@@ -4427,7 +4463,7 @@ type AgentWidgetMessageActionsConfig = {
4427
4463
  custom?: AgentWidgetCustomMessageAction[];
4428
4464
  };
4429
4465
  /** Which roles a custom message action appears on. */
4430
- type AgentWidgetCustomMessageActionRole = "user" | "assistant";
4466
+ type AgentWidgetCustomMessageActionRole = "user" | "assistant" | "operator";
4431
4467
  /** One host-contributed message action. */
4432
4468
  type AgentWidgetCustomMessageAction = {
4433
4469
  /** Unique within `messageActions.custom`. */
@@ -9936,6 +9972,11 @@ type AgentWidgetAvatarConfig = {
9936
9972
  userAvatar?: string;
9937
9973
  /** URL or emoji for assistant avatar */
9938
9974
  assistantAvatar?: string;
9975
+ /**
9976
+ * URL or emoji for operator (human takeover) avatar. Defaults to the letter
9977
+ * "O" on a neutral fill.
9978
+ */
9979
+ operatorAvatar?: string;
9939
9980
  };
9940
9981
  /**
9941
9982
  * Timestamp configuration for message bubbles
@@ -9988,7 +10029,10 @@ type AgentWidgetMessageLayoutConfig = {
9988
10029
  groupConsecutive?: boolean;
9989
10030
  /** Width behavior for user-authored message rows */
9990
10031
  user?: AgentWidgetMessageRoleLayout;
9991
- /** Width behavior for assistant-authored message rows and assistant UI variants */
10032
+ /**
10033
+ * Width behavior for assistant-authored message rows and assistant UI
10034
+ * variants. Operator rows sit on the same side and use it too.
10035
+ */
9992
10036
  assistant?: AgentWidgetMessageRoleLayout;
9993
10037
  /**
9994
10038
  * Custom renderer for user messages
@@ -11107,6 +11151,8 @@ type AgentWidgetConfig = {
11107
11151
  */
11108
11152
  getHeaders?: AgentWidgetHeadersFunction;
11109
11153
  copy?: {
11154
+ /** Visible and accessible label for human operator replies. @default "Human operator" */
11155
+ operatorLabel?: string;
11110
11156
  /** @deprecated Use `welcome.title`. */
11111
11157
  welcomeTitle?: string;
11112
11158
  /** @deprecated Use `welcome.subtitle`. */
@@ -11299,6 +11345,16 @@ type AgentWidgetConfig = {
11299
11345
  * See `docs/context-mentions-plan.md`.
11300
11346
  */
11301
11347
  contextMentions?: AgentWidgetContextMentionConfig;
11348
+ /**
11349
+ * Synchronous model-context conversion for each nonempty conversation entry.
11350
+ * Runs on proxy, agent and client-token dispatch, after local-only notices and
11351
+ * voice captions are excluded. By default operator messages are omitted;
11352
+ * stateless adapters can explicitly map their historical human contributions
11353
+ * into supported model roles. Do not replay contributions already owned by
11354
+ * server history. This does not authorize steering, takeover or tool approval.
11355
+ * Invalid return values fail dispatch. See docs/MESSAGE-INJECTION.md.
11356
+ */
11357
+ modelMessageTransform?: AgentWidgetModelMessageTransform;
11302
11358
  requestMiddleware?: AgentWidgetRequestMiddleware;
11303
11359
  actionParsers?: AgentWidgetActionParser[];
11304
11360
  actionHandlers?: AgentWidgetActionHandler[];
@@ -11791,7 +11847,24 @@ type AgentWidgetConfig = {
11791
11847
  */
11792
11848
  type AgentWidgetConfigPatch = ConfigPatch<AgentWidgetConfig>;
11793
11849
  type ConfigPatch<T> = T extends ((...args: never[]) => unknown) ? T : T extends readonly unknown[] ? T : T extends object ? { [K in keyof T]?: ConfigPatch<T[K]>; } : T;
11794
- type AgentWidgetMessageRole = "user" | "assistant" | "system";
11850
+ /**
11851
+ * Who authored a message.
11852
+ *
11853
+ * - `user`: the end user.
11854
+ * - `assistant`: the agent (model output).
11855
+ * - `system`: context for the model, rendered like an assistant row.
11856
+ * - `operator`: a human speaking on the agent's side of the conversation, such
11857
+ * as a support agent who has taken over the thread. It renders on the
11858
+ * assistant's side with its own bubble style (`theme.components.message.operator`).
11859
+ * Operator messages are omitted from model requests by default. A stateless
11860
+ * adapter can explicitly convert them with `modelMessageTransform`.
11861
+ */
11862
+ type AgentWidgetMessageRole = "user" | "assistant" | "system" | "operator";
11863
+ /**
11864
+ * Roles that reach a model request. Human operator UI entries must be explicitly
11865
+ * converted to a supported model role by an adapter.
11866
+ */
11867
+ type AgentWidgetModelMessageRole = Exclude<AgentWidgetMessageRole, "operator">;
11795
11868
  type AgentWidgetReasoning = {
11796
11869
  id: string;
11797
11870
  status: "pending" | "streaming" | "complete";
@@ -11906,11 +11979,17 @@ type AgentWidgetTurnActivityConfig = {
11906
11979
  config: AgentWidgetConfig;
11907
11980
  }) => HTMLElement | string | null | undefined;
11908
11981
  };
11982
+ /** Display provenance, supplied by the host; never an authorization credential. */
11983
+ type AgentWidgetMessageAuthor = {
11984
+ id?: string;
11985
+ displayName?: string;
11986
+ kind?: "human" | "ai" | "system";
11987
+ };
11909
11988
  /**
11910
11989
  * Represents a message in the chat conversation.
11911
11990
  *
11912
11991
  * @property id - Unique message identifier
11913
- * @property role - Message role: "user", "assistant", or "system"
11992
+ * @property role - Message role: "user", "assistant", "system", or "operator"
11914
11993
  * @property content - Message text content (for display)
11915
11994
  * @property contentParts - Original multi-modal content parts (for API requests)
11916
11995
  * @property createdAt - ISO timestamp when message was created
@@ -11924,6 +12003,8 @@ type AgentWidgetTurnActivityConfig = {
11924
12003
  * Useful for implementing voice-specific behaviors like auto-reactivation.
11925
12004
  */
11926
12005
  type AgentWidgetMessage = {
12006
+ /** Preserved by injection, history and persistence; not sent to models automatically. */
12007
+ author?: AgentWidgetMessageAuthor;
11927
12008
  /** Opt-in whole-turn presentation metadata. Does not change model-visible content. */
11928
12009
  turnActivity?: AgentWidgetTurnActivity;
11929
12010
  id: string;
@@ -12073,10 +12154,13 @@ type AgentWidgetMessage = {
12073
12154
  * }
12074
12155
  */
12075
12156
  type InjectMessageOptions = {
12157
+ /** Host-supplied display provenance. Does not grant model or backend authority. */
12158
+ author?: AgentWidgetMessageAuthor;
12076
12159
  /** Mark assistant content as dispatch failure detail for `errorDisplay`. */
12077
12160
  dispatchError?: boolean;
12078
12161
  /**
12079
- * Message role: "assistant", "user", or "system"
12162
+ * Message role: "assistant", "user", "system", or "operator". Operator
12163
+ * messages are omitted from requests unless modelMessageTransform converts them.
12080
12164
  */
12081
12165
  role: AgentWidgetMessageRole;
12082
12166
  /**
@@ -12345,5 +12429,5 @@ type AgentWidgetInitOptions = {
12345
12429
  debugTools?: boolean;
12346
12430
  };
12347
12431
  //#endregion
12348
- export { AgentWidgetEvent as $, RuntypeTurnCompleteEvent as $a, VoiceClientToolsChannel as $i, ClientToolResultFrame as $n, HistoryConversationDetail as $r, AgentWidgetStarterSuggestionsConfig as $t, AgentWidgetConfigPatch as A, HistoryOperationContext as Aa, PersonaArtifactManualUpsert as Ai, AgentWidgetWelcomeConfig as An, TokenReference as Ao, ComposerPhase as Ar, AgentWidgetReadAloudEvent as At, AgentWidgetContextMentionRef as B, RuntypeClientChatRequest as Ba, SlotRenderContext as Bi, AttachmentPreviewRemoveConfig as Bn, formatCombo as Bo, DictationPhase as Br, AgentWidgetRunFinishedEvent as Bt, AgentWidgetAttachmentsConfig as C, WidgetPreferenceSlice as Ca, PersonaArtifactCustomAction as Ci, AgentWidgetTurnActivity as Cn, SemanticTypography as Co, ComposerModeGroup as Cr, AgentWidgetMessage as Ct, AgentWidgetComponentRenderer as D, HistoryDeleteAllOptions as Da, PersonaArtifactFileMeta as Di, AgentWidgetVoiceStatusEvent as Dn, ThemeValidationError as Do, ComposerModelPickerPresentation as Dr, AgentWidgetMessageRoleLayout as Dt, AgentWidgetComponentRenderHandle as E, renderLucideIcon as Ea, PersonaArtifactDisplayRules as Ei, AgentWidgetVoicePrewarmTrigger as En, TextStyleTokens as Eo, ComposerModelPickerConfig as Er, AgentWidgetMessageLayoutConfig as Et, AgentWidgetContextMentionConfig as F, HistoryProviderErrorCode as Fa, ReadAloudState as Fi, AgentWidgetWelcomeVariant as Fn, AgentWidgetRenderSuggestionContext as Fo, ComposerSubmissionOptions as Fr, AgentWidgetRenderHistoryStateContext as Ft, AgentWidgetContextProvider as G, RuntypeClientInitRequest as Ga, SpeechRequest as Gi, BackgroundConversationAdapter as Gn, resolveWelcomeConfig as Go, DictationStateEvent as Gr, AgentWidgetScrollMode as Gt, AgentWidgetContextMentionSearchContext as H, RuntypeClientFeedbackRequest as Ha, SlotRenderer as Hi, AttachmentPreviewRenderHandle as Hn, AgentWidgetPluginStorage as Ho, DictationRenderContext as Hr, AgentWidgetSSEEventParser as Ht, AgentWidgetContextMentionItem as I, PreparedHistoryActivation as Ia, ResolvedHistoryCopy as Ii, ArtifactConfigPayload as In, AgentWidgetRenderWelcomeContext as Io, ComposerSubmissionSnapshot as Ir, AgentWidgetRenderHistoryViewContext as It, AgentWidgetCustomFetch as J, RuntypeClientResumeStreamEvent as Ja, TextContentPart as Ji, ClientFeedbackType as Jn, EventStreamPayloadRenderContext as Jr, AgentWidgetScrollToBottomIconContext as Jt, AgentWidgetContextProviderContext as K, RuntypeClientInitResponse as Ka, StreamAnimationContext as Ki, ClientChatRequest as Kn, EventStreamBadgeColor as Kr, AgentWidgetScrollRestorePosition as Kt, AgentWidgetContextMentionItemRenderContext as L, isHistoryProviderError as La, ResolvedHistoryPresentation as Li, AskUserQuestionOption as Ln, AgentWidgetSuggestionSelectContext as Lo, ComposerSubmitKey as Lr, AgentWidgetRequestPayload as Lt, AgentWidgetContextMentionChipRenderContext as M, HistoryPageResult as Ma, PersonaArtifactRecord as Mi, AgentWidgetWelcomeIcon as Mn, AgentWidgetPlugin as Mo, ComposerResubmitOptions as Mr, AgentWidgetRenderHistoryConversationContext as Mt, AgentWidgetContextMentionCommandContext as N, HistoryProvider as Na, PersonaArtifactStatusLabelContext as Ni, AgentWidgetWelcomeIconBase as Nn, AgentWidgetRailSection as No, ComposerState as Nr, AgentWidgetRenderHistoryHeaderContext as Nt, AgentWidgetComposerConfig as O, HistoryListOptions as Oa, PersonaArtifactFilesDisplayRules as Oi, AgentWidgetWebMcpConfig as On, ThemeValidationResult as Oo, ComposerOptionsPayload as Or, AgentWidgetOpenConversationOptions as Ot, AgentWidgetContextMentionComposerCapability as P, HistoryProviderError as Pa, PreparedClientSession as Pi, AgentWidgetWelcomeIconPlacement as Pn, AgentWidgetRailSectionContext as Po, ComposerStreamingSubmitBehavior as Pr, AgentWidgetRenderHistoryOpenErrorContext as Pt, AgentWidgetDockConfig as Q, RuntypeStreamEventOf as Qa, VoiceClientTools as Qi, ClientToolDefinition as Qn, HeaderRenderContext as Qr, AgentWidgetSessionInitTrigger as Qt, AgentWidgetContextMentionMenuRenderContext as R, ResolvedTarget as Ra, ResumableHandle as Ri, AskUserQuestionPayload as Rn, AgentWidgetTransformSuggestionsContext as Ro, ContentPart as Rr, AgentWidgetResolvedSuggestion as Rt, AgentWidgetAttachmentPreviewConfig as S, WidgetPreferenceCapabilities as Sa, PersonaArtifactActionContext as Si, AgentWidgetTooltipConfig as Sn, SemanticTokens as So, ComposerModeChipVisibility as Sr, AgentWidgetMentionTriggerPosition as St, AgentWidgetComponentRenderContext as T, registerIcons as Ta, PersonaArtifactDisplayModeInput as Ti, AgentWidgetVoicePrewarmHook as Tn, SpacingScale as To, ComposerModel as Tr, AgentWidgetMessageFeedback as Tt, AgentWidgetContextMentionSource as U, RuntypeClientFeedbackResponse as Ua, SpeechCallbacks as Ui, AttachmentPreviewState as Un, ResolvedWelcomeConfig as Uo, DictationRenderHandle as Ur, AgentWidgetSSEEventResult as Ut, AgentWidgetContextMentionResolveContext as V, RuntypeClientChatStreamEvent as Va, SlotRenderResult as Vi, AttachmentPreviewRenderContext as Vn, parseCombo as Vo, DictationProviderConfig as Vr, AgentWidgetRunStartedEvent as Vt, AgentWidgetContextMentionTokenRenderContext as W, RuntypeClientFeedbackType as Wa, SpeechEngine as Wi, AttachmentUploadContext as Wn, isWelcomeVisible as Wo, DictationState as Wr, AgentWidgetScrollBehaviorFeature as Wt, AgentWidgetCustomMessageActionRole as X, RuntypeStepCompleteEvent as Xa, VoiceClientToolOutcome as Xi, ClientSession as Xn, EventStreamToolbarRenderContext as Xr, AgentWidgetScrollToBottomIconState as Xt, AgentWidgetCustomMessageAction as Y, RuntypeExecutionStreamEvent as Ya, ToolAnnotations as Yi, ClientInitResponse as Yn, EventStreamRowRenderContext as Yr, AgentWidgetScrollToBottomIconHandle as Yt, AgentWidgetDictationConfig as Z, RuntypeStopReasonKind as Za, VoiceClientToolStatus as Zi, ClientToolCallFrame as Zn, EventStreamViewRenderContext as Zr, AgentWidgetSessionInitHook as Zt, AgentWidgetArtifactsFeature as _, WebMcpConfirmInfo as _a, LoadingLabelAnimationContext as _i, AgentWidgetSuggestionSurfaceConfig as _n, PersonaThemePlugin as _o, ComposerLayout as _r, AgentWidgetMarkdownConfig as _t, AgentMessagePhase as a, VoiceDelegationResult as aa, HistoryPendingAction as ai, AgentWidgetStreamAnimationBuiltinType as an, BorderScale as ao, ComposerActionContributionContext as ar, AgentWidgetHeadersFunction as at, AgentWidgetAskUserQuestionStyles as b, WidgetHistoryInternals as ba, MessageRenderContext as bi, AgentWidgetTimestampConfig as bn, SemanticColors as bo, ComposerMenuRenderHandle as br, AgentWidgetMentionLlmEntry as bt, AgentWidgetActionContext as c, VoiceMetrics as ca, HistoryViewState as ci, AgentWidgetStreamAnimationType as cn, ColorShade as co, ComposerActionPresentation as cr, AgentWidgetHistoryListAction as ct, AgentWidgetActionHandlerResult as d, VoiceProvider as da, InjectAssistantMessageOptions as di, AgentWidgetStreamParserResult as dn, CreateThemeOptions as do, ComposerAttachmentState as dr, AgentWidgetLauncherConfig as dt, VoiceClientToolsSession as ea, HistoryConversationPage as ei, AgentWidgetStateSnapshot as en, ArtifactPaneTokens as eo, ClientToolsFrame as er, AgentWidgetEventContext as et, AgentWidgetActionParser as f, VoiceResult as fa, InjectComponentDirectiveOptions as fi, AgentWidgetSuggestion as fn, DeepPartial as fo, ComposerBeforeSendResult as fr, AgentWidgetLauncherTeaserConfig as ft, AgentWidgetApprovalDecisionOptions as g, WebMcpConfirmHandler as ga, LoadingIndicatorRenderContext as gi, AgentWidgetSuggestionSurface as gn, PersonaTheme as go, ComposerInputAttributes as gr, AgentWidgetLoadingLabelConfig as gt, AgentWidgetApprovalConfig as h, VoiceTranscriptMetadata as ha, InjectUserMessageOptions as hi, AgentWidgetSuggestionSource as hn, MessageGeometryTokens as ho, ComposerDisabledOption as hr, AgentWidgetLoadingIndicatorConfig as ht, AgentMessageMetadata as i, VoiceDelegationRequest as ia, HistoryIdentityStatus as ii, AgentWidgetStreamAnimationBuffer as in, AttachmentTokens as io, ComposerActionContext as ir, AgentWidgetHeaderLayoutConfig as it, AgentWidgetContentSegment as j, HistoryPageOptions as ja, PersonaArtifactPresentation as ji, AgentWidgetWelcomeDismiss as jn, TypographyScale as jo, ComposerQuote as jr, AgentWidgetReasoning as jt, AgentWidgetConfig as k, HistoryListResult as ka, PersonaArtifactKind as ki, AgentWidgetWelcomeAlign as kn, ToggleGroupTokens as ko, ComposerOverflowMenuConfig as kr, AgentWidgetParsedAction as kt, AgentWidgetActionEventPayload as l, VoicePlaybackEngine as la, IdleIndicatorRenderContext as li, AgentWidgetStreamCheckpoint as ln, ComponentTokens as lo, ComposerActionRenderContext as lr, AgentWidgetHistoryRenderActions as lt, AgentWidgetApproval as m, VoiceStatus as ma, InjectSystemMessageOptions as mi, AgentWidgetSuggestionChipsConfig as mn, LabelButtonTokens as mo, ComposerCustomAction as mr, AgentWidgetLinkClickContext as mt, AgentExecutionState as n, VoiceConfig as na, HistoryConversationSummary as ni, AgentWidgetStoredDraft as nn, ArtifactToolbarTokens as no, ComposerAction as nr, AgentWidgetFeatureFlags as nt, AgentRequestOptions as o, VoiceDelegationStatus as oa, HistoryReturnSurface as oi, AgentWidgetStreamAnimationFeature as on, BrandConfig as oo, ComposerActionOverflowConfig as or, AgentWidgetHistoryCopy as ot, AgentWidgetAgentRequestPayload as p, VoiceSessionBridge as pa, InjectMessageOptions as pi, AgentWidgetSuggestionBehavior as pn, IconButtonTokens as po, ComposerButtonAction as pr, AgentWidgetLayoutConfig as pt, AgentWidgetControllerEventMap as q, RuntypeClientResumeRequest as qa, StreamAnimationPlugin as qi, ClientFeedbackRequest as qn, EventStreamConfig as qr, AgentWidgetScrollToBottomFeature as qt, AgentLoopConfig as r, VoiceDelegationFollowUp as ra, HistoryDisplayProjection as ri, AgentWidgetStoredState as rn, AttachmentRemoveTokens as ro, ComposerActionBase as rr, AgentWidgetFollowUpSuggestionsConfig as rt, AgentToolsConfig as s, VoiceDirectTurn as sa, HistoryScope as si, AgentWidgetStreamAnimationPlaceholder as sn, ColorPalette as so, ComposerActionPlacement as sr, AgentWidgetHistoryFeature as st, AgentConfig as t, VoiceClientToolsSnapshot as ta, HistoryConversationPatch as ti, AgentWidgetStorageAdapter as tn, ArtifactTabTokens as to, ClientVisitorGrant as tr, AgentWidgetExpansionConfig as tt, AgentWidgetActionHandler as u, VoicePriorToolResult as ua, ImageContentPart as ui, AgentWidgetStreamParser as un, ComposerOverflowMenuTokens as uo, ComposerActionVisibility as ur, AgentWidgetInitOptions as ut, AgentWidgetArtifactsLayoutConfig as v, WebMcpToolResult as va, LoadingLabelAnimationHandle as vi, AgentWidgetSuggestionVariant as vn, RadiusScale as vo, ComposerMenuItem as vr, AgentWidgetMarkdownOptions as vt, AgentWidgetAvatarConfig as w, IconName as wa, PersonaArtifactDisplayMode as wi, AgentWidgetTurnActivityConfig as wn, ShadowScale as wo, ComposerModeGroupPresentation as wr, AgentWidgetMessageActionsConfig as wt, AgentWidgetAttachmentAdapter as x, WidgetLayoutSlot as xa, PcmStreamPlayer as xi, AgentWidgetToolCallLoadingAnimation as xn, SemanticSpacing as xo, ComposerMode as xr, AgentWidgetMentionTriggerChannel as xt, AgentWidgetAskUserQuestionFeature as y, WidgetArtifactLayoutPreference as ya, MessageContent as yi, AgentWidgetSuggestionsConfig as yn, ResolvedToken as yo, ComposerMenuRenderContext as yr, AgentWidgetMarkdownRendererOverrides as yt, AgentWidgetContextMentionPayload as z, TargetResolver as za, SSEEventRecord as zi, AskUserQuestionPrompt as zn, ariaCombo as zo, ConversationExecutionState as zr, AgentWidgetRevealToolCallOptions as zt };
12432
+ export { AgentWidgetEvent as $, RuntypeClientResumeStreamEvent as $a, TextContentPart as $i, ClientFeedbackType as $n, EventStreamPayloadRenderContext as $r, AgentWidgetScrollToBottomIconContext as $t, AgentWidgetConfigPatch as A, registerIcons as Aa, PersonaArtifactDisplayModeInput as Ai, AgentWidgetVoicePrewarmHook as An, ShadowScale as Ao, ComposerModel as Ar, AgentWidgetModelMessageProjection as At, AgentWidgetContextMentionRef as B, HistoryProviderErrorCode as Ba, ReadAloudState as Bi, AgentWidgetWelcomeVariant as Bn, AgentWidgetRailSectionContext as Bo, ComposerSubmissionOptions as Br, AgentWidgetRenderHistoryStateContext as Bt, AgentWidgetAttachmentsConfig as C, WebMcpToolResult as Ca, LoadingLabelAnimationHandle as Ci, AgentWidgetSuggestionVariant as Cn, PersonaThemePlugin as Co, ComposerMenuItem as Cr, AgentWidgetMessage as Ct, AgentWidgetComponentRenderer as D, WidgetPreferenceCapabilities as Da, PersonaArtifactActionContext as Di, AgentWidgetTooltipConfig as Dn, SemanticSpacing as Do, ComposerModeChipVisibility as Dr, AgentWidgetMessageLayoutConfig as Dt, AgentWidgetComponentRenderHandle as E, WidgetLayoutSlot as Ea, PcmStreamPlayer as Ei, AgentWidgetToolCallLoadingAnimation as En, SemanticColors as Eo, ComposerMode as Er, AgentWidgetMessageFeedback as Et, AgentWidgetContextMentionConfig as F, HistoryOperationContext as Fa, PersonaArtifactManualUpsert as Fi, AgentWidgetWelcomeConfig as Fn, ToggleGroupTokens as Fo, ComposerPhase as Fr, AgentWidgetReadAloudEvent as Ft, AgentWidgetContextProvider as G, RuntypeClientChatRequest as Ga, SlotRenderContext as Gi, AttachmentPreviewRemoveConfig as Gn, ariaCombo as Go, DictationPhase as Gr, AgentWidgetRunFinishedEvent as Gt, AgentWidgetContextMentionSearchContext as H, isHistoryProviderError as Ha, ResolvedHistoryPresentation as Hi, AskUserQuestionOption as Hn, AgentWidgetRenderWelcomeContext as Ho, ComposerSubmitKey as Hr, AgentWidgetRequestPayload as Ht, AgentWidgetContextMentionItem as I, HistoryPageOptions as Ia, PersonaArtifactPresentation as Ii, AgentWidgetWelcomeDismiss as In, TokenReference as Io, ComposerQuote as Ir, AgentWidgetReasoning as It, AgentWidgetCustomFetch as J, RuntypeClientFeedbackResponse as Ja, SpeechCallbacks as Ji, AttachmentPreviewState as Jn, AgentWidgetPluginStorage as Jo, DictationRenderHandle as Jr, AgentWidgetSSEEventResult as Jt, AgentWidgetContextProviderContext as K, RuntypeClientChatStreamEvent as Ka, SlotRenderResult as Ki, AttachmentPreviewRenderContext as Kn, formatCombo as Ko, DictationProviderConfig as Kr, AgentWidgetRunStartedEvent as Kt, AgentWidgetContextMentionItemRenderContext as L, HistoryPageResult as La, PersonaArtifactRecord as Li, AgentWidgetWelcomeIcon as Ln, TypographyScale as Lo, ComposerResubmitOptions as Lr, AgentWidgetRenderHistoryConversationContext as Lt, AgentWidgetContextMentionChipRenderContext as M, HistoryDeleteAllOptions as Ma, PersonaArtifactFileMeta as Mi, AgentWidgetVoiceStatusEvent as Mn, TextStyleTokens as Mo, ComposerModelPickerPresentation as Mr, AgentWidgetModelMessageTransform as Mt, AgentWidgetContextMentionCommandContext as N, HistoryListOptions as Na, PersonaArtifactFilesDisplayRules as Ni, AgentWidgetWebMcpConfig as Nn, ThemeValidationError as No, ComposerOptionsPayload as Nr, AgentWidgetOpenConversationOptions as Nt, AgentWidgetComposerConfig as O, WidgetPreferenceSlice as Oa, PersonaArtifactCustomAction as Oi, AgentWidgetTurnActivity as On, SemanticTokens as Oo, ComposerModeGroup as Or, AgentWidgetMessageRole as Ot, AgentWidgetContextMentionComposerCapability as P, HistoryListResult as Pa, PersonaArtifactKind as Pi, AgentWidgetWelcomeAlign as Pn, ThemeValidationResult as Po, ComposerOverflowMenuConfig as Pr, AgentWidgetParsedAction as Pt, AgentWidgetDockConfig as Q, RuntypeClientResumeRequest as Qa, StreamAnimationPlugin as Qi, ClientFeedbackRequest as Qn, EventStreamConfig as Qr, AgentWidgetScrollToBottomFeature as Qt, AgentWidgetContextMentionMenuRenderContext as R, HistoryProvider as Ra, PersonaArtifactStatusLabelContext as Ri, AgentWidgetWelcomeIconBase as Rn, AgentWidgetPlugin as Ro, ComposerState as Rr, AgentWidgetRenderHistoryHeaderContext as Rt, AgentWidgetAttachmentPreviewConfig as S, WebMcpConfirmInfo as Sa, LoadingLabelAnimationContext as Si, AgentWidgetSuggestionSurfaceConfig as Sn, PersonaTheme as So, ComposerLayout as Sr, AgentWidgetMentionTriggerPosition as St, AgentWidgetComponentRenderContext as T, WidgetHistoryInternals as Ta, MessageRenderContext as Ti, AgentWidgetTimestampConfig as Tn, ResolvedToken as To, ComposerMenuRenderHandle as Tr, AgentWidgetMessageAuthor as Tt, AgentWidgetContextMentionSource as U, ResolvedTarget as Ua, ResumableHandle as Ui, AskUserQuestionPayload as Un, AgentWidgetSuggestionSelectContext as Uo, ContentPart as Ur, AgentWidgetResolvedSuggestion as Ut, AgentWidgetContextMentionResolveContext as V, PreparedHistoryActivation as Va, ResolvedHistoryCopy as Vi, ArtifactConfigPayload as Vn, AgentWidgetRenderSuggestionContext as Vo, ComposerSubmissionSnapshot as Vr, AgentWidgetRenderHistoryViewContext as Vt, AgentWidgetContextMentionTokenRenderContext as W, TargetResolver as Wa, SSEEventRecord as Wi, AskUserQuestionPrompt as Wn, AgentWidgetTransformSuggestionsContext as Wo, ConversationExecutionState as Wr, AgentWidgetRevealToolCallOptions as Wt, AgentWidgetCustomMessageActionRole as X, RuntypeClientInitRequest as Xa, SpeechRequest as Xi, BackgroundConversationAdapter as Xn, isWelcomeVisible as Xo, DictationStateEvent as Xr, AgentWidgetScrollMode as Xt, AgentWidgetCustomMessageAction as Y, RuntypeClientFeedbackType as Ya, SpeechEngine as Yi, AttachmentUploadContext as Yn, ResolvedWelcomeConfig as Yo, DictationState as Yr, AgentWidgetScrollBehaviorFeature as Yt, AgentWidgetDictationConfig as Z, RuntypeClientInitResponse as Za, StreamAnimationContext as Zi, ClientChatRequest as Zn, resolveWelcomeConfig as Zo, EventStreamBadgeColor as Zr, AgentWidgetScrollRestorePosition as Zt, AgentWidgetArtifactsFeature as _, VoiceResult as _a, InjectComponentDirectiveOptions as _i, AgentWidgetSuggestion as _n, DeepPartial as _o, ComposerBeforeSendResult as _r, AgentWidgetMarkdownConfig as _t, AgentMessagePhase as a, VoiceClientToolsSession as aa, HistoryConversationPage as ai, AgentWidgetStateSnapshot as an, ArtifactPaneTokens as ao, ClientToolsFrame as ar, AgentWidgetHeadersFunction as at, AgentWidgetAskUserQuestionStyles as b, VoiceTranscriptMetadata as ba, InjectUserMessageOptions as bi, AgentWidgetSuggestionSource as bn, MessageGeometryTokens as bo, ComposerDisabledOption as br, AgentWidgetMentionLlmEntry as bt, AgentWidgetActionContext as c, VoiceDelegationFollowUp as ca, HistoryDisplayProjection as ci, AgentWidgetStoredState as cn, AttachmentRemoveTokens as co, ComposerActionBase as cr, AgentWidgetHistoryListAction as ct, AgentWidgetActionHandlerResult as d, VoiceDelegationStatus as da, HistoryReturnSurface as di, AgentWidgetStreamAnimationFeature as dn, BrandConfig as do, ComposerActionOverflowConfig as dr, AgentWidgetLauncherConfig as dt, ToolAnnotations as ea, EventStreamRowRenderContext as ei, AgentWidgetScrollToBottomIconHandle as en, RuntypeExecutionStreamEvent as eo, ClientInitResponse as er, AgentWidgetEventContext as et, AgentWidgetActionParser as f, VoiceDirectTurn as fa, HistoryScope as fi, AgentWidgetStreamAnimationPlaceholder as fn, ColorPalette as fo, ComposerActionPlacement as fr, AgentWidgetLauncherTeaserConfig as ft, AgentWidgetApprovalDecisionOptions as g, VoiceProvider as ga, InjectAssistantMessageOptions as gi, AgentWidgetStreamParserResult as gn, CreateThemeOptions as go, ComposerAttachmentState as gr, AgentWidgetLoadingLabelConfig as gt, AgentWidgetApprovalConfig as h, VoicePriorToolResult as ha, ImageContentPart as hi, AgentWidgetStreamParser as hn, ComposerOverflowMenuTokens as ho, ComposerActionVisibility as hr, AgentWidgetLoadingIndicatorConfig as ht, AgentMessageMetadata as i, VoiceClientToolsChannel as ia, HistoryConversationDetail as ii, AgentWidgetStarterSuggestionsConfig as in, RuntypeTurnCompleteEvent as io, ClientToolResultFrame as ir, AgentWidgetHeaderLayoutConfig as it, AgentWidgetContentSegment as j, renderLucideIcon as ja, PersonaArtifactDisplayRules as ji, AgentWidgetVoicePrewarmTrigger as jn, SpacingScale as jo, ComposerModelPickerConfig as jr, AgentWidgetModelMessageRole as jt, AgentWidgetConfig as k, IconName as ka, PersonaArtifactDisplayMode as ki, AgentWidgetTurnActivityConfig as kn, SemanticTypography as ko, ComposerModeGroupPresentation as kr, AgentWidgetMessageRoleLayout as kt, AgentWidgetActionEventPayload as l, VoiceDelegationRequest as la, HistoryIdentityStatus as li, AgentWidgetStreamAnimationBuffer as ln, AttachmentTokens as lo, ComposerActionContext as lr, AgentWidgetHistoryRenderActions as lt, AgentWidgetApproval as m, VoicePlaybackEngine as ma, IdleIndicatorRenderContext as mi, AgentWidgetStreamCheckpoint as mn, ComponentTokens as mo, ComposerActionRenderContext as mr, AgentWidgetLinkClickContext as mt, AgentExecutionState as n, VoiceClientToolStatus as na, EventStreamViewRenderContext as ni, AgentWidgetSessionInitHook as nn, RuntypeStopReasonKind as no, ClientToolCallFrame as nr, AgentWidgetFeatureFlags as nt, AgentRequestOptions as o, VoiceClientToolsSnapshot as oa, HistoryConversationPatch as oi, AgentWidgetStorageAdapter as on, ArtifactTabTokens as oo, ClientVisitorGrant as or, AgentWidgetHistoryCopy as ot, AgentWidgetAgentRequestPayload as p, VoiceMetrics as pa, HistoryViewState as pi, AgentWidgetStreamAnimationType as pn, ColorShade as po, ComposerActionPresentation as pr, AgentWidgetLayoutConfig as pt, AgentWidgetControllerEventMap as q, RuntypeClientFeedbackRequest as qa, SlotRenderer as qi, AttachmentPreviewRenderHandle as qn, parseCombo as qo, DictationRenderContext as qr, AgentWidgetSSEEventParser as qt, AgentLoopConfig as r, VoiceClientTools as ra, HeaderRenderContext as ri, AgentWidgetSessionInitTrigger as rn, RuntypeStreamEventOf as ro, ClientToolDefinition as rr, AgentWidgetFollowUpSuggestionsConfig as rt, AgentToolsConfig as s, VoiceConfig as sa, HistoryConversationSummary as si, AgentWidgetStoredDraft as sn, ArtifactToolbarTokens as so, ComposerAction as sr, AgentWidgetHistoryFeature as st, AgentConfig as t, VoiceClientToolOutcome as ta, EventStreamToolbarRenderContext as ti, AgentWidgetScrollToBottomIconState as tn, RuntypeStepCompleteEvent as to, ClientSession as tr, AgentWidgetExpansionConfig as tt, AgentWidgetActionHandler as u, VoiceDelegationResult as ua, HistoryPendingAction as ui, AgentWidgetStreamAnimationBuiltinType as un, BorderScale as uo, ComposerActionContributionContext as ur, AgentWidgetInitOptions as ut, AgentWidgetArtifactsLayoutConfig as v, VoiceSessionBridge as va, InjectMessageOptions as vi, AgentWidgetSuggestionBehavior as vn, IconButtonTokens as vo, ComposerButtonAction as vr, AgentWidgetMarkdownOptions as vt, AgentWidgetAvatarConfig as w, WidgetArtifactLayoutPreference as wa, MessageContent as wi, AgentWidgetSuggestionsConfig as wn, RadiusScale as wo, ComposerMenuRenderContext as wr, AgentWidgetMessageActionsConfig as wt, AgentWidgetAttachmentAdapter as x, WebMcpConfirmHandler as xa, LoadingIndicatorRenderContext as xi, AgentWidgetSuggestionSurface as xn, MessageTokens as xo, ComposerInputAttributes as xr, AgentWidgetMentionTriggerChannel as xt, AgentWidgetAskUserQuestionFeature as y, VoiceStatus as ya, InjectSystemMessageOptions as yi, AgentWidgetSuggestionChipsConfig as yn, LabelButtonTokens as yo, ComposerCustomAction as yr, AgentWidgetMarkdownRendererOverrides as yt, AgentWidgetContextMentionPayload as z, HistoryProviderError as za, PreparedClientSession as zi, AgentWidgetWelcomeIconPlacement as zn, AgentWidgetRailSection as zo, ComposerStreamingSubmitBehavior as zr, AgentWidgetRenderHistoryOpenErrorContext as zt };
12349
12433
  export {}
@@ -1213,6 +1213,27 @@ interface MessageTokens {
1213
1213
  /** Assistant bubble box-shadow (token ref or raw CSS, e.g. `none`). */
1214
1214
  shadow?: string;
1215
1215
  };
1216
+ /**
1217
+ * Operator bubble: a human speaking on the agent's side (`role: "operator"`).
1218
+ * Renders on the assistant's side. Defaults tint the container with the
1219
+ * theme primary (`--persona-primary`), so `brand` themes follow without
1220
+ * extra config. Geometry keys fall back to the layout preset, not to the
1221
+ * assistant's geometry.
1222
+ */
1223
+ operator?: MessageGeometryTokens & {
1224
+ /** @default "color-mix(in srgb, var(--persona-primary) 6%, var(--persona-container))" */
1225
+ background?: TokenReference<'color'>;
1226
+ /** @default semantic.colors.text */
1227
+ text?: TokenReference<'color'>;
1228
+ /** @default palette.radius.lg */
1229
+ borderRadius?: TokenReference<'radius'>;
1230
+ /** @default "color-mix(in srgb, var(--persona-primary) 20%, var(--persona-container))" */
1231
+ border?: TokenReference<'color'>;
1232
+ /** Border width; set to 0px to drop it. @default "1px" */
1233
+ borderWidth?: string;
1234
+ /** Operator bubble box-shadow (token ref or raw CSS, e.g. `none`). */
1235
+ shadow?: string;
1236
+ };
1216
1237
  /** Border color between messages in the thread. */
1217
1238
  border?: TokenReference<'color'>;
1218
1239
  }
@@ -2934,6 +2955,8 @@ interface VisitorStore {
2934
2955
  //#region src/utils/history-messages.d.ts
2935
2956
  /** One message as served by the client conversation history route. */
2936
2957
  type HistoryWireMessage = {
2958
+ /** Optional display provenance from a custom history adapter. */
2959
+ author?: AgentWidgetMessageAuthor;
2937
2960
  id: string;
2938
2961
  role: string;
2939
2962
  /** Model content: string (legacy render-safe fallback) or multi-modal parts. */
@@ -3705,7 +3728,7 @@ type AgentWidgetReplayedToolResult = {
3705
3728
  * from its own stored transcript there.
3706
3729
  */
3707
3730
  type AgentWidgetRequestPayloadMessage = {
3708
- role: AgentWidgetMessageRole | "tool";
3731
+ role: AgentWidgetModelMessageRole | "tool";
3709
3732
  content: MessageContent;
3710
3733
  createdAt: string;
3711
3734
  /** Optional assistant phase for backend adapters that replay provider history. */
@@ -4188,6 +4211,19 @@ type AgentMessageMetadata = {
4188
4211
  batch?: string;
4189
4212
  };
4190
4213
  };
4214
+ /** Ordinary model context only; the serializer owns tool-call/result pairing. */
4215
+ type AgentWidgetModelMessageProjection = Pick<AgentWidgetRequestPayloadMessage, "content" | "createdAt" | "phase"> & {
4216
+ role: AgentWidgetModelMessageRole;
4217
+ };
4218
+ /** Synchronous, per-message conversion before any dispatch transport serializes history. */
4219
+ type AgentWidgetModelMessageTransform = (context: {
4220
+ /** Full UI transcript entry, including identity and human provenance. */
4221
+ message: Readonly<AgentWidgetMessage>;
4222
+ /** Resolved model content: contentParts > llmContent > rawContent > content. */
4223
+ content: MessageContent;
4224
+ /** Normal model projection; null for operator messages. Return null to omit. */
4225
+ modelMessage: AgentWidgetModelMessageProjection | null;
4226
+ }) => AgentWidgetModelMessageProjection | null;
4191
4227
  type AgentWidgetRequestMiddlewareContext = {
4192
4228
  payload: AgentWidgetRequestPayload;
4193
4229
  config: AgentWidgetConfig;
@@ -4427,7 +4463,7 @@ type AgentWidgetMessageActionsConfig = {
4427
4463
  custom?: AgentWidgetCustomMessageAction[];
4428
4464
  };
4429
4465
  /** Which roles a custom message action appears on. */
4430
- type AgentWidgetCustomMessageActionRole = "user" | "assistant";
4466
+ type AgentWidgetCustomMessageActionRole = "user" | "assistant" | "operator";
4431
4467
  /** One host-contributed message action. */
4432
4468
  type AgentWidgetCustomMessageAction = {
4433
4469
  /** Unique within `messageActions.custom`. */
@@ -9936,6 +9972,11 @@ type AgentWidgetAvatarConfig = {
9936
9972
  userAvatar?: string;
9937
9973
  /** URL or emoji for assistant avatar */
9938
9974
  assistantAvatar?: string;
9975
+ /**
9976
+ * URL or emoji for operator (human takeover) avatar. Defaults to the letter
9977
+ * "O" on a neutral fill.
9978
+ */
9979
+ operatorAvatar?: string;
9939
9980
  };
9940
9981
  /**
9941
9982
  * Timestamp configuration for message bubbles
@@ -9988,7 +10029,10 @@ type AgentWidgetMessageLayoutConfig = {
9988
10029
  groupConsecutive?: boolean;
9989
10030
  /** Width behavior for user-authored message rows */
9990
10031
  user?: AgentWidgetMessageRoleLayout;
9991
- /** Width behavior for assistant-authored message rows and assistant UI variants */
10032
+ /**
10033
+ * Width behavior for assistant-authored message rows and assistant UI
10034
+ * variants. Operator rows sit on the same side and use it too.
10035
+ */
9992
10036
  assistant?: AgentWidgetMessageRoleLayout;
9993
10037
  /**
9994
10038
  * Custom renderer for user messages
@@ -11107,6 +11151,8 @@ type AgentWidgetConfig = {
11107
11151
  */
11108
11152
  getHeaders?: AgentWidgetHeadersFunction;
11109
11153
  copy?: {
11154
+ /** Visible and accessible label for human operator replies. @default "Human operator" */
11155
+ operatorLabel?: string;
11110
11156
  /** @deprecated Use `welcome.title`. */
11111
11157
  welcomeTitle?: string;
11112
11158
  /** @deprecated Use `welcome.subtitle`. */
@@ -11299,6 +11345,16 @@ type AgentWidgetConfig = {
11299
11345
  * See `docs/context-mentions-plan.md`.
11300
11346
  */
11301
11347
  contextMentions?: AgentWidgetContextMentionConfig;
11348
+ /**
11349
+ * Synchronous model-context conversion for each nonempty conversation entry.
11350
+ * Runs on proxy, agent and client-token dispatch, after local-only notices and
11351
+ * voice captions are excluded. By default operator messages are omitted;
11352
+ * stateless adapters can explicitly map their historical human contributions
11353
+ * into supported model roles. Do not replay contributions already owned by
11354
+ * server history. This does not authorize steering, takeover or tool approval.
11355
+ * Invalid return values fail dispatch. See docs/MESSAGE-INJECTION.md.
11356
+ */
11357
+ modelMessageTransform?: AgentWidgetModelMessageTransform;
11302
11358
  requestMiddleware?: AgentWidgetRequestMiddleware;
11303
11359
  actionParsers?: AgentWidgetActionParser[];
11304
11360
  actionHandlers?: AgentWidgetActionHandler[];
@@ -11791,7 +11847,24 @@ type AgentWidgetConfig = {
11791
11847
  */
11792
11848
  type AgentWidgetConfigPatch = ConfigPatch<AgentWidgetConfig>;
11793
11849
  type ConfigPatch<T> = T extends ((...args: never[]) => unknown) ? T : T extends readonly unknown[] ? T : T extends object ? { [K in keyof T]?: ConfigPatch<T[K]>; } : T;
11794
- type AgentWidgetMessageRole = "user" | "assistant" | "system";
11850
+ /**
11851
+ * Who authored a message.
11852
+ *
11853
+ * - `user`: the end user.
11854
+ * - `assistant`: the agent (model output).
11855
+ * - `system`: context for the model, rendered like an assistant row.
11856
+ * - `operator`: a human speaking on the agent's side of the conversation, such
11857
+ * as a support agent who has taken over the thread. It renders on the
11858
+ * assistant's side with its own bubble style (`theme.components.message.operator`).
11859
+ * Operator messages are omitted from model requests by default. A stateless
11860
+ * adapter can explicitly convert them with `modelMessageTransform`.
11861
+ */
11862
+ type AgentWidgetMessageRole = "user" | "assistant" | "system" | "operator";
11863
+ /**
11864
+ * Roles that reach a model request. Human operator UI entries must be explicitly
11865
+ * converted to a supported model role by an adapter.
11866
+ */
11867
+ type AgentWidgetModelMessageRole = Exclude<AgentWidgetMessageRole, "operator">;
11795
11868
  type AgentWidgetReasoning = {
11796
11869
  id: string;
11797
11870
  status: "pending" | "streaming" | "complete";
@@ -11906,11 +11979,17 @@ type AgentWidgetTurnActivityConfig = {
11906
11979
  config: AgentWidgetConfig;
11907
11980
  }) => HTMLElement | string | null | undefined;
11908
11981
  };
11982
+ /** Display provenance, supplied by the host; never an authorization credential. */
11983
+ type AgentWidgetMessageAuthor = {
11984
+ id?: string;
11985
+ displayName?: string;
11986
+ kind?: "human" | "ai" | "system";
11987
+ };
11909
11988
  /**
11910
11989
  * Represents a message in the chat conversation.
11911
11990
  *
11912
11991
  * @property id - Unique message identifier
11913
- * @property role - Message role: "user", "assistant", or "system"
11992
+ * @property role - Message role: "user", "assistant", "system", or "operator"
11914
11993
  * @property content - Message text content (for display)
11915
11994
  * @property contentParts - Original multi-modal content parts (for API requests)
11916
11995
  * @property createdAt - ISO timestamp when message was created
@@ -11924,6 +12003,8 @@ type AgentWidgetTurnActivityConfig = {
11924
12003
  * Useful for implementing voice-specific behaviors like auto-reactivation.
11925
12004
  */
11926
12005
  type AgentWidgetMessage = {
12006
+ /** Preserved by injection, history and persistence; not sent to models automatically. */
12007
+ author?: AgentWidgetMessageAuthor;
11927
12008
  /** Opt-in whole-turn presentation metadata. Does not change model-visible content. */
11928
12009
  turnActivity?: AgentWidgetTurnActivity;
11929
12010
  id: string;
@@ -12073,10 +12154,13 @@ type AgentWidgetMessage = {
12073
12154
  * }
12074
12155
  */
12075
12156
  type InjectMessageOptions = {
12157
+ /** Host-supplied display provenance. Does not grant model or backend authority. */
12158
+ author?: AgentWidgetMessageAuthor;
12076
12159
  /** Mark assistant content as dispatch failure detail for `errorDisplay`. */
12077
12160
  dispatchError?: boolean;
12078
12161
  /**
12079
- * Message role: "assistant", "user", or "system"
12162
+ * Message role: "assistant", "user", "system", or "operator". Operator
12163
+ * messages are omitted from requests unless modelMessageTransform converts them.
12080
12164
  */
12081
12165
  role: AgentWidgetMessageRole;
12082
12166
  /**
@@ -12345,5 +12429,5 @@ type AgentWidgetInitOptions = {
12345
12429
  debugTools?: boolean;
12346
12430
  };
12347
12431
  //#endregion
12348
- export { AgentWidgetEvent as $, RuntypeTurnCompleteEvent as $a, VoiceClientToolsChannel as $i, ClientToolResultFrame as $n, HistoryConversationDetail as $r, AgentWidgetStarterSuggestionsConfig as $t, AgentWidgetConfigPatch as A, HistoryOperationContext as Aa, PersonaArtifactManualUpsert as Ai, AgentWidgetWelcomeConfig as An, TokenReference as Ao, ComposerPhase as Ar, AgentWidgetReadAloudEvent as At, AgentWidgetContextMentionRef as B, RuntypeClientChatRequest as Ba, SlotRenderContext as Bi, AttachmentPreviewRemoveConfig as Bn, formatCombo as Bo, DictationPhase as Br, AgentWidgetRunFinishedEvent as Bt, AgentWidgetAttachmentsConfig as C, WidgetPreferenceSlice as Ca, PersonaArtifactCustomAction as Ci, AgentWidgetTurnActivity as Cn, SemanticTypography as Co, ComposerModeGroup as Cr, AgentWidgetMessage as Ct, AgentWidgetComponentRenderer as D, HistoryDeleteAllOptions as Da, PersonaArtifactFileMeta as Di, AgentWidgetVoiceStatusEvent as Dn, ThemeValidationError as Do, ComposerModelPickerPresentation as Dr, AgentWidgetMessageRoleLayout as Dt, AgentWidgetComponentRenderHandle as E, renderLucideIcon as Ea, PersonaArtifactDisplayRules as Ei, AgentWidgetVoicePrewarmTrigger as En, TextStyleTokens as Eo, ComposerModelPickerConfig as Er, AgentWidgetMessageLayoutConfig as Et, AgentWidgetContextMentionConfig as F, HistoryProviderErrorCode as Fa, ReadAloudState as Fi, AgentWidgetWelcomeVariant as Fn, AgentWidgetRenderSuggestionContext as Fo, ComposerSubmissionOptions as Fr, AgentWidgetRenderHistoryStateContext as Ft, AgentWidgetContextProvider as G, RuntypeClientInitRequest as Ga, SpeechRequest as Gi, BackgroundConversationAdapter as Gn, resolveWelcomeConfig as Go, DictationStateEvent as Gr, AgentWidgetScrollMode as Gt, AgentWidgetContextMentionSearchContext as H, RuntypeClientFeedbackRequest as Ha, SlotRenderer as Hi, AttachmentPreviewRenderHandle as Hn, AgentWidgetPluginStorage as Ho, DictationRenderContext as Hr, AgentWidgetSSEEventParser as Ht, AgentWidgetContextMentionItem as I, PreparedHistoryActivation as Ia, ResolvedHistoryCopy as Ii, ArtifactConfigPayload as In, AgentWidgetRenderWelcomeContext as Io, ComposerSubmissionSnapshot as Ir, AgentWidgetRenderHistoryViewContext as It, AgentWidgetCustomFetch as J, RuntypeClientResumeStreamEvent as Ja, TextContentPart as Ji, ClientFeedbackType as Jn, EventStreamPayloadRenderContext as Jr, AgentWidgetScrollToBottomIconContext as Jt, AgentWidgetContextProviderContext as K, RuntypeClientInitResponse as Ka, StreamAnimationContext as Ki, ClientChatRequest as Kn, EventStreamBadgeColor as Kr, AgentWidgetScrollRestorePosition as Kt, AgentWidgetContextMentionItemRenderContext as L, isHistoryProviderError as La, ResolvedHistoryPresentation as Li, AskUserQuestionOption as Ln, AgentWidgetSuggestionSelectContext as Lo, ComposerSubmitKey as Lr, AgentWidgetRequestPayload as Lt, AgentWidgetContextMentionChipRenderContext as M, HistoryPageResult as Ma, PersonaArtifactRecord as Mi, AgentWidgetWelcomeIcon as Mn, AgentWidgetPlugin as Mo, ComposerResubmitOptions as Mr, AgentWidgetRenderHistoryConversationContext as Mt, AgentWidgetContextMentionCommandContext as N, HistoryProvider as Na, PersonaArtifactStatusLabelContext as Ni, AgentWidgetWelcomeIconBase as Nn, AgentWidgetRailSection as No, ComposerState as Nr, AgentWidgetRenderHistoryHeaderContext as Nt, AgentWidgetComposerConfig as O, HistoryListOptions as Oa, PersonaArtifactFilesDisplayRules as Oi, AgentWidgetWebMcpConfig as On, ThemeValidationResult as Oo, ComposerOptionsPayload as Or, AgentWidgetOpenConversationOptions as Ot, AgentWidgetContextMentionComposerCapability as P, HistoryProviderError as Pa, PreparedClientSession as Pi, AgentWidgetWelcomeIconPlacement as Pn, AgentWidgetRailSectionContext as Po, ComposerStreamingSubmitBehavior as Pr, AgentWidgetRenderHistoryOpenErrorContext as Pt, AgentWidgetDockConfig as Q, RuntypeStreamEventOf as Qa, VoiceClientTools as Qi, ClientToolDefinition as Qn, HeaderRenderContext as Qr, AgentWidgetSessionInitTrigger as Qt, AgentWidgetContextMentionMenuRenderContext as R, ResolvedTarget as Ra, ResumableHandle as Ri, AskUserQuestionPayload as Rn, AgentWidgetTransformSuggestionsContext as Ro, ContentPart as Rr, AgentWidgetResolvedSuggestion as Rt, AgentWidgetAttachmentPreviewConfig as S, WidgetPreferenceCapabilities as Sa, PersonaArtifactActionContext as Si, AgentWidgetTooltipConfig as Sn, SemanticTokens as So, ComposerModeChipVisibility as Sr, AgentWidgetMentionTriggerPosition as St, AgentWidgetComponentRenderContext as T, registerIcons as Ta, PersonaArtifactDisplayModeInput as Ti, AgentWidgetVoicePrewarmHook as Tn, SpacingScale as To, ComposerModel as Tr, AgentWidgetMessageFeedback as Tt, AgentWidgetContextMentionSource as U, RuntypeClientFeedbackResponse as Ua, SpeechCallbacks as Ui, AttachmentPreviewState as Un, ResolvedWelcomeConfig as Uo, DictationRenderHandle as Ur, AgentWidgetSSEEventResult as Ut, AgentWidgetContextMentionResolveContext as V, RuntypeClientChatStreamEvent as Va, SlotRenderResult as Vi, AttachmentPreviewRenderContext as Vn, parseCombo as Vo, DictationProviderConfig as Vr, AgentWidgetRunStartedEvent as Vt, AgentWidgetContextMentionTokenRenderContext as W, RuntypeClientFeedbackType as Wa, SpeechEngine as Wi, AttachmentUploadContext as Wn, isWelcomeVisible as Wo, DictationState as Wr, AgentWidgetScrollBehaviorFeature as Wt, AgentWidgetCustomMessageActionRole as X, RuntypeStepCompleteEvent as Xa, VoiceClientToolOutcome as Xi, ClientSession as Xn, EventStreamToolbarRenderContext as Xr, AgentWidgetScrollToBottomIconState as Xt, AgentWidgetCustomMessageAction as Y, RuntypeExecutionStreamEvent as Ya, ToolAnnotations as Yi, ClientInitResponse as Yn, EventStreamRowRenderContext as Yr, AgentWidgetScrollToBottomIconHandle as Yt, AgentWidgetDictationConfig as Z, RuntypeStopReasonKind as Za, VoiceClientToolStatus as Zi, ClientToolCallFrame as Zn, EventStreamViewRenderContext as Zr, AgentWidgetSessionInitHook as Zt, AgentWidgetArtifactsFeature as _, WebMcpConfirmInfo as _a, LoadingLabelAnimationContext as _i, AgentWidgetSuggestionSurfaceConfig as _n, PersonaThemePlugin as _o, ComposerLayout as _r, AgentWidgetMarkdownConfig as _t, AgentMessagePhase as a, VoiceDelegationResult as aa, HistoryPendingAction as ai, AgentWidgetStreamAnimationBuiltinType as an, BorderScale as ao, ComposerActionContributionContext as ar, AgentWidgetHeadersFunction as at, AgentWidgetAskUserQuestionStyles as b, WidgetHistoryInternals as ba, MessageRenderContext as bi, AgentWidgetTimestampConfig as bn, SemanticColors as bo, ComposerMenuRenderHandle as br, AgentWidgetMentionLlmEntry as bt, AgentWidgetActionContext as c, VoiceMetrics as ca, HistoryViewState as ci, AgentWidgetStreamAnimationType as cn, ColorShade as co, ComposerActionPresentation as cr, AgentWidgetHistoryListAction as ct, AgentWidgetActionHandlerResult as d, VoiceProvider as da, InjectAssistantMessageOptions as di, AgentWidgetStreamParserResult as dn, CreateThemeOptions as do, ComposerAttachmentState as dr, AgentWidgetLauncherConfig as dt, VoiceClientToolsSession as ea, HistoryConversationPage as ei, AgentWidgetStateSnapshot as en, ArtifactPaneTokens as eo, ClientToolsFrame as er, AgentWidgetEventContext as et, AgentWidgetActionParser as f, VoiceResult as fa, InjectComponentDirectiveOptions as fi, AgentWidgetSuggestion as fn, DeepPartial as fo, ComposerBeforeSendResult as fr, AgentWidgetLauncherTeaserConfig as ft, AgentWidgetApprovalDecisionOptions as g, WebMcpConfirmHandler as ga, LoadingIndicatorRenderContext as gi, AgentWidgetSuggestionSurface as gn, PersonaTheme as go, ComposerInputAttributes as gr, AgentWidgetLoadingLabelConfig as gt, AgentWidgetApprovalConfig as h, VoiceTranscriptMetadata as ha, InjectUserMessageOptions as hi, AgentWidgetSuggestionSource as hn, MessageGeometryTokens as ho, ComposerDisabledOption as hr, AgentWidgetLoadingIndicatorConfig as ht, AgentMessageMetadata as i, VoiceDelegationRequest as ia, HistoryIdentityStatus as ii, AgentWidgetStreamAnimationBuffer as in, AttachmentTokens as io, ComposerActionContext as ir, AgentWidgetHeaderLayoutConfig as it, AgentWidgetContentSegment as j, HistoryPageOptions as ja, PersonaArtifactPresentation as ji, AgentWidgetWelcomeDismiss as jn, TypographyScale as jo, ComposerQuote as jr, AgentWidgetReasoning as jt, AgentWidgetConfig as k, HistoryListResult as ka, PersonaArtifactKind as ki, AgentWidgetWelcomeAlign as kn, ToggleGroupTokens as ko, ComposerOverflowMenuConfig as kr, AgentWidgetParsedAction as kt, AgentWidgetActionEventPayload as l, VoicePlaybackEngine as la, IdleIndicatorRenderContext as li, AgentWidgetStreamCheckpoint as ln, ComponentTokens as lo, ComposerActionRenderContext as lr, AgentWidgetHistoryRenderActions as lt, AgentWidgetApproval as m, VoiceStatus as ma, InjectSystemMessageOptions as mi, AgentWidgetSuggestionChipsConfig as mn, LabelButtonTokens as mo, ComposerCustomAction as mr, AgentWidgetLinkClickContext as mt, AgentExecutionState as n, VoiceConfig as na, HistoryConversationSummary as ni, AgentWidgetStoredDraft as nn, ArtifactToolbarTokens as no, ComposerAction as nr, AgentWidgetFeatureFlags as nt, AgentRequestOptions as o, VoiceDelegationStatus as oa, HistoryReturnSurface as oi, AgentWidgetStreamAnimationFeature as on, BrandConfig as oo, ComposerActionOverflowConfig as or, AgentWidgetHistoryCopy as ot, AgentWidgetAgentRequestPayload as p, VoiceSessionBridge as pa, InjectMessageOptions as pi, AgentWidgetSuggestionBehavior as pn, IconButtonTokens as po, ComposerButtonAction as pr, AgentWidgetLayoutConfig as pt, AgentWidgetControllerEventMap as q, RuntypeClientResumeRequest as qa, StreamAnimationPlugin as qi, ClientFeedbackRequest as qn, EventStreamConfig as qr, AgentWidgetScrollToBottomFeature as qt, AgentLoopConfig as r, VoiceDelegationFollowUp as ra, HistoryDisplayProjection as ri, AgentWidgetStoredState as rn, AttachmentRemoveTokens as ro, ComposerActionBase as rr, AgentWidgetFollowUpSuggestionsConfig as rt, AgentToolsConfig as s, VoiceDirectTurn as sa, HistoryScope as si, AgentWidgetStreamAnimationPlaceholder as sn, ColorPalette as so, ComposerActionPlacement as sr, AgentWidgetHistoryFeature as st, AgentConfig as t, VoiceClientToolsSnapshot as ta, HistoryConversationPatch as ti, AgentWidgetStorageAdapter as tn, ArtifactTabTokens as to, ClientVisitorGrant as tr, AgentWidgetExpansionConfig as tt, AgentWidgetActionHandler as u, VoicePriorToolResult as ua, ImageContentPart as ui, AgentWidgetStreamParser as un, ComposerOverflowMenuTokens as uo, ComposerActionVisibility as ur, AgentWidgetInitOptions as ut, AgentWidgetArtifactsLayoutConfig as v, WebMcpToolResult as va, LoadingLabelAnimationHandle as vi, AgentWidgetSuggestionVariant as vn, RadiusScale as vo, ComposerMenuItem as vr, AgentWidgetMarkdownOptions as vt, AgentWidgetAvatarConfig as w, IconName as wa, PersonaArtifactDisplayMode as wi, AgentWidgetTurnActivityConfig as wn, ShadowScale as wo, ComposerModeGroupPresentation as wr, AgentWidgetMessageActionsConfig as wt, AgentWidgetAttachmentAdapter as x, WidgetLayoutSlot as xa, PcmStreamPlayer as xi, AgentWidgetToolCallLoadingAnimation as xn, SemanticSpacing as xo, ComposerMode as xr, AgentWidgetMentionTriggerChannel as xt, AgentWidgetAskUserQuestionFeature as y, WidgetArtifactLayoutPreference as ya, MessageContent as yi, AgentWidgetSuggestionsConfig as yn, ResolvedToken as yo, ComposerMenuRenderContext as yr, AgentWidgetMarkdownRendererOverrides as yt, AgentWidgetContextMentionPayload as z, TargetResolver as za, SSEEventRecord as zi, AskUserQuestionPrompt as zn, ariaCombo as zo, ConversationExecutionState as zr, AgentWidgetRevealToolCallOptions as zt };
12432
+ export { AgentWidgetEvent as $, RuntypeClientResumeStreamEvent as $a, TextContentPart as $i, ClientFeedbackType as $n, EventStreamPayloadRenderContext as $r, AgentWidgetScrollToBottomIconContext as $t, AgentWidgetConfigPatch as A, registerIcons as Aa, PersonaArtifactDisplayModeInput as Ai, AgentWidgetVoicePrewarmHook as An, ShadowScale as Ao, ComposerModel as Ar, AgentWidgetModelMessageProjection as At, AgentWidgetContextMentionRef as B, HistoryProviderErrorCode as Ba, ReadAloudState as Bi, AgentWidgetWelcomeVariant as Bn, AgentWidgetRailSectionContext as Bo, ComposerSubmissionOptions as Br, AgentWidgetRenderHistoryStateContext as Bt, AgentWidgetAttachmentsConfig as C, WebMcpToolResult as Ca, LoadingLabelAnimationHandle as Ci, AgentWidgetSuggestionVariant as Cn, PersonaThemePlugin as Co, ComposerMenuItem as Cr, AgentWidgetMessage as Ct, AgentWidgetComponentRenderer as D, WidgetPreferenceCapabilities as Da, PersonaArtifactActionContext as Di, AgentWidgetTooltipConfig as Dn, SemanticSpacing as Do, ComposerModeChipVisibility as Dr, AgentWidgetMessageLayoutConfig as Dt, AgentWidgetComponentRenderHandle as E, WidgetLayoutSlot as Ea, PcmStreamPlayer as Ei, AgentWidgetToolCallLoadingAnimation as En, SemanticColors as Eo, ComposerMode as Er, AgentWidgetMessageFeedback as Et, AgentWidgetContextMentionConfig as F, HistoryOperationContext as Fa, PersonaArtifactManualUpsert as Fi, AgentWidgetWelcomeConfig as Fn, ToggleGroupTokens as Fo, ComposerPhase as Fr, AgentWidgetReadAloudEvent as Ft, AgentWidgetContextProvider as G, RuntypeClientChatRequest as Ga, SlotRenderContext as Gi, AttachmentPreviewRemoveConfig as Gn, ariaCombo as Go, DictationPhase as Gr, AgentWidgetRunFinishedEvent as Gt, AgentWidgetContextMentionSearchContext as H, isHistoryProviderError as Ha, ResolvedHistoryPresentation as Hi, AskUserQuestionOption as Hn, AgentWidgetRenderWelcomeContext as Ho, ComposerSubmitKey as Hr, AgentWidgetRequestPayload as Ht, AgentWidgetContextMentionItem as I, HistoryPageOptions as Ia, PersonaArtifactPresentation as Ii, AgentWidgetWelcomeDismiss as In, TokenReference as Io, ComposerQuote as Ir, AgentWidgetReasoning as It, AgentWidgetCustomFetch as J, RuntypeClientFeedbackResponse as Ja, SpeechCallbacks as Ji, AttachmentPreviewState as Jn, AgentWidgetPluginStorage as Jo, DictationRenderHandle as Jr, AgentWidgetSSEEventResult as Jt, AgentWidgetContextProviderContext as K, RuntypeClientChatStreamEvent as Ka, SlotRenderResult as Ki, AttachmentPreviewRenderContext as Kn, formatCombo as Ko, DictationProviderConfig as Kr, AgentWidgetRunStartedEvent as Kt, AgentWidgetContextMentionItemRenderContext as L, HistoryPageResult as La, PersonaArtifactRecord as Li, AgentWidgetWelcomeIcon as Ln, TypographyScale as Lo, ComposerResubmitOptions as Lr, AgentWidgetRenderHistoryConversationContext as Lt, AgentWidgetContextMentionChipRenderContext as M, HistoryDeleteAllOptions as Ma, PersonaArtifactFileMeta as Mi, AgentWidgetVoiceStatusEvent as Mn, TextStyleTokens as Mo, ComposerModelPickerPresentation as Mr, AgentWidgetModelMessageTransform as Mt, AgentWidgetContextMentionCommandContext as N, HistoryListOptions as Na, PersonaArtifactFilesDisplayRules as Ni, AgentWidgetWebMcpConfig as Nn, ThemeValidationError as No, ComposerOptionsPayload as Nr, AgentWidgetOpenConversationOptions as Nt, AgentWidgetComposerConfig as O, WidgetPreferenceSlice as Oa, PersonaArtifactCustomAction as Oi, AgentWidgetTurnActivity as On, SemanticTokens as Oo, ComposerModeGroup as Or, AgentWidgetMessageRole as Ot, AgentWidgetContextMentionComposerCapability as P, HistoryListResult as Pa, PersonaArtifactKind as Pi, AgentWidgetWelcomeAlign as Pn, ThemeValidationResult as Po, ComposerOverflowMenuConfig as Pr, AgentWidgetParsedAction as Pt, AgentWidgetDockConfig as Q, RuntypeClientResumeRequest as Qa, StreamAnimationPlugin as Qi, ClientFeedbackRequest as Qn, EventStreamConfig as Qr, AgentWidgetScrollToBottomFeature as Qt, AgentWidgetContextMentionMenuRenderContext as R, HistoryProvider as Ra, PersonaArtifactStatusLabelContext as Ri, AgentWidgetWelcomeIconBase as Rn, AgentWidgetPlugin as Ro, ComposerState as Rr, AgentWidgetRenderHistoryHeaderContext as Rt, AgentWidgetAttachmentPreviewConfig as S, WebMcpConfirmInfo as Sa, LoadingLabelAnimationContext as Si, AgentWidgetSuggestionSurfaceConfig as Sn, PersonaTheme as So, ComposerLayout as Sr, AgentWidgetMentionTriggerPosition as St, AgentWidgetComponentRenderContext as T, WidgetHistoryInternals as Ta, MessageRenderContext as Ti, AgentWidgetTimestampConfig as Tn, ResolvedToken as To, ComposerMenuRenderHandle as Tr, AgentWidgetMessageAuthor as Tt, AgentWidgetContextMentionSource as U, ResolvedTarget as Ua, ResumableHandle as Ui, AskUserQuestionPayload as Un, AgentWidgetSuggestionSelectContext as Uo, ContentPart as Ur, AgentWidgetResolvedSuggestion as Ut, AgentWidgetContextMentionResolveContext as V, PreparedHistoryActivation as Va, ResolvedHistoryCopy as Vi, ArtifactConfigPayload as Vn, AgentWidgetRenderSuggestionContext as Vo, ComposerSubmissionSnapshot as Vr, AgentWidgetRenderHistoryViewContext as Vt, AgentWidgetContextMentionTokenRenderContext as W, TargetResolver as Wa, SSEEventRecord as Wi, AskUserQuestionPrompt as Wn, AgentWidgetTransformSuggestionsContext as Wo, ConversationExecutionState as Wr, AgentWidgetRevealToolCallOptions as Wt, AgentWidgetCustomMessageActionRole as X, RuntypeClientInitRequest as Xa, SpeechRequest as Xi, BackgroundConversationAdapter as Xn, isWelcomeVisible as Xo, DictationStateEvent as Xr, AgentWidgetScrollMode as Xt, AgentWidgetCustomMessageAction as Y, RuntypeClientFeedbackType as Ya, SpeechEngine as Yi, AttachmentUploadContext as Yn, ResolvedWelcomeConfig as Yo, DictationState as Yr, AgentWidgetScrollBehaviorFeature as Yt, AgentWidgetDictationConfig as Z, RuntypeClientInitResponse as Za, StreamAnimationContext as Zi, ClientChatRequest as Zn, resolveWelcomeConfig as Zo, EventStreamBadgeColor as Zr, AgentWidgetScrollRestorePosition as Zt, AgentWidgetArtifactsFeature as _, VoiceResult as _a, InjectComponentDirectiveOptions as _i, AgentWidgetSuggestion as _n, DeepPartial as _o, ComposerBeforeSendResult as _r, AgentWidgetMarkdownConfig as _t, AgentMessagePhase as a, VoiceClientToolsSession as aa, HistoryConversationPage as ai, AgentWidgetStateSnapshot as an, ArtifactPaneTokens as ao, ClientToolsFrame as ar, AgentWidgetHeadersFunction as at, AgentWidgetAskUserQuestionStyles as b, VoiceTranscriptMetadata as ba, InjectUserMessageOptions as bi, AgentWidgetSuggestionSource as bn, MessageGeometryTokens as bo, ComposerDisabledOption as br, AgentWidgetMentionLlmEntry as bt, AgentWidgetActionContext as c, VoiceDelegationFollowUp as ca, HistoryDisplayProjection as ci, AgentWidgetStoredState as cn, AttachmentRemoveTokens as co, ComposerActionBase as cr, AgentWidgetHistoryListAction as ct, AgentWidgetActionHandlerResult as d, VoiceDelegationStatus as da, HistoryReturnSurface as di, AgentWidgetStreamAnimationFeature as dn, BrandConfig as do, ComposerActionOverflowConfig as dr, AgentWidgetLauncherConfig as dt, ToolAnnotations as ea, EventStreamRowRenderContext as ei, AgentWidgetScrollToBottomIconHandle as en, RuntypeExecutionStreamEvent as eo, ClientInitResponse as er, AgentWidgetEventContext as et, AgentWidgetActionParser as f, VoiceDirectTurn as fa, HistoryScope as fi, AgentWidgetStreamAnimationPlaceholder as fn, ColorPalette as fo, ComposerActionPlacement as fr, AgentWidgetLauncherTeaserConfig as ft, AgentWidgetApprovalDecisionOptions as g, VoiceProvider as ga, InjectAssistantMessageOptions as gi, AgentWidgetStreamParserResult as gn, CreateThemeOptions as go, ComposerAttachmentState as gr, AgentWidgetLoadingLabelConfig as gt, AgentWidgetApprovalConfig as h, VoicePriorToolResult as ha, ImageContentPart as hi, AgentWidgetStreamParser as hn, ComposerOverflowMenuTokens as ho, ComposerActionVisibility as hr, AgentWidgetLoadingIndicatorConfig as ht, AgentMessageMetadata as i, VoiceClientToolsChannel as ia, HistoryConversationDetail as ii, AgentWidgetStarterSuggestionsConfig as in, RuntypeTurnCompleteEvent as io, ClientToolResultFrame as ir, AgentWidgetHeaderLayoutConfig as it, AgentWidgetContentSegment as j, renderLucideIcon as ja, PersonaArtifactDisplayRules as ji, AgentWidgetVoicePrewarmTrigger as jn, SpacingScale as jo, ComposerModelPickerConfig as jr, AgentWidgetModelMessageRole as jt, AgentWidgetConfig as k, IconName as ka, PersonaArtifactDisplayMode as ki, AgentWidgetTurnActivityConfig as kn, SemanticTypography as ko, ComposerModeGroupPresentation as kr, AgentWidgetMessageRoleLayout as kt, AgentWidgetActionEventPayload as l, VoiceDelegationRequest as la, HistoryIdentityStatus as li, AgentWidgetStreamAnimationBuffer as ln, AttachmentTokens as lo, ComposerActionContext as lr, AgentWidgetHistoryRenderActions as lt, AgentWidgetApproval as m, VoicePlaybackEngine as ma, IdleIndicatorRenderContext as mi, AgentWidgetStreamCheckpoint as mn, ComponentTokens as mo, ComposerActionRenderContext as mr, AgentWidgetLinkClickContext as mt, AgentExecutionState as n, VoiceClientToolStatus as na, EventStreamViewRenderContext as ni, AgentWidgetSessionInitHook as nn, RuntypeStopReasonKind as no, ClientToolCallFrame as nr, AgentWidgetFeatureFlags as nt, AgentRequestOptions as o, VoiceClientToolsSnapshot as oa, HistoryConversationPatch as oi, AgentWidgetStorageAdapter as on, ArtifactTabTokens as oo, ClientVisitorGrant as or, AgentWidgetHistoryCopy as ot, AgentWidgetAgentRequestPayload as p, VoiceMetrics as pa, HistoryViewState as pi, AgentWidgetStreamAnimationType as pn, ColorShade as po, ComposerActionPresentation as pr, AgentWidgetLayoutConfig as pt, AgentWidgetControllerEventMap as q, RuntypeClientFeedbackRequest as qa, SlotRenderer as qi, AttachmentPreviewRenderHandle as qn, parseCombo as qo, DictationRenderContext as qr, AgentWidgetSSEEventParser as qt, AgentLoopConfig as r, VoiceClientTools as ra, HeaderRenderContext as ri, AgentWidgetSessionInitTrigger as rn, RuntypeStreamEventOf as ro, ClientToolDefinition as rr, AgentWidgetFollowUpSuggestionsConfig as rt, AgentToolsConfig as s, VoiceConfig as sa, HistoryConversationSummary as si, AgentWidgetStoredDraft as sn, ArtifactToolbarTokens as so, ComposerAction as sr, AgentWidgetHistoryFeature as st, AgentConfig as t, VoiceClientToolOutcome as ta, EventStreamToolbarRenderContext as ti, AgentWidgetScrollToBottomIconState as tn, RuntypeStepCompleteEvent as to, ClientSession as tr, AgentWidgetExpansionConfig as tt, AgentWidgetActionHandler as u, VoiceDelegationResult as ua, HistoryPendingAction as ui, AgentWidgetStreamAnimationBuiltinType as un, BorderScale as uo, ComposerActionContributionContext as ur, AgentWidgetInitOptions as ut, AgentWidgetArtifactsLayoutConfig as v, VoiceSessionBridge as va, InjectMessageOptions as vi, AgentWidgetSuggestionBehavior as vn, IconButtonTokens as vo, ComposerButtonAction as vr, AgentWidgetMarkdownOptions as vt, AgentWidgetAvatarConfig as w, WidgetArtifactLayoutPreference as wa, MessageContent as wi, AgentWidgetSuggestionsConfig as wn, RadiusScale as wo, ComposerMenuRenderContext as wr, AgentWidgetMessageActionsConfig as wt, AgentWidgetAttachmentAdapter as x, WebMcpConfirmHandler as xa, LoadingIndicatorRenderContext as xi, AgentWidgetSuggestionSurface as xn, MessageTokens as xo, ComposerInputAttributes as xr, AgentWidgetMentionTriggerChannel as xt, AgentWidgetAskUserQuestionFeature as y, VoiceStatus as ya, InjectSystemMessageOptions as yi, AgentWidgetSuggestionChipsConfig as yn, LabelButtonTokens as yo, ComposerCustomAction as yr, AgentWidgetMarkdownRendererOverrides as yt, AgentWidgetContextMentionPayload as z, HistoryProviderError as za, PreparedClientSession as zi, AgentWidgetWelcomeIconPlacement as zn, AgentWidgetRailSection as zo, ComposerStreamingSubmitBehavior as zr, AgentWidgetRenderHistoryOpenErrorContext as zt };
12349
12433
  export {}
@@ -1,4 +1,4 @@
1
- import { $i as VoiceClientToolsChannel, Qi as VoiceClientTools, Qn as ClientToolDefinition, ea as VoiceClientToolsSession } from "./types-BOZHQIk0.cjs";
1
+ import { aa as VoiceClientToolsSession, ia as VoiceClientToolsChannel, ra as VoiceClientTools, rr as ClientToolDefinition } from "./types-B_mj21jg.cjs";
2
2
  //#region src/voice/voice-client-tools-session.d.ts
3
3
  /** The name the server calls a client tool back with: `webmcp:` prefixed for page tools. */
4
4
  export declare function voiceClientToolName(tool: ClientToolDefinition): string;
@@ -1,4 +1,4 @@
1
- import { $i as VoiceClientToolsChannel, Qi as VoiceClientTools, Qn as ClientToolDefinition, ea as VoiceClientToolsSession } from "./types-BOZHQIk0.js";
1
+ import { aa as VoiceClientToolsSession, ia as VoiceClientToolsChannel, ra as VoiceClientTools, rr as ClientToolDefinition } from "./types-B_mj21jg.js";
2
2
  //#region src/voice/voice-client-tools-session.d.ts
3
3
  /** The name the server calls a client tool back with: `webmcp:` prefixed for page tools. */
4
4
  export declare function voiceClientToolName(tool: ClientToolDefinition): string;