@vertesia/ui 1.6.0-dev.20261008.064737Z → 1.6.0-dev.20261014.015055Z

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 (204) hide show
  1. package/README.md +24 -0
  2. package/lib/boot/index.d.ts +12 -1
  3. package/lib/boot/index.d.ts.map +1 -1
  4. package/lib/boot/index.js +65 -10
  5. package/lib/boot/index.js.map +1 -1
  6. package/lib/boot/text.d.ts +13 -0
  7. package/lib/boot/text.d.ts.map +1 -0
  8. package/lib/boot/text.js +68 -0
  9. package/lib/boot/text.js.map +1 -0
  10. package/lib/core/components/shadcn/button.d.ts +1 -0
  11. package/lib/core/components/shadcn/button.d.ts.map +1 -1
  12. package/lib/core/components/shadcn/button.js +2 -2
  13. package/lib/core/components/shadcn/button.js.map +1 -1
  14. package/lib/core/components/shadcn/selectBox.d.ts.map +1 -1
  15. package/lib/core/components/shadcn/selectBox.js +2 -2
  16. package/lib/core/components/shadcn/selectBox.js.map +1 -1
  17. package/lib/env/index.d.ts +1 -1
  18. package/lib/env/index.d.ts.map +1 -1
  19. package/lib/env/index.js +1 -1
  20. package/lib/env/index.js.map +1 -1
  21. package/lib/features/agent/PayloadBuilder.d.ts +6 -0
  22. package/lib/features/agent/PayloadBuilder.d.ts.map +1 -1
  23. package/lib/features/agent/chat/AskUserWidget.d.ts.map +1 -1
  24. package/lib/features/agent/chat/AskUserWidget.js +2 -1
  25. package/lib/features/agent/chat/AskUserWidget.js.map +1 -1
  26. package/lib/features/agent/chat/ModernAgentConversation.js +6 -4
  27. package/lib/features/agent/chat/ModernAgentConversation.js.map +1 -1
  28. package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +1 -1
  29. package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +2 -253
  30. package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +1 -1
  31. package/lib/features/agent/chat/ModernAgentOutput/CollapsibleAgentMarkdown.d.ts +1 -3
  32. package/lib/features/agent/chat/ModernAgentOutput/CollapsibleAgentMarkdown.d.ts.map +1 -1
  33. package/lib/features/agent/chat/ModernAgentOutput/CollapsibleAgentMarkdown.js +2 -8
  34. package/lib/features/agent/chat/ModernAgentOutput/CollapsibleAgentMarkdown.js.map +1 -1
  35. package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.d.ts.map +1 -1
  36. package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.js +58 -0
  37. package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.js.map +1 -1
  38. package/lib/features/agent/chat/ModernAgentOutput/agentMarkdownStyles.d.ts +4 -0
  39. package/lib/features/agent/chat/ModernAgentOutput/agentMarkdownStyles.d.ts.map +1 -0
  40. package/lib/features/agent/chat/ModernAgentOutput/agentMarkdownStyles.js +248 -0
  41. package/lib/features/agent/chat/ModernAgentOutput/agentMarkdownStyles.js.map +1 -0
  42. package/lib/features/agent/chat/SkillWidgetProvider.d.ts.map +1 -1
  43. package/lib/features/agent/chat/SkillWidgetProvider.js +3 -2
  44. package/lib/features/agent/chat/SkillWidgetProvider.js.map +1 -1
  45. package/lib/i18n/LanguageProvider.d.ts +9 -1
  46. package/lib/i18n/LanguageProvider.d.ts.map +1 -1
  47. package/lib/i18n/LanguageProvider.js +7 -4
  48. package/lib/i18n/LanguageProvider.js.map +1 -1
  49. package/lib/i18n/locales/ar.json +6 -1
  50. package/lib/i18n/locales/de.json +6 -1
  51. package/lib/i18n/locales/en.json +6 -1
  52. package/lib/i18n/locales/es.json +6 -1
  53. package/lib/i18n/locales/fr.json +6 -1
  54. package/lib/i18n/locales/it.json +6 -1
  55. package/lib/i18n/locales/ja.json +6 -1
  56. package/lib/i18n/locales/ko.json +6 -1
  57. package/lib/i18n/locales/pt.json +6 -1
  58. package/lib/i18n/locales/ru.json +6 -1
  59. package/lib/i18n/locales/tr.json +6 -1
  60. package/lib/i18n/locales/zh-TW.json +6 -1
  61. package/lib/i18n/locales/zh.json +6 -1
  62. package/lib/i18n/rtl.d.ts +4 -2
  63. package/lib/i18n/rtl.d.ts.map +1 -1
  64. package/lib/i18n/rtl.js +4 -2
  65. package/lib/i18n/rtl.js.map +1 -1
  66. package/lib/session/UserSessionProvider.d.ts.map +1 -1
  67. package/lib/session/UserSessionProvider.js +10 -4
  68. package/lib/session/UserSessionProvider.js.map +1 -1
  69. package/lib/session/auth/composable.d.ts +1 -5
  70. package/lib/session/auth/composable.d.ts.map +1 -1
  71. package/lib/session/auth/composable.js +1 -10
  72. package/lib/session/auth/composable.js.map +1 -1
  73. package/lib/session/auth/firebase.d.ts.map +1 -1
  74. package/lib/session/auth/firebase.js +8 -5
  75. package/lib/session/auth/firebase.js.map +1 -1
  76. package/lib/session/auth/oauth.d.ts.map +1 -1
  77. package/lib/session/auth/oauth.js +53 -25
  78. package/lib/session/auth/oauth.js.map +1 -1
  79. package/lib/session/auth/vertesiaHosts.d.ts +0 -40
  80. package/lib/session/auth/vertesiaHosts.d.ts.map +1 -1
  81. package/lib/session/auth/vertesiaHosts.js +2 -45
  82. package/lib/session/auth/vertesiaHosts.js.map +1 -1
  83. package/lib/session/index.d.ts +1 -1
  84. package/lib/session/index.d.ts.map +1 -1
  85. package/lib/session/index.js +1 -1
  86. package/lib/session/index.js.map +1 -1
  87. package/lib/session/scopeSelection.d.ts +4 -0
  88. package/lib/session/scopeSelection.d.ts.map +1 -1
  89. package/lib/session/scopeSelection.js +11 -0
  90. package/lib/session/scopeSelection.js.map +1 -1
  91. package/lib/shell/VertesiaShell.d.ts +7 -2
  92. package/lib/shell/VertesiaShell.d.ts.map +1 -1
  93. package/lib/shell/VertesiaShell.js +2 -2
  94. package/lib/shell/VertesiaShell.js.map +1 -1
  95. package/lib/shell/login/InviteAcceptModal.d.ts.map +1 -1
  96. package/lib/shell/login/InviteAcceptModal.js +83 -42
  97. package/lib/shell/login/InviteAcceptModal.js.map +1 -1
  98. package/lib/vertesia-ui-boot.js +52 -15
  99. package/lib/vertesia-ui-boot.js.map +1 -1
  100. package/lib/vertesia-ui-core.js +44 -44
  101. package/lib/vertesia-ui-core.js.map +1 -1
  102. package/lib/vertesia-ui-env.js +1 -1
  103. package/lib/vertesia-ui-env.js.map +1 -1
  104. package/lib/vertesia-ui-features.js +570 -585
  105. package/lib/vertesia-ui-features.js.map +1 -1
  106. package/lib/vertesia-ui-i18n.B1Nd8-dE.chunk.js +5 -0
  107. package/lib/vertesia-ui-i18n.B1Nd8-dE.chunk.js.map +1 -0
  108. package/lib/vertesia-ui-i18n.B2Z7mx1x.chunk.js +5 -0
  109. package/lib/vertesia-ui-i18n.B2Z7mx1x.chunk.js.map +1 -0
  110. package/lib/vertesia-ui-i18n.B756-YtS.chunk.js +5 -0
  111. package/lib/vertesia-ui-i18n.B756-YtS.chunk.js.map +1 -0
  112. package/lib/vertesia-ui-i18n.BICdgAEn.chunk.js +5 -0
  113. package/lib/vertesia-ui-i18n.BICdgAEn.chunk.js.map +1 -0
  114. package/lib/vertesia-ui-i18n.B_yx0c2A.chunk.js +5 -0
  115. package/lib/vertesia-ui-i18n.B_yx0c2A.chunk.js.map +1 -0
  116. package/lib/vertesia-ui-i18n.BwPrGiQn.chunk.js +5 -0
  117. package/lib/vertesia-ui-i18n.BwPrGiQn.chunk.js.map +1 -0
  118. package/lib/vertesia-ui-i18n.CfQbOHm3.chunk.js +5 -0
  119. package/lib/vertesia-ui-i18n.CfQbOHm3.chunk.js.map +1 -0
  120. package/lib/vertesia-ui-i18n.DMISlF16.chunk.js +5 -0
  121. package/lib/vertesia-ui-i18n.DMISlF16.chunk.js.map +1 -0
  122. package/lib/vertesia-ui-i18n.D_WA36Yq.chunk.js +5 -0
  123. package/lib/vertesia-ui-i18n.D_WA36Yq.chunk.js.map +1 -0
  124. package/lib/vertesia-ui-i18n.Dp3KuMs-.chunk.js +5 -0
  125. package/lib/vertesia-ui-i18n.Dp3KuMs-.chunk.js.map +1 -0
  126. package/lib/vertesia-ui-i18n.DsioKoQ3.chunk.js +5 -0
  127. package/lib/vertesia-ui-i18n.DsioKoQ3.chunk.js.map +1 -0
  128. package/lib/vertesia-ui-i18n.QEIqEPlv.chunk.js +5 -0
  129. package/lib/vertesia-ui-i18n.QEIqEPlv.chunk.js.map +1 -0
  130. package/lib/vertesia-ui-i18n.js +2 -2
  131. package/lib/vertesia-ui-i18n.js.map +1 -1
  132. package/lib/vertesia-ui-layout.js +15 -15
  133. package/lib/vertesia-ui-layout.js.map +1 -1
  134. package/lib/vertesia-ui-rich-text.js +44 -44
  135. package/lib/vertesia-ui-rich-text.js.map +1 -1
  136. package/lib/vertesia-ui-session.js +1 -1
  137. package/lib/vertesia-ui-session.js.map +1 -1
  138. package/lib/vertesia-ui-shell.js +51 -51
  139. package/lib/vertesia-ui-shell.js.map +1 -1
  140. package/lib/vertesia-ui-widgets.js +51 -51
  141. package/lib/vertesia-ui-widgets.js.map +1 -1
  142. package/package.json +20 -20
  143. package/src/boot/index.ts +74 -11
  144. package/src/boot/text.ts +80 -0
  145. package/src/core/components/shadcn/button.tsx +3 -2
  146. package/src/core/components/shadcn/selectBox.tsx +12 -4
  147. package/src/css/index.css +1 -1
  148. package/src/css/typography.css +111 -88
  149. package/src/env/index.ts +0 -2
  150. package/src/features/agent/chat/AskUserWidget.tsx +3 -1
  151. package/src/features/agent/chat/ModernAgentConversation.tsx +7 -4
  152. package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.tsx +2 -253
  153. package/src/features/agent/chat/ModernAgentOutput/CollapsibleAgentMarkdown.tsx +2 -8
  154. package/src/features/agent/chat/ModernAgentOutput/SummaryConversation.ts +60 -0
  155. package/src/features/agent/chat/ModernAgentOutput/agentMarkdownStyles.ts +248 -0
  156. package/src/features/agent/chat/SkillWidgetProvider.tsx +3 -2
  157. package/src/i18n/LanguageProvider.tsx +16 -4
  158. package/src/i18n/locales/ar.json +6 -1
  159. package/src/i18n/locales/de.json +6 -1
  160. package/src/i18n/locales/en.json +6 -1
  161. package/src/i18n/locales/es.json +6 -1
  162. package/src/i18n/locales/fr.json +6 -1
  163. package/src/i18n/locales/it.json +6 -1
  164. package/src/i18n/locales/ja.json +6 -1
  165. package/src/i18n/locales/ko.json +6 -1
  166. package/src/i18n/locales/pt.json +6 -1
  167. package/src/i18n/locales/ru.json +6 -1
  168. package/src/i18n/locales/tr.json +6 -1
  169. package/src/i18n/locales/zh-TW.json +6 -1
  170. package/src/i18n/locales/zh.json +6 -1
  171. package/src/i18n/rtl.ts +5 -2
  172. package/src/session/UserSessionProvider.tsx +11 -4
  173. package/src/session/auth/composable.ts +1 -11
  174. package/src/session/auth/firebase.ts +9 -6
  175. package/src/session/auth/oauth.ts +65 -25
  176. package/src/session/auth/vertesiaHosts.ts +2 -47
  177. package/src/session/index.ts +1 -1
  178. package/src/session/scopeSelection.ts +13 -0
  179. package/src/shell/VertesiaShell.tsx +8 -2
  180. package/src/shell/login/InviteAcceptModal.tsx +112 -65
  181. package/lib/vertesia-ui-i18n.B0orbJb6.chunk.js +0 -5
  182. package/lib/vertesia-ui-i18n.B0orbJb6.chunk.js.map +0 -1
  183. package/lib/vertesia-ui-i18n.BChwIQVA.chunk.js +0 -5
  184. package/lib/vertesia-ui-i18n.BChwIQVA.chunk.js.map +0 -1
  185. package/lib/vertesia-ui-i18n.BTEcAVQm.chunk.js +0 -5
  186. package/lib/vertesia-ui-i18n.BTEcAVQm.chunk.js.map +0 -1
  187. package/lib/vertesia-ui-i18n.BeJQKbv7.chunk.js +0 -5
  188. package/lib/vertesia-ui-i18n.BeJQKbv7.chunk.js.map +0 -1
  189. package/lib/vertesia-ui-i18n.BpGr0-5g.chunk.js +0 -5
  190. package/lib/vertesia-ui-i18n.BpGr0-5g.chunk.js.map +0 -1
  191. package/lib/vertesia-ui-i18n.Bs8x-1wI.chunk.js +0 -5
  192. package/lib/vertesia-ui-i18n.Bs8x-1wI.chunk.js.map +0 -1
  193. package/lib/vertesia-ui-i18n.BymQoOm0.chunk.js +0 -5
  194. package/lib/vertesia-ui-i18n.BymQoOm0.chunk.js.map +0 -1
  195. package/lib/vertesia-ui-i18n.CNT_wabV.chunk.js +0 -5
  196. package/lib/vertesia-ui-i18n.CNT_wabV.chunk.js.map +0 -1
  197. package/lib/vertesia-ui-i18n.Cxh1iVk0.chunk.js +0 -5
  198. package/lib/vertesia-ui-i18n.Cxh1iVk0.chunk.js.map +0 -1
  199. package/lib/vertesia-ui-i18n.DLYCM9fV.chunk.js +0 -5
  200. package/lib/vertesia-ui-i18n.DLYCM9fV.chunk.js.map +0 -1
  201. package/lib/vertesia-ui-i18n.QvAVguDs.chunk.js +0 -5
  202. package/lib/vertesia-ui-i18n.QvAVguDs.chunk.js.map +0 -1
  203. package/lib/vertesia-ui-i18n.smozeSmI.chunk.js +0 -5
  204. package/lib/vertesia-ui-i18n.smozeSmI.chunk.js.map +0 -1
