@axiom-lattice/react-sdk 4.1.4 → 4.1.5

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 (70) hide show
  1. package/dist/{AgentDetailSideApp-KVL27KAF.mjs → AgentDetailSideApp-EBS7FGQS.mjs} +8 -8
  2. package/dist/AgentGovernanceWorkbench-IHYEFXEU.mjs +20 -0
  3. package/dist/{MessageGraph-LOSAZQ2V.mjs → MessageGraph-CU7TPJJI.mjs} +3 -3
  4. package/dist/{ReactChart-NDLIHCJJ.mjs → ReactChart-INAST7XW.mjs} +3 -3
  5. package/dist/{SkillFlow-OVKEKBOL.mjs → SkillFlow-TBKF765E.mjs} +4 -4
  6. package/dist/{TasksSideApp-37YKH7HV.mjs → TasksSideApp-IN46CQ4D.mjs} +4 -4
  7. package/dist/{TeamWorkspace-EAFZU3KS.mjs → TeamWorkspace-IH6F5QYO.mjs} +3 -3
  8. package/dist/{TopologyRuntimeView-53OCKDYA.mjs → TopologyRuntimeView-LR3YQQIU.mjs} +4 -4
  9. package/dist/{WorkflowAutomationView-R4EHXT7I.mjs → WorkflowAutomationView-GWBROX7L.mjs} +6 -6
  10. package/dist/{chunk-SLXJAOF2.mjs → chunk-4PV75HKR.mjs} +2 -2
  11. package/dist/{chunk-YYP5ASCR.mjs → chunk-EOBSSJ2W.mjs} +5 -5
  12. package/dist/{chunk-LEEQPRDB.mjs → chunk-HMBSH53V.mjs} +102 -33
  13. package/dist/chunk-HMBSH53V.mjs.map +1 -0
  14. package/dist/{chunk-NHD2XFH4.mjs → chunk-K7WBURGK.mjs} +3 -3
  15. package/dist/{chunk-AMIVRDYB.mjs → chunk-MFAPAXZ2.mjs} +2 -2
  16. package/dist/{chunk-WQBBDRPU.mjs → chunk-MSQON5ZR.mjs} +32 -28
  17. package/dist/chunk-MSQON5ZR.mjs.map +1 -0
  18. package/dist/{chunk-OT7IZRSM.mjs → chunk-O7PTPMW2.mjs} +2 -2
  19. package/dist/{chunk-EWLXRAWY.mjs → chunk-PBKPYK27.mjs} +237 -298
  20. package/dist/chunk-PBKPYK27.mjs.map +1 -0
  21. package/dist/{chunk-N4C7TX7T.mjs → chunk-R4XGQTDJ.mjs} +3 -3
  22. package/dist/{chunk-FKK4AXDU.mjs → chunk-YRPBTDOU.mjs} +5 -5
  23. package/dist/{embed-page-AgentDetailSideApp-3LBCEKFU.js → embed-page-AgentDetailSideApp-YPN3NDEA.js} +1 -1
  24. package/dist/{embed-page-AgentGovernanceWorkbench-K3JUQNBW.js → embed-page-AgentGovernanceWorkbench-FAZQNPAM.js} +1 -1
  25. package/dist/{embed-page-MessageGraph-3X4ROEN6.js → embed-page-MessageGraph-CEOPX4GM.js} +1 -1
  26. package/dist/{embed-page-ReactChart-F6VYCIYY.js → embed-page-ReactChart-NZAYQOQH.js} +1 -1
  27. package/dist/{embed-page-SkillFlow-3CF7R3CW.js → embed-page-SkillFlow-TPESM4DI.js} +1 -1
  28. package/dist/{embed-page-TasksSideApp-3WRDBZU3.js → embed-page-TasksSideApp-3EAPMISU.js} +1 -1
  29. package/dist/{embed-page-TeamWorkspace-6JSMZYUF.js → embed-page-TeamWorkspace-HB7ER45L.js} +1 -1
  30. package/dist/{embed-page-TopologyRuntimeView-YDFENLHH.js → embed-page-TopologyRuntimeView-O7JPR22B.js} +1 -1
  31. package/dist/{embed-page-WorkflowAutomationView-MP5B7Q2Q.js → embed-page-WorkflowAutomationView-OUXOBHXC.js} +1 -1
  32. package/dist/{embed-page-chunk-YMJGPA3F.js → embed-page-chunk-4SKSUBXL.js} +93 -102
  33. package/dist/{embed-page-chunk-B2E2XOH2.js → embed-page-chunk-5XKUKLZQ.js} +1 -1
  34. package/dist/{embed-page-chunk-UOL6CUAL.js → embed-page-chunk-6C2UZV63.js} +1 -1
  35. package/dist/{embed-page-chunk-IRP6JSSX.js → embed-page-chunk-GCDGRO6A.js} +1 -1
  36. package/dist/{embed-page-chunk-GDTBDOUE.js → embed-page-chunk-ILNGM4RN.js} +38 -38
  37. package/dist/embed-page-chunk-KFUAWYJ7.js +5 -0
  38. package/dist/{embed-page-chunk-FFO7CAYL.js → embed-page-chunk-RTVQJYET.js} +1 -1
  39. package/dist/{embed-page-chunk-QEYWJHEK.js → embed-page-chunk-TQPMRDLI.js} +1 -1
  40. package/dist/{embed-page-chunk-PAJ5NG2Z.js → embed-page-chunk-U6JBLAYD.js} +1 -1
  41. package/dist/{embed-page-chunk-RVXX5HKF.js → embed-page-chunk-ZTRCHYWV.js} +1 -1
  42. package/dist/embed-page.js +1 -1
  43. package/dist/index.d.mts +31 -6
  44. package/dist/index.d.ts +31 -6
  45. package/dist/index.js +224 -194
  46. package/dist/index.js.map +1 -1
  47. package/dist/index.mjs +26 -14
  48. package/dist/index.mjs.map +1 -1
  49. package/package.json +1 -1
  50. package/dist/AgentGovernanceWorkbench-I6S4XU3T.mjs +0 -20
  51. package/dist/chunk-EWLXRAWY.mjs.map +0 -1
  52. package/dist/chunk-LEEQPRDB.mjs.map +0 -1
  53. package/dist/chunk-WQBBDRPU.mjs.map +0 -1
  54. package/dist/embed-page-chunk-URNZX66S.js +0 -5
  55. /package/dist/{AgentDetailSideApp-KVL27KAF.mjs.map → AgentDetailSideApp-EBS7FGQS.mjs.map} +0 -0
  56. /package/dist/{AgentGovernanceWorkbench-I6S4XU3T.mjs.map → AgentGovernanceWorkbench-IHYEFXEU.mjs.map} +0 -0
  57. /package/dist/{MessageGraph-LOSAZQ2V.mjs.map → MessageGraph-CU7TPJJI.mjs.map} +0 -0
  58. /package/dist/{ReactChart-NDLIHCJJ.mjs.map → ReactChart-INAST7XW.mjs.map} +0 -0
  59. /package/dist/{SkillFlow-OVKEKBOL.mjs.map → SkillFlow-TBKF765E.mjs.map} +0 -0
  60. /package/dist/{TasksSideApp-37YKH7HV.mjs.map → TasksSideApp-IN46CQ4D.mjs.map} +0 -0
  61. /package/dist/{TeamWorkspace-EAFZU3KS.mjs.map → TeamWorkspace-IH6F5QYO.mjs.map} +0 -0
  62. /package/dist/{TopologyRuntimeView-53OCKDYA.mjs.map → TopologyRuntimeView-LR3YQQIU.mjs.map} +0 -0
  63. /package/dist/{WorkflowAutomationView-R4EHXT7I.mjs.map → WorkflowAutomationView-GWBROX7L.mjs.map} +0 -0
  64. /package/dist/{chunk-SLXJAOF2.mjs.map → chunk-4PV75HKR.mjs.map} +0 -0
  65. /package/dist/{chunk-YYP5ASCR.mjs.map → chunk-EOBSSJ2W.mjs.map} +0 -0
  66. /package/dist/{chunk-NHD2XFH4.mjs.map → chunk-K7WBURGK.mjs.map} +0 -0
  67. /package/dist/{chunk-AMIVRDYB.mjs.map → chunk-MFAPAXZ2.mjs.map} +0 -0
  68. /package/dist/{chunk-OT7IZRSM.mjs.map → chunk-O7PTPMW2.mjs.map} +0 -0
  69. /package/dist/{chunk-N4C7TX7T.mjs.map → chunk-R4XGQTDJ.mjs.map} +0 -0
  70. /package/dist/{chunk-FKK4AXDU.mjs.map → chunk-YRPBTDOU.mjs.map} +0 -0
@@ -9,7 +9,7 @@ import {
9
9
  useAuthOptional,
10
10
  useClient,
11
11
  useLatticeChatShellContext
12
- } from "./chunk-LEEQPRDB.mjs";
12
+ } from "./chunk-HMBSH53V.mjs";
13
13
 
14
14
  // src/hooks/useChat.ts
15
15
  import { useState, useCallback, useEffect, useRef } from "react";
@@ -1527,31 +1527,13 @@ function useTenantBranding() {
1527
1527
  }
1528
1528
 
1529
1529
  // src/components/Auth/TenantSelector.tsx
1530
- import { useState as useState5, useEffect as useEffect4, useMemo as useMemo2, useRef as useRef3, useCallback as useCallback3 } from "react";
1531
- import { Button as Button3, Input as Input2, Select, Spin as Spin2, theme } from "antd";
1530
+ import { useState as useState5, useEffect as useEffect4, useMemo as useMemo2, useCallback as useCallback3 } from "react";
1531
+ import { Button as Button3, Input as Input2, Spin as Spin2, theme } from "antd";
1532
1532
  import { createStyles as createStyles2 } from "antd-style";
