@runtypelabs/persona 4.31.0 → 4.32.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 (120) hide show
  1. package/dist/activity-ui.cjs +2 -2
  2. package/dist/activity-ui.d.cts +11 -3
  3. package/dist/activity-ui.d.ts +11 -3
  4. package/dist/activity-ui.js +1 -1
  5. package/dist/animations/glyph-cycle.d.cts +1 -1
  6. package/dist/animations/glyph-cycle.d.ts +1 -1
  7. package/dist/animations/wipe.d.cts +1 -1
  8. package/dist/animations/wipe.d.ts +1 -1
  9. package/dist/approval-ui.d.cts +2 -2
  10. package/dist/approval-ui.d.ts +2 -2
  11. package/dist/artifacts-ui.d.cts +3 -3
  12. package/dist/artifacts-ui.d.ts +3 -3
  13. package/dist/background-runtime.d.cts +1 -1
  14. package/dist/background-runtime.d.ts +1 -1
  15. package/dist/chunk-CkE90FtA.js +2 -0
  16. package/dist/{chunk-Co4LmTFv.js → chunk-CzZBmTLd.js} +1 -1
  17. package/dist/chunk-DDAwu89-.js +1 -0
  18. package/dist/{chunk-WA9UucGf.js → chunk-DZg9bFK6.js} +1 -1
  19. package/dist/{chunk-BBtVdcKU.js → chunk-FEzOcZof.js} +1 -1
  20. package/dist/client-dispatch.js +1 -1
  21. package/dist/client-history.js +1 -1
  22. package/dist/codegen.cjs +1 -1
  23. package/dist/codegen.js +1 -1
  24. package/dist/composer-actions-runtime.d.cts +2 -2
  25. package/dist/composer-actions-runtime.d.ts +2 -2
  26. package/dist/{composer-input-C2_WizXV.d.cts → composer-input-dwg_o9Z-.d.cts} +1 -1
  27. package/dist/{composer-input-C2_WizXV.d.ts → composer-input-dwg_o9Z-.d.ts} +1 -1
  28. package/dist/{composer-store-BV6kTlKv.d.cts → composer-store-Dw7Zbqxr.d.cts} +1 -1
  29. package/dist/{composer-store-BV6kTlKv.d.ts → composer-store-Dw7Zbqxr.d.ts} +1 -1
  30. package/dist/{context-mention-manager-BfZzcydV.d.cts → context-mention-manager-D2p0-JH-.d.cts} +2 -2
  31. package/dist/{context-mention-manager-BfZzcydV.d.ts → context-mention-manager-D2p0-JH-.d.ts} +2 -2
  32. package/dist/context-mentions-inline.d.cts +2 -2
  33. package/dist/context-mentions-inline.d.ts +2 -2
  34. package/dist/context-mentions.d.cts +3 -3
  35. package/dist/context-mentions.d.ts +3 -3
  36. package/dist/{defaults-DiTeXyr3.d.cts → defaults-CjX0kKzb.d.cts} +1 -1
  37. package/dist/{defaults-DiTeXyr3.d.ts → defaults-CjX0kKzb.d.ts} +1 -1
  38. package/dist/dictation-runtime.d.cts +2 -2
  39. package/dist/dictation-runtime.d.ts +2 -2
  40. package/dist/event-stream-view.d.cts +1 -1
  41. package/dist/event-stream-view.d.ts +1 -1
  42. package/dist/{fallback-speech-engine-DZ6Of7VU.d.cts → fallback-speech-engine-DmF7MczI.d.cts} +1 -1
  43. package/dist/{fallback-speech-engine-DZ6Of7VU.d.ts → fallback-speech-engine-DmF7MczI.d.ts} +1 -1
  44. package/dist/{feature-preferences-BT549D_E.d.cts → feature-preferences-CVFDt9Xf.d.cts} +1 -1
  45. package/dist/{feature-preferences-BT549D_E.d.ts → feature-preferences-CVFDt9Xf.d.ts} +1 -1
  46. package/dist/forms-ui.d.cts +2 -2
  47. package/dist/forms-ui.d.ts +2 -2
  48. package/dist/{history-confirm-dialog-Cm4oK4am.d.cts → history-confirm-dialog-DJEXsTyE.d.cts} +1 -1
  49. package/dist/{history-confirm-dialog-Cm4oK4am.d.ts → history-confirm-dialog-DJEXsTyE.d.ts} +1 -1
  50. package/dist/history-shell.d.cts +6 -6
  51. package/dist/history-shell.d.ts +6 -6
  52. package/dist/history-view.d.cts +1 -1
  53. package/dist/history-view.d.ts +1 -1
  54. package/dist/index.cjs +10 -9
  55. package/dist/index.cjs.map +1 -1
  56. package/dist/index.d.cts +9 -9
  57. package/dist/index.d.ts +9 -9
  58. package/dist/index.global.js +1 -1
  59. package/dist/index.global.js.map +1 -1
  60. package/dist/index.js +23 -22
  61. package/dist/index.js.map +1 -1
  62. package/dist/{loading-label-runtime-loader-DmiPDkBu.d.cts → loading-label-runtime-loader-CPxnoaoi.d.cts} +1 -1
  63. package/dist/{loading-label-runtime-loader-DmiPDkBu.d.ts → loading-label-runtime-loader-CPxnoaoi.d.ts} +1 -1
  64. package/dist/loading-label-runtime.d.cts +1 -1
  65. package/dist/loading-label-runtime.d.ts +1 -1
  66. package/dist/{message-bubble-D0rosKuK.d.cts → message-bubble-CkZGlCLC.d.cts} +1 -1
  67. package/dist/{message-bubble-D0rosKuK.d.ts → message-bubble-CkZGlCLC.d.ts} +1 -1
  68. package/dist/preferences-runtime.d.cts +1 -1
  69. package/dist/preferences-runtime.d.ts +1 -1
  70. package/dist/{preview-DRU27q-X.d.cts → preview-DdUvoLb4.d.cts} +2 -2
  71. package/dist/{preview-DRU27q-X.d.ts → preview-DdUvoLb4.d.ts} +2 -2
  72. package/dist/{registry-DRk3VMFc.d.cts → registry-Dz4iHNST.d.cts} +1 -1
  73. package/dist/{registry-DRk3VMFc.d.ts → registry-Dz4iHNST.d.ts} +1 -1
  74. package/dist/{session-Dj4bOm5y.d.cts → session-Baxp9iRK.d.cts} +14 -8
  75. package/dist/{session-Dj4bOm5y.d.ts → session-Baxp9iRK.d.ts} +14 -8
  76. package/dist/session-reconnect.d.cts +2 -2
  77. package/dist/session-reconnect.d.ts +2 -2
  78. package/dist/smart-dom-reader.d.cts +1 -1
  79. package/dist/smart-dom-reader.d.ts +1 -1
  80. package/dist/theme-editor-preview.cjs +46 -45
  81. package/dist/theme-editor-preview.d.cts +1 -1
  82. package/dist/theme-editor-preview.d.ts +1 -1
  83. package/dist/theme-editor-preview.js +19 -18
  84. package/dist/theme-editor.d.cts +2 -2
  85. package/dist/theme-editor.d.ts +2 -2
  86. package/dist/theme-reference.d.cts +2 -2
  87. package/dist/theme-reference.d.ts +2 -2
  88. package/dist/{tool-loading-animation-D1MS5Ace.d.cts → tool-loading-animation-un3kA5Ur.d.cts} +1 -1
  89. package/dist/{tool-loading-animation-D1MS5Ace.d.ts → tool-loading-animation-un3kA5Ur.d.ts} +1 -1
  90. package/dist/{turn-activity-ui-CorwdlI0.d.cts → turn-activity-ui-BGNhtMcH.d.cts} +2 -2
  91. package/dist/{turn-activity-ui-CorwdlI0.d.ts → turn-activity-ui-BGNhtMcH.d.ts} +2 -2
  92. package/dist/turn-activity-ui.d.cts +1 -1
  93. package/dist/turn-activity-ui.d.ts +1 -1
  94. package/dist/{types-CSXHl5cN.d.cts → types-BOZHQIk0.d.cts} +8 -1
  95. package/dist/{types-CSXHl5cN.d.ts → types-BOZHQIk0.d.ts} +8 -1
  96. package/dist/voice-client-tools.d.cts +1 -1
  97. package/dist/voice-client-tools.d.ts +1 -1
  98. package/dist/voice-runtime.cjs +1 -1
  99. package/dist/voice-runtime.d.cts +2 -2
  100. package/dist/voice-runtime.d.ts +2 -2
  101. package/dist/voice-runtime.js +1 -1
  102. package/dist/voice-worklet-player.d.cts +2 -2
  103. package/dist/voice-worklet-player.d.ts +2 -2
  104. package/dist/{webmcp-runtime-entry-DpDN6k-6.d.cts → webmcp-runtime-entry-DuAG1_yF.d.cts} +1 -1
  105. package/dist/{webmcp-runtime-entry-DpDN6k-6.d.ts → webmcp-runtime-entry-DuAG1_yF.d.ts} +1 -1
  106. package/dist/webmcp-runtime.d.cts +1 -1
  107. package/dist/webmcp-runtime.d.ts +1 -1
  108. package/dist/widget.css +1 -1
  109. package/package.json +1 -1
  110. package/src/activity-ui.ts +23 -0
  111. package/src/components/disclosure-animation.ts +5 -0
  112. package/src/components/tool-bubble.ts +1 -0
  113. package/src/index-core.ts +1 -0
  114. package/src/styles/widget.css +6 -0
  115. package/src/types.ts +8 -0
  116. package/src/ui.footer-visibility.test.ts +54 -0
  117. package/src/ui.reveal-tool-call.test.ts +258 -0
  118. package/src/ui.ts +127 -5
  119. package/dist/chunk-B3OrH9Ng.js +0 -2
  120. package/dist/chunk-CjhA_5Jk.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Ma as HistoryProvider, ct as AgentWidgetHistoryListAction, ka as HistoryOperationContext, lt as AgentWidgetHistoryRenderActions, ot as AgentWidgetHistoryCopy, ri as HistoryIdentityStatus, ti as HistoryConversationSummary } from "./types-CSXHl5cN.js";