@@ -14,6 +14,7 @@ import { ThinkingMessages } from '../WaitingMessages';
14
14
  import { formatWorkstreamName, getWorkstreamActivityDetails, getWorkstreamDisplayName, getWorkstreamLaunchDetails, } from '../workstreams.js';
15
15
  import { createAgentMarkdownAnchor } from './AgentMarkdownAnchor';
16
16
  import { AttachmentPreviewList, parseUserMessageAttachments } from './AttachmentPreview';
17
+ import { agentMarkdownStyles } from './agentMarkdownStyles.js';
17
18
  import BatchProgressPanel from './BatchProgressPanel';
18
19
  import { AGENT_LINE_CLAMP_CLASS, AGENT_PROSE_CLASS as SUMMARY_PROSE_CLASS, AGENT_COLLAPSE_LINES as SUMMARY_THOUGHT_COLLAPSE_LINES, AGENT_COLLAPSE_THRESHOLD as SUMMARY_THOUGHT_COLLAPSE_THRESHOLD, } from './CollapsibleAgentMarkdown.js';
19
20
  import { getMessageDeliveryStatus, MessageDeliveryStatus } from './MessageDeliveryStatus';
@@ -1774,259 +1775,7 @@ function AllMessagesMixedComponent({ messages, workstreamSourceMessages, bottomR
1774
1775
  }, [workstreamSourceSorted]);