1533
1533
  import { X, Search, ArrowRight, LogOut as LogOut2 } from "lucide-react";
1534
1534
  import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
1535
1535
  var { useToken } = theme;
1536
- var GRID_COLUMNS = 2;
1537
- var STATUS_OPTIONS = [
1538
- { value: "active", label: "Active" },
1539
- { value: "inactive", label: "Inactive" },
1540
- { value: "suspended", label: "Suspended" },
1541
- { value: "all", label: "All tenants" }
1542
- ];
1543
- var getStatusConfig = (status, token) => {
1544
- switch (status) {
1545
- case "active":
1546
- return { color: token.colorSuccess, text: "Active" };
1547
- case "inactive":
1548
- return { color: token.colorTextTertiary, text: "Inactive" };
1549
- case "suspended":
1550
- return { color: token.colorError, text: "Suspended" };
1551
- default:
1552
- return { color: token.colorTextTertiary, text: status };
1553
- }
1554
- };
1536
+ var TWO_COLUMN_THRESHOLD = 6;
1555
1537
  var useStyles = createStyles2(({ token, css }) => ({
1556
1538
  surface: css`
1557
1539
  position: relative;
@@ -1659,9 +1641,14 @@ var useStyles = createStyles2(({ token, css }) => ({
1659
1641
  `,
1660
1642
  grid: css`
1661
1643
  display: grid;
1662
- grid-template-columns: repeat(${GRID_COLUMNS}, minmax(0, 1fr));
1663
1644
  gap: ${token.marginSM}px;
1664
1645
  padding-bottom: 4px;
1646
+ `,
1647
+ gridOne: css`
1648
+ grid-template-columns: minmax(0, 1fr);
1649
+ `,
1650
+ gridTwo: css`
1651
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1665
1652
 
1666
1653
  @media (max-width: 480px) {
1667
1654
  grid-template-columns: minmax(0, 1fr);
@@ -1739,20 +1726,6 @@ var useStyles = createStyles2(({ token, css }) => ({
1739
1726
  overflow: hidden;
1740
1727
  text-overflow: ellipsis;
1741
1728
  `,
1742
- status: css`
1743
- display: flex;
1744
- align-items: center;
1745
- gap: 5px;
1746
- flex-shrink: 0;
1747
- font-size: ${token.fontSizeSM}px;
1748
- line-height: 1;
1749
- `,
1750
- statusDot: css`
1751
- width: 6px;
1752
- height: 6px;
1753
- border-radius: 50%;
1754
- flex-shrink: 0;
1755
- `,
1756
1729
  // ============================================
1757
1730
  // Empty / loading states
1758
1731
  // ============================================
@@ -1811,34 +1784,21 @@ var TenantSelector = ({
1811
1784
  const { styles } = useStyles();
1812
1785
  const { token } = useToken();
1813
1786
  const { logout } = useAuth();
1814
- const currentTenant = useMemo2(
1815
- () => tenants.find((t) => t.id === currentTenantId) ?? null,
1816
- [tenants, currentTenantId]
1817
- );
1818
1787
  const [selectedId, setSelectedId] = useState5(currentTenantId ?? null);
1819
1788
  const [search, setSearch] = useState5("");
1820
- const [statusFilter, setStatusFilter] = useState5(
1821
- () => currentTenant && currentTenant.status !== "active" ? "all" : "active"
1822
- );
1823
1789
  const [isSubmitting, setIsSubmitting] = useState5(false);
1824
- const filterTouchedRef = useRef3(false);
1825
1790
  useEffect4(() => {
1826
1791
  setSelectedId(currentTenantId ?? null);
1827
1792
  }, [currentTenantId]);
1828
- useEffect4(() => {
1829
- if (filterTouchedRef.current) return;
1830
- if (currentTenant && currentTenant.status !== "active") setStatusFilter("all");
1831
- }, [currentTenant?.id, currentTenant?.status]);
1832
1793
  const filtered = useMemo2(() => {
1833
1794
  const query = search.trim().toLowerCase();
1834
- return tenants.filter((tenant) => {
1835
- if (statusFilter !== "all" && tenant.status !== statusFilter) return false;
1836
- if (!query) return true;
1837
- return tenant.name.toLowerCase().includes(query) || (tenant.description ?? "").toLowerCase().includes(query);
1838
- });
1839
- }, [tenants, search, statusFilter]);
1795
+ if (!query) return tenants;
1796
+ return tenants.filter(
1797
+ (tenant) => tenant.name.toLowerCase().includes(query) || (tenant.description ?? "").toLowerCase().includes(query)
1798
+ );
1799
+ }, [tenants, search]);
1840
1800
  const canConfirm = !!selectedId && tenants.some((t) => t.id === selectedId);
1841
- const isFiltering = search.trim().length > 0 || statusFilter !== "all";
1801
+ const isFiltering = search.trim().length > 0;
1842
1802
  const handleContinue = useCallback3(async () => {
1843
1803
  const tenant = tenants.find((t) => t.id === selectedId);
1844
1804
  if (!tenant) return;
@@ -1853,10 +1813,8 @@ var TenantSelector = ({
1853
1813
  logout();
1854
1814
  onLogout?.();
1855
1815
  }, [logout, onLogout]);
1856
- const handleResetFilters = useCallback3(() => {
1816
+ const handleResetSearch = useCallback3(() => {
1857
1817
  setSearch("");
1858
- filterTouchedRef.current = true;
1859
- setStatusFilter("all");
1860
1818
  }, []);
1861
1819
  const selectedTenant = tenants.find((t) => t.id === selectedId);
1862
1820
  const headerLogoUrl = getLogoSrc(selectedTenant?.metadata);
@@ -1911,38 +1869,22 @@ var TenantSelector = ({
1911
1869
  /* @__PURE__ */ jsx5("h2", { className: styles.title, children: title }),
1912
1870
  /* @__PURE__ */ jsx5("p", { className: styles.subtitle, children: description })
1913
1871
  ] }),
1914
- /* @__PURE__ */ jsxs3("div", { className: styles.toolbar, children: [
1915
- /* @__PURE__ */ jsx5(
1916
- Input2,
1917
- {
1918
- style: { flex: 1, minWidth: 0 },
1919
- placeholder: "Search tenant...",
1920
- "aria-label": "Search tenants",
1921
- value: search,
1922
- onChange: (e) => setSearch(e.target.value),
1923
- onPressEnter: () => {
1924
- if (canConfirm) handleContinue();
1925
- },
1926
- prefix: /* @__PURE__ */ jsx5(Search, { size: 16, style: { color: token.colorTextTertiary } }),
1927
- allowClear: true,
1928
- autoFocus: true
1929
- }
1930
- ),
1931
- /* @__PURE__ */ jsx5(
1932
- Select,
1933
- {
1934
- "data-testid": "tenant-status-filter",
1935
- "aria-label": "Filter by status",
1936
- style: { width: 150 },
1937
- value: statusFilter,
1938
- onChange: (value) => {
1939
- filterTouchedRef.current = true;
1940
- setStatusFilter(value);
1941
- },
1942
- options: STATUS_OPTIONS
1943
- }
1944
- )
1945
- ] }),
1872
+ /* @__PURE__ */ jsx5("div", { className: styles.toolbar, children: /* @__PURE__ */ jsx5(
1873
+ Input2,
1874
+ {
1875
+ style: { flex: 1, minWidth: 0 },
1876
+ placeholder: "Search tenant...",
1877
+ "aria-label": "Search tenants",
1878
+ value: search,
1879
+ onChange: (e) => setSearch(e.target.value),
1880
+ onPressEnter: () => {
1881
+ if (canConfirm) handleContinue();
1882
+ },
1883
+ prefix: /* @__PURE__ */ jsx5(Search, { size: 16, style: { color: token.colorTextTertiary } }),
1884
+ allowClear: true,
1885
+ autoFocus: true
1886
+ }
1887
+ ) }),
1946
1888
  /* @__PURE__ */ jsxs3("div", { className: styles.scrollRegion, children: [
1947
1889
  /* @__PURE__ */ jsxs3("span", { className: styles.srOnly, "aria-live": "polite", children: [
1948
1890
  filtered.length,
@@ -1951,60 +1893,57 @@ var TenantSelector = ({
1951
1893
  ] }),
1952
1894
  filtered.length === 0 ? /* @__PURE__ */ jsxs3("div", { className: styles.centeredBody, children: [
1953
1895
  /* @__PURE__ */ jsx5("span", { className: styles.emptyTitle, children: "No tenants match" }),
1954
- /* @__PURE__ */ jsx5("span", { children: "Try a different search or status filter." }),
1955
- isFiltering && /* @__PURE__ */ jsx5(Button3, { size: "small", onClick: handleResetFilters, children: "Show all tenants" })
1956
- ] }) : /* @__PURE__ */ jsx5("div", { className: styles.grid, children: filtered.map((tenant) => {
1957
- const isSelected = selectedId === tenant.id;
1958
- const statusConfig = getStatusConfig(tenant.status, token);
1959
- const logoSrc = getLogoSrc(tenant.metadata);
1960
- return /* @__PURE__ */ jsxs3(
1961
- "button",
1962
- {
1963
- type: "button",
1964
- "aria-pressed": isSelected,
1965
- "data-testid": "tenant-option",
1966
- "data-tenant-id": tenant.id,
1967
- "data-tenant-name": tenant.name,
1968
- className: styles.card,
1969
- onClick: () => setSelectedId(tenant.id),
1970
- children: [
1971
- /* @__PURE__ */ jsx5(
1972
- "div",
1973
- {
1974
- className: styles.avatar,
1975
- style: {
1976
- background: logoSrc ? "transparent" : isSelected ? token.colorPrimary : token.colorFillSecondary
1977
- },
1978
- children: logoSrc ? /* @__PURE__ */ jsx5(TenantLogo, { logoUrl: logoSrc, size: 28 }) : /* @__PURE__ */ jsx5(
1979
- "span",
1896
+ /* @__PURE__ */ jsx5("span", { children: "Try a different search." }),
1897
+ isFiltering && /* @__PURE__ */ jsx5(Button3, { size: "small", onClick: handleResetSearch, children: "Show all tenants" })
1898
+ ] }) : /* @__PURE__ */ jsx5(
1899
+ "div",
1900
+ {
1901
+ "data-testid": "tenant-grid",
1902
+ "data-columns": filtered.length >= TWO_COLUMN_THRESHOLD ? 2 : 1,
1903
+ className: `${styles.grid} ${filtered.length >= TWO_COLUMN_THRESHOLD ? styles.gridTwo : styles.gridOne}`,
1904
+ children: filtered.map((tenant) => {
1905
+ const isSelected = selectedId === tenant.id;
1906
+ const logoSrc = getLogoSrc(tenant.metadata);
1907
+ return /* @__PURE__ */ jsxs3(
1908
+ "button",
1909
+ {
1910
+ type: "button",
1911
+ "aria-pressed": isSelected,
1912
+ "data-testid": "tenant-option",
1913
+ "data-tenant-id": tenant.id,
1914
+ "data-tenant-name": tenant.name,
1915
+ className: styles.card,
1916
+ onClick: () => setSelectedId(tenant.id),
1917
+ children: [
1918
+ /* @__PURE__ */ jsx5(
1919
+ "div",
1980
1920
  {
1921
+ className: styles.avatar,
1981
1922
  style: {
1982
- color: isSelected ? "white" : token.colorTextSecondary
1923
+ background: logoSrc ? "transparent" : isSelected ? token.colorPrimary : token.colorFillSecondary
1983
1924
  },
1984
- children: tenant.name.charAt(0).toUpperCase() || "?"
1925
+ children: logoSrc ? /* @__PURE__ */ jsx5(TenantLogo, { logoUrl: logoSrc, size: 28 }) : /* @__PURE__ */ jsx5(
1926
+ "span",
1927
+ {
1928
+ style: {
1929
+ color: isSelected ? "white" : token.colorTextSecondary
1930
+ },
1931
+ children: tenant.name.charAt(0).toUpperCase() || "?"
1932
+ }
1933
+ )
1985
1934
  }
1986
- )
1987
- }
1988
- ),
1989
- /* @__PURE__ */ jsxs3("div", { className: styles.cardBody, children: [
1990
- /* @__PURE__ */ jsx5("p", { className: styles.cardName, children: tenant.name }),
1991
- tenant.description && /* @__PURE__ */ jsx5("p", { className: styles.cardDescription, children: tenant.description })
1992
- ] }),
1993
- /* @__PURE__ */ jsxs3("div", { className: styles.status, children: [
1994
- /* @__PURE__ */ jsx5(
1995
- "span",
1996
- {
1997
- className: styles.statusDot,
1998
- style: { background: statusConfig.color }
1999
- }
2000
- ),
2001
- /* @__PURE__ */ jsx5("span", { style: { color: statusConfig.color }, children: statusConfig.text })
2002
- ] })
2003
- ]
2004
- },
2005
- tenant.id
2006
- );
2007
- }) })
1935
+ ),
1936
+ /* @__PURE__ */ jsxs3("div", { className: styles.cardBody, children: [
1937
+ /* @__PURE__ */ jsx5("p", { className: styles.cardName, children: tenant.name }),
1938
+ tenant.description && /* @__PURE__ */ jsx5("p", { className: styles.cardDescription, children: tenant.description })
1939
+ ] })
1940
+ ]
1941
+ },
1942
+ tenant.id
1943
+ );
1944
+ })
1945
+ }
1946
+ )
2008
1947
  ] }),
2009
1948
  /* @__PURE__ */ jsxs3("div", { className: styles.footer, children: [
2010
1949
  onCancel ? /* @__PURE__ */ jsx5(Button3, { onClick: onCancel, children: "Cancel" }) : onLogout ? /* @__PURE__ */ jsx5(Button3, { onClick: handleLogout, icon: /* @__PURE__ */ jsx5(LogOut2, { size: 16 }), children: "Log Out" }) : /* @__PURE__ */ jsx5("span", {}),
@@ -2275,7 +2214,7 @@ import React5, {
2275
2214
  useCallback as useCallback5,
2276
2215
  useEffect as useEffect6,
2277
2216
  useLayoutEffect,
2278
- useRef as useRef4
2217
+ useRef as useRef3
2279
2218
  } from "react";
2280
2219
  import { WorkspaceClient, Client } from "@axiom-lattice/client-sdk";
2281
2220
  import { jsx as jsx7 } from "react/jsx-runtime";
@@ -2403,7 +2342,7 @@ var WorkspaceContextProvider = ({
2403
2342
  setWorkspaceId(firstWorkspace.id);
2404
2343
  }
2405
2344
  }, [workspaces, workspaceId]);
2406
- const prevWorkspaceId = useRef4(workspaceId);
2345
+ const prevWorkspaceId = useRef3(workspaceId);
2407
2346
  useEffect6(() => {
2408
2347
  if (workspaceId) {
2409
2348
  refreshProjects(workspaceId);
@@ -2687,7 +2626,7 @@ import {
2687
2626
  useContext as useContext3,
2688
2627
  useEffect as useEffect7,
2689
2628
  useMemo as useMemo3,
2690
- useRef as useRef5,
2629
+ useRef as useRef4,
2691
2630
  useState as useState9
2692
2631
  } from "react";
2693
2632
  import { jsx as jsx8 } from "react/jsx-runtime";
@@ -2726,11 +2665,11 @@ var ConversationContextProvider = ({
2726
2665
  const [isLoading, setIsLoading] = useState9(false);
2727
2666
  const [error, setError] = useState9(null);
2728
2667
  const [customRunConfig, setCustomRunConfig] = useState9({});
2729
- const loadedAssistantIdRef = useRef5(null);
2730
- const prevAssistantIdRef = useRef5(null);
2731
- const isLoadingRef = useRef5(false);
2732
- const loadRequestIdRef = useRef5(0);
2733
- const clientRef = useRef5(client);
2668
+ const loadedAssistantIdRef = useRef4(null);
2669
+ const prevAssistantIdRef = useRef4(null);
2670
+ const isLoadingRef = useRef4(false);
2671
+ const loadRequestIdRef = useRef4(0);
2672
+ const clientRef = useRef4(client);
2734
2673
  useEffect7(() => {
2735
2674
  clientRef.current = client;
2736
2675
  }, [client]);
@@ -2837,7 +2776,7 @@ var ConversationContextProvider = ({
2837
2776
  }, [assistantId, loadThreads]);
2838
2777
  const workspaceCtx = useContext3(WorkspaceContext);
2839
2778
  const scopeKey = `${workspaceCtx?.workspaceId ?? ""}:${workspaceCtx?.projectId ?? ""}`;
2840
- const prevScopeKeyRef = useRef5(scopeKey);
2779
+ const prevScopeKeyRef = useRef4(scopeKey);
2841
2780
  useEffect7(() => {
2842
2781
  const currentClient = clientRef.current;
2843
2782
  if (!assistantId || !currentClient.assistantId) return;
@@ -3032,7 +2971,7 @@ import {
3032
2971
  useEffect as useEffect8,
3033
2972
  useLayoutEffect as useLayoutEffect2,
3034
2973
  useMemo as useMemo4,
3035
- useRef as useRef6,
2974
+ useRef as useRef5,
3036
2975
  useTransition
3037
2976
  } from "react";
3038
2977
  import {
@@ -3196,26 +3135,26 @@ function AgentThreadProvider({
3196
3135
  threadId
3197
3136
  }));
3198
3137
  }, [clientAssistantId, tenantId, threadId]);
3199
- const threadStreamRef = useRef6(null);
3200
- const chunkMessageMerger = useRef6(createSimpleMessageMerger2());
3201
- const lastAgentStateCreatedAtRef = useRef6(null);
3202
- const streamEndedByInterruptRef = useRef6(false);
3203
- const currentThreadIdRef = useRef6(threadId);
3138
+ const threadStreamRef = useRef5(null);
3139
+ const chunkMessageMerger = useRef5(createSimpleMessageMerger2());
3140
+ const lastAgentStateCreatedAtRef = useRef5(null);
3141
+ const streamEndedByInterruptRef = useRef5(false);
3142
+ const currentThreadIdRef = useRef5(threadId);
3204
3143
  currentThreadIdRef.current = threadId;
3205
- const messageCountRef = useRef6(0);
3206
- const onToolCompletedRef = useRef6(onToolCompleted);
3144
+ const messageCountRef = useRef5(0);
3145
+ const onToolCompletedRef = useRef5(onToolCompleted);
3207
3146
  onToolCompletedRef.current = onToolCompleted;
3208
- const onStreamCompletedRef = useRef6(onStreamCompleted);
3147
+ const onStreamCompletedRef = useRef5(onStreamCompleted);
3209
3148
  onStreamCompletedRef.current = onStreamCompleted;
3210
- const pendingIdsRef = useRef6(/* @__PURE__ */ new Set());
3211
- const inFlightRef = useRef6(0);
3212
- const historyLoadingRef = useRef6(false);
3213
- const streamActiveRef = useRef6(false);
3214
- const historyGenerationRef = useRef6(0);
3215
- const messageActivityGenerationRef = useRef6(0);
3216
- const streamStopGenerationRef = useRef6(0);
3217
- const threadEpochRef = useRef6(0);
3218
- const ownershipThreadIdRef = useRef6(threadId);
3149
+ const pendingIdsRef = useRef5(/* @__PURE__ */ new Set());
3150
+ const inFlightRef = useRef5(0);
3151
+ const historyLoadingRef = useRef5(false);
3152
+ const streamActiveRef = useRef5(false);
3153
+ const historyGenerationRef = useRef5(0);
3154
+ const messageActivityGenerationRef = useRef5(0);
3155
+ const streamStopGenerationRef = useRef5(0);
3156
+ const threadEpochRef = useRef5(0);
3157
+ const ownershipThreadIdRef = useRef5(threadId);
3219
3158
  if (ownershipThreadIdRef.current !== threadId) {
3220
3159
  ownershipThreadIdRef.current = threadId;
3221
3160
  threadEpochRef.current += 1;
@@ -3225,7 +3164,7 @@ function AgentThreadProvider({
3225
3164
  inFlightRef.current = 0;
3226
3165
  streamActiveRef.current = false;
3227
3166
  }
3228
- const isLoadingRef = useRef6(state.isLoading);
3167
+ const isLoadingRef = useRef5(state.isLoading);
3229
3168
  isLoadingRef.current = state.isLoading;
3230
3169
  const getOwnedLoading = useCallback7(() => historyLoadingRef.current || inFlightRef.current > 0 || streamActiveRef.current, []);
3231
3170
  useEffect8(() => {
@@ -3394,7 +3333,7 @@ function AgentThreadProvider({
3394
3333
  },
3395
3334
  [getOwnedLoading, startTransition, threadId]
3396
3335
  );
3397
- const handleStreamEventRef = useRef6(handleStreamEvent);
3336
+ const handleStreamEventRef = useRef5(handleStreamEvent);
3398
3337
  handleStreamEventRef.current = handleStreamEvent;
3399
3338
  const sendMessage = useCallback7(
3400
3339
  async (data) => {
@@ -3838,15 +3777,15 @@ function useAgentChat(options) {
3838
3777
  }
3839
3778
 
3840
3779
  // src/hooks/useAgentState.ts
3841
- import { useState as useState11, useCallback as useCallback8, useEffect as useEffect9, useRef as useRef7 } from "react";
3780
+ import { useState as useState11, useCallback as useCallback8, useEffect as useEffect9, useRef as useRef6 } from "react";
3842
3781
  function useAgentState(threadId, assistantId, options = {}) {
3843
3782
  const client = useClient(assistantId);
3844
3783
  const [agentState, setAgentState] = useState11(null);
3845
3784
  const [isLoading, setIsLoading] = useState11(false);
3846
3785
  const [error, setError] = useState11(null);
3847
- const pollingIntervalRef = useRef7(null);
3848
- const pollingTimeoutRef = useRef7(null);
3849
- const hasFetchedRef = useRef7(false);
3786
+ const pollingIntervalRef = useRef6(null);
3787
+ const pollingTimeoutRef = useRef6(null);
3788
+ const hasFetchedRef = useRef6(false);
3850
3789
  const {
3851
3790
  pollingInterval = 2e3,
3852
3791
  // 2 seconds by default
@@ -3991,7 +3930,7 @@ function useEvalProjects() {
3991
3930
  }
3992
3931
 
3993
3932
  // src/hooks/eval/useEvalSuites.ts
3994
- import { useState as useState14, useEffect as useEffect11, useCallback as useCallback11, useRef as useRef8 } from "react";
3933
+ import { useState as useState14, useEffect as useEffect11, useCallback as useCallback11, useRef as useRef7 } from "react";
3995
3934
 
3996
3935
  // src/hooks/eval/evalGuards.ts
3997
3936
  var RUN_STATUSES = /* @__PURE__ */ new Set(["running", "completed", "failed", "aborted"]);
@@ -4067,9 +4006,9 @@ function useEvalSuites(projectId) {
4067
4006
  });
4068
4007
  const [loading, setLoading] = useState14(Boolean(projectId));
4069
4008
  const [error, setError] = useState14(null);
4070
- const mountedRef = useRef8(false);
4071
- const projectIdRef = useRef8(projectId);
4072
- const requestTokenRef = useRef8(0);
4009
+ const mountedRef = useRef7(false);
4010
+ const projectIdRef = useRef7(projectId);
4011
+ const requestTokenRef = useRef7(0);
4073
4012
  projectIdRef.current = projectId;
4074
4013
  const fetchSuites = useCallback11(async () => {
4075
4014
  const requestedProjectId = projectId;
@@ -4196,7 +4135,7 @@ function useEvalCases(projectId, suiteId) {
4196
4135
  }
4197
4136
 
4198
4137
  // src/hooks/eval/useEvalRuns.ts
4199
- import { useState as useState16, useEffect as useEffect13, useCallback as useCallback13, useRef as useRef9 } from "react";
4138
+ import { useState as useState16, useEffect as useEffect13, useCallback as useCallback13, useRef as useRef8 } from "react";
4200
4139
  function normalizeError2(reason) {
4201
4140
  if (reason instanceof Error) return reason;
4202
4141
  if (typeof reason === "string") return new Error(reason);
@@ -4214,9 +4153,9 @@ function useEvalRuns(projectId) {
4214
4153
  });
4215
4154
  const [loading, setLoading] = useState16(false);
4216
4155
  const [error, setError] = useState16(null);
4217
- const mountedRef = useRef9(false);
4218
- const projectIdRef = useRef9(projectId);
4219
- const requestTokenRef = useRef9(0);
4156
+ const mountedRef = useRef8(false);
4157
+ const projectIdRef = useRef8(projectId);
4158
+ const requestTokenRef = useRef8(0);
4220
4159
  projectIdRef.current = projectId;
4221
4160
  const fetchRuns = useCallback13(async () => {
4222
4161
  const requestedProjectId = projectId;
@@ -4293,7 +4232,7 @@ function useEvalRuns(projectId) {
4293
4232
  }
4294
4233
 
4295
4234
  // src/hooks/eval/useEvalRunStream.ts
4296
- import { useCallback as useCallback14, useEffect as useEffect14, useRef as useRef10, useState as useState17 } from "react";
4235
+ import { useCallback as useCallback14, useEffect as useEffect14, useRef as useRef9, useState as useState17 } from "react";
4297
4236
  var EMPTY_PROGRESS = { completed: 0, total: 0, passed: 0, failed: 0 };
4298
4237
  function isNonnegativeInteger(value) {
4299
4238
  return typeof value === "number" && Number.isFinite(value) && Number.isInteger(value) && value >= 0;
@@ -4348,14 +4287,14 @@ function useEvalRunStream(runId) {
4348
4287
  const [error, setError] = useState17(null);
4349
4288
  const [lastUpdatedAt, setLastUpdatedAt] = useState17(null);
4350
4289
  const [subscription, setSubscription] = useState17(0);
4351
- const abortRef = useRef10(null);
4352
- const generationRef = useRef10(0);
4353
- const runIdRef = useRef10(runId);
4354
- const previousRunIdRef = useRef10(void 0);
4355
- const caseIndexesRef = useRef10(/* @__PURE__ */ new Map());
4356
- const casesRef = useRef10([]);
4357
- const progressRef = useRef10(EMPTY_PROGRESS);
4358
- const manuallyStoppedRunIdRef = useRef10(null);
4290
+ const abortRef = useRef9(null);
4291
+ const generationRef = useRef9(0);
4292
+ const runIdRef = useRef9(runId);
4293
+ const previousRunIdRef = useRef9(void 0);
4294
+ const caseIndexesRef = useRef9(/* @__PURE__ */ new Map());
4295
+ const casesRef = useRef9([]);
4296
+ const progressRef = useRef9(EMPTY_PROGRESS);
4297
+ const manuallyStoppedRunIdRef = useRef9(null);
4359
4298
  runIdRef.current = runId;
4360
4299
  const stopStreaming = useCallback14(() => {
4361
4300
  generationRef.current += 1;
@@ -4756,7 +4695,7 @@ var useSideAppOpener = () => {
4756
4695
  import { Table, Typography as Typography42, Button as Button41, Flex as Flex6, Space as Space30 } from "antd";
4757
4696
 
4758
4697
  // src/components/GenUI/MDResponse.tsx
4759
- import React56, { useRef as useRef29, useState as useState59, useMemo as useMemo22, useDeferredValue as useDeferredValue3 } from "react";
4698
+ import React56, { useRef as useRef28, useState as useState59, useMemo as useMemo22, useDeferredValue as useDeferredValue3 } from "react";
4760
4699
  import { createStyles as createStyles37 } from "antd-style";
4761
4700
 
4762
4701
  // src/components/GenUI/Code.tsx
@@ -4805,13 +4744,13 @@ function useCollections() {
4805
4744
  }
4806
4745
 
4807
4746
  // src/hooks/useExportImport.ts
4808
- import { useState as useState20, useCallback as useCallback17, useRef as useRef11 } from "react";
4747
+ import { useState as useState20, useCallback as useCallback17, useRef as useRef10 } from "react";
4809
4748
  function useExportImport() {
4810
4749
  const api = useApi();
4811
4750
  const client = useClient("__GLOBAL__");
4812
4751
  const { currentTenant } = useAuth();
4813
4752
  const tenantId = currentTenant?.id ?? "_";
4814
- const archiveRef = useRef11(null);
4753
+ const archiveRef = useRef10(null);
4815
4754
  const [state, setState] = useState20({
4816
4755
  exportableTypes: [],
4817
4756
  selectedTypes: [],
@@ -4958,7 +4897,7 @@ function useExportImport() {
4958
4897
  }
4959
4898
 
4960
4899
  // src/hooks/useVoiceRecorder.ts
4961
- import { useState as useState21, useRef as useRef12, useCallback as useCallback18, useEffect as useEffect16 } from "react";
4900
+ import { useState as useState21, useRef as useRef11, useCallback as useCallback18, useEffect as useEffect16 } from "react";
4962
4901
  function useVoiceRecorder(options) {
4963
4902
  const {
4964
4903
  mode: initialMode = "auto",
@@ -4976,31 +4915,31 @@ function useVoiceRecorder(options) {
4976
4915
  partialTexts: []
4977
4916
  });
4978
4917
  const client = useClient("__GLOBAL__");
4979
- const onTranscriptionRef = useRef12(onTranscription);
4918
+ const onTranscriptionRef = useRef11(onTranscription);
4980
4919
  onTranscriptionRef.current = onTranscription;
4981
- const statusRef = useRef12(state.status);
4920
+ const statusRef = useRef11(state.status);
4982
4921
  useEffect16(() => {
4983
4922
  statusRef.current = state.status;
4984
4923
  }, [state.status]);
4985
- const cleanedRef = useRef12(false);
4986
- const volIntervalRef = useRef12(null);
4987
- const isCancellingRef = useRef12(false);
4988
- const mediaRecorderRef = useRef12(null);
4989
- const chunksRef = useRef12([]);
4990
- const streamRef = useRef12(null);
4991
- const analyserRef = useRef12(null);
4992
- const audioContextRef = useRef12(null);
4993
- const timerRef = useRef12(null);
4994
- const durationRef = useRef12(0);
4995
- const lastBlobRef = useRef12(null);
4996
- const modeRef = useRef12(initialMode);
4997
- const vadSilenceStartRef = useRef12(null);
4998
- const vadSpeechBufferRef = useRef12([]);
4999
- const vadNoiseRef = useRef12(0.1);
5000
- const vadHadSpeechRef = useRef12(false);
5001
- const vadSpeechStartRef = useRef12(null);
5002
- const stopSafetyTimerRef = useRef12(null);
5003
- const isStoppingRef = useRef12(false);
4924
+ const cleanedRef = useRef11(false);
4925
+ const volIntervalRef = useRef11(null);
4926
+ const isCancellingRef = useRef11(false);
4927
+ const mediaRecorderRef = useRef11(null);
4928
+ const chunksRef = useRef11([]);
4929
+ const streamRef = useRef11(null);
4930
+ const analyserRef = useRef11(null);
4931
+ const audioContextRef = useRef11(null);
4932
+ const timerRef = useRef11(null);
4933
+ const durationRef = useRef11(0);
4934
+ const lastBlobRef = useRef11(null);
4935
+ const modeRef = useRef11(initialMode);
4936
+ const vadSilenceStartRef = useRef11(null);
4937
+ const vadSpeechBufferRef = useRef11([]);
4938
+ const vadNoiseRef = useRef11(0.1);
4939
+ const vadHadSpeechRef = useRef11(false);
4940
+ const vadSpeechStartRef = useRef11(null);
4941
+ const stopSafetyTimerRef = useRef11(null);
4942
+ const isStoppingRef = useRef11(false);
5004
4943
  const minSpeechDuration = 1500;
5005
4944
  const cleanupAudio = useCallback18(() => {
5006
4945
  if (cleanedRef.current) return;
@@ -6888,7 +6827,7 @@ var EvalSuiteCardList = ({ projectId, onSelectSuite, onEvalInvalidated }) => {
6888
6827
  // src/components/Eval/EvalSuiteDetail.tsx
6889
6828
  import { useState as useState27, useEffect as useEffect18 } from "react";
6890
6829
  import { createStyles as createStyles13 } from "antd-style";
6891
- import { Button as Button8, Typography as Typography11, Modal as Modal3, Form as Form3, Input as Input6, Select as Select3, message as message2 } from "antd";
6830
+ import { Button as Button8, Typography as Typography11, Modal as Modal3, Form as Form3, Input as Input6, Select as Select2, message as message2 } from "antd";
6892
6831
  import { Play, Trash2 as Trash23, Bot, FlaskConical as FlaskConical2 } from "lucide-react";
6893
6832
 
6894
6833
  // src/components/EntityList/EntityListView.tsx
@@ -7714,7 +7653,7 @@ import { Modal as Modal2, Typography as Typography10, message } from "antd";
7714
7653
  import { useEffect as useEffect17 } from "react";
7715
7654
 
7716
7655
  // src/components/EntityList/FilterSelect.tsx
7717
- import { Select as Select2 } from "antd";
7656
+ import { Select } from "antd";
7718
7657
  import { createStyles as createStyles12 } from "antd-style";
7719
7658
  import { jsx as jsx26 } from "react/jsx-runtime";
7720
7659
  var useStyles9 = createStyles12(({ token, css }) => ({
@@ -7768,7 +7707,7 @@ var FilterSelect = ({
7768
7707
  ...options
7769
7708
  ];
7770
7709
  return /* @__PURE__ */ jsx26(
7771
- Select2,
7710
+ Select,
7772
7711
  {
7773
7712
  className: borderless ? `${styles.select} ${styles.borderless}` : styles.select,
7774
7713
  dropdownClassName,
@@ -8095,7 +8034,7 @@ var EvalSuiteDetail = ({ projectId, suiteId, onBack, onRun, onEvalInvalidated })
8095
8034
  children: /* @__PURE__ */ jsxs18(Form3, { form, layout: "vertical", onFinish: handleSubmit, children: [
8096
8035
  /* @__PURE__ */ jsx29(Form3.Item, { name: "inputMessage", label: "Input Message", rules: [{ required: true }], children: /* @__PURE__ */ jsx29(TextArea, { rows: 2, placeholder: "What to send to the agent" }) }),
8097
8036
  /* @__PURE__ */ jsx29(Form3.Item, { name: "agentId", label: "Agent", rules: [{ required: true }], children: /* @__PURE__ */ jsx29(
8098
- Select3,
8037
+ Select2,
8099
8038
  {
8100
8039
  placeholder: "Select agent",
8101
8040
  showSearch: true,
@@ -8107,7 +8046,7 @@ var EvalSuiteDetail = ({ projectId, suiteId, onBack, onRun, onEvalInvalidated })
8107
8046
  }))
8108
8047
  }
8109
8048
  ) }),
8110
- /* @__PURE__ */ jsx29(Form3.Item, { name: "outputType", label: "Output Type", initialValue: "message_content", children: /* @__PURE__ */ jsx29(Select3, { options: [
8049
+ /* @__PURE__ */ jsx29(Form3.Item, { name: "outputType", label: "Output Type", initialValue: "message_content", children: /* @__PURE__ */ jsx29(Select2, { options: [
8111
8050
  { value: "message_content", label: "Message Content" },
8112
8051
  { value: "file_content", label: "File Content" }
8113
8052
  ] }) }),
@@ -8152,13 +8091,13 @@ var EvalSuiteDetail = ({ projectId, suiteId, onBack, onRun, onEvalInvalidated })
8152
8091
  };
8153
8092
 
8154
8093
  // src/components/Eval/EvalRunResults.tsx
8155
- import { useEffect as useEffect20, useRef as useRef14, useState as useState29 } from "react";
8094
+ import { useEffect as useEffect20, useRef as useRef13, useState as useState29 } from "react";
8156
8095
  import { createStyles as createStyles14 } from "antd-style";
8157
8096
  import { Alert as Alert3, App, Button as Button9, Typography as Typography12, Progress, Tag as Tag2, Popconfirm as Popconfirm2 } from "antd";
8158
8097
  import { CheckCircle, XCircle, Trash2 as Trash24, FolderGit2 } from "lucide-react";
8159
8098
 
8160
8099
  // src/hooks/eval/useEvalRunDetail.ts
8161
- import { useCallback as useCallback20, useEffect as useEffect19, useRef as useRef13, useState as useState28 } from "react";
8100
+ import { useCallback as useCallback20, useEffect as useEffect19, useRef as useRef12, useState as useState28 } from "react";
8162
8101
  function normalizeError4(error) {
8163
8102
  return error instanceof Error ? error : new Error(String(error));
8164
8103
  }
@@ -8168,10 +8107,10 @@ function useEvalRunDetail(runId) {
8168
8107
  const [loading, setLoading] = useState28(false);
8169
8108
  const [refreshing, setRefreshing] = useState28(false);
8170
8109
  const [error, setError] = useState28(null);
8171
- const runIdRef = useRef13(runId);
8172
- const runRef = useRef13(null);
8173
- const requestTokenRef = useRef13(0);
8174
- const mountedRef = useRef13(true);
8110
+ const runIdRef = useRef12(runId);
8111
+ const runRef = useRef12(null);
8112
+ const requestTokenRef = useRef12(0);
8113
+ const mountedRef = useRef12(true);
8175
8114
  runIdRef.current = runId;
8176
8115
  const refresh = useCallback20(async () => {
8177
8116
  const currentRunId = runIdRef.current;
@@ -8326,10 +8265,10 @@ var EvalRunResults = ({ runId, onBack, onRunSettled }) => {
8326
8265
  terminal,
8327
8266
  reconnect
8328
8267
  } = useEvalRunStream(runId);
8329
- const refreshRef = useRef14(refresh);
8330
- const onRunSettledRef = useRef14(onRunSettled);
8331
- const refreshedTerminalRef = useRef14(null);
8332
- const refreshGenerationRef = useRef14(0);
8268
+ const refreshRef = useRef13(refresh);
8269
+ const onRunSettledRef = useRef13(onRunSettled);
8270
+ const refreshedTerminalRef = useRef13(null);
8271
+ const refreshGenerationRef = useRef13(0);
8333
8272
  const [finalizingKey, setFinalizingKey] = useState29(null);
8334
8273
  const [deleting, setDeleting] = useState29(false);
8335
8274
  refreshRef.current = refresh;
@@ -10058,7 +9997,7 @@ import {
10058
9997
  import { createStyles as createStyles21 } from "antd-style";
10059
9998
 
10060
9999
  // src/components/GenUI/MarkdownViewer.tsx
10061
- import React20, { useState as useState33, useEffect as useEffect23, useRef as useRef15 } from "react";
10000
+ import React20, { useState as useState33, useEffect as useEffect23, useRef as useRef14 } from "react";
10062
10001
  import { Button as Button12, Tooltip as Tooltip4, message as message4 } from "antd";
10063
10002
  import {
10064
10003
  CopyOutlined,
@@ -10333,7 +10272,7 @@ var MarkdownViewer = ({
10333
10272
  }) => {
10334
10273
  const { styles, cx } = useStyles13();
10335
10274
  const [copied, setCopied] = useState33(false);
10336
- const contentRef = useRef15(null);
10275
+ const contentRef = useRef14(null);
10337
10276
  const downloadFileName = fileName.split("/").pop() || fileName;
10338
10277
  useEffect23(() => {
10339
10278
  if (copied) {
@@ -11310,7 +11249,7 @@ import { LinkOutlined as LinkOutlined2, DownloadOutlined as DownloadOutlined2 }
11310
11249
 
11311
11250
  // src/components/GenUI/ShareModal.tsx
11312
11251
  import { useState as useState37, useEffect as useEffect26, useCallback as useCallback21 } from "react";
11313
- import { Modal as Modal5, Input as Input7, Select as Select4, InputNumber, Button as Button16, Space as Space10, Typography as Typography20, message as message6, List as List4, Tag as Tag5, Popconfirm as Popconfirm4 } from "antd";
11252
+ import { Modal as Modal5, Input as Input7, Select as Select3, InputNumber, Button as Button16, Space as Space10, Typography as Typography20, message as message6, List as List4, Tag as Tag5, Popconfirm as Popconfirm4 } from "antd";
11314
11253
  import { CopyOutlined as CopyOutlined2, LinkOutlined, StopOutlined, PlusOutlined } from "@ant-design/icons";
11315
11254
  import { jsx as jsx44, jsxs as jsxs30 } from "react/jsx-runtime";
11316
11255
  var { Text: Text18, Title: Title4 } = Typography20;
@@ -11496,9 +11435,9 @@ ${pwdText}`.trim());
11496
11435
  ] }),
11497
11436
  /* @__PURE__ */ jsxs30("div", { children: [
11498
11437
  /* @__PURE__ */ jsx44(Text18, { type: "secondary", style: { fontSize: 12 }, children: "Visibility" }),
11499
- /* @__PURE__ */ jsxs30(Select4, { value: visibility, onChange: setVisibility, style: { width: "100%" }, children: [
11500
- /* @__PURE__ */ jsx44(Select4.Option, { value: "public", children: "Public" }),
11501
- /* @__PURE__ */ jsx44(Select4.Option, { value: "password", children: "Password" })
11438
+ /* @__PURE__ */ jsxs30(Select3, { value: visibility, onChange: setVisibility, style: { width: "100%" }, children: [
11439
+ /* @__PURE__ */ jsx44(Select3.Option, { value: "public", children: "Public" }),
11440
+ /* @__PURE__ */ jsx44(Select3.Option, { value: "password", children: "Password" })
11502
11441
  ] })
11503
11442
  ] }),
11504
11443
  visibility === "password" && /* @__PURE__ */ jsxs30("div", { children: [
@@ -11507,7 +11446,7 @@ ${pwdText}`.trim());
11507
11446
  ] }),
11508
11447
  /* @__PURE__ */ jsxs30("div", { children: [
11509
11448
  /* @__PURE__ */ jsx44(Text18, { type: "secondary", style: { fontSize: 12 }, children: "Expires" }),
11510
- /* @__PURE__ */ jsx44(Select4, { value: expiry, onChange: setExpiry, style: { width: "100%" }, children: EXPIRY_OPTIONS.map((opt) => /* @__PURE__ */ jsx44(Select4.Option, { value: opt.value, children: opt.label }, opt.label)) })
11449
+ /* @__PURE__ */ jsx44(Select3, { value: expiry, onChange: setExpiry, style: { width: "100%" }, children: EXPIRY_OPTIONS.map((opt) => /* @__PURE__ */ jsx44(Select3.Option, { value: opt.value, children: opt.label }, opt.label)) })
11511
11450
  ] }),
11512
11451
  /* @__PURE__ */ jsxs30("div", { children: [
11513
11452
  /* @__PURE__ */ jsx44(Text18, { type: "secondary", style: { fontSize: 12 }, children: "Max accesses (empty = unlimited)" }),
@@ -11638,7 +11577,7 @@ function AttachmentsViewerSideApp({
11638
11577
  import { Button as Button18, Space as Space12, Typography as Typography21 } from "antd";
11639
11578
 
11640
11579
  // src/components/GenUI/elements/ContentPreviewCollapse.tsx
11641
- import { useRef as useRef16, useState as useState39, useEffect as useEffect28, useCallback as useCallback22 } from "react";
11580
+ import { useRef as useRef15, useState as useState39, useEffect as useEffect28, useCallback as useCallback22 } from "react";
11642
11581
  import { Collapse as Collapse5 } from "antd";
11643
11582
  import { createStyles as createStyles23 } from "antd-style";
11644
11583
  import { DownOutlined as DownOutlined3, UpOutlined as UpOutlined2 } from "@ant-design/icons";
@@ -11710,7 +11649,7 @@ var ContentPreviewCollapse = ({
11710
11649
  }) => {
11711
11650
  const [showFullContent, setShowFullContent] = useState39(false);
11712
11651
  const [isOverflowing, setIsOverflowing] = useState39(false);
11713
- const contentRef = useRef16(null);
11652
+ const contentRef = useRef15(null);
11714
11653
  const showShadow = isOverflowing && !showFullContent;
11715
11654
  const { styles, cx } = useStyle7({ showShadow });
11716
11655
  const checkOverflow = useCallback22(() => {
@@ -13947,7 +13886,7 @@ var TaskCard = ({
13947
13886
  new_assistant_id = assistantId + "-general-purpose";
13948
13887
  }
13949
13888
  const subagent_thread_id = (threadId || "") + "____" + new_assistant_id + "_" + toolCallData.id;
13950
- const getStatusConfig2 = (status2) => {
13889
+ const getStatusConfig = (status2) => {
13951
13890
  switch (status2) {
13952
13891
  case "success":
13953
13892
  return {
@@ -13973,7 +13912,7 @@ var TaskCard = ({
13973
13912
  };
13974
13913
  }
13975
13914
  };
13976
- const statusConfig = getStatusConfig2(status);
13915
+ const statusConfig = getStatusConfig(status);
13977
13916
  const showResponse = status === "success" && response;
13978
13917
  const handleCardClick = () => {
13979
13918
  openSideApp({
@@ -14090,7 +14029,7 @@ import {
14090
14029
  useCallback as useCallback24,
14091
14030
  useEffect as useEffect29,
14092
14031
  useMemo as useMemo11,
14093
- useRef as useRef17,
14032
+ useRef as useRef16,
14094
14033
  useState as useState41,
14095
14034
  useDeferredValue
14096
14035
  } from "react";
@@ -15027,7 +14966,7 @@ var LazyBubble = ({
15027
14966
  renderContent,
15028
14967
  autoLoadRightPanel
15029
14968
  }) => {
15030
- const ref = useRef17(null);
14969
+ const ref = useRef16(null);
15031
14970
  const [isVisible, setIsVisible] = useState41(false);
15032
14971
  const [wasEverVisible, setWasEverVisible] = useState41(false);
15033
14972
  useEffect29(() => {
@@ -15086,7 +15025,7 @@ var MessageList = ({
15086
15025
  const openSideApp = useSideAppOpener();
15087
15026
  const rawDeferred = useDeferredValue(messages);
15088
15027
  const deferredMessages = isLoading ? rawDeferred : messages;
15089
- const messageLengthRef = useRef17(deferredMessages?.length ?? 0);
15028
+ const messageLengthRef = useRef16(deferredMessages?.length ?? 0);
15090
15029
  useEffect29(() => {
15091
15030
  if (deferredMessages?.length) {
15092
15031
  messageLengthRef.current = deferredMessages?.length;
@@ -15223,7 +15162,7 @@ ${JSON.stringify(
15223
15162
  // src/components/Chat/MessageViewPanel.tsx
15224
15163
  import { jsx as jsx52 } from "react/jsx-runtime";
15225
15164
  var MessageGraph = React29.lazy(
15226
- () => import("./MessageGraph-LOSAZQ2V.mjs").then((m) => ({ default: m.MessageGraph }))
15165
+ () => import("./MessageGraph-CU7TPJJI.mjs").then((m) => ({ default: m.MessageGraph }))
15227
15166
  );
15228
15167
  var MessageViewPanel = ({
15229
15168
  messages,
@@ -15427,7 +15366,7 @@ import {
15427
15366
  Space as Space22,
15428
15367
  Typography as Typography31
15429
15368
  } from "antd";
15430
- import React43, { useCallback as useCallback30, useContext as useContext10, useDeferredValue as useDeferredValue2, useEffect as useEffect39, useLayoutEffect as useLayoutEffect4, useMemo as useMemo14, useRef as useRef26, useState as useState53 } from "react";
15369
+ import React43, { useCallback as useCallback30, useContext as useContext10, useDeferredValue as useDeferredValue2, useEffect as useEffect39, useLayoutEffect as useLayoutEffect4, useMemo as useMemo14, useRef as useRef25, useState as useState53 } from "react";
15431
15370
  import { BrainCircuit as BrainCircuit3 } from "lucide-react";
15432
15371
 
15433
15372
  // src/components/GenUI/HITLContainer.tsx
@@ -16334,7 +16273,7 @@ var AgentLoadingSpinner = () => {
16334
16273
  import { MessageOutlined, NodeIndexOutlined } from "@ant-design/icons";
16335
16274
 
16336
16275
  // src/components/shared/SegmentedToggle.tsx
16337
- import React31, { useCallback as useCallback26, useEffect as useEffect31, useLayoutEffect as useLayoutEffect3, useRef as useRef18, useState as useState44 } from "react";
16276
+ import React31, { useCallback as useCallback26, useEffect as useEffect31, useLayoutEffect as useLayoutEffect3, useRef as useRef17, useState as useState44 } from "react";
16338
16277
  import { Tooltip as Tooltip12, theme as theme4 } from "antd";
16339
16278
  import { jsx as jsx64, jsxs as jsxs42 } from "react/jsx-runtime";
16340
16279
  function SegmentedToggle({
@@ -16348,7 +16287,7 @@ function SegmentedToggle({
16348
16287
  style
16349
16288
  }) {
16350
16289
  const { token } = theme4.useToken();
16351
- const itemRefs = useRef18([]);
16290
+ const itemRefs = useRef17([]);
16352
16291
  const [thumb, setThumb] = useState44({ left: 0, width: 0 });
16353
16292
  const activeIndex = Math.max(
16354
16293
  0,
@@ -16648,7 +16587,7 @@ var ThreadManagementButtons = () => {
16648
16587
  };
16649
16588
 
16650
16589
  // src/components/Chat/DatabasePicker.tsx
16651
- import { useRef as useRef19, useState as useState45 } from "react";
16590
+ import { useRef as useRef18, useState as useState45 } from "react";
16652
16591
  import { Modal as Modal6, List as List5, Checkbox as Checkbox2, Spin as Spin8, Empty as Empty4, Typography as Typography25, Button as Button26, Space as Space18, Tooltip as Tooltip14 } from "antd";
16653
16592
  import { Database } from "lucide-react";
16654
16593
  import { Fragment as Fragment13, jsx as jsx68, jsxs as jsxs45 } from "react/jsx-runtime";
@@ -16658,7 +16597,7 @@ var DatabasePicker = ({ senderRef, iconOnly }) => {
16658
16597
  const [loading, setLoading] = useState45(false);
16659
16598
  const [selectedDatabases, setSelectedDatabases] = useState45([]);
16660
16599
  const { get } = useApi();
16661
- const fetchedRef = useRef19(false);
16600
+ const fetchedRef = useRef18(false);
16662
16601
  const loadDatabases = async () => {
16663
16602
  setLoading(true);
16664
16603
  try {
@@ -16798,7 +16737,7 @@ var DatabasePicker = ({ senderRef, iconOnly }) => {
16798
16737
  };
16799
16738
 
16800
16739
  // src/components/Chat/SkillPicker.tsx
16801
- import { useRef as useRef20, useState as useState46 } from "react";
16740
+ import { useRef as useRef19, useState as useState46 } from "react";
16802
16741
  import { Modal as Modal7, List as List6, Checkbox as Checkbox3, Spin as Spin9, Empty as Empty5, Typography as Typography26, Button as Button27, Space as Space19, Tooltip as Tooltip15 } from "antd";
16803
16742
  import { BrainCircuit } from "lucide-react";
16804
16743
  import { Fragment as Fragment14, jsx as jsx69, jsxs as jsxs46 } from "react/jsx-runtime";
@@ -16808,7 +16747,7 @@ var SkillPicker = ({ senderRef, iconOnly }) => {
16808
16747
  const [loading, setLoading] = useState46(false);
16809
16748
  const [selectedSkills, setSelectedSkills] = useState46([]);
16810
16749
  const { get } = useApi();
16811
- const fetchedRef = useRef20(false);
16750
+ const fetchedRef = useRef19(false);
16812
16751
  const loadSkills = async () => {
16813
16752
  setLoading(true);
16814
16753
  try {
@@ -17078,7 +17017,7 @@ var AgentPicker = ({ senderRef, iconOnly }) => {
17078
17017
  };
17079
17018
 
17080
17019
  // src/components/Chat/MetricsDataSourcePicker.tsx
17081
- import { useEffect as useEffect33, useState as useState48, useRef as useRef21 } from "react";
17020
+ import { useEffect as useEffect33, useState as useState48, useRef as useRef20 } from "react";
17082
17021
  import { Modal as Modal9, List as List8, Spin as Spin11, Empty as Empty7, Typography as Typography28, Button as Button29, Tag as Tag8, Tooltip as Tooltip17 } from "antd";
17083
17022
  import { Database as Database2, Check, Server as Server2 } from "lucide-react";
17084
17023
  import { Fragment as Fragment16, jsx as jsx71, jsxs as jsxs48 } from "react/jsx-runtime";
@@ -17093,7 +17032,7 @@ var MetricsDataSourcePicker = ({
17093
17032
  const { config } = useLatticeChatShellContext();
17094
17033
  const { customRunConfig, updateCustomRunConfig } = useConversationContext();
17095
17034
  const { get } = useApi();
17096
- const hasInitializedRef = useRef21(false);
17035
+ const hasInitializedRef = useRef20(false);
17097
17036
  const loadDataSources = async () => {
17098
17037
  setLoading(true);
17099
17038
  try {
@@ -17418,8 +17357,8 @@ var MetricsDataSourcePicker = ({
17418
17357
  };
17419
17358
 
17420
17359
  // src/components/Chat/ModelSelector.tsx
17421
- import { useState as useState49, useEffect as useEffect34, useCallback as useCallback28, useRef as useRef22 } from "react";
17422
- import { Select as Select5 } from "antd";
17360
+ import { useState as useState49, useEffect as useEffect34, useCallback as useCallback28, useRef as useRef21 } from "react";
17361
+ import { Select as Select4 } from "antd";
17423
17362
  import { jsx as jsx72 } from "react/jsx-runtime";
17424
17363
  var STORAGE_KEY = "axiom-lattice:selected-model";
17425
17364
  var getStoredModelKey = () => {
@@ -17446,8 +17385,8 @@ var ModelSelector = ({
17446
17385
  const [internalValue, setInternalValue] = useState49(null);
17447
17386
  const [dropdownOpen, setDropdownOpen] = useState49(false);
17448
17387
  const [isHovered, setIsHovered] = useState49(false);
17449
- const hasFetchedRef = useRef22(false);
17450
- const hasSetDefaultRef = useRef22(false);
17388
+ const hasFetchedRef = useRef21(false);
17389
+ const hasSetDefaultRef = useRef21(false);
17451
17390
  const { get } = useApi();
17452
17391
  const selectedModelConfig = value !== void 0 ? value : internalValue;
17453
17392
  const setSelectedModelConfig = useCallback28((config) => {
@@ -17507,7 +17446,7 @@ var ModelSelector = ({
17507
17446
  transition: "background-color 0.2s ease"
17508
17447
  },
17509
17448
  children: /* @__PURE__ */ jsx72(
17510
- Select5,
17449
+ Select4,
17511
17450
  {
17512
17451
  variant: "borderless",
17513
17452
  value: selectedModelConfig?.modelKey,
@@ -18181,7 +18120,7 @@ var BusinessAnalysisPrompts = ({
18181
18120
  };
18182
18121
 
18183
18122
  // src/components/Chat/VoiceInputButton.tsx
18184
- import React40, { useCallback as useCallback29, useEffect as useEffect36, useRef as useRef23, useState as useState52 } from "react";
18123
+ import React40, { useCallback as useCallback29, useEffect as useEffect36, useRef as useRef22, useState as useState52 } from "react";
18185
18124
  import { Button as Button30, message as message9 } from "antd";
18186
18125
  import { AudioLines, Loader2, AlertCircle } from "lucide-react";
18187
18126
  import { createStyles as createStyles30 } from "antd-style";
@@ -18280,7 +18219,7 @@ var VoiceInputButton = ({
18280
18219
  const isIdle = state.status === "idle";
18281
18220
  const hasError = !!state.error;
18282
18221
  const isAutoMode = state.mode === "auto";
18283
- const lastErrorRef = useRef23("");
18222
+ const lastErrorRef = useRef22("");
18284
18223
  React40.useEffect(() => {
18285
18224
  if (state.error) {
18286
18225
  const errorKey = `${state.error.type}:${state.error.message}`;
@@ -18418,17 +18357,17 @@ function buildReplaceChars(content, triggerChar) {
18418
18357
  }
18419
18358
 
18420
18359
  // src/components/Chat/InitialMessageSubmitter.tsx
18421
- import { useEffect as useEffect37, useRef as useRef24 } from "react";
18360
+ import { useEffect as useEffect37, useRef as useRef23 } from "react";
18422
18361
  function InitialMessageSubmitter({
18423
18362
  request,
18424
18363
  onSubmitted,
18425
18364
  attemptedRequestIdsRef
18426
18365
  }) {
18427
18366
  const { isLoading, sendMessage, threadId } = useAgentChat();
18428
- const localAttemptedRequestIdsRef = useRef24(/* @__PURE__ */ new Set());
18367
+ const localAttemptedRequestIdsRef = useRef23(/* @__PURE__ */ new Set());
18429
18368
  const requestRegistryRef = attemptedRequestIdsRef ?? localAttemptedRequestIdsRef;
18430
- const sendMessageRef = useRef24(sendMessage);
18431
- const onSubmittedRef = useRef24(onSubmitted);
18369
+ const sendMessageRef = useRef23(sendMessage);
18370
+ const onSubmittedRef = useRef23(onSubmitted);
18432
18371
  useEffect37(() => {
18433
18372
  sendMessageRef.current = sendMessage;
18434
18373
  }, [sendMessage]);
@@ -18461,16 +18400,16 @@ function InitialMessageSubmitter({
18461
18400
  }
18462
18401
 
18463
18402
  // src/components/Chat/EmbedChatBridge.tsx
18464
- import { useEffect as useEffect38, useRef as useRef25 } from "react";
18403
+ import { useEffect as useEffect38, useRef as useRef24 } from "react";
18465
18404
  function EmbedChatBridge({ onReady, onMessage }) {
18466
18405
  const { messages, isLoading, sendMessage, threadId } = useAgentChat();
18467
- const sendMessageRef = useRef25(sendMessage);
18406
+ const sendMessageRef = useRef24(sendMessage);
18468
18407
  sendMessageRef.current = sendMessage;
18469
- const onReadyRef = useRef25(onReady);
18408
+ const onReadyRef = useRef24(onReady);
18470
18409
  onReadyRef.current = onReady;
18471
- const onMessageRef = useRef25(onMessage);
18410
+ const onMessageRef = useRef24(onMessage);
18472
18411
  onMessageRef.current = onMessage;
18473
- const readyAnnouncedRef = useRef25(false);
18412
+ const readyAnnouncedRef = useRef24(false);
18474
18413
  useEffect38(() => {
18475
18414
  if (readyAnnouncedRef.current || !threadId) return;
18476
18415
  readyAnnouncedRef.current = true;
@@ -18486,11 +18425,11 @@ function EmbedChatBridge({ onReady, onMessage }) {
18486
18425
  }
18487
18426
  });
18488
18427
  }, [threadId]);
18489
- const lastThreadIdRef = useRef25(null);
18490
- const seenIdsRef = useRef25(/* @__PURE__ */ new Set());
18491
- const pendingAiIdsRef = useRef25(/* @__PURE__ */ new Set());
18492
- const suppressingRef = useRef25(true);
18493
- const prevLoadingRef = useRef25(false);
18428
+ const lastThreadIdRef = useRef24(null);
18429
+ const seenIdsRef = useRef24(/* @__PURE__ */ new Set());
18430
+ const pendingAiIdsRef = useRef24(/* @__PURE__ */ new Set());
18431
+ const suppressingRef = useRef24(true);
18432
+ const prevLoadingRef = useRef24(false);
18494
18433
  useEffect38(() => {
18495
18434
  if (lastThreadIdRef.current !== threadId) {
18496
18435
  lastThreadIdRef.current = threadId;
@@ -18541,10 +18480,10 @@ function LegacyInitialMessageSubmitter({
18541
18480
  onInitialMessageSent,
18542
18481
  threadId
18543
18482
  }) {
18544
- const occurrenceRef = useRef26(0);
18483
+ const occurrenceRef = useRef25(0);
18545
18484
  const [occurrence, setOccurrence] = useState53(null);
18546
- const committedOccurrenceRef = useRef26(null);
18547
- const onInitialMessageSentRef = useRef26(onInitialMessageSent);
18485
+ const committedOccurrenceRef = useRef25(null);
18486
+ const onInitialMessageSentRef = useRef25(onInitialMessageSent);
18548
18487
  useEffect39(() => {
18549
18488
  onInitialMessageSentRef.current = onInitialMessageSent;
18550
18489
  }, [onInitialMessageSent]);
@@ -18617,12 +18556,12 @@ var Chating = ({
18617
18556
  onInitialMessageSent
18618
18557
  }) => {
18619
18558
  const [content, setContent] = useState53("");
18620
- const contentRef = useRef26(content);
18559
+ const contentRef = useRef25(content);
18621
18560
  contentRef.current = content;
18622
18561
  const [attachedFiles, setAttachedFiles] = useState53([]);
18623
18562
  const { styles } = useStyle9();
18624
18563
  const [headerOpen, setHeaderOpen] = useState53(false);
18625
- const attachmentsRef = useRef26(null);
18564
+ const attachmentsRef = useRef25(null);
18626
18565
  const senderRef = React43.useRef(null);
18627
18566
  const {
18628
18567
  assistantId,
@@ -18657,7 +18596,7 @@ var Chating = ({
18657
18596
  return () => clearInterval(interval);
18658
18597
  }, [isStreaming]);
18659
18598
  const conversationContext = useOptionalConversationContext();
18660
- const systemContextSentRef = useRef26(false);
18599
+ const systemContextSentRef = useRef25(false);
18661
18600
  useEffect39(() => {
18662
18601
  systemContextSentRef.current = false;
18663
18602
  }, [threadId]);
@@ -19025,7 +18964,7 @@ ${nextContent}`;
19025
18964
  }
19026
18965
  return items;
19027
18966
  }, [suggestionMode, skills, workspaceFiles, deferredFileQuery]);
19028
- const activeIndexRef = useRef26(0);
18967
+ const activeIndexRef = useRef25(0);
19029
18968
  useEffect39(() => {
19030
18969
  activeIndexRef.current = 0;
19031
18970
  }, [suggestionItems]);
@@ -20514,7 +20453,7 @@ var TaskBoard = ({
20514
20453
  };
20515
20454
 
20516
20455
  // src/components/GenUI/elements/Mailbox.tsx
20517
- import { useState as useState55, useMemo as useMemo16, useRef as useRef27, useEffect as useEffect41 } from "react";
20456
+ import { useState as useState55, useMemo as useMemo16, useRef as useRef26, useEffect as useEffect41 } from "react";
20518
20457
  import { jsx as jsx85, jsxs as jsxs59 } from "react/jsx-runtime";
20519
20458
  var useStyle16 = () => {
20520
20459
  return {
@@ -20801,7 +20740,7 @@ var TeamChat = ({ data }) => {
20801
20740
  const styles = useStyle16();
20802
20741
  const { teamName, currentUser, teammates, messages, onSendMessage } = data || {};
20803
20742
  const [inputValue, setInputValue] = useState55("");
20804
- const messagesEndRef = useRef27(null);
20743
+ const messagesEndRef = useRef26(null);
20805
20744
  const sortedMessages = useMemo16(() => {
20806
20745
  return [...messages || []].sort(
20807
20746
  (a, b) => new Date(a.timestamp).getTime() - new Date(b.timestamp).getTime()
@@ -21533,7 +21472,7 @@ import { Button as Button37, Typography as Typography40 } from "antd";
21533
21472
  import { ExpandOutlined } from "@ant-design/icons";
21534
21473
 
21535
21474
  // src/streaming-html/StreamingHTMLRenderer.tsx
21536
- import React48, { useEffect as useEffect42, useRef as useRef28, useCallback as useCallback32, useState as useState57 } from "react";
21475
+ import React48, { useEffect as useEffect42, useRef as useRef27, useCallback as useCallback32, useState as useState57 } from "react";
21537
21476
 
21538
21477
  // src/streaming-html/show-widget-css-generator.ts
21539
21478
  function generateShowWidgetCSS(tokens) {
@@ -22224,14 +22163,14 @@ var StreamingHTMLRenderer = ({
22224
22163
  title = "Streaming HTML Content",
22225
22164
  loadingMessages
22226
22165
  }) => {
22227
- const iframeRef = useRef28(null);
22228
- const containerRef = useRef28(null);
22229
- const resizeObserverRef = useRef28(null);
22230
- const prevHTMLRef = useRef28("");
22231
- const isReadyRef = useRef28(false);
22232
- const pendingChunksRef = useRef28([]);
22233
- const isCompleteRef = useRef28(isComplete);
22234
- const isScriptExecuted = useRef28(false);
22166
+ const iframeRef = useRef27(null);
22167
+ const containerRef = useRef27(null);
22168
+ const resizeObserverRef = useRef27(null);
22169
+ const prevHTMLRef = useRef27("");
22170
+ const isReadyRef = useRef27(false);
22171
+ const pendingChunksRef = useRef27([]);
22172
+ const isCompleteRef = useRef27(isComplete);
22173
+ const isScriptExecuted = useRef27(false);
22235
22174
  const [iframeHeight, setIframeHeight] = React48.useState(0);
22236
22175
  const [iframeWidth, setIframeWidth] = React48.useState(void 0);
22237
22176
  const [currentMessageIndex, setCurrentMessageIndex] = useState57(0);
@@ -22682,10 +22621,10 @@ var SearchCollectionResult = ({
22682
22621
  // src/components/GenUI/elements/builtIns.tsx
22683
22622
  import { jsx as jsx92 } from "react/jsx-runtime";
22684
22623
  var TasksSideApp = lazy(
22685
- () => import("./TasksSideApp-37YKH7HV.mjs").then((m) => ({ default: m.TasksSideApp }))
22624
+ () => import("./TasksSideApp-IN46CQ4D.mjs").then((m) => ({ default: m.TasksSideApp }))
22686
22625
  );
22687
22626
  var TeamWorkspace = lazy(
22688
- () => import("./TeamWorkspace-EAFZU3KS.mjs").then((m) => ({ default: m.TeamWorkspace }))
22627
+ () => import("./TeamWorkspace-IH6F5QYO.mjs").then((m) => ({ default: m.TeamWorkspace }))
22689
22628
  );
22690
22629
  var elements = {
22691
22630
  action_show_attachments_uploader: {
@@ -23003,7 +22942,7 @@ var LazyReactInfographic = lazy2(
23003
22942
  () => import("./ReactInfographic-ONUZIC7W.mjs").then((m) => ({ default: m.ReactInfographic }))
23004
22943
  );
23005
22944
  var LazyReactChart = lazy2(
23006
- () => import("./ReactChart-NDLIHCJJ.mjs").then((m) => ({ default: m.ReactChart }))
22945
+ () => import("./ReactChart-INAST7XW.mjs").then((m) => ({ default: m.ReactChart }))
23007
22946
  );
23008
22947
  function BlockLoading() {
23009
22948
  return /* @__PURE__ */ jsx94(
@@ -23822,4 +23761,4 @@ export {
23822
23761
  http://jedwatson.github.io/classnames
23823
23762
  *)
23824
23763
  */
23825
- //# sourceMappingURL=chunk-EWLXRAWY.mjs.map
23764
+ //# sourceMappingURL=chunk-PBKPYK27.mjs.map