@runtypelabs/persona 4.33.0 → 4.35.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/dist/activity-ui.d.cts +3 -15
  2. package/dist/activity-ui.d.ts +3 -15
  3. package/dist/animations/glyph-cycle.d.cts +1 -3
  4. package/dist/animations/glyph-cycle.d.ts +1 -3
  5. package/dist/animations/wipe.d.cts +1 -3
  6. package/dist/animations/wipe.d.ts +1 -3
  7. package/dist/approval-ui.cjs +2 -2
  8. package/dist/approval-ui.d.cts +3 -15
  9. package/dist/approval-ui.d.ts +3 -15
  10. package/dist/approval-ui.js +1 -1
  11. package/dist/artifacts-ui.cjs +1 -1
  12. package/dist/artifacts-ui.d.cts +3 -21
  13. package/dist/artifacts-ui.d.ts +3 -21
  14. package/dist/background-runtime.d.cts +2 -3
  15. package/dist/background-runtime.d.ts +2 -3
  16. package/dist/{chunk-DW7Vg_l2.js → chunk-B1P8w9_X.js} +1 -1
  17. package/dist/{chunk-D6U0E82p.js → chunk-B30Jdgg6.js} +1 -1
  18. package/dist/{chunk-gu34lr-P.js → chunk-Brdx4NCz.js} +1 -1
  19. package/dist/{chunk-6CUrH_jm.js → chunk-Bzo9GaAi.js} +1 -1
  20. package/dist/{chunk-Ds_twaZn.js → chunk-C4v-HNhS.js} +1 -1
  21. package/dist/{chunk-Bkma5hIU.js → chunk-CE4seJxF.js} +1 -1
  22. package/dist/chunk-CNBMBx-Y.js +2 -0
  23. package/dist/{chunk-ql5N2I_t.js → chunk-CWzHNuVK.js} +1 -1
  24. package/dist/{chunk-DbGLjU2P.js → chunk-CYpt7PsO.js} +1 -1
  25. package/dist/chunk-Cd8mp8Sv.js +1 -0
  26. package/dist/chunk-CsfE8WRG.js +1 -0
  27. package/dist/{chunk-DOZmcve8.js → chunk-Csr59G5V.js} +1 -1
  28. package/dist/{chunk-Co3VVwGe.js → chunk-D2pHRNEq.js} +0 -0
  29. package/dist/chunk-D3kZO8u-.js +1 -0
  30. package/dist/chunk-DAthf5H3.js +1 -0
  31. package/dist/{chunk-CXQJG7pb.js → chunk-DZ_aillY.js} +2 -2
  32. package/dist/{chunk-6C23QQdP.js → chunk-DgJV9zbK.js} +1 -1
  33. package/dist/chunk-Dv6KtIT1.js +1 -0
  34. package/dist/chunk-Dws8IrdR.js +1 -0
  35. package/dist/chunk-ThxxD8oK.js +1 -0
  36. package/dist/{chunk-C-EHtpbB.js → chunk-h5aOI_Pa.js} +1 -1
  37. package/dist/chunk-kizhspe5.js +1 -0
  38. package/dist/client-dispatch.js +1 -1
  39. package/dist/client-history.js +1 -1
  40. package/dist/client-stream.js +1 -1
  41. package/dist/{code-generators-DqauYyfX.d.cts → code-generators-DPAqTcAz.d.cts} +0 -2
  42. package/dist/{code-generators-DqauYyfX.d.ts → code-generators-DPAqTcAz.d.ts} +0 -2
  43. package/dist/codegen.cjs +1 -1
  44. package/dist/codegen.d.cts +1 -1
  45. package/dist/codegen.d.ts +1 -1
  46. package/dist/codegen.js +1 -1
  47. package/dist/composer-actions-runtime.cjs +1 -1
  48. package/dist/composer-actions-runtime.d.cts +4 -20
  49. package/dist/composer-actions-runtime.d.ts +4 -20
  50. package/dist/composer-actions-runtime.js +1 -1
  51. package/dist/{composer-input-DnqGCXZz.d.ts → composer-input-BSDNPOqV.d.cts} +1 -7
  52. package/dist/{composer-input-DnqGCXZz.d.cts → composer-input-BSDNPOqV.d.ts} +1 -7
  53. package/dist/{composer-store-6Iwy6WLI.d.ts → composer-store-DC-gAjtN.d.cts} +1 -3
  54. package/dist/{composer-store-6Iwy6WLI.d.cts → composer-store-DC-gAjtN.d.ts} +1 -3
  55. package/dist/config-diagnostics.d.cts +0 -2
  56. package/dist/config-diagnostics.d.ts +0 -2
  57. package/dist/{context-mention-manager-B-rHF98n.d.ts → context-mention-manager-CCpeoGL2.d.cts} +2 -6
  58. package/dist/{context-mention-manager-B-rHF98n.d.cts → context-mention-manager-CCpeoGL2.d.ts} +2 -6
  59. package/dist/context-mentions-inline.cjs +1 -1
  60. package/dist/context-mentions-inline.d.cts +2 -4
  61. package/dist/context-mentions-inline.d.ts +2 -4
  62. package/dist/context-mentions-inline.js +1 -1
  63. package/dist/context-mentions.cjs +2 -2
  64. package/dist/context-mentions.d.cts +3 -9
  65. package/dist/context-mentions.d.ts +3 -9
  66. package/dist/context-mentions.js +1 -1
  67. package/dist/{defaults-BuOjqUAG.d.ts → defaults-tj5RcN8r.d.cts} +1 -5
  68. package/dist/{defaults-BuOjqUAG.d.cts → defaults-tj5RcN8r.d.ts} +1 -5
  69. package/dist/dictation-runtime.cjs +1 -1
  70. package/dist/dictation-runtime.d.cts +4 -13
  71. package/dist/dictation-runtime.d.ts +4 -13
  72. package/dist/dictation-runtime.js +1 -1
  73. package/dist/{dom-context-DHTabIn7.d.cts → dom-context-Bw-_9Evh.d.cts} +0 -2
  74. package/dist/{dom-context-DHTabIn7.d.ts → dom-context-Bw-_9Evh.d.ts} +0 -2
  75. package/dist/event-stream-view.cjs +1 -1
  76. package/dist/event-stream-view.d.cts +3 -16
  77. package/dist/event-stream-view.d.ts +3 -16
  78. package/dist/{fallback-speech-engine-SqEfkGda.d.ts → fallback-speech-engine-gkhbjLiZ.d.cts} +1 -3
  79. package/dist/{fallback-speech-engine-SqEfkGda.d.cts → fallback-speech-engine-gkhbjLiZ.d.ts} +1 -3
  80. package/dist/{feature-preferences-DqAmje-2.d.ts → feature-preferences-CerDWGZ7.d.cts} +1 -5
  81. package/dist/{feature-preferences-DqAmje-2.d.cts → feature-preferences-CerDWGZ7.d.ts} +1 -5
  82. package/dist/forms-ui.d.cts +2 -4
  83. package/dist/forms-ui.d.ts +2 -4
  84. package/dist/{history-confirm-dialog-B3L7QNcO.d.cts → history-confirm-dialog-CrkSB3Ra.d.cts} +2 -14
  85. package/dist/{history-confirm-dialog-B3L7QNcO.d.ts → history-confirm-dialog-CrkSB3Ra.d.ts} +2 -14
  86. package/dist/history-shell.cjs +1 -1
  87. package/dist/history-shell.d.cts +8 -27
  88. package/dist/history-shell.d.ts +8 -27
  89. package/dist/history-shell.js +1 -1
  90. package/dist/history-view.d.cts +1 -1
  91. package/dist/history-view.d.ts +1 -1
  92. package/dist/icons-extra.cjs +1 -1
  93. package/dist/icons-extra.d.cts +0 -2
  94. package/dist/icons-extra.d.ts +0 -2
  95. package/dist/index.cjs +44 -44
  96. package/dist/index.cjs.map +1 -1
  97. package/dist/index.d.cts +10 -10
  98. package/dist/index.d.ts +10 -10
  99. package/dist/index.global.js +1 -1
  100. package/dist/index.global.js.map +1 -1
  101. package/dist/index.js +50 -50
  102. package/dist/index.js.map +1 -1
  103. package/dist/install.global.js +1 -1
  104. package/dist/install.global.js.map +1 -1
  105. package/dist/launcher.global.js +2 -2
  106. package/dist/launcher.global.js.map +1 -1
  107. package/dist/{loading-label-runtime-loader-JecjOfJS.d.ts → loading-label-runtime-loader-fWIRrhUF.d.cts} +1 -3
  108. package/dist/{loading-label-runtime-loader-JecjOfJS.d.cts → loading-label-runtime-loader-fWIRrhUF.d.ts} +1 -3
  109. package/dist/loading-label-runtime.cjs +1 -1
  110. package/dist/loading-label-runtime.d.cts +1 -1
  111. package/dist/loading-label-runtime.d.ts +1 -1
  112. package/dist/loading-label-runtime.js +1 -1
  113. package/dist/markdown-parsers.js +1 -1
  114. package/dist/{message-bubble-CBYtpDsT.d.ts → message-bubble-Czc0lOHr.d.cts} +20 -3
  115. package/dist/{message-bubble-CBYtpDsT.d.cts → message-bubble-Czc0lOHr.d.ts} +20 -3
  116. package/dist/{plugin-kit-C1mRjLgW.d.cts → plugin-kit-C30jE-cw.d.cts} +3 -3
  117. package/dist/{plugin-kit-C1mRjLgW.d.ts → plugin-kit-C30jE-cw.d.ts} +3 -3
  118. package/dist/plugin-kit.cjs +1 -1
  119. package/dist/plugin-kit.d.cts +1 -1
  120. package/dist/plugin-kit.d.ts +1 -1
  121. package/dist/plugin-kit.js +1 -1
  122. package/dist/preferences-runtime.cjs +1 -1
  123. package/dist/preferences-runtime.d.cts +1 -1
  124. package/dist/preferences-runtime.d.ts +1 -1
  125. package/dist/preferences-runtime.js +1 -1
  126. package/dist/{preview-_UJwwt2L.d.cts → preview-D-osV3FU.d.cts} +2 -6
  127. package/dist/{preview-_UJwwt2L.d.ts → preview-D-osV3FU.d.ts} +2 -6
  128. package/dist/{registry-B5ZV3K-h.d.ts → registry-B6w91tx0.d.cts} +1 -8
  129. package/dist/{registry-B5ZV3K-h.d.cts → registry-B6w91tx0.d.ts} +1 -8
  130. package/dist/{session-Bys8_XuB.d.cts → session-BUQrs3Of.d.cts} +10 -93
  131. package/dist/{session-Bys8_XuB.d.ts → session-BUQrs3Of.d.ts} +10 -93
  132. package/dist/session-reconnect.d.cts +2 -4
  133. package/dist/session-reconnect.d.ts +2 -4
  134. package/dist/smart-dom-reader.d.cts +2 -8
  135. package/dist/smart-dom-reader.d.ts +2 -8
  136. package/dist/testing.d.cts +0 -2
  137. package/dist/testing.d.ts +0 -2
  138. package/dist/theme-editor-preview.cjs +50 -50
  139. package/dist/theme-editor-preview.d.cts +1 -1
  140. package/dist/theme-editor-preview.d.ts +1 -1
  141. package/dist/theme-editor-preview.js +25 -25
  142. package/dist/theme-editor.cjs +25 -5
  143. package/dist/theme-editor.d.cts +2 -22
  144. package/dist/theme-editor.d.ts +2 -22
  145. package/dist/theme-editor.js +1 -1
  146. package/dist/theme-reference.cjs +1 -1
  147. package/dist/theme-reference.d.cts +2 -4
  148. package/dist/theme-reference.d.ts +2 -4
  149. package/dist/theme-reference.js +1 -1
  150. package/dist/{tool-loading-animation-d5qAQcwv.d.ts → tool-loading-animation-B7XUf8TN.d.cts} +1 -7
  151. package/dist/{tool-loading-animation-d5qAQcwv.d.cts → tool-loading-animation-B7XUf8TN.d.ts} +1 -7
  152. package/dist/{tooltip-BkW-8MnD.d.cts → tooltip-DbXkAuJL.d.cts} +0 -2
  153. package/dist/{tooltip-BkW-8MnD.d.ts → tooltip-DbXkAuJL.d.ts} +0 -2
  154. package/dist/{turn-activity-ui-q6fHVnx-.d.cts → turn-activity-ui-CohuNMHT.d.cts} +2 -12
  155. package/dist/{turn-activity-ui-q6fHVnx-.d.ts → turn-activity-ui-CohuNMHT.d.ts} +2 -12
  156. package/dist/turn-activity-ui.d.cts +1 -1
  157. package/dist/turn-activity-ui.d.ts +1 -1
  158. package/dist/{types-B_mj21jg.d.cts → types-9i0xcAMT.d.cts} +128 -29
  159. package/dist/{types-B_mj21jg.d.ts → types-9i0xcAMT.d.ts} +128 -29
  160. package/dist/ui-extras.js +3 -3
  161. package/dist/voice-client-tools.d.cts +1 -3
  162. package/dist/voice-client-tools.d.ts +1 -3
  163. package/dist/voice-runtime.cjs +1 -1
  164. package/dist/voice-runtime.d.cts +2 -12
  165. package/dist/voice-runtime.d.ts +2 -12
  166. package/dist/voice-runtime.js +2 -2
  167. package/dist/voice-worklet-player.d.cts +2 -6
  168. package/dist/voice-worklet-player.d.ts +2 -6
  169. package/dist/{webmcp-runtime-entry-ClEO3qdI.d.ts → webmcp-runtime-entry-XNaXa-9h.d.cts} +9 -5
  170. package/dist/{webmcp-runtime-entry-ClEO3qdI.d.cts → webmcp-runtime-entry-XNaXa-9h.d.ts} +9 -5
  171. package/dist/webmcp-runtime.cjs +1 -1
  172. package/dist/webmcp-runtime.d.cts +1 -1
  173. package/dist/webmcp-runtime.d.ts +1 -1
  174. package/dist/webmcp-runtime.js +1 -1
  175. package/dist/widget.css +1 -1
  176. package/package.json +5 -5
  177. package/src/client-dispatch.ts +13 -0
  178. package/src/client.ts +37 -2
  179. package/src/client.webmcp-require-confirm.test.ts +212 -0
  180. package/src/components/composer-model-picker.ts +0 -14
  181. package/src/components/composer-overflow-menu.ts +0 -15
  182. package/src/components/composer-tokens.ts +0 -20
  183. package/src/components/event-stream-view.test.ts +5 -0
  184. package/src/components/message-bubble.ts +26 -6
  185. package/src/components/scroll-to-bottom.test.ts +135 -0
  186. package/src/components/scroll-to-bottom.ts +50 -13
  187. package/src/components/user-message-collapse.ts +117 -0
  188. package/src/defaults.ts +6 -0
  189. package/src/generated/runtype-openapi-contract.ts +13 -0
  190. package/src/plugin-kit.test.ts +101 -0
  191. package/src/plugin-kit.ts +29 -1
  192. package/src/session.ts +6 -2
  193. package/src/session.webmcp.test.ts +32 -0
  194. package/src/styles/widget.css +56 -0
  195. package/src/theme-reference.ts +2 -2
  196. package/src/types/theme.ts +29 -0
  197. package/src/types.ts +84 -5
  198. package/src/ui.composer-models.test.ts +5 -7
  199. package/src/ui.composer-overflow.test.ts +14 -21
  200. package/src/ui.scroll-additive.test.ts +219 -117
  201. package/src/ui.scroll.test.ts +176 -13
  202. package/src/ui.ts +230 -107
  203. package/src/ui.turn-activity.test.ts +7 -7
  204. package/src/ui.user-message-collapse.test.ts +540 -0
  205. package/src/utils/auto-follow.test.ts +0 -38
  206. package/src/utils/auto-follow.ts +0 -35
  207. package/src/utils/context-mention-controller.test.ts +56 -0
  208. package/src/utils/theme.test.ts +23 -0
  209. package/src/utils/tokens.ts +16 -0
  210. package/src/webmcp-bridge.test.ts +102 -0
  211. package/src/webmcp-runtime-entry.ts +29 -1
  212. package/dist/chunk-BAkaTZpd.js +0 -1
  213. package/dist/chunk-BEDTp-dm.js +0 -1
  214. package/dist/chunk-C7-m0EmI.js +0 -1
  215. package/dist/chunk-CNhThrLX.js +0 -1
  216. package/dist/chunk-CVMIncEY.js +0 -1
  217. package/dist/chunk-CzLEhoB_.js +0 -2
  218. package/dist/chunk-DVgzoVCB.js +0 -1
  219. package/dist/chunk-d54BJdKd.js +0 -1
  220. package/dist/chunk-dLJWKfOb.js +0 -1