1775
1776
  return (_jsxs("div", { ref: containerRef,
1776
1777
  // biome-ignore lint/a11y/noNoninteractiveTabindex: scrollable message log needs to accept keyboard focus for arrow-key navigation
1777
- tabIndex: 0, className: "flex-1 min-h-0 h-full w-full max-w-full overflow-y-auto overflow-x-hidden px-1.5 sm:px-2.5 lg:px-3 flex flex-col relative focus:outline-none", "data-testid": "all-messages-mixed", "data-message-count": messages.length, "data-streaming-count": streamingMessages.size, "data-view-mode": viewMode, children: [_jsx("style", { children: `
1778
- /* Better vertical rhythm for markdown */
1779
- .vprose > * + * {
1780
- margin-top: 0.625rem;
1781
- }
1782
- .vprose > h1 + *,
1783
- .vprose > h2 + *,
1784
- .vprose > h3 + * {
1785
- margin-top: 0.375rem;
1786
- }
1787
- /* Tables should read like part of the conversation, not a separate app grid. */
1788
- .vprose table {
1789
- margin-top: 0.875rem;
1790
- margin-bottom: 0.875rem;
1791
- border-collapse: collapse;
1792
- width: 100%;
1793
- background: transparent;
1794
- }
1795
- .vprose th,
1796
- .vprose td {
1797
- padding: 0.5rem 0.625rem;
1798
- border: 0;
1799
- border-bottom: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
1800
- background: transparent;
1801
- text-align: left;
1802
- }
1803
- .vprose thead th {
1804
- background: transparent;
1805
- font-weight: 600;
1806
- color: var(--muted);
1807
- font-size: 0.75rem;
1808
- text-transform: none;
1809
- letter-spacing: 0;
1810
- }
1811
- .vprose tbody tr:hover {
1812
- background: transparent;
1813
- }
1814
- /* Dark mode table styles */
1815
- .dark .vprose th,
1816
- .dark .vprose td {
1817
- border-color: color-mix(in oklch, var(--border) 70%, transparent);
1818
- }
1819
- .dark .vprose thead th {
1820
- background: transparent;
1821
- color: var(--muted);
1822
- }
1823
- .dark .vprose tbody tr:hover {
1824
- background: transparent;
1825
- }
1826
- /* Horizontal rules as section dividers */
1827
- .vprose hr {
1828
- margin-top: 1rem;
1829
- margin-bottom: 1rem;
1830
- border-color: var(--border);
1831
- }
1832
- /* Better blockquote styling */
1833
- .vprose blockquote {
1834
- margin-top: 0.875rem;
1835
- margin-bottom: 0.875rem;
1836
- padding-left: 1rem;
1837
- border-left-width: 3px;
1838
- border-left-color: var(--border);
1839
- color: var(--muted);
1840
- }
1841
- /* Code blocks */
1842
- .vprose pre {
1843
- margin-top: 0.75rem;
1844
- margin-bottom: 0.75rem;
1845
- padding: 0.75rem;
1846
- border-radius: 0.5rem;
1847
- overflow-x: auto;
1848
- background-color: var(--muted-background);
1849
- color: var(--foreground);
1850
- }
1851
- .vprose pre code {
1852
- color: inherit;
1853
- }
1854
- .dark .vprose pre {
1855
- color: var(--foreground);
1856
- }
1857
-
1858
- /* Summary chat markdown: keep structure, but match the app's quieter conversation surface. */
1859
- .agent-markdown {
1860
- color: color-mix(in oklch, var(--foreground) 78%, transparent);
1861
- font-size: 0.875rem;
1862
- line-height: 1.625;
1863
- overflow-x: auto;
1864
- }
1865
- .agent-markdown > * + * {
1866
- margin-top: 0.65rem;
1867
- }
1868
- .agent-markdown p {
1869
- margin-top: 0.5rem;
1870
- margin-bottom: 0.5rem;
1871
- }
1872
- .agent-markdown h1,
1873
- .agent-markdown h2,
1874
- .agent-markdown h3,
1875
- .agent-markdown h4 {
1876
- margin-top: 1.2rem;
1877
- margin-bottom: 0.45rem;
1878
- color: var(--foreground);
1879
- font-weight: 650;
1880
- letter-spacing: 0;
1881
- line-height: 1.3;
1882
- }
1883
- .agent-markdown h1 {
1884
- font-size: 1.2rem;
1885
- }
1886
- .agent-markdown h2 {
1887
- font-size: 1.05rem;
1888
- }
1889
- .agent-markdown h3,
1890
- .agent-markdown h4 {
1891
- font-size: 0.95rem;
1892
- }
1893
- .agent-markdown h1:first-child,
1894
- .agent-markdown h2:first-child,
1895
- .agent-markdown h3:first-child,
1896
- .agent-markdown h4:first-child {
1897
- margin-top: 0;
1898
- }
1899
- .agent-markdown hr {
1900
- margin: 1.15rem 0;
1901
- border: 0;
1902
- border-top: 1px solid var(--border);
1903
- opacity: 0.65;
1904
- }
1905
- .agent-markdown ul,
1906
- .agent-markdown ol {
1907
- margin-top: 0.55rem;
1908
- margin-bottom: 0.55rem;
1909
- padding-left: 1.25rem;
1910
- }
1911
- .agent-markdown li {
1912
- margin-top: 0.2rem;
1913
- margin-bottom: 0.2rem;
1914
- padding-left: 0.1rem;
1915
- color: inherit;
1916
- }
1917
- .agent-markdown li::marker {
1918
- color: var(--muted);
1919
- }
1920
- .agent-markdown strong {
1921
- color: var(--foreground);
1922
- font-weight: 600;
1923
- }
1924
- .agent-markdown em {
1925
- color: color-mix(in oklch, var(--foreground) 72%, transparent);
1926
- }
1927
- .agent-markdown a {
1928
- color: var(--foreground);
1929
- text-decoration-color: var(--muted);
1930
- text-underline-offset: 3px;
1931
- }
1932
- .agent-markdown blockquote {
1933
- margin-top: 0.85rem;
1934
- margin-bottom: 0.85rem;
1935
- padding-left: 0.875rem;
1936
- border-left: 2px solid var(--border);
1937
- color: var(--muted);
1938
- font-style: normal;
1939
- }
1940
- .agent-markdown :not(pre) > code {
1941
- border: 1px solid var(--border);
1942
- border-radius: 0.375rem;
1943
- background: var(--muted);
1944
- color: var(--foreground);
1945
- padding: 0.1rem 0.35rem;
1946
- font-size: 0.8125em;
1947
- font-weight: 500;
1948
- }
1949
- .agent-markdown pre {
1950
- margin-top: 0.85rem;
1951
- margin-bottom: 0.85rem;
1952
- max-height: 32rem;
1953
- overflow: auto;
1954
- border: 1px solid var(--border);
1955
- border-radius: 0.75rem;
1956
- background: var(--muted);
1957
- color: var(--foreground);
1958
- padding: 0.875rem;
1959
- font-size: 0.8125rem;
1960
- line-height: 1.55;
1961
- }
1962
- .agent-markdown pre code {
1963
- border: 0;
1964
- background: transparent;
1965
- color: inherit;
1966
- padding: 0;
1967
- font-size: inherit;
1968
- }
1969
- .agent-markdown table {
1970
- display: table;
1971
- width: 100%;
1972
- max-width: 100%;
1973
- margin: 0.9rem 0 1rem;
1974
- border: 0;
1975
- border-collapse: collapse;
1976
- border-spacing: 0;
1977
- font-size: 0.8125rem;
1978
- table-layout: fixed;
1979
- background: transparent;
1980
- }
1981
- .agent-markdown thead {
1982
- background: transparent;
1983
- }
1984
- .agent-markdown th,
1985
- .agent-markdown td {
1986
- border: 0;
1987
- border-bottom: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
1988
- background: transparent;
1989
- padding: 0.55rem 0.75rem;
1990
- text-align: left;
1991
- vertical-align: top;
1992
- overflow-wrap: anywhere;
1993
- word-break: normal;
1994
- white-space: normal;
1995
- }
1996
- .agent-markdown th {
1997
- color: var(--muted);
1998
- font-size: 0.75rem;
1999
- font-weight: 600;
2000
- letter-spacing: 0;
2001
- text-transform: none;
2002
- white-space: nowrap;
2003
- }
2004
- .agent-markdown td {
2005
- color: inherit;
2006
- }
2007
- .agent-markdown th + th,
2008
- .agent-markdown td + td {
2009
- padding-inline-start: 1.75rem;
2010
- }
2011
- .agent-markdown th:first-child,
2012
- .agent-markdown td:first-child {
2013
- min-width: 0;
2014
- width: auto;
2015
- white-space: normal;
2016
- }
2017
- .agent-markdown col {
2018
- width: var(--agent-markdown-table-column-width);
2019
- }
2020
- .agent-markdown tr:last-child td {
2021
- border-bottom: 0;
2022
- }
2023
- .agent-markdown tbody tr:nth-child(even) {
2024
- background: transparent;
2025
- }
2026
- .agent-markdown tbody tr:hover {
2027
- background: transparent;
2028
- }
2029
- ` }), viewMode === 'stacked' && (_jsx("div", { className: cn('sticky top-0 z-10', hideWorkstreamTabs && 'hidden'), children: _jsx(WorkstreamTabs, { workstreams: workstreams, activeWorkstream: activeWorkstream, onSelectWorkstream: handleSelectWorkstream, count: workstreamCounts, completionStatus: workstreamCompletionStatus }) })), isSummaryView && activeWorkstream !== 'all' && activeWorkstreamName && (_jsx("div", { className: "sticky top-0 z-20 -mx-2 bg-background/95 px-2 pb-2 pt-1 backdrop-blur sm:-mx-4 sm:px-4", children: _jsxs("div", { className: "mx-auto flex w-full max-w-3xl items-center gap-2 border-b border-border/70 pb-3", children: [_jsx(Button, { type: "button", variant: "ghost", size: "icon", className: "size-8 shrink-0 text-muted hover:text-foreground", title: t('agent.backToMainAgent'), "aria-label": t('agent.backToMainAgent'), onClick: handleShowMainAgentChat, children: _jsx(ArrowLeft, { className: "size-4", "aria-hidden": "true" }) }), _jsx("div", { className: "min-w-0 flex-1 truncate text-sm font-medium text-foreground", children: activeWorkstreamName })] }) })), displayMessages.length === 0 &&
1778
+ tabIndex: 0, className: "flex-1 min-h-0 h-full w-full max-w-full overflow-y-auto overflow-x-hidden px-1.5 sm:px-2.5 lg:px-3 flex flex-col relative focus:outline-none", "data-testid": "all-messages-mixed", "data-message-count": messages.length, "data-streaming-count": streamingMessages.size, "data-view-mode": viewMode, children: [_jsx("style", { children: agentMarkdownStyles }), viewMode === 'stacked' && (_jsx("div", { className: cn('sticky top-0 z-10', hideWorkstreamTabs && 'hidden'), children: _jsx(WorkstreamTabs, { workstreams: workstreams, activeWorkstream: activeWorkstream, onSelectWorkstream: handleSelectWorkstream, count: workstreamCounts, completionStatus: workstreamCompletionStatus }) })), isSummaryView && activeWorkstream !== 'all' && activeWorkstreamName && (_jsx("div", { className: "sticky top-0 z-20 -mx-2 bg-background/95 px-2 pb-2 pt-1 backdrop-blur sm:-mx-4 sm:px-4", children: _jsxs("div", { className: "mx-auto flex w-full max-w-3xl items-center gap-2 border-b border-border/70 pb-3", children: [_jsx(Button, { type: "button", variant: "ghost", size: "icon", className: "size-8 shrink-0 text-muted hover:text-foreground", title: t('agent.backToMainAgent'), "aria-label": t('agent.backToMainAgent'), onClick: handleShowMainAgentChat, children: _jsx(ArrowLeft, { className: "size-4", "aria-hidden": "true" }) }), _jsx("div", { className: "min-w-0 flex-1 truncate text-sm font-medium text-foreground", children: activeWorkstreamName })] }) })), displayMessages.length === 0 &&
2030
1779
  incompleteStreaming.length === 0 &&
2031
1780
  !hasRenderableInitialRequest &&
2032
1781
  !(isSummaryView && showActivityFallback) ? (activeWorkstream === 'all' && isAgentWorking ? (_jsx("div", { className: "flex-1 px-2 py-6 sm:px-4", children: _jsx(InitialRequestWaitingCard, { label: t('agent.preparing'), timestamp: fallbackWorkingStartedAtRef.current, className: workingIndicatorClassName }) })) : (_jsx("div", { className: "flex items-center justify-center h-full text-center py-8", children: _jsx("div", { className: "flex items-center px-3 py-2 text-sm text-muted", children: activeWorkstream === 'all'