1
+ import { Aa as HistoryOperationContext, Na as HistoryProvider, ct as AgentWidgetHistoryListAction, ii as HistoryIdentityStatus, lt as AgentWidgetHistoryRenderActions, ni as HistoryConversationSummary, ot as AgentWidgetHistoryCopy } from "./types-BOZHQIk0.js";
2
2
  import { n as TooltipOptions, t as TooltipHandle } from "./tooltip-BkW-8MnD.js";
3
3
  //#region src/components/history-view/copy.d.ts
4
4
  type HistoryViewCopyInput = AgentWidgetHistoryCopy;
@@ -1,10 +1,10 @@
1
- import { Bo as parseCombo, Ct as AgentWidgetMessage, Ii as ResolvedHistoryPresentation, Ma as HistoryProvider, Na as HistoryProviderError, Ro as ariaCombo, Ta as renderLucideIcon, ai as HistoryReturnSurface, ei as HistoryConversationPatch, en as AgentWidgetStorageAdapter, jo as AgentWidgetPlugin, k as AgentWidgetConfig, oi as HistoryScope, q as AgentWidgetControllerEventMap, ti as HistoryConversationSummary, ya as WidgetHistoryInternals, zo as formatCombo } from "./types-CSXHl5cN.cjs";
2
- import { a as applyBubbleGeometry, u as getBubbleClasses } from "./message-bubble-D0rosKuK.cjs";
3
- import { Ct as AttachmentManager, h as PanelElements, i as SessionHistoryState, nn as HistoryClientError, r as SessionHistoryError, t as AgentWidgetSession, vt as isDockedMountMode } from "./session-Dj4bOm5y.cjs";
4
- import { p as resolveThemeDefaults } from "./defaults-DiTeXyr3.cjs";
1
+ import { Bo as formatCombo, Ct as AgentWidgetMessage, Ea as renderLucideIcon, Li as ResolvedHistoryPresentation, Mo as AgentWidgetPlugin, Na as HistoryProvider, Pa as HistoryProviderError, Vo as parseCombo, ba as WidgetHistoryInternals, k as AgentWidgetConfig, ni as HistoryConversationSummary, oi as HistoryReturnSurface, q as AgentWidgetControllerEventMap, si as HistoryScope, ti as HistoryConversationPatch, tn as AgentWidgetStorageAdapter, zo as ariaCombo } from "./types-BOZHQIk0.cjs";
2
+ import { a as applyBubbleGeometry, u as getBubbleClasses } from "./message-bubble-CkZGlCLC.cjs";
3
+ import { Ct as AttachmentManager, h as PanelElements, i as SessionHistoryState, nn as HistoryClientError, r as SessionHistoryError, t as AgentWidgetSession, vt as isDockedMountMode } from "./session-Baxp9iRK.cjs";
4
+ import { p as resolveThemeDefaults } from "./defaults-CjX0kKzb.cjs";
5
5
  import { r as attachTooltip } from "./tooltip-BkW-8MnD.cjs";