@@ -1,6 +1,5 @@
1
- import { Ct as AgentWidgetMessage, It as AgentWidgetReasoning, On as AgentWidgetTurnActivity, k as AgentWidgetConfig } from "./types-B_mj21jg.cjs";
2
- import { a as SessionRunActivity } from "./session-Bys8_XuB.cjs";
3
- //#region src/components/activity-row.d.ts
1
+ import { Ct as AgentWidgetMessage, It as AgentWidgetReasoning, On as AgentWidgetTurnActivity, k as AgentWidgetConfig } from "./types-9i0xcAMT.cjs";
2
+ import { a as SessionRunActivity } from "./session-BUQrs3Of.cjs";
4
3
  type ActivityKind = "tool" | "reasoning";
5
4
  /** Automatic tool timing stays quiet below a whole second; authored timers retain their format. */
6
5
  declare function updateActivityElapsed(span: HTMLElement, now: number): void;
@@ -22,8 +21,6 @@ declare function createActivityGroup(message: AgentWidgetMessage, config: AgentW
22
21
  bubble: HTMLElement;
23
22
  body: HTMLElement;
24
23
  };
25
- //#endregion
26
- //#region src/activity-groups.d.ts
27
24
  /** Group visible tool rows only after the activity renderer has loaded. */
28
25
  type ActivityGroupOptions = {
29
26
  root: HTMLElement;
@@ -42,18 +39,12 @@ type ActivityGroupOptions = {
42
39
  toolExpansionState: Set<string>;
43
40
  };
44
41
  declare function groupToolRows(options: ActivityGroupOptions): boolean;
45
- //#endregion
46
- //#region src/utils/style-provenance.d.ts
47
42
  /** Renderers keep responsibility for historical normalization and mode restrictions. */
48
43
  declare const getExplicitLegacyStyle: (config: object | undefined, path: string) => unknown;
49
44
  declare const hasExplicitThemeStyle: (config: object | undefined, componentPath: string, scheme?: "light" | "dark") => boolean;
50
- //#endregion
51
- //#region src/utils/turn-activity-display.d.ts
52
45
  declare function classify(message: AgentWidgetMessage, config: AgentWidgetConfig): AgentWidgetTurnActivity | undefined;
53
46
  /** Defaults are local to classified progress; authored values and preferences win. */
54
47
  declare function presentation(config: AgentWidgetConfig, message: AgentWidgetMessage): AgentWidgetConfig;
55
- //#endregion
56
- //#region src/turn-activity-ui.d.ts
57
48
  type TurnActivityDependencies = {
58
49
  group: typeof createActivityGroup;
59
50
  tools: (options: ActivityGroupOptions) => boolean;
@@ -66,6 +57,5 @@ interface TurnActivityRuntime {
66
57
  }
67
58
  /** Compose existing message rows; metadata never changes model content or storage. */
68
59
  declare function render(options: ActivityGroupOptions, deps: TurnActivityDependencies): boolean;
69
- //#endregion
70
60
  export { hasExplicitThemeStyle as a, updateActivityElapsed as c, getExplicitLegacyStyle as i, TurnActivityRuntime as n, groupToolRows as o, render as r, ActivityKind as s, TurnActivityDependencies as t };
71
61
  export {}
@@ -1,6 +1,5 @@
1
- import { Ct as AgentWidgetMessage, It as AgentWidgetReasoning, On as AgentWidgetTurnActivity, k as AgentWidgetConfig } from "./types-B_mj21jg.js";
2
- import { a as SessionRunActivity } from "./session-Bys8_XuB.js";
3
- //#region src/components/activity-row.d.ts
1
+ import { Ct as AgentWidgetMessage, It as AgentWidgetReasoning, On as AgentWidgetTurnActivity, k as AgentWidgetConfig } from "./types-9i0xcAMT.js";
2
+ import { a as SessionRunActivity } from "./session-BUQrs3Of.js";
4
3
  type ActivityKind = "tool" | "reasoning";
5
4
  /** Automatic tool timing stays quiet below a whole second; authored timers retain their format. */
6
5
  declare function updateActivityElapsed(span: HTMLElement, now: number): void;
@@ -22,8 +21,6 @@ declare function createActivityGroup(message: AgentWidgetMessage, config: AgentW
22
21
  bubble: HTMLElement;
23
22
  body: HTMLElement;
24
23
  };
25
- //#endregion
26
- //#region src/activity-groups.d.ts
27
24
  /** Group visible tool rows only after the activity renderer has loaded. */
28
25
  type ActivityGroupOptions = {
29
26
  root: HTMLElement;
@@ -42,18 +39,12 @@ type ActivityGroupOptions = {
42
39
  toolExpansionState: Set<string>;
43
40
  };
44
41
  declare function groupToolRows(options: ActivityGroupOptions): boolean;
45
- //#endregion
46
- //#region src/utils/style-provenance.d.ts
47
42
  /** Renderers keep responsibility for historical normalization and mode restrictions. */
48
43
  declare const getExplicitLegacyStyle: (config: object | undefined, path: string) => unknown;
49
44
  declare const hasExplicitThemeStyle: (config: object | undefined, componentPath: string, scheme?: "light" | "dark") => boolean;
50
- //#endregion
51
- //#region src/utils/turn-activity-display.d.ts
52
45
  declare function classify(message: AgentWidgetMessage, config: AgentWidgetConfig): AgentWidgetTurnActivity | undefined;
53
46
  /** Defaults are local to classified progress; authored values and preferences win. */
54
47
  declare function presentation(config: AgentWidgetConfig, message: AgentWidgetMessage): AgentWidgetConfig;
55
- //#endregion
56
- //#region src/turn-activity-ui.d.ts
57
48
  type TurnActivityDependencies = {
58
49
  group: typeof createActivityGroup;
59
50
  tools: (options: ActivityGroupOptions) => boolean;
@@ -66,6 +57,5 @@ interface TurnActivityRuntime {
66
57
  }
67
58
  /** Compose existing message rows; metadata never changes model content or storage. */
68
59
  declare function render(options: ActivityGroupOptions, deps: TurnActivityDependencies): boolean;
69
- //#endregion
70
60
  export { hasExplicitThemeStyle as a, updateActivityElapsed as c, getExplicitLegacyStyle as i, TurnActivityRuntime as n, groupToolRows as o, render as r, ActivityKind as s, TurnActivityDependencies as t };
71
61
  export {}
@@ -1,3 +1,3 @@
1
- import { n as TurnActivityRuntime, r as render, t as TurnActivityDependencies } from "./turn-activity-ui-q6fHVnx-.cjs";
1
+ import { n as TurnActivityRuntime, r as render, t as TurnActivityDependencies } from "./turn-activity-ui-CohuNMHT.cjs";
2
2
  export { TurnActivityDependencies, TurnActivityRuntime, render };
3
3
  export {}
@@ -1,3 +1,3 @@
1
- import { n as TurnActivityRuntime, r as render, t as TurnActivityDependencies } from "./turn-activity-ui-q6fHVnx-.js";
1
+ import { n as TurnActivityRuntime, r as render, t as TurnActivityDependencies } from "./turn-activity-ui-CohuNMHT.js";
2
2
  export { TurnActivityDependencies, TurnActivityRuntime, render };
3
3
  export {}
@@ -1,5 +1,4 @@
1
1
  import { IconNode } from "lucide";
2
- //#region src/welcome.d.ts
3
2
  interface ResolvedWelcomeConfig {
4
3
  title: string;
5
4
  /** Empty string when unset: the renderer omits the line. */
@@ -37,8 +36,6 @@ declare const resolveWelcomeConfig: (config?: AgentWidgetConfig, fullscreen?: bo
37
36
  * transcript activity; `dismiss: "never"` keeps the authored surface visible.
38
37
  */
39
38
  declare const isWelcomeVisible: (resolved: ResolvedWelcomeConfig, messages: readonly AgentWidgetMessage[] | undefined) => boolean;
40
- //#endregion
41
- //#region src/utils/plugin-storage.d.ts
42
39
  /**
43
40
  * Synchronous key-value store handed to plugin render hooks. Backed by
44
41
  * `localStorage`, namespaced per plugin id. The async `storageAdapter` cannot
@@ -49,8 +46,6 @@ interface AgentWidgetPluginStorage {
49
46
  set: (key: string, value: string) => void;
50
47
  remove: (key: string) => void;
51
48
  }
52
- //#endregion
53
- //#region src/utils/shortcuts.d.ts
54
49
  /**
55
50
  * Keyboard shortcuts: one declaration, three artifacts that cannot drift — the
56
51
  * keydown binding, the tooltip hint chip (`formatCombo`), and the control's
@@ -86,8 +81,6 @@ declare const formatCombo: (combo: string) => string;
86
81
  * elsewhere.
87
82
  */
88
83
  declare const ariaCombo: (combo: string) => string;
89
- //#endregion
90
- //#region src/plugins/types.d.ts
91
84
  type AgentWidgetTransformSuggestionsContext = {
92
85
  /**
93
86
  * Fresh copy of the suggestions entering this plugin, already normalized:
@@ -655,8 +648,6 @@ interface AgentWidgetPlugin {
655
648
  */
656
649
  onUnregister?: () => void;
657
650
  }
658
- //#endregion
659
- //#region src/types/theme.d.ts
660
651
  /** Optional brand inputs, derived beneath explicit theme tokens. */
661
652
  interface BrandConfig {
662
653
  /** Opaque hex or rgb() color for primary actions and the accent ramp. */
@@ -1164,6 +1155,21 @@ interface MessageActionsTokens {
1164
1155
  /** Button corner radius. Defaults to `palette.radius.md`. */
1165
1156
  borderRadius?: TokenReference<'radius'>;
1166
1157
  }
1158
+ /**
1159
+ * Long user message collapse (`features.userMessageCollapse`). Every key is
1160
+ * optional; unset, the fade and the toggle follow the user bubble's own text
1161
+ * color and type, so they already work on any fill in light and dark schemes.
1162
+ */
1163
+ interface UserMessageCollapseTokens {
1164
+ /** Height of the bottom fade on a collapsed bubble. @default "48px" */
1165
+ fadeHeight?: string;
1166
+ /** "Show more" / "Show less" text color. Defaults to the user bubble text color. */
1167
+ toggleForeground?: TokenReference<'color'>;
1168
+ /** Toggle label type size. @default "0.8125rem" */
1169
+ toggleFontSize?: string;
1170
+ /** Toggle label weight. @default "600" */
1171
+ toggleFontWeight?: string;
1172
+ }
1167
1173
  /**
1168
1174
  * Bubble geometry and type, per role. Every key is unset by default and each
1169
1175
  * one falls back to the value the message layout preset already produced, so
@@ -1952,6 +1958,17 @@ interface ScrollToBottomTokens extends ComponentTokenSet {
1952
1958
  fontSize?: string;
1953
1959
  fontWeight?: string;
1954
1960
  };
1961
+ /**
1962
+ * The labelled "Approval needed" state shown while a pending approval is
1963
+ * below the fold. Omitted values follow the control's own colors, so it
1964
+ * matches the theme until you give it an accent.
1965
+ */
1966
+ approval?: {
1967
+ background?: TokenReference<'color'>;
1968
+ foreground?: TokenReference<'color'>;
1969
+ border?: TokenReference<'color'>;
1970
+ fontWeight?: string;
1971
+ };
1955
1972
  }
1956
1973
  /** Visual tokens shared by one suggestion presentation variant. */
1957
1974
  interface SuggestionVariantTokens extends ComponentTokenSet {
@@ -1998,6 +2015,8 @@ interface ComponentTokens {
1998
2015
  message: MessageTokens;
1999
2016
  /** Hover-revealed per-message action row (copy, vote, read aloud). */
2000
2017
  messageActions?: MessageActionsTokens;
2018
+ /** Fade and "Show more" toggle on collapsed long user messages. */
2019
+ userMessageCollapse?: UserMessageCollapseTokens;
2001
2020
  /** Welcome / intro card shown above the message list. */
2002
2021
  introCard?: IntroCardTokens;
2003
2022
  /** Markdown surfaces (chat + artifact pane). */
@@ -2106,8 +2125,6 @@ interface CreateThemeOptions {
2106
2125
  v5Defaults?: boolean;
2107
2126
  };
2108
2127
  }
2109
- //#endregion
2110
- //#region src/generated/runtype-openapi-contract.d.ts
2111
2128
  type RuntypeExecutionStreamEvent = ({
2112
2129
  agentId?: string;
2113
2130
  agentName?: string;
@@ -2137,6 +2154,12 @@ type RuntypeExecutionStreamEvent = ({
2137
2154
  iterations?: number;
2138
2155
  kind: "agent" | "flow";
2139
2156
  outcome?: "completed" | "error" | "aborted";
2157
+ output?: {
2158
+ validation?: {
2159
+ errored?: Array<string>;
2160
+ failed?: Array<string>;
2161
+ };
2162
+ };
2140
2163
  seq: number;
2141
2164
  stepErrorCount?: number;
2142
2165
  stopReason?: string;
@@ -2149,7 +2172,12 @@ type RuntypeExecutionStreamEvent = ({
2149
2172
  output: number;
2150
2173
  };
2151
2174
  totalTokensUsed?: number;
2175
+ truncatedStepCount?: number;
2152
2176
  type: "execution_complete";
2177
+ warnings?: Array<{
2178
+ code: string;
2179
+ message: string;
2180
+ }>;
2153
2181
  }) | ({
2154
2182
  blockReason?: string;
2155
2183
  code?: string;
@@ -2317,6 +2345,7 @@ type RuntypeExecutionStreamEvent = ({
2317
2345
  };
2318
2346
  success?: boolean;
2319
2347
  tokensUsed?: number;
2348
+ truncated?: boolean;
2320
2349
  type: "step_complete";
2321
2350
  unresolvedVariables?: Array<string>;
2322
2351
  }) | {
@@ -2540,6 +2569,7 @@ type RuntypeExecutionStreamEvent = ({
2540
2569
  toolCallId: string;
2541
2570
  type: "tool_output_delta";
2542
2571
  } | {
2572
+ completedAt?: string;
2543
2573
  error?: string;
2544
2574
  executionId: string;
2545
2575
  executionTime?: number;
@@ -2876,8 +2906,6 @@ type RuntypeClientFeedbackResponse = {
2876
2906
  success: true;
2877
2907
  };
2878
2908
  type RuntypeClientFeedbackType = RuntypeClientFeedbackRequest["type"];
2879
- //#endregion
2880
- //#region src/utils/target.d.ts
2881
2909
  /**
2882
2910
  * Target resolution for the normalized, backend-neutral `target` field.
2883
2911
  *
@@ -2914,8 +2942,6 @@ type ResolvedTarget = {
2914
2942
  kind: "payload";
2915
2943
  payload: Record<string, unknown>;
2916
2944
  };
2917
- //#endregion
2918
- //#region src/utils/visitor-store.d.ts
2919
2945
  /**
2920
2946
  * Durable visitor-credential store for per-visitor conversation history
2921
2947
  * (client-token mode only). Holds the raw `cvt_…` secret under a localStorage
@@ -2951,8 +2977,6 @@ interface VisitorStore {
2951
2977
  matches(clientToken: string, keyPrefix: string, persistDisabled: boolean): boolean;
2952
2978
  destroy(): void;
2953
2979
  }
2954
- //#endregion
2955
- //#region src/utils/history-messages.d.ts
2956
2980
  /** One message as served by the client conversation history route. */
2957
2981
  type HistoryWireMessage = {
2958
2982
  /** Optional display provenance from a custom history adapter. */
@@ -2967,8 +2991,6 @@ type HistoryWireMessage = {
2967
2991
  displayAvailable: boolean;
2968
2992
  timestamp?: string;
2969
2993
  };
2970
- //#endregion
2971
- //#region src/internal/history-provider.d.ts
2972
2994
  /** Fixed for the lifetime of one opened history view/action chain. */
2973
2995
  interface HistoryOperationContext {
2974
2996
  scope: HistoryScope;
@@ -3067,8 +3089,6 @@ declare class HistoryProviderError extends Error {
3067
3089
  });
3068
3090
  }
3069
3091
  declare function isHistoryProviderError(value: unknown): value is HistoryProviderError;
3070
- //#endregion
3071
- //#region src/utils/icons.d.ts
3072
3092
  /**
3073
3093
  * Curated icon registry for `renderLucideIcon` (host-suppliable name strings).
3074
3094
  *
@@ -3207,8 +3227,6 @@ declare const registerIcons: (icons: Record<string, IconNode>) => void;
3207
3227
  * @returns SVGElement, or null if the name is not in the registry.
3208
3228
  */
3209
3229
  declare const renderLucideIcon: (iconName: IconName | (string & {}), size?: number | string, color?: string, strokeWidth?: number) => SVGElement | null;
3210
- //#endregion
3211
- //#region src/types.d.ts
3212
3230
  /**
3213
3231
  * Text content part for multi-modal messages
3214
3232
  */
@@ -3981,6 +3999,16 @@ type WebMcpConfirmInfo = {
3981
3999
  * callbacks on v6 receive an AbortSignal, not a nested confirmation API.
3982
4000
  */
3983
4001
  reason: 'gate';
4002
+ /**
4003
+ * `true` when the tool matches a `requireConfirmFor` pattern (the widget's
4004
+ * `webmcp.requireConfirmFor`, or the bound Runtype surface's
4005
+ * `behavior.webmcp.requireConfirmFor` from client-token init). The call
4006
+ * must be confirmed by the user: Persona never runs `autoApprove` for it,
4007
+ * and a custom `onConfirm` should not auto-approve it either. In
4008
+ * client-token mode it is also set on every call until the surface policy
4009
+ * has loaded (fail closed).
4010
+ */
4011
+ confirmRequired?: true;
3984
4012
  /**
3985
4013
  * Aborts when the call no longer needs an answer (its deadline passed, or it
3986
4014
  * was cancelled). A confirm UI should close and resolve `false`; the tool
@@ -4031,8 +4059,23 @@ type AgentWidgetWebMcpConfig = {
4031
4059
  * confirmation UI entirely. Use this to auto-allow read-only tools (e.g.
4032
4060
  * a catalog search) while still gating mutating ones. Only consulted on
4033
4061
  * the default-UI path: a custom `onConfirm` takes full control instead.
4062
+ * Never consulted for a tool matching `requireConfirmFor`.
4034
4063
  */
4035
4064
  autoApprove?: (info: WebMcpConfirmInfo) => boolean;
4065
+ /**
4066
+ * Tool-name patterns that must always be confirmed, even when `autoApprove`
4067
+ * would approve them (and even on the voice path's read-only fast tier).
4068
+ * Matched against the bare tool name (no `webmcp:` prefix); `*` matches any
4069
+ * run of characters, e.g. `["checkout_*", "delete_account"]`. A matched
4070
+ * call shows the default approval bubble, or reaches your `onConfirm` with
4071
+ * `info.confirmRequired === true`.
4072
+ *
4073
+ * Merged with the bound surface's `behavior.webmcp.requireConfirmFor`,
4074
+ * which Runtype returns from `/v1/client/init` in client-token mode. This
4075
+ * is client-side UX, not a security boundary: the server enforces only
4076
+ * `webmcp.enabled` and its `allowlist`.
4077
+ */
4078
+ requireConfirmFor?: string[];
4036
4079
  /**
4037
4080
  * Confirm gate handler. When omitted, Persona renders its native in-panel
4038
4081
  * approval bubble (the same chrome used for server-driven tool approvals)
@@ -5293,10 +5336,13 @@ type AgentWidgetArtifactsFeature = {
5293
5336
  *
5294
5337
  * - `"anchor-top"` (default): on send, scroll the user's message near the top
5295
5338
  * of the viewport and hold it there while the response streams in beneath it
5296
- * (ChatGPT-style). When a turn has no user send to anchor to (a proactive
5297
- * greeting, an injected assistant message, a resubmit, or first-load
5298
- * streaming), it falls back to `"follow"` for that turn so content never
5299
- * streams in off-screen.
5339
+ * (ChatGPT-style). The anchor holds for the whole reply, even when the
5340
+ * message is taller than the viewport or tool calls push the answer below
5341
+ * the fold, until the reader scrolls away, jumps to the latest content with
5342
+ * the scroll-to-bottom control, or sends again. When a turn has no user send
5343
+ * to anchor to (a proactive greeting, an injected assistant message, a
5344
+ * resubmit, or first-load streaming), it falls back to `"follow"` for that
5345
+ * turn so content never streams in off-screen.
5300
5346
  * - `"follow"`: keep the newest content pinned to the bottom of the viewport,
5301
5347
  * pausing when the user scrolls up and resuming when they return to the
5302
5348
  * bottom. This was the default before 4.x.
@@ -5381,7 +5427,8 @@ type AgentWidgetScrollBehaviorFeature = {
5381
5427
  };
5382
5428
  /** Decorative glyph state. Hidden glyphs should pause host-owned animation. */
5383
5429
  type AgentWidgetScrollToBottomIconState = {
5384
- activity: "idle" | "generating-below";
5430
+ /** `"approval-below"`: a pending approval is below the fold and the turn waits on it. */
5431
+ activity: "idle" | "generating-below" | "approval-below";
5385
5432
  visible: boolean;
5386
5433
  hovered: boolean;
5387
5434
  focused: boolean;
@@ -5418,6 +5465,15 @@ type AgentWidgetScrollToBottomFeature = {
5418
5465
  * @default ""
5419
5466
  */
5420
5467
  label?: string;
5468
+ /**
5469
+ * Label shown while a pending approval sits below the fold. The control
5470
+ * widens to a labelled pill with the approval's shield glyph, and the turn
5471
+ * stays put until the reader jumps (anchor-top never scrolls them to it).
5472
+ * Styled by `theme.components.scrollToBottom.approval`. Set to an empty
5473
+ * string to keep the regular control.
5474
+ * @default "Approval needed"
5475
+ */
5476
+ approvalLabel?: string;
5421
5477
  /** Glyph while a live response is arriving below. V4 defaults to arrow; V5 to dots. */
5422
5478
  streamingIndicator?: "dots" | "arrow";
5423
5479
  /** Visibility transition. V4 defaults to none; V5 to fade. Honors reduced motion. */
@@ -5808,6 +5864,30 @@ type AgentWidgetStreamAnimationFeature = {
5808
5864
  */
5809
5865
  plugins?: Record<string, StreamAnimationPlugin>;
5810
5866
  };
5867
+ /**
5868
+ * Collapse long user messages behind a "Show more" / "Show less" toggle.
5869
+ * Only the built-in user bubble collapses; `layout.messages.renderUserMessage`
5870
+ * and plugin `renderMessage` output is left untouched.
5871
+ */
5872
+ type AgentWidgetUserMessageCollapseFeature = {
5873
+ /**
5874
+ * Clip a user bubble whose rendered content (text, markdown, code,
5875
+ * attachments) is taller than `maxHeight`, with a bottom fade and a real
5876
+ * toggle button. The full message stays in the DOM, so find-in-page, copy,
5877
+ * selection and screen readers still reach it. Interim voice transcripts
5878
+ * stay expanded and collapse once final. A reader's toggle is remembered
5879
+ * per message for the life of the widget.
5880
+ * @default false (`true` under `future.v5Defaults`)
5881
+ */
5882
+ enabled?: boolean;
5883
+ /**
5884
+ * Collapsed height in px. Content within about two lines (48px) of the
5885
+ * limit is left expanded, so the toggle never hides just a line or two.
5886
+ * The default shows about ten lines of bubble text.
5887
+ * @default 240
5888
+ */
5889
+ maxHeight?: number;
5890
+ };
5811
5891
  type AgentWidgetFeatureFlags = {
5812
5892
  showReasoning?: boolean;
5813
5893
  showToolCalls?: boolean;
@@ -5824,6 +5904,8 @@ type AgentWidgetFeatureFlags = {
5824
5904
  scrollToBottom?: AgentWidgetScrollToBottomFeature;
5825
5905
  /** Transcript scroll behavior during streamed responses. */
5826
5906
  scrollBehavior?: AgentWidgetScrollBehaviorFeature;
5907
+ /** "Show more" collapse for long user messages. Off by default; on under `future.v5Defaults`. */
5908
+ userMessageCollapse?: AgentWidgetUserMessageCollapseFeature;
5827
5909
  /** Collapsed transcript behavior for tool call rows. */
5828
5910
  toolCallDisplay?: AgentWidgetToolCallDisplayFeature;
5829
5911
  /** Collapsed transcript behavior for reasoning rows. */
@@ -9581,6 +9663,13 @@ type ClientSession = {
9581
9663
  welcomeMessage: string | null;
9582
9664
  placeholder: string;
9583
9665
  theme: Record<string, unknown> | null;
9666
+ /**
9667
+ * The bound chat surface's WebMCP confirm policy. Present only when the
9668
+ * surface enables WebMCP and lists `requireConfirmFor` patterns.
9669
+ */
9670
+ webmcp?: {
9671
+ requireConfirmFor: string[];
9672
+ };
9584
9673
  };
9585
9674
  };
9586
9675
  /**
@@ -9621,6 +9710,13 @@ type ClientInitResponse = {
9621
9710
  welcomeMessage: string | null;
9622
9711
  placeholder: string;
9623
9712
  theme: Record<string, unknown> | null;
9713
+ /**
9714
+ * The bound chat surface's WebMCP confirm policy. Present only when the
9715
+ * surface enables WebMCP and lists `requireConfirmFor` patterns.
9716
+ */
9717
+ webmcp?: {
9718
+ requireConfirmFor: string[];
9719
+ };
9624
9720
  };
9625
9721
  };
9626
9722
  /**
@@ -11163,6 +11259,10 @@ type AgentWidgetConfig = {
11163
11259
  sendButtonLabel?: string;
11164
11260
  /** Button label shown in text mode while a response is streaming. Default: "Stop". */
11165
11261
  stopButtonLabel?: string;
11262
+ /** Toggle label on a collapsed long user message (`features.userMessageCollapse`). @default "Show more" */
11263
+ showMoreLabel?: string;
11264
+ /** Toggle label on an expanded long user message (`features.userMessageCollapse`). @default "Show less" */
11265
+ showLessLabel?: string;
11166
11266
  /**
11167
11267
  * When false, the welcome / intro card is not shown above the message list.
11168
11268
  * @deprecated Use `welcome.variant: "none"`.
@@ -12428,6 +12528,5 @@ type AgentWidgetInitOptions = {
12428
12528
  windowKey?: string;
12429
12529
  debugTools?: boolean;
12430
12530
  };
12431
- //#endregion
12432
12531
  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 };
12433
12532
  export {}