@vertesia/ui 1.6.0-dev.20261008.064737Z → 1.6.0-dev.20261009.095813Z
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.
- package/README.md +24 -0
- package/lib/core/components/shadcn/button.d.ts +1 -0
- package/lib/core/components/shadcn/button.d.ts.map +1 -1
- package/lib/core/components/shadcn/button.js +2 -2
- package/lib/core/components/shadcn/button.js.map +1 -1
- package/lib/core/components/shadcn/selectBox.d.ts.map +1 -1
- package/lib/core/components/shadcn/selectBox.js +2 -2
- package/lib/core/components/shadcn/selectBox.js.map +1 -1
- package/lib/env/index.d.ts +1 -1
- package/lib/env/index.d.ts.map +1 -1
- package/lib/env/index.js +1 -1
- package/lib/env/index.js.map +1 -1
- package/lib/features/agent/chat/AskUserWidget.d.ts.map +1 -1
- package/lib/features/agent/chat/AskUserWidget.js +2 -1
- package/lib/features/agent/chat/AskUserWidget.js.map +1 -1
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +1 -1
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +2 -253
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +1 -1
- package/lib/features/agent/chat/ModernAgentOutput/CollapsibleAgentMarkdown.d.ts +1 -3
- package/lib/features/agent/chat/ModernAgentOutput/CollapsibleAgentMarkdown.d.ts.map +1 -1
- package/lib/features/agent/chat/ModernAgentOutput/CollapsibleAgentMarkdown.js +2 -8
- package/lib/features/agent/chat/ModernAgentOutput/CollapsibleAgentMarkdown.js.map +1 -1
- package/lib/features/agent/chat/ModernAgentOutput/agentMarkdownStyles.d.ts +4 -0
- package/lib/features/agent/chat/ModernAgentOutput/agentMarkdownStyles.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/agentMarkdownStyles.js +248 -0
- package/lib/features/agent/chat/ModernAgentOutput/agentMarkdownStyles.js.map +1 -0
- package/lib/i18n/locales/ar.json +1 -0
- package/lib/i18n/locales/de.json +1 -0
- package/lib/i18n/locales/en.json +1 -0
- package/lib/i18n/locales/es.json +1 -0
- package/lib/i18n/locales/fr.json +1 -0
- package/lib/i18n/locales/it.json +1 -0
- package/lib/i18n/locales/ja.json +1 -0
- package/lib/i18n/locales/ko.json +1 -0
- package/lib/i18n/locales/pt.json +1 -0
- package/lib/i18n/locales/ru.json +1 -0
- package/lib/i18n/locales/tr.json +1 -0
- package/lib/i18n/locales/zh-TW.json +1 -0
- package/lib/i18n/locales/zh.json +1 -0
- package/lib/session/auth/composable.d.ts +1 -5
- package/lib/session/auth/composable.d.ts.map +1 -1
- package/lib/session/auth/composable.js +1 -10
- package/lib/session/auth/composable.js.map +1 -1
- package/lib/session/auth/firebase.d.ts.map +1 -1
- package/lib/session/auth/firebase.js +8 -5
- package/lib/session/auth/firebase.js.map +1 -1
- package/lib/session/auth/oauth.d.ts.map +1 -1
- package/lib/session/auth/oauth.js +38 -14
- package/lib/session/auth/oauth.js.map +1 -1
- package/lib/session/auth/vertesiaHosts.d.ts +0 -40
- package/lib/session/auth/vertesiaHosts.d.ts.map +1 -1
- package/lib/session/auth/vertesiaHosts.js +2 -45
- package/lib/session/auth/vertesiaHosts.js.map +1 -1
- package/lib/session/index.d.ts +1 -1
- package/lib/session/index.d.ts.map +1 -1
- package/lib/session/index.js +1 -1
- package/lib/session/index.js.map +1 -1
- package/lib/session/scopeSelection.d.ts +4 -0
- package/lib/session/scopeSelection.d.ts.map +1 -1
- package/lib/session/scopeSelection.js +11 -0
- package/lib/session/scopeSelection.js.map +1 -1
- package/lib/vertesia-ui-core.js +2 -2
- package/lib/vertesia-ui-core.js.map +1 -1
- package/lib/vertesia-ui-env.js +1 -1
- package/lib/vertesia-ui-env.js.map +1 -1
- package/lib/vertesia-ui-features.js +242 -257
- package/lib/vertesia-ui-features.js.map +1 -1
- package/lib/vertesia-ui-i18n.1NWiB6fw.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.1NWiB6fw.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.6Ozlf6Ks.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.6Ozlf6Ks.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.AttJpg8U.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.AttJpg8U.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.BI_xdp49.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.BI_xdp49.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.C-2EEX6w.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.C-2EEX6w.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.CAmo54FO.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.CAmo54FO.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.CbBzmHNP.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.CbBzmHNP.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.DZgTzkIg.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.DZgTzkIg.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.DZsITxq5.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.DZsITxq5.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.Dbf2GHth.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.Dbf2GHth.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.js +2 -2
- package/lib/vertesia-ui-i18n.lleWnH5n.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.lleWnH5n.chunk.js.map +1 -0
- package/lib/vertesia-ui-i18n.wG_XSkbr.chunk.js +5 -0
- package/lib/vertesia-ui-i18n.wG_XSkbr.chunk.js.map +1 -0
- package/lib/vertesia-ui-session.js +1 -1
- package/lib/vertesia-ui-session.js.map +1 -1
- package/package.json +7 -7
- package/src/core/components/shadcn/button.tsx +3 -2
- package/src/core/components/shadcn/selectBox.tsx +12 -4
- package/src/css/index.css +1 -1
- package/src/css/typography.css +111 -88
- package/src/env/index.ts +0 -2
- package/src/features/agent/chat/AskUserWidget.tsx +3 -1
- package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.tsx +2 -253
- package/src/features/agent/chat/ModernAgentOutput/CollapsibleAgentMarkdown.tsx +2 -8
- package/src/features/agent/chat/ModernAgentOutput/agentMarkdownStyles.ts +248 -0
- package/src/i18n/locales/ar.json +1 -0
- package/src/i18n/locales/de.json +1 -0
- package/src/i18n/locales/en.json +1 -0
- package/src/i18n/locales/es.json +1 -0
- package/src/i18n/locales/fr.json +1 -0
- package/src/i18n/locales/it.json +1 -0
- package/src/i18n/locales/ja.json +1 -0
- package/src/i18n/locales/ko.json +1 -0
- package/src/i18n/locales/pt.json +1 -0
- package/src/i18n/locales/ru.json +1 -0
- package/src/i18n/locales/tr.json +1 -0
- package/src/i18n/locales/zh-TW.json +1 -0
- package/src/i18n/locales/zh.json +1 -0
- package/src/session/auth/composable.ts +1 -11
- package/src/session/auth/firebase.ts +9 -6
- package/src/session/auth/oauth.ts +39 -13
- package/src/session/auth/vertesiaHosts.ts +2 -47
- package/src/session/index.ts +1 -1
- package/src/session/scopeSelection.ts +13 -0
- package/lib/vertesia-ui-i18n.B0orbJb6.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.B0orbJb6.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.BChwIQVA.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.BChwIQVA.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.BTEcAVQm.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.BTEcAVQm.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.BeJQKbv7.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.BeJQKbv7.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.BpGr0-5g.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.BpGr0-5g.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.Bs8x-1wI.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.Bs8x-1wI.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.BymQoOm0.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.BymQoOm0.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.CNT_wabV.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.CNT_wabV.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.Cxh1iVk0.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.Cxh1iVk0.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.DLYCM9fV.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.DLYCM9fV.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.QvAVguDs.chunk.js +0 -5
- package/lib/vertesia-ui-i18n.QvAVguDs.chunk.js.map +0 -1
- package/lib/vertesia-ui-i18n.smozeSmI.chunk.js +0 -5
- 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'
|