6
- import { t as createComposerStore } from "./composer-store-BV6kTlKv.cjs";
7
- import { n as HistoryViewHandle, r as HistoryViewOptions, t as showHistoryConfirm } from "./history-confirm-dialog-Cm4oK4am.cjs";
6
+ import { t as createComposerStore } from "./composer-store-Dw7Zbqxr.cjs";
7
+ import { n as HistoryViewHandle, r as HistoryViewOptions, t as showHistoryConfirm } from "./history-confirm-dialog-DJEXsTyE.cjs";
8
8
  //#region src/components/launcher.d.ts
9
9
  interface LauncherButton {
10
10
  element: HTMLButtonElement;
@@ -1,10 +1,10 @@
1
- import { Bo as parseCombo, Ct as AgentWidgetMessage, Ii as ResolvedHistoryPresentation, Ma as HistoryProvider, Na as HistoryProviderError, Ro as ariaCombo, Ta as renderLucideIcon, ai as HistoryReturnSurface, ei as HistoryConversationPatch, en as AgentWidgetStorageAdapter, jo as AgentWidgetPlugin, k as AgentWidgetConfig, oi as HistoryScope, q as AgentWidgetControllerEventMap, ti as HistoryConversationSummary, ya as WidgetHistoryInternals, zo as formatCombo } from "./types-CSXHl5cN.js";
2
- import { a as applyBubbleGeometry, u as getBubbleClasses } from "./message-bubble-D0rosKuK.js";
3
- import { Ct as AttachmentManager, h as PanelElements, i as SessionHistoryState, nn as HistoryClientError, r as SessionHistoryError, t as AgentWidgetSession, vt as isDockedMountMode } from "./session-Dj4bOm5y.js";
4
- import { p as resolveThemeDefaults } from "./defaults-DiTeXyr3.js";
1
+ import { Bo as formatCombo, Ct as AgentWidgetMessage, Ea as renderLucideIcon, Li as ResolvedHistoryPresentation, Mo as AgentWidgetPlugin, Na as HistoryProvider, Pa as HistoryProviderError, Vo as parseCombo, ba as WidgetHistoryInternals, k as AgentWidgetConfig, ni as HistoryConversationSummary, oi as HistoryReturnSurface, q as AgentWidgetControllerEventMap, si as HistoryScope, ti as HistoryConversationPatch, tn as AgentWidgetStorageAdapter, zo as ariaCombo } from "./types-BOZHQIk0.js";
2
+ import { a as applyBubbleGeometry, u as getBubbleClasses } from "./message-bubble-CkZGlCLC.js";
3
+ import { Ct as AttachmentManager, h as PanelElements, i as SessionHistoryState, nn as HistoryClientError, r as SessionHistoryError, t as AgentWidgetSession, vt as isDockedMountMode } from "./session-Baxp9iRK.js";
4
+ import { p as resolveThemeDefaults } from "./defaults-CjX0kKzb.js";
5
5
  import { r as attachTooltip } from "./tooltip-BkW-8MnD.js";
6
- import { t as createComposerStore } from "./composer-store-BV6kTlKv.js";
7
- import { n as HistoryViewHandle, r as HistoryViewOptions, t as showHistoryConfirm } from "./history-confirm-dialog-Cm4oK4am.js";
6
+ import { t as createComposerStore } from "./composer-store-Dw7Zbqxr.js";
7
+ import { n as HistoryViewHandle, r as HistoryViewOptions, t as showHistoryConfirm } from "./history-confirm-dialog-DJEXsTyE.js";
8
8
  //#region src/components/launcher.d.ts
9
9
  interface LauncherButton {
10
10
  element: HTMLButtonElement;
@@ -1,3 +1,3 @@
1
- import { a as HistoryViewPresentation, c as HistoryListState, d as ResolvedHistoryViewCopy, f as resolveHistoryViewCopy, i as HistoryViewPendingAction, l as HISTORY_VIEW_COPY_DEFAULTS, n as HistoryViewHandle, o as createHistoryView, r as HistoryViewOptions, s as HistoryListErrorReason, t as showHistoryConfirm, u as HistoryViewCopyInput } from "./history-confirm-dialog-Cm4oK4am.cjs";
1
+ import { a as HistoryViewPresentation, c as HistoryListState, d as ResolvedHistoryViewCopy, f as resolveHistoryViewCopy, i as HistoryViewPendingAction, l as HISTORY_VIEW_COPY_DEFAULTS, n as HistoryViewHandle, o as createHistoryView, r as HistoryViewOptions, s as HistoryListErrorReason, t as showHistoryConfirm, u as HistoryViewCopyInput } from "./history-confirm-dialog-DJEXsTyE.cjs";
2
2
  export { HISTORY_VIEW_COPY_DEFAULTS, type HistoryListErrorReason, type HistoryListState, type HistoryViewCopyInput, type HistoryViewHandle, type HistoryViewOptions, type HistoryViewPendingAction, type HistoryViewPresentation, type ResolvedHistoryViewCopy, createHistoryView, resolveHistoryViewCopy, showHistoryConfirm };
3
3
  export {}
@@ -1,3 +1,3 @@
1
- import { a as HistoryViewPresentation, c as HistoryListState, d as ResolvedHistoryViewCopy, f as resolveHistoryViewCopy, i as HistoryViewPendingAction, l as HISTORY_VIEW_COPY_DEFAULTS, n as HistoryViewHandle, o as createHistoryView, r as HistoryViewOptions, s as HistoryListErrorReason, t as showHistoryConfirm, u as HistoryViewCopyInput } from "./history-confirm-dialog-Cm4oK4am.js";
1
+ import { a as HistoryViewPresentation, c as HistoryListState, d as ResolvedHistoryViewCopy, f as resolveHistoryViewCopy, i as HistoryViewPendingAction, l as HISTORY_VIEW_COPY_DEFAULTS, n as HistoryViewHandle, o as createHistoryView, r as HistoryViewOptions, s as HistoryListErrorReason, t as showHistoryConfirm, u as HistoryViewCopyInput } from "./history-confirm-dialog-DJEXsTyE.js";
2
2
  export { HISTORY_VIEW_COPY_DEFAULTS, type HistoryListErrorReason, type HistoryListState, type HistoryViewCopyInput, type HistoryViewHandle, type HistoryViewOptions, type HistoryViewPendingAction, type HistoryViewPresentation, type ResolvedHistoryViewCopy, createHistoryView, resolveHistoryViewCopy, showHistoryConfirm };
3
3
  export {}