@axiom-lattice/react-sdk 2.1.84 → 2.1.85

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/dist/index.js CHANGED
@@ -4072,7 +4072,7 @@ function useUsers(options) {
4072
4072
  __reExport(index_exports, require("@axiom-lattice/protocols"), module.exports);
4073
4073
 
4074
4074
  // src/components/Chat/LatticeChat.tsx
4075
- var import_lucide_react31 = require("lucide-react");
4075
+ var import_lucide_react32 = require("lucide-react");
4076
4076
 
4077
4077
  // src/components/Chat/ChatUIContext.tsx
4078
4078
  var import_react20 = require("react");
@@ -4204,6 +4204,9 @@ var useChatUIContext = () => {
4204
4204
  // src/components/Chat/LatticeChat.tsx
4205
4205
  var import_antd_style38 = require("antd-style");
4206
4206
 
4207
+ // src/components/Chat/ColumnLayout.tsx
4208
+ var import_lucide_react4 = require("lucide-react");
4209
+
4207
4210
  // src/components/Chat/useStyle.tsx
4208
4211
  var import_antd_style2 = require("antd-style");
4209
4212
  var useStyle = (0, import_antd_style2.createStyles)(({ token, css }) => {
@@ -4287,15 +4290,18 @@ var useStyle = (0, import_antd_style2.createStyles)(({ token, css }) => {
4287
4290
  bottom: 0;
4288
4291
  z-index: 100;
4289
4292
  background: ${token.colorBgLayout};
4290
- border-right: 1px solid ${token.colorBorder};
4291
4293
  box-shadow: ${token.boxShadow};
4292
4294
  width: 0;
4293
4295
 
4294
4296
  &.expanded {
4295
- width: 240px;
4297
+ width: 280px;
4298
+ border-right: 1px solid ${token.colorBorder};
4296
4299
  }
4297
4300
  }
4298
4301
  `,
4302
+ menuSnap: css`
4303
+ transition: none !important;
4304
+ `,
4299
4305
  menuToggle: css`
4300
4306
  position: relative;
4301
4307
  bottom: 20px;
@@ -4374,6 +4380,46 @@ var useStyle = (0, import_antd_style2.createStyles)(({ token, css }) => {
4374
4380
  gap: 8px;
4375
4381
  }
4376
4382
  `,
4383
+ mobileMenuToggle: css`
4384
+ display: flex;
4385
+ align-items: center;
4386
+ justify-content: center;
4387
+ width: 32px;
4388
+ height: 32px;
4389
+ border-radius: ${token.borderRadius}px;
4390
+ border: 1px solid ${token.colorBorder};
4391
+ background: ${token.colorBgContainer};
4392
+ color: ${token.colorTextSecondary};
4393
+ cursor: pointer;
4394
+ transition: all 0.2s ease;
4395
+
4396
+ &:hover {
4397
+ background: ${token.colorPrimaryBg};
4398
+ color: ${token.colorPrimary};
4399
+ }
4400
+ `,
4401
+ mobilePanelClose: css`
4402
+ position: absolute;
4403
+ top: 12px;
4404
+ right: 12px;
4405
+ z-index: 5;
4406
+ display: flex;
4407
+ align-items: center;
4408
+ justify-content: center;
4409
+ width: 36px;
4410
+ height: 36px;
4411
+ border-radius: ${token.borderRadius}px;
4412
+ border: none;
4413
+ background: rgba(0, 0, 0, 0.06);
4414
+ color: ${token.colorTextSecondary};
4415
+ cursor: pointer;
4416
+ transition: all 0.2s ease;
4417
+
4418
+ &:hover {
4419
+ background: rgba(0, 0, 0, 0.12);
4420
+ color: ${token.colorText};
4421
+ }
4422
+ `,
4377
4423
  chat: css`
4378
4424
  width: 100%;
4379
4425
  max-width: 1400px;
@@ -5105,20 +5151,35 @@ var ColumnLayout = ({
5105
5151
  toolsVisible,
5106
5152
  toolSelectedCard,
5107
5153
  contentAppSelectedCard,
5108
- menuCollapsed
5154
+ menuCollapsed,
5155
+ setMenuCollapsed,
5156
+ closeDetail,
5157
+ closeTools
5109
5158
  } = useChatUIContext();
5110
5159
  const isMobile = useMediaQuery("(max-width: 768px)");
5111
5160
  const isMenuCollapsed = menuCollapsed ?? (isMobile || detailVisible);
5161
+ const isAutoCollapsed = detailVisible && !isMobile;
5112
5162
  const menuStateClass = isMenuCollapsed ? "collapsed" : "expanded";
5113
5163
  const hasSidePanelsOpen = detailVisible || toolsVisible;
5114
5164
  const resolvedDetailSize = toolsVisible && (detailSize || "large") === "large" ? "middle" : detailSize || "large";
5115
5165
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: `fina_chat ${styles.layout}`, children: [
5116
- menu && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: `${styles.menu} ${menuStateClass}`, children: [
5166
+ menu && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: `${styles.menu} ${menuStateClass} ${isAutoCollapsed ? styles.menuSnap : ""}`, children: [
5117
5167
  logo,
5118
5168
  menu
5119
5169
  ] }),
5120
5170
  /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: styles.contentArea, children: [
5121
- header && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: styles.header, children: header }),
5171
+ (header || isMobile) && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: styles.header, children: [
5172
+ isMobile && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
5173
+ "button",
5174
+ {
5175
+ className: styles.mobileMenuToggle,
5176
+ onClick: () => setMenuCollapsed(!isMenuCollapsed),
5177
+ "aria-label": "Toggle menu",
5178
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react4.PanelLeft, { size: 18 })
5179
+ }
5180
+ ),
5181
+ header
5182
+ ] }),
5122
5183
  /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
5123
5184
  "div",
5124
5185
  {
@@ -5126,14 +5187,36 @@ var ColumnLayout = ({
5126
5187
  style: { gap: hasSidePanelsOpen ? void 0 : 0 },
5127
5188
  children: [
5128
5189
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: `${styles.mainContent} ${hasSidePanelsOpen ? "open" : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: `${styles.chat} ${contentAppSelectedCard ? "full_content_width" : ""}`, children: main }) }),
5129
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
5190
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
5130
5191
  "div",
5131
5192
  {
5132
5193
  className: `${styles.detailPanel} ${detailVisible ? `open ${resolvedDetailSize}` : ""}`,
5133
- children: detailVisible && detailSelectedCard && detail ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: styles.detailContent, children: detail }) : null
5194
+ children: [
5195
+ detailVisible && isMobile && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
5196
+ "button",
5197
+ {
5198
+ className: styles.mobilePanelClose,
5199
+ onClick: closeDetail,
5200
+ "aria-label": "Close detail panel",
5201
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react4.X, { size: 20 })
5202
+ }
5203
+ ),
5204
+ detailVisible && detailSelectedCard && detail ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: styles.detailContent, children: detail }) : null
5205
+ ]
5134
5206
  }
5135
5207
  ),
5136
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: `${styles.toolPanel} ${toolsVisible ? "open" : ""}`, children: toolsVisible && tools ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: styles.detailContent, children: tools }) : null })
5208
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: `${styles.toolPanel} ${toolsVisible ? "open" : ""}`, children: [
5209
+ toolsVisible && isMobile && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
5210
+ "button",
5211
+ {
5212
+ className: styles.mobilePanelClose,
5213
+ onClick: closeTools,
5214
+ "aria-label": "Close tool panel",
5215
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react4.X, { size: 20 })
5216
+ }
5217
+ ),
5218
+ toolsVisible && tools ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: styles.detailContent, children: tools }) : null
5219
+ ] })
5137
5220
  ]
5138
5221
  }
5139
5222
  )
@@ -9104,7 +9187,7 @@ ${JSON.stringify(tool_call)}
9104
9187
  // src/components/Chat/Chating.tsx
9105
9188
  var import_antd71 = require("antd");
9106
9189
  var import_react82 = __toESM(require("react"));
9107
- var import_lucide_react20 = require("lucide-react");
9190
+ var import_lucide_react21 = require("lucide-react");
9108
9191
 
9109
9192
  // src/components/GenUI/HITLContainer.tsx
9110
9193
  var import_antd26 = require("antd");
@@ -10161,13 +10244,13 @@ var import_client_sdk6 = require("@axiom-lattice/client-sdk");
10161
10244
 
10162
10245
  // src/components/Chat/WorkspaceResourceManager.tsx
10163
10246
  var import_react73 = require("react");
10164
- var import_lucide_react14 = require("lucide-react");
10247
+ var import_lucide_react15 = require("lucide-react");
10165
10248
  var import_antd63 = require("antd");
10166
10249
 
10167
10250
  // src/components/Chat/Menu.tsx
10168
10251
  var import_react43 = __toESM(require("react"));
10169
10252
  var import_antd36 = require("antd");
10170
- var import_lucide_react4 = require("lucide-react");
10253
+ var import_lucide_react5 = require("lucide-react");
10171
10254
  var import_antd_style16 = require("antd-style");
10172
10255
  var import_jsx_runtime56 = require("react/jsx-runtime");
10173
10256
  var DRAWER_STYLES = {
@@ -10279,6 +10362,11 @@ var Menu = ({
10279
10362
  const isControlled = collapsed !== void 0;
10280
10363
  const [internalIsIconView, setInternalIsIconView] = (0, import_react43.useState)(!defaultExpanded);
10281
10364
  const isIconView = isControlled ? collapsed : internalIsIconView;
10365
+ (0, import_react43.useEffect)(() => {
10366
+ if (!isControlled) {
10367
+ onCollapsedChange?.(isIconView);
10368
+ }
10369
+ }, []);
10282
10370
  const [drawerStates, setDrawerStates] = (0, import_react43.useState)({});
10283
10371
  const [expandedInlineDrawers, setExpandedInlineDrawers] = (0, import_react43.useState)(
10284
10372
  () => {
@@ -10331,7 +10419,7 @@ var Menu = ({
10331
10419
  }
10332
10420
  }, [forceIconMode, isIconView, isControlled, onCollapsedChange]);
10333
10421
  const renderIconMode = () => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: `${menuStyles.sidebar} ${styles.iconMode} ${className || ""}`, style, children: [
10334
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: styles.iconModeLogo, children: logo || logoIcon || /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react4.Cpu, { size: 28, color: "#1677ff" }) }),
10422
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: styles.iconModeLogo, children: logo || logoIcon || /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react5.Cpu, { size: 28, color: "#1677ff" }) }),
10335
10423
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: styles.iconModeContainer, children: groupedItems.map(({ group, items: items2 }, groupIndex) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_react43.default.Fragment, { children: [
10336
10424
  groupIndex > 0 && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: styles.iconModeDivider }),
10337
10425
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: styles.iconModeGroup, children: items2.map((item) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
@@ -10354,14 +10442,14 @@ var Menu = ({
10354
10442
  title: "Expand sidebar",
10355
10443
  "aria-label": "Expand sidebar",
10356
10444
  style: { marginTop: "auto" },
10357
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react4.ChevronRight, { size: 22 }) })
10445
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react5.ChevronRight, { size: 22 }) })
10358
10446
  }
10359
10447
  ),
10360
10448
  footer && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { style: { marginTop: "auto", paddingTop: 8 }, children: typeof footer === "function" ? footer({ isIconMode: shouldShowIconMode }) : footer })
10361
10449
  ] });
10362
10450
  const renderExpandedMode = () => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: `${menuStyles.sidebar} ${styles.expandedMenu} ${className || ""}`, style, children: [
10363
10451
  /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: `${styles.expandedMenuLogo} ${isCollapsed ? "collapsed" : ""}`, children: [
10364
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "logo-icon", children: logo || logoIcon || /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react4.Cpu, { size: 28, color: "#1677ff" }) }),
10452
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "logo-icon", children: logo || logoIcon || /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react5.Cpu, { size: 28, color: "#1677ff" }) }),
10365
10453
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "logo-text", children: logoText }),
10366
10454
  showToggle && !forceIconMode && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
10367
10455
  "button",
@@ -10370,12 +10458,12 @@ var Menu = ({
10370
10458
  onClick: handleToggleExpand,
10371
10459
  title: "Collapse sidebar",
10372
10460
  "aria-label": "Collapse sidebar",
10373
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react4.PanelLeftClose, { size: 18 })
10461
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react5.PanelLeftClose, { size: 18 })
10374
10462
  }
10375
10463
  )
10376
10464
  ] }),
10377
10465
  showNewAnalysis && /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("button", { className: `${styles.newAnalysisBtn} ${isCollapsed ? "collapsed" : ""}`, onClick: onNewAnalysis, children: [
10378
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react4.Plus, { size: 18 }),
10466
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react5.Plus, { size: 18 }),
10379
10467
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "btn-text", children: "New Analysis" })
10380
10468
  ] }),
10381
10469
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: styles.buttonContainerExpanded, children: groupedItems.map(({ group, items: items2 }) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: styles.menuGroup, children: [
@@ -10395,7 +10483,7 @@ var Menu = ({
10395
10483
  children: [
10396
10484
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "menu-icon", children: item.icon }),
10397
10485
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "menu-label", children: item.name }),
10398
- isInline && !isCollapsed && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: styles.inlineDrawerIndicator, children: isExpanded2 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react4.ChevronDown, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react4.ChevronRight, { size: 16 }) })
10486
+ isInline && !isCollapsed && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: styles.inlineDrawerIndicator, children: isExpanded2 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react5.ChevronDown, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react5.ChevronRight, { size: 16 }) })
10399
10487
  ]
10400
10488
  }
10401
10489
  ),
@@ -10447,7 +10535,7 @@ var Menu = ({
10447
10535
  background: "rgba(255, 255, 255, 0.5)",
10448
10536
  cursor: "pointer"
10449
10537
  },
10450
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react4.PanelLeftClose, { size: 24 })
10538
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_lucide_react5.PanelLeftClose, { size: 24 })
10451
10539
  }
10452
10540
  )
10453
10541
  ]
@@ -10483,7 +10571,7 @@ var Menu = ({
10483
10571
  var import_react45 = require("react");
10484
10572
  var import_antd38 = require("antd");
10485
10573
  var import_antd_style17 = require("antd-style");
10486
- var import_lucide_react5 = require("lucide-react");
10574
+ var import_lucide_react6 = require("lucide-react");
10487
10575
 
10488
10576
  // src/components/Chat/CreateProjectModal.tsx
10489
10577
  var import_react44 = require("react");
@@ -10895,7 +10983,7 @@ var ProjectCardList = () => {
10895
10983
  {
10896
10984
  className: `${styles.viewToggleButton} ${viewMode === "grid" ? "active" : ""}`,
10897
10985
  onClick: () => setViewMode("grid"),
10898
- children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react5.LayoutGrid, { size: 16 })
10986
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react6.LayoutGrid, { size: 16 })
10899
10987
  }
10900
10988
  ),
10901
10989
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
@@ -10903,12 +10991,12 @@ var ProjectCardList = () => {
10903
10991
  {
10904
10992
  className: `${styles.viewToggleButton} ${viewMode === "list" ? "active" : ""}`,
10905
10993
  onClick: () => setViewMode("list"),
10906
- children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react5.List, { size: 16 })
10994
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react6.List, { size: 16 })
10907
10995
  }
10908
10996
  )
10909
10997
  ] }),
10910
10998
  /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("button", { className: styles.createButton, onClick: () => setIsCreateModalOpen(true), children: [
10911
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react5.Plus, { size: 16 }),
10999
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react6.Plus, { size: 16 }),
10912
11000
  "New Project"
10913
11001
  ] })
10914
11002
  ] })
@@ -10916,7 +11004,7 @@ var ProjectCardList = () => {
10916
11004
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: styles.content, children: projects.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: styles.emptyContainer, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
10917
11005
  import_antd38.Empty,
10918
11006
  {
10919
- image: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: styles.emptyIcon, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react5.FolderOpen, { size: 32, style: { color: token.colorTextTertiary } }) }),
11007
+ image: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: styles.emptyIcon, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react6.FolderOpen, { size: 32, style: { color: token.colorTextTertiary } }) }),
10920
11008
  description: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { style: { textAlign: "center" }, children: [
10921
11009
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: styles.emptyTitle, children: "No projects yet" }),
10922
11010
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: styles.emptyDescription, children: "Create your first project to get started" }),
@@ -10924,7 +11012,7 @@ var ProjectCardList = () => {
10924
11012
  import_antd38.Button,
10925
11013
  {
10926
11014
  type: "primary",
10927
- icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react5.Plus, { size: 16 }),
11015
+ icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react6.Plus, { size: 16 }),
10928
11016
  onClick: () => setIsCreateModalOpen(true),
10929
11017
  style: {
10930
11018
  height: 36,
@@ -10941,7 +11029,7 @@ var ProjectCardList = () => {
10941
11029
  }
10942
11030
  ) }) : viewMode === "grid" ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: styles.grid, children: [
10943
11031
  /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: styles.createCard, onClick: () => setIsCreateModalOpen(true), children: [
10944
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: styles.createIconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react5.Plus, { size: 24, style: { color: token.colorTextSecondary } }) }),
11032
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: styles.createIconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react6.Plus, { size: 24, style: { color: token.colorTextSecondary } }) }),
10945
11033
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: styles.createText, children: "New Project" })
10946
11034
  ] }),
10947
11035
  projects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
@@ -10966,7 +11054,7 @@ var ProjectCardList = () => {
10966
11054
  ))
10967
11055
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: styles.list, children: [
10968
11056
  /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: styles.createCardList, onClick: () => setIsCreateModalOpen(true), children: [
10969
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: styles.createIconWrapperList, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react5.Plus, { size: 20, style: { color: token.colorTextSecondary } }) }),
11057
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: styles.createIconWrapperList, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_lucide_react6.Plus, { size: 20, style: { color: token.colorTextSecondary } }) }),
10970
11058
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: styles.createText, children: "New Project" })
10971
11059
  ] }),
10972
11060
  projects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: styles.listItem, onClick: () => handleSelectProject(project), children: [
@@ -10993,7 +11081,7 @@ var ProjectCardList = () => {
10993
11081
 
10994
11082
  // src/components/Chat/MetricsConfigDrawerContent.tsx
10995
11083
  var import_react46 = require("react");
10996
- var import_lucide_react6 = require("lucide-react");
11084
+ var import_lucide_react7 = require("lucide-react");
10997
11085
  var import_antd39 = require("antd");
10998
11086
  var import_jsx_runtime59 = require("react/jsx-runtime");
10999
11087
  var { Text: Text14, Title: Title2 } = import_antd39.Typography;
@@ -11098,10 +11186,10 @@ var MetricsConfigDrawerContent = () => {
11098
11186
  return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { style: { height: "100%", display: "flex", flexDirection: "column", overflow: "hidden" }, children: [
11099
11187
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { style: { padding: 16 }, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
11100
11188
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Title2, { level: 5, style: { margin: 0 }, children: "Metrics Server Connections" }),
11101
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_antd39.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.Plus, { size: 16 }), onClick: handleAddNew, children: "Add Connection" })
11189
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_antd39.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.Plus, { size: 16 }), onClick: handleAddNew, children: "Add Connection" })
11102
11190
  ] }) }),
11103
11191
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { style: { flex: 1, overflowY: "auto", padding: 16 }, children: configs.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { style: { display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", padding: "48px 16px" }, children: [
11104
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.Activity, { size: 48, style: { marginBottom: 16, opacity: 0.5 } }),
11192
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.Activity, { size: 48, style: { marginBottom: 16, opacity: 0.5 } }),
11105
11193
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Text14, { strong: true, style: { fontSize: 15 }, children: "No metrics configurations" }),
11106
11194
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Text14, { type: "secondary", style: { marginTop: 8 }, children: 'Click "Add Connection" to create one' })
11107
11195
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: configs.map((configItem) => /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_antd39.Card, { size: "small", children: [
@@ -11131,7 +11219,7 @@ var MetricsConfigDrawerContent = () => {
11131
11219
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
11132
11220
  import_antd39.Button,
11133
11221
  {
11134
- icon: testingId === configItem.id ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.Loader2, { size: 14, className: "spin" }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.TestTube2, { size: 14 }),
11222
+ icon: testingId === configItem.id ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.Loader2, { size: 14, className: "spin" }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.TestTube2, { size: 14 }),
11135
11223
  onClick: (e) => {
11136
11224
  e.stopPropagation();
11137
11225
  handleTestConnection(configItem);
@@ -11144,7 +11232,7 @@ var MetricsConfigDrawerContent = () => {
11144
11232
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
11145
11233
  import_antd39.Button,
11146
11234
  {
11147
- icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.Edit2, { size: 14 }),
11235
+ icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.Edit2, { size: 14 }),
11148
11236
  onClick: (e) => {
11149
11237
  e.stopPropagation();
11150
11238
  handleEdit(configItem);
@@ -11171,7 +11259,7 @@ var MetricsConfigDrawerContent = () => {
11171
11259
  import_antd39.Button,
11172
11260
  {
11173
11261
  danger: true,
11174
- icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.Trash2, { size: 14 }),
11262
+ icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.Trash2, { size: 14 }),
11175
11263
  onClick: (e) => e.stopPropagation(),
11176
11264
  children: "Delete"
11177
11265
  }
@@ -11230,11 +11318,11 @@ var MetricsConfigFormModal = ({
11230
11318
  const steps = [
11231
11319
  {
11232
11320
  title: "Basic Info",
11233
- icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.Settings, { size: 16 })
11321
+ icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.Settings, { size: 16 })
11234
11322
  },
11235
11323
  {
11236
11324
  title: "Select Data Sources",
11237
- icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.Database, { size: 16 })
11325
+ icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.Database, { size: 16 })
11238
11326
  }
11239
11327
  ];
11240
11328
  const resetForm = () => {
@@ -11601,7 +11689,7 @@ var MetricsConfigFormModal = ({
11601
11689
  alignItems: "center",
11602
11690
  justifyContent: "center"
11603
11691
  }, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { style: { textAlign: "center" }, children: [
11604
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.Database, { size: 48, style: { opacity: 0.3, marginBottom: 16 } }),
11692
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.Database, { size: 48, style: { opacity: 0.3, marginBottom: 16 } }),
11605
11693
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Text14, { type: "secondary", children: "Click a data source on the left to view its metrics" })
11606
11694
  ] }) }) })
11607
11695
  ] });
@@ -11640,14 +11728,14 @@ var MetricsConfigFormModal = ({
11640
11728
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { style: { padding: "24px 0", minHeight: 300 }, children: renderStepContent() }),
11641
11729
  /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { style: { display: "flex", justifyContent: "flex-end", gap: 12, paddingTop: 16, marginTop: 24 }, children: [
11642
11730
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_antd39.Button, { onClick: onCancel, children: "Cancel" }),
11643
- currentStep > 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_antd39.Button, { icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.ChevronLeft, { size: 16 }), onClick: handlePrev, children: "Previous" }),
11731
+ currentStep > 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_antd39.Button, { icon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.ChevronLeft, { size: 16 }), onClick: handlePrev, children: "Previous" }),
11644
11732
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
11645
11733
  import_antd39.Button,
11646
11734
  {
11647
11735
  type: "primary",
11648
11736
  onClick: handleNext,
11649
11737
  disabled: !canProceedToNextStep() || saving || fetchingDatasources || fetchingMetrics,
11650
- icon: currentStep === 1 ? saving ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.Loader2, { size: 16, className: "spin" }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.Check, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react6.ChevronRight, { size: 16 }),
11738
+ icon: currentStep === 1 ? saving ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.Loader2, { size: 16, className: "spin" }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.Check, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_lucide_react7.ChevronRight, { size: 16 }),
11651
11739
  children: currentStep === 1 ? saving ? "Saving..." : editingConfig ? "Save Changes" : "Create" : "Next"
11652
11740
  }
11653
11741
  )
@@ -11660,7 +11748,7 @@ var MetricsConfigFormModal = ({
11660
11748
  // src/components/Chat/DatabaseConfigDrawerContent.tsx
11661
11749
  var import_react47 = require("react");
11662
11750
  var import_antd_style18 = require("antd-style");
11663
- var import_lucide_react7 = require("lucide-react");
11751
+ var import_lucide_react8 = require("lucide-react");
11664
11752
  var import_antd40 = require("antd");
11665
11753
  var import_jsx_runtime60 = require("react/jsx-runtime");
11666
11754
  var { Text: Text15 } = import_antd40.Typography;
@@ -11831,10 +11919,10 @@ var DatabaseConfigDrawerContent = ({
11831
11919
  return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: styles.container, children: [
11832
11920
  /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: styles.header, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: styles.headerContent, children: [
11833
11921
  /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: styles.title, children: "Database Connections" }),
11834
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_antd40.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react7.Plus, { size: 16 }), onClick: handleAddNew, children: "Add Connection" })
11922
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_antd40.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react8.Plus, { size: 16 }), onClick: handleAddNew, children: "Add Connection" })
11835
11923
  ] }) }),
11836
11924
  /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: styles.content, children: configs.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: styles.emptyState, children: [
11837
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: styles.emptyIcon, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react7.Database, { size: 32 }) }),
11925
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: styles.emptyIcon, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react8.Database, { size: 32 }) }),
11838
11926
  /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: styles.emptyText, children: "No database configurations" }),
11839
11927
  /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: styles.emptySubtext, children: 'Click "Add Connection" to create one' })
11840
11928
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: styles.configList, children: configs.map((configItem) => /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_antd40.Card, { size: "small", children: [
@@ -11865,7 +11953,7 @@ var DatabaseConfigDrawerContent = ({
11865
11953
  import_antd40.Button,
11866
11954
  {
11867
11955
  size: "small",
11868
- icon: testingId === configItem.id ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react7.Loader2, { size: 14, style: { animation: "spin 1s linear infinite" } }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react7.TestTube2, { size: 14 }),
11956
+ icon: testingId === configItem.id ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react8.Loader2, { size: 14, style: { animation: "spin 1s linear infinite" } }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react8.TestTube2, { size: 14 }),
11869
11957
  onClick: (e) => {
11870
11958
  e.stopPropagation();
11871
11959
  console.log("Test button clicked for:", configItem.key);
@@ -11880,7 +11968,7 @@ var DatabaseConfigDrawerContent = ({
11880
11968
  import_antd40.Button,
11881
11969
  {
11882
11970
  size: "small",
11883
- icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react7.Edit2, { size: 14 }),
11971
+ icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react8.Edit2, { size: 14 }),
11884
11972
  onClick: (e) => {
11885
11973
  e.stopPropagation();
11886
11974
  handleEdit(configItem);
@@ -11908,7 +11996,7 @@ var DatabaseConfigDrawerContent = ({
11908
11996
  import_antd40.Button,
11909
11997
  {
11910
11998
  size: "small",
11911
- icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react7.Trash2, { size: 14 }),
11999
+ icon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react8.Trash2, { size: 14 }),
11912
12000
  danger: true,
11913
12001
  onClick: (e) => e.stopPropagation(),
11914
12002
  children: "Delete"
@@ -12171,7 +12259,7 @@ var DatabaseConfigFormModal = ({
12171
12259
 
12172
12260
  // src/components/Chat/McpConfigDrawerContent.tsx
12173
12261
  var import_react48 = require("react");
12174
- var import_lucide_react8 = require("lucide-react");
12262
+ var import_lucide_react9 = require("lucide-react");
12175
12263
  var import_antd41 = require("antd");
12176
12264
  var import_jsx_runtime61 = require("react/jsx-runtime");
12177
12265
  var { Text: Text16, Title: Title3 } = import_antd41.Typography;
@@ -12262,13 +12350,13 @@ var McpConfigDrawerContent = ({
12262
12350
  const getTransportIcon = (transport) => {
12263
12351
  switch (transport) {
12264
12352
  case "stdio":
12265
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Terminal, { size: 16 });
12353
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Terminal, { size: 16 });
12266
12354
  case "streamable_http":
12267
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Globe, { size: 16 });
12355
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Globe, { size: 16 });
12268
12356
  case "sse":
12269
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Server, { size: 16 });
12357
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Server, { size: 16 });
12270
12358
  default:
12271
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Plug, { size: 16 });
12359
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Plug, { size: 16 });
12272
12360
  }
12273
12361
  };
12274
12362
  const getStatusColor2 = (status) => {
@@ -12286,10 +12374,10 @@ var McpConfigDrawerContent = ({
12286
12374
  return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { style: { height: "100%", display: "flex", flexDirection: "column", overflow: "hidden" }, children: [
12287
12375
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { style: { padding: 16 }, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
12288
12376
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Title3, { level: 5, style: { margin: 0 }, children: "MCP Server Connections" }),
12289
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_antd41.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Plus, { size: 16 }), onClick: handleAddNew, children: "Add Connection" })
12377
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_antd41.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Plus, { size: 16 }), onClick: handleAddNew, children: "Add Connection" })
12290
12378
  ] }) }),
12291
12379
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { style: { flex: 1, overflowY: "auto", padding: 16 }, children: configs.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { style: { display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", padding: "48px 16px" }, children: [
12292
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Plug, { size: 48, style: { marginBottom: 16, opacity: 0.5 } }),
12380
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Plug, { size: 48, style: { marginBottom: 16, opacity: 0.5 } }),
12293
12381
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Text16, { strong: true, style: { fontSize: 15 }, children: "No MCP server configurations" }),
12294
12382
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Text16, { type: "secondary", style: { marginTop: 8 }, children: 'Click "Add Connection" to create one' })
12295
12383
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { style: { display: "flex", flexDirection: "column", gap: 12 }, children: configs.map((configItem) => /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_antd41.Card, { size: "small", children: [
@@ -12325,7 +12413,7 @@ var McpConfigDrawerContent = ({
12325
12413
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
12326
12414
  import_antd41.Button,
12327
12415
  {
12328
- icon: testingId === configItem.id ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Loader2, { size: 14, className: "spin" }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.TestTube2, { size: 14 }),
12416
+ icon: testingId === configItem.id ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Loader2, { size: 14, className: "spin" }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.TestTube2, { size: 14 }),
12329
12417
  onClick: (e) => {
12330
12418
  e.stopPropagation();
12331
12419
  handleTestConnection(configItem);
@@ -12338,7 +12426,7 @@ var McpConfigDrawerContent = ({
12338
12426
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
12339
12427
  import_antd41.Button,
12340
12428
  {
12341
- icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Edit2, { size: 14 }),
12429
+ icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Edit2, { size: 14 }),
12342
12430
  onClick: (e) => {
12343
12431
  e.stopPropagation();
12344
12432
  handleEdit(configItem);
@@ -12365,7 +12453,7 @@ var McpConfigDrawerContent = ({
12365
12453
  import_antd41.Button,
12366
12454
  {
12367
12455
  danger: true,
12368
- icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Trash2, { size: 14 }),
12456
+ icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Trash2, { size: 14 }),
12369
12457
  onClick: (e) => e.stopPropagation(),
12370
12458
  children: "Delete"
12371
12459
  }
@@ -12423,11 +12511,11 @@ var McpConfigFormModal = ({
12423
12511
  const steps = [
12424
12512
  {
12425
12513
  title: "Connection",
12426
- icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Settings, { size: 16 })
12514
+ icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Settings, { size: 16 })
12427
12515
  },
12428
12516
  {
12429
12517
  title: "Select Tools",
12430
- icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Database, { size: 16 })
12518
+ icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Database, { size: 16 })
12431
12519
  }
12432
12520
  ];
12433
12521
  const resetForm = () => {
@@ -12785,14 +12873,14 @@ var McpConfigFormModal = ({
12785
12873
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { style: { padding: "24px 0", minHeight: 300 }, children: renderStepContent() }),
12786
12874
  /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { style: { display: "flex", justifyContent: "flex-end", gap: 12, paddingTop: 16, marginTop: 24 }, children: [
12787
12875
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_antd41.Button, { onClick: onCancel, children: "Cancel" }),
12788
- currentStep > 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_antd41.Button, { icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.ChevronLeft, { size: 16 }), onClick: handlePrev, children: "Previous" }),
12876
+ currentStep > 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_antd41.Button, { icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.ChevronLeft, { size: 16 }), onClick: handlePrev, children: "Previous" }),
12789
12877
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
12790
12878
  import_antd41.Button,
12791
12879
  {
12792
12880
  type: "primary",
12793
12881
  onClick: handleNext,
12794
12882
  disabled: !canProceedToNextStep() || saving || fetchingTools,
12795
- icon: currentStep === 1 ? saving ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Loader2, { size: 16, className: "spin" }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.Check, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react8.ChevronRight, { size: 16 }),
12883
+ icon: currentStep === 1 ? saving ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Loader2, { size: 16, className: "spin" }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.Check, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react9.ChevronRight, { size: 16 }),
12796
12884
  children: currentStep === 1 ? saving ? "Saving..." : editingConfig ? "Save Changes" : "Create" : "Next"
12797
12885
  }
12798
12886
  )
@@ -13596,7 +13684,7 @@ var AssistantNode_default = AssistantNode;
13596
13684
  var import_react51 = require("react");
13597
13685
  var import_antd43 = require("antd");
13598
13686
  var import_icons22 = require("@ant-design/icons");
13599
- var import_lucide_react9 = require("lucide-react");
13687
+ var import_lucide_react10 = require("lucide-react");
13600
13688
  var import_jsx_runtime63 = require("react/jsx-runtime");
13601
13689
  var { TextArea: TextArea4 } = import_antd43.Input;
13602
13690
  var { Text: Text18, Title: Title4 } = import_antd43.Typography;
@@ -14265,7 +14353,7 @@ var MiddlewareSectionCard = ({ middleware, middlewareType, onToggle, onConfigCha
14265
14353
  case "code_eval":
14266
14354
  return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_icons22.CodeOutlined, { style: { color: token.colorError } });
14267
14355
  case "metrics":
14268
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_lucide_react9.Activity, { size: 16, style: { color: token.colorWarning } });
14356
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_lucide_react10.Activity, { size: 16, style: { color: token.colorWarning } });
14269
14357
  case "topology":
14270
14358
  return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_icons22.ShareAltOutlined, { style: { color: token.colorPrimary } });
14271
14359
  default:
@@ -19866,12 +19954,12 @@ var TopologyInboxView = () => {
19866
19954
  var import_react72 = __toESM(require("react"));
19867
19955
  var import_antd_style22 = require("antd-style");
19868
19956
  var import_antd62 = require("antd");
19869
- var import_lucide_react13 = require("lucide-react");
19957
+ var import_lucide_react14 = require("lucide-react");
19870
19958
 
19871
19959
  // src/components/Eval/EvalSuiteCardList.tsx
19872
19960
  var import_antd_style19 = require("antd-style");
19873
19961
  var import_antd59 = require("antd");
19874
- var import_lucide_react10 = require("lucide-react");
19962
+ var import_lucide_react11 = require("lucide-react");
19875
19963
  var import_jsx_runtime78 = require("react/jsx-runtime");
19876
19964
  var { Text: Text29 } = import_antd59.Typography;
19877
19965
  var useStyle9 = (0, import_antd_style19.createStyles)(({ token, css }) => ({
@@ -19948,7 +20036,7 @@ var EvalSuiteCardList = ({ projectId, onSelectSuite }) => {
19948
20036
  size: "small",
19949
20037
  onClick: () => onSelectSuite(projectId, s.id),
19950
20038
  children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: styles.inner, children: [
19951
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_lucide_react10.TestTube2, { size: 20, color: "#6366f1" }) }),
20039
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_lucide_react11.TestTube2, { size: 20, color: "#6366f1" }) }),
19952
20040
  /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: styles.header, children: [
19953
20041
  /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { children: [
19954
20042
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Text29, { className: styles.title, children: s.name }),
@@ -19963,12 +20051,12 @@ var EvalSuiteCardList = ({ projectId, onSelectSuite }) => {
19963
20051
  remove(projectId, s.id);
19964
20052
  },
19965
20053
  onCancel: (e) => e?.stopPropagation(),
19966
- children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { onClick: (e) => e.stopPropagation(), style: { cursor: "pointer" }, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_lucide_react10.Trash2, { size: 14, color: "#999" }) })
20054
+ children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { onClick: (e) => e.stopPropagation(), style: { cursor: "pointer" }, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_lucide_react11.Trash2, { size: 14, color: "#999" }) })
19967
20055
  }
19968
20056
  )
19969
20057
  ] }),
19970
20058
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: styles.meta, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: styles.metaItem, children: [
19971
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_lucide_react10.TestTube2, { size: 14 }),
20059
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_lucide_react11.TestTube2, { size: 14 }),
19972
20060
  /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { children: [
19973
20061
  s.caseCount ?? 0,
19974
20062
  " test cases"
@@ -19983,7 +20071,7 @@ var EvalSuiteCardList = ({ projectId, onSelectSuite }) => {
19983
20071
  var import_react70 = require("react");
19984
20072
  var import_antd_style20 = require("antd-style");
19985
20073
  var import_antd60 = require("antd");
19986
- var import_lucide_react11 = require("lucide-react");
20074
+ var import_lucide_react12 = require("lucide-react");
19987
20075
  var import_jsx_runtime79 = require("react/jsx-runtime");
19988
20076
  var { Text: Text30 } = import_antd60.Typography;
19989
20077
  var { TextArea: TextArea8 } = import_antd60.Input;
@@ -20113,19 +20201,19 @@ var EvalSuiteDetail = ({ projectId, suiteId, onBack, onRun }) => {
20113
20201
  };
20114
20202
  const columns = [
20115
20203
  {
20116
- title: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react11.MessageSquare, { size: 14 }),
20204
+ title: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react12.MessageSquare, { size: 14 }),
20117
20205
  key: "msg",
20118
20206
  render: (_, c) => {
20119
20207
  const rubricCount = c.rubrics?.length || 1;
20120
20208
  return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: styles.caseRow, children: [
20121
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: styles.caseIcon, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react11.FlaskConical, { size: 14, color: "#6366f1" }) }),
20209
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: styles.caseIcon, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react12.FlaskConical, { size: 14, color: "#6366f1" }) }),
20122
20210
  /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: styles.caseMeta, children: [
20123
20211
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: styles.caseTitle, children: c.contentAssertion || "Untitled case" }),
20124
20212
  /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: styles.caseSub, children: [
20125
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react11.Bot, { size: 11 }),
20213
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react12.Bot, { size: 11 }),
20126
20214
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { children: c.steps?.map((s) => s.agent_id).join(", ") || "\u2014" }),
20127
20215
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { children: "\xB7" }),
20128
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react11.MessageSquare, { size: 11 }),
20216
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react12.MessageSquare, { size: 11 }),
20129
20217
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { style: { maxWidth: 200, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: c.inputMessage || "\u2014" }),
20130
20218
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { children: "\xB7" }),
20131
20219
  /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { children: [
@@ -20142,7 +20230,7 @@ var EvalSuiteDetail = ({ projectId, suiteId, onBack, onRun }) => {
20142
20230
  title: "",
20143
20231
  key: "actions",
20144
20232
  width: 40,
20145
- render: (_, c) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Popconfirm, { title: "Delete?", onConfirm: () => removeCase(projectId, suiteId, c.id), children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Button, { type: "text", danger: true, size: "small", icon: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react11.Trash2, { size: 14 }) }) })
20233
+ render: (_, c) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Popconfirm, { title: "Delete?", onConfirm: () => removeCase(projectId, suiteId, c.id), children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Button, { type: "text", danger: true, size: "small", icon: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react12.Trash2, { size: 14 }) }) })
20146
20234
  }
20147
20235
  ];
20148
20236
  return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: styles.shell, children: [
@@ -20152,7 +20240,7 @@ var EvalSuiteDetail = ({ projectId, suiteId, onBack, onRun }) => {
20152
20240
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: styles.breadcrumbSep, children: "/" }),
20153
20241
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: styles.pageTitle, children: suite.name || "Suite" })
20154
20242
  ] }),
20155
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: styles.topRight, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react11.Play, { size: 16 }), onClick: async () => {
20243
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: styles.topRight, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react12.Play, { size: 16 }), onClick: async () => {
20156
20244
  const r = await start(projectId);
20157
20245
  if (r?.run_id) onRun(r.run_id);
20158
20246
  }, children: "Run All Cases" }) })
@@ -20164,12 +20252,12 @@ var EvalSuiteDetail = ({ projectId, suiteId, onBack, onRun }) => {
20164
20252
  cases.length,
20165
20253
  ")"
20166
20254
  ] }),
20167
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react11.Plus, { size: 16 }), onClick: () => {
20255
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react12.Plus, { size: 16 }), onClick: () => {
20168
20256
  loadAgents();
20169
20257
  setModalOpen(true);
20170
20258
  }, children: "Add Case" })
20171
20259
  ] }),
20172
- cases.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Empty, { description: "No test cases", style: { marginTop: 60 }, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react11.Plus, { size: 16 }), onClick: () => {
20260
+ cases.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Empty, { description: "No test cases", style: { marginTop: 60 }, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_lucide_react12.Plus, { size: 16 }), onClick: () => {
20173
20261
  loadAgents();
20174
20262
  setModalOpen(true);
20175
20263
  }, children: "Add First Case" }) }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Card, { className: styles.tableCard, styles: { body: { padding: 0 } }, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_antd60.Table, { dataSource: cases, rowKey: "id", columns, pagination: false, showHeader: false }) }),
@@ -20222,7 +20310,7 @@ var EvalSuiteDetail = ({ projectId, suiteId, onBack, onRun }) => {
20222
20310
  var import_react71 = require("react");
20223
20311
  var import_antd_style21 = require("antd-style");
20224
20312
  var import_antd61 = require("antd");
20225
- var import_lucide_react12 = require("lucide-react");
20313
+ var import_lucide_react13 = require("lucide-react");
20226
20314
  var import_jsx_runtime80 = require("react/jsx-runtime");
20227
20315
  var { Text: Text31 } = import_antd61.Typography;
20228
20316
  var useStyle11 = (0, import_antd_style21.createStyles)(({ token, css }) => ({
@@ -20341,7 +20429,7 @@ var EvalRunResults = ({ runId, onBack }) => {
20341
20429
  },
20342
20430
  okText: "Delete",
20343
20431
  okButtonProps: { danger: true },
20344
- children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_antd61.Button, { danger: true, icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react12.Trash2, { size: 16 }), children: "Delete Run" })
20432
+ children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_antd61.Button, { danger: true, icon: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react13.Trash2, { size: 16 }), children: "Delete Run" })
20345
20433
  }
20346
20434
  )
20347
20435
  ] }),
@@ -20441,7 +20529,7 @@ var EvalRunResults = ({ runId, onBack }) => {
20441
20529
  title: "",
20442
20530
  key: "pass",
20443
20531
  width: 40,
20444
- render: (_, r) => r.pass ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react12.CheckCircle, { size: 16, color: "#22c55e" }) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react12.XCircle, { size: 16, color: "#ef4444" })
20532
+ render: (_, r) => r.pass ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react13.CheckCircle, { size: 16, color: "#22c55e" }) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react13.XCircle, { size: 16, color: "#ef4444" })
20445
20533
  },
20446
20534
  { title: "Suite", dataIndex: "suiteName", key: "suite", width: 100 },
20447
20535
  {
@@ -20694,7 +20782,7 @@ var EvalPanel = () => {
20694
20782
  return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: styles.shell, children: [
20695
20783
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: styles.topBar, children: [
20696
20784
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: styles.topLeft, children: [
20697
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: styles.pageIcon, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.FlaskConical, { size: 20, color: token.colorPrimary }) }),
20785
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: styles.pageIcon, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.FlaskConical, { size: 20, color: token.colorPrimary }) }),
20698
20786
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: styles.pageTitle, children: "Evaluation Dashboard" })
20699
20787
  ] }),
20700
20788
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: styles.topRight, children: [
@@ -20717,11 +20805,11 @@ var EvalPanel = () => {
20717
20805
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { style: { lineHeight: 1.3 }, children: projects.find((p) => p.id === projectId)?.name || "Select Project" }),
20718
20806
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Text32, { type: "secondary", style: { fontSize: 11 }, children: projects.find((p) => p.id === projectId)?.targetServerConfig?.base_url || "" })
20719
20807
  ] }),
20720
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.ChevronDown, { size: 14 })
20808
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.ChevronDown, { size: 14 })
20721
20809
  ] })
20722
20810
  }
20723
20811
  ),
20724
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.Play, { size: 16 }), onClick: () => navTo("suites"), children: "Go to Suites" })
20812
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.Play, { size: 16 }), onClick: () => navTo("suites"), children: "Go to Suites" })
20725
20813
  ] })
20726
20814
  ] }),
20727
20815
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: styles.body, children: [
@@ -20729,7 +20817,7 @@ var EvalPanel = () => {
20729
20817
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Col, { span: 6, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
20730
20818
  StatBox,
20731
20819
  {
20732
- icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.FlaskConical, { size: 22, color: token.colorPrimary }),
20820
+ icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.FlaskConical, { size: 22, color: token.colorPrimary }),
20733
20821
  bg: `${token.colorPrimary}14`,
20734
20822
  label: "Test Suites",
20735
20823
  value: stats.suiteCount
@@ -20738,7 +20826,7 @@ var EvalPanel = () => {
20738
20826
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Col, { span: 6, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
20739
20827
  StatBox,
20740
20828
  {
20741
- icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.TestTube2, { size: 22, color: token.colorSuccess }),
20829
+ icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.TestTube2, { size: 22, color: token.colorSuccess }),
20742
20830
  bg: `${token.colorSuccess}14`,
20743
20831
  label: "Test Cases",
20744
20832
  value: stats.totalCases
@@ -20747,7 +20835,7 @@ var EvalPanel = () => {
20747
20835
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Col, { span: 6, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
20748
20836
  StatBox,
20749
20837
  {
20750
- icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.TrendingUp, { size: 22, color: token.colorInfo }),
20838
+ icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.TrendingUp, { size: 22, color: token.colorInfo }),
20751
20839
  bg: `${token.colorInfo}14`,
20752
20840
  label: "Total Runs",
20753
20841
  value: stats.runCount
@@ -20756,7 +20844,7 @@ var EvalPanel = () => {
20756
20844
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Col, { span: 6, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
20757
20845
  StatBox,
20758
20846
  {
20759
- icon: stats.passRate !== null && stats.passRate >= 80 ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.CheckCircle, { size: 22, color: token.colorSuccess }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.XCircle, { size: 22, color: token.colorWarning }),
20847
+ icon: stats.passRate !== null && stats.passRate >= 80 ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.CheckCircle, { size: 22, color: token.colorSuccess }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.XCircle, { size: 22, color: token.colorWarning }),
20760
20848
  bg: stats.passRate !== null ? `${token.colorSuccess}14` : `${token.colorFill}`,
20761
20849
  label: "Latest Pass Rate",
20762
20850
  value: stats.passRate !== null ? `${stats.passRate}%` : "N/A"
@@ -20766,19 +20854,19 @@ var EvalPanel = () => {
20766
20854
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: styles.section, children: [
20767
20855
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: styles.sectionHead, children: [
20768
20856
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("h3", { className: styles.sectionTitle, children: [
20769
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.FlaskConical, { size: 16 }),
20857
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.FlaskConical, { size: 16 }),
20770
20858
  "Evaluation Suites"
20771
20859
  ] }),
20772
20860
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_antd62.Button, { size: "small", type: "text", onClick: () => navTo("suites"), children: [
20773
20861
  "View All ",
20774
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.ArrowRight, { size: 14, style: { marginLeft: 4 } })
20862
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.ArrowRight, { size: 14, style: { marginLeft: 4 } })
20775
20863
  ] })
20776
20864
  ] }),
20777
20865
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(EvalSuiteCardList, { projectId, onSelectSuite: (_, sid) => navTo("suite", sid) })
20778
20866
  ] }),
20779
20867
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: styles.section, children: [
20780
20868
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: styles.sectionHead, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("h3", { className: styles.sectionTitle, children: [
20781
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.TrendingUp, { size: 16 }),
20869
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.TrendingUp, { size: 16 }),
20782
20870
  "Recent Runs"
20783
20871
  ] }) }),
20784
20872
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Card, { styles: { body: { padding: 0 } }, size: "small", children: runs.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { style: { padding: 40, textAlign: "center" }, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Text32, { type: "secondary", children: "No runs yet. Go to Suites to run your first evaluation." }) }) : runs.slice(0, 5).map((r) => {
@@ -20801,7 +20889,7 @@ var EvalPanel = () => {
20801
20889
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: styles.runRowLeft, children: [
20802
20890
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Text32, { code: true, style: { fontSize: 12, marginRight: 8 }, children: shortId }),
20803
20891
  createdAt && /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(Text32, { type: "secondary", style: { fontSize: 12, minWidth: 120 }, children: [
20804
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.Clock, { size: 11, style: { marginRight: 3, verticalAlign: "middle" } }),
20892
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.Clock, { size: 11, style: { marginRight: 3, verticalAlign: "middle" } }),
20805
20893
  fmtDate(createdAt)
20806
20894
  ] }),
20807
20895
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(Text32, { style: { fontSize: 13 }, children: [
@@ -20838,7 +20926,7 @@ var EvalPanel = () => {
20838
20926
  type: "text",
20839
20927
  size: "small",
20840
20928
  danger: true,
20841
- icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.Trash2, { size: 14 }),
20929
+ icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.Trash2, { size: 14 }),
20842
20930
  onClick: (e) => e.stopPropagation()
20843
20931
  }
20844
20932
  )
@@ -20869,8 +20957,8 @@ var EvalPanel = () => {
20869
20957
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { className: styles.pageTitle, children: "Test Suites" })
20870
20958
  ] }),
20871
20959
  /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: styles.topRight, children: [
20872
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Button, { icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.Play, { size: 16 }), onClick: () => setShowAdd(!showAdd), children: "New Suite" }),
20873
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react13.Play, { size: 16 }), onClick: async () => {
20960
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Button, { icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.Play, { size: 16 }), onClick: () => setShowAdd(!showAdd), children: "New Suite" }),
20961
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_antd62.Button, { type: "primary", icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_lucide_react14.Play, { size: 16 }), onClick: async () => {
20874
20962
  const r = await start(projectId);
20875
20963
  if (r?.run_id) navTo("run", void 0, r.run_id);
20876
20964
  }, children: "Run All" })
@@ -20927,7 +21015,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
20927
21015
  id: "workspace_projects",
20928
21016
  type: "route",
20929
21017
  name: "Projects",
20930
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.FolderOpen, { size: 20 }),
21018
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.FolderOpen, { size: 20 }),
20931
21019
  order: 0
20932
21020
  },
20933
21021
  {
@@ -20935,7 +21023,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
20935
21023
  builtin: "metrics",
20936
21024
  type: "route",
20937
21025
  name: "Metrics",
20938
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.Activity, { size: 20 }),
21026
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.Activity, { size: 20 }),
20939
21027
  order: 10,
20940
21028
  group: "DataSource"
20941
21029
  },
@@ -20944,7 +21032,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
20944
21032
  builtin: "database",
20945
21033
  type: "route",
20946
21034
  name: "Database",
20947
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.Database, { size: 20 }),
21035
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.Database, { size: 20 }),
20948
21036
  order: 20,
20949
21037
  group: "DataSource"
20950
21038
  },
@@ -20952,7 +21040,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
20952
21040
  id: "topology-automations",
20953
21041
  type: "route",
20954
21042
  name: "Automations",
20955
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.Share2, { size: 20 }),
21043
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.Share2, { size: 20 }),
20956
21044
  order: 25,
20957
21045
  group: "Process"
20958
21046
  },
@@ -20960,7 +21048,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
20960
21048
  id: "topology-runtimes",
20961
21049
  type: "route",
20962
21050
  name: "Runtime",
20963
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.History, { size: 20 }),
21051
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.History, { size: 20 }),
20964
21052
  order: 26,
20965
21053
  group: "Process"
20966
21054
  },
@@ -20968,7 +21056,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
20968
21056
  id: "topology-inbox",
20969
21057
  type: "route",
20970
21058
  name: "Inbox",
20971
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.Inbox, { size: 20 }),
21059
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.Inbox, { size: 20 }),
20972
21060
  order: 27,
20973
21061
  group: "Process"
20974
21062
  },
@@ -20976,7 +21064,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
20976
21064
  id: "eval",
20977
21065
  type: "route",
20978
21066
  name: "Eval",
20979
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.FlaskConical, { size: 20 }),
21067
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.FlaskConical, { size: 20 }),
20980
21068
  order: 28,
20981
21069
  group: "Process"
20982
21070
  },
@@ -20985,7 +21073,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
20985
21073
  builtin: "assistants",
20986
21074
  type: "route",
20987
21075
  name: "Assistants",
20988
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.Bot, { size: 20 }),
21076
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.Bot, { size: 20 }),
20989
21077
  order: 30,
20990
21078
  group: "Settings"
20991
21079
  },
@@ -20994,7 +21082,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
20994
21082
  builtin: "skills",
20995
21083
  type: "route",
20996
21084
  name: "Skills",
20997
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.Zap, { size: 20 }),
21085
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.Zap, { size: 20 }),
20998
21086
  order: 35,
20999
21087
  group: "Settings"
21000
21088
  },
@@ -21003,7 +21091,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
21003
21091
  builtin: "mcp",
21004
21092
  type: "route",
21005
21093
  name: "MCP",
21006
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.Plug, { size: 20 }),
21094
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.Plug, { size: 20 }),
21007
21095
  order: 40,
21008
21096
  group: "Settings"
21009
21097
  },
@@ -21012,7 +21100,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
21012
21100
  builtin: "tools",
21013
21101
  type: "route",
21014
21102
  name: "Tools",
21015
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.Wrench, { size: 20 }),
21103
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.Wrench, { size: 20 }),
21016
21104
  order: 50,
21017
21105
  group: "Settings"
21018
21106
  },
@@ -21021,7 +21109,7 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
21021
21109
  builtin: "switch-tenant",
21022
21110
  type: "action",
21023
21111
  name: "Switch tenant",
21024
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.Building2, { size: 20 }),
21112
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.Building2, { size: 20 }),
21025
21113
  order: 900,
21026
21114
  group: "Account"
21027
21115
  }
@@ -21151,7 +21239,7 @@ var WorkspaceResourceManager = ({
21151
21239
  style: { justifyContent: "flex-start", padding: "8px 12px" },
21152
21240
  onClick: () => setChangePasswordOpen(true),
21153
21241
  children: [
21154
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.Key, { size: 16, style: { marginRight: 8 } }),
21242
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.Key, { size: 16, style: { marginRight: 8 } }),
21155
21243
  "Change Password"
21156
21244
  ]
21157
21245
  }
@@ -21165,7 +21253,7 @@ var WorkspaceResourceManager = ({
21165
21253
  style: { justifyContent: "flex-start", padding: "8px 12px" },
21166
21254
  onClick: logout,
21167
21255
  children: [
21168
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react14.LogOut, { size: 16, style: { marginRight: 8 } }),
21256
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_lucide_react15.LogOut, { size: 16, style: { marginRight: 8 } }),
21169
21257
  "Logout"
21170
21258
  ]
21171
21259
  }
@@ -21653,7 +21741,7 @@ var WorkspaceContextProvider = ({
21653
21741
  // src/components/Chat/DatabasePicker.tsx
21654
21742
  var import_react75 = require("react");
21655
21743
  var import_antd64 = require("antd");
21656
- var import_lucide_react15 = require("lucide-react");
21744
+ var import_lucide_react16 = require("lucide-react");
21657
21745
  var import_jsx_runtime84 = require("react/jsx-runtime");
21658
21746
  var DatabasePicker = ({ senderRef, iconOnly }) => {
21659
21747
  const [modalOpen, setModalOpen] = (0, import_react75.useState)(false);
@@ -21694,7 +21782,7 @@ var DatabasePicker = ({ senderRef, iconOnly }) => {
21694
21782
  key: `db_${dbKey}_${Date.now()}`,
21695
21783
  props: {
21696
21784
  label: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_antd64.Space, { size: 1, children: [
21697
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_lucide_react15.Database, { size: 10 }),
21785
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_lucide_react16.Database, { size: 10 }),
21698
21786
  " ",
21699
21787
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_antd64.Typography.Text, { children: db.name || dbKey })
21700
21788
  ] }),
@@ -21713,7 +21801,7 @@ var DatabasePicker = ({ senderRef, iconOnly }) => {
21713
21801
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_antd64.Tooltip, { title: iconOnly ? "Database" : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
21714
21802
  import_antd64.Button,
21715
21803
  {
21716
- icon: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_lucide_react15.Database, { size: iconOnly ? 20 : 22 }),
21804
+ icon: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_lucide_react16.Database, { size: iconOnly ? 20 : 22 }),
21717
21805
  onClick: handleOpenModal,
21718
21806
  type: "text",
21719
21807
  style: {
@@ -21803,7 +21891,7 @@ var DatabasePicker = ({ senderRef, iconOnly }) => {
21803
21891
  // src/components/Chat/SkillPicker.tsx
21804
21892
  var import_react76 = require("react");
21805
21893
  var import_antd65 = require("antd");
21806
- var import_lucide_react16 = require("lucide-react");
21894
+ var import_lucide_react17 = require("lucide-react");
21807
21895
  var import_jsx_runtime85 = require("react/jsx-runtime");
21808
21896
  var SkillPicker = ({ senderRef, iconOnly }) => {
21809
21897
  const [modalOpen, setModalOpen] = (0, import_react76.useState)(false);
@@ -21844,7 +21932,7 @@ var SkillPicker = ({ senderRef, iconOnly }) => {
21844
21932
  key: `skill_${skillId}_${Date.now()}`,
21845
21933
  props: {
21846
21934
  label: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_antd65.Space, { size: 1, children: [
21847
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_lucide_react16.BrainCircuit, { size: 12 }),
21935
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_lucide_react17.BrainCircuit, { size: 12 }),
21848
21936
  " ",
21849
21937
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_antd65.Typography.Text, { children: skill.name })
21850
21938
  ] }),
@@ -21863,7 +21951,7 @@ var SkillPicker = ({ senderRef, iconOnly }) => {
21863
21951
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_antd65.Tooltip, { title: iconOnly ? "Skills" : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
21864
21952
  import_antd65.Button,
21865
21953
  {
21866
- icon: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_lucide_react16.BrainCircuit, { size: iconOnly ? 20 : 22 }),
21954
+ icon: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_lucide_react17.BrainCircuit, { size: iconOnly ? 20 : 22 }),
21867
21955
  onClick: handleOpenModal,
21868
21956
  type: "text",
21869
21957
  style: {
@@ -21953,7 +22041,7 @@ var SkillPicker = ({ senderRef, iconOnly }) => {
21953
22041
  // src/components/Chat/AgentPicker.tsx
21954
22042
  var import_react77 = require("react");
21955
22043
  var import_antd66 = require("antd");
21956
- var import_lucide_react17 = require("lucide-react");
22044
+ var import_lucide_react18 = require("lucide-react");
21957
22045
  var import_jsx_runtime86 = require("react/jsx-runtime");
21958
22046
  var AgentPicker = ({ senderRef, iconOnly }) => {
21959
22047
  const [modalOpen, setModalOpen] = (0, import_react77.useState)(false);
@@ -21978,7 +22066,7 @@ var AgentPicker = ({ senderRef, iconOnly }) => {
21978
22066
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_antd66.Tooltip, { title: iconOnly ? currentAssistant?.name || "Agent" : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
21979
22067
  import_antd66.Button,
21980
22068
  {
21981
- icon: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_lucide_react17.Bot, { size: iconOnly ? 20 : 22 }),
22069
+ icon: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_lucide_react18.Bot, { size: iconOnly ? 20 : 22 }),
21982
22070
  onClick: handleOpenModal,
21983
22071
  type: "text",
21984
22072
  style: {
@@ -22046,7 +22134,7 @@ var AgentPicker = ({ senderRef, iconOnly }) => {
22046
22134
  alignItems: "center",
22047
22135
  justifyContent: "center"
22048
22136
  },
22049
- children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_lucide_react17.Bot, { size: 20, color: isSelected ? "white" : "#666" })
22137
+ children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_lucide_react18.Bot, { size: 20, color: isSelected ? "white" : "#666" })
22050
22138
  }
22051
22139
  ),
22052
22140
  title: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_antd66.Typography.Text, { strong: isSelected, children: agent.name }),
@@ -22069,7 +22157,7 @@ var AgentPicker = ({ senderRef, iconOnly }) => {
22069
22157
  // src/components/Chat/MetricsDataSourcePicker.tsx
22070
22158
  var import_react78 = require("react");
22071
22159
  var import_antd67 = require("antd");
22072
- var import_lucide_react18 = require("lucide-react");
22160
+ var import_lucide_react19 = require("lucide-react");
22073
22161
  var import_jsx_runtime87 = require("react/jsx-runtime");
22074
22162
  var SESSION_STORAGE_KEY = "metrics_datasource_selection";
22075
22163
  var MetricsDataSourcePicker = ({
@@ -22218,7 +22306,7 @@ var MetricsDataSourcePicker = ({
22218
22306
  /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_antd67.Tooltip, { title: iconOnly ? getSelectedName() || "Select Data Source" : dataSources.length === 0 ? "No data sources available" : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
22219
22307
  import_antd67.Button,
22220
22308
  {
22221
- icon: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react18.Database, { size: iconOnly ? 18 : 18 }),
22309
+ icon: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react19.Database, { size: iconOnly ? 18 : 18 }),
22222
22310
  onClick: handleOpenModal,
22223
22311
  type: "text",
22224
22312
  disabled: dataSources.length === 0,
@@ -22272,7 +22360,7 @@ var MetricsDataSourcePicker = ({
22272
22360
  borderBottom: "1px solid #f0f0f0"
22273
22361
  },
22274
22362
  children: [
22275
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react18.Server, { size: 14, color: "#8c8c8c" }),
22363
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react19.Server, { size: 14, color: "#8c8c8c" }),
22276
22364
  /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
22277
22365
  import_antd67.Typography.Text,
22278
22366
  {
@@ -22343,8 +22431,8 @@ var MetricsDataSourcePicker = ({
22343
22431
  justifyContent: "center",
22344
22432
  flexShrink: 0
22345
22433
  },
22346
- children: selected ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react18.Check, { size: 16, color: "#fff" }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
22347
- import_lucide_react18.Database,
22434
+ children: selected ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_lucide_react19.Check, { size: 16, color: "#fff" }) : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
22435
+ import_lucide_react19.Database,
22348
22436
  {
22349
22437
  size: 16,
22350
22438
  color: isConnected ? "#595959" : "#8c8c8c"
@@ -22500,7 +22588,7 @@ var import_icons35 = require("@ant-design/icons");
22500
22588
  var import_x4 = require("@ant-design/x");
22501
22589
  var import_antd69 = require("antd");
22502
22590
  var import_react80 = require("react");
22503
- var import_lucide_react19 = require("lucide-react");
22591
+ var import_lucide_react20 = require("lucide-react");
22504
22592
  var import_jsx_runtime89 = require("react/jsx-runtime");
22505
22593
  var categoryConfig = {
22506
22594
  business_analysis: {
@@ -22627,7 +22715,7 @@ var SkillCategoryPrompts = ({
22627
22715
  key: `skill_${skill.id}_${Date.now()}`,
22628
22716
  props: {
22629
22717
  label: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_antd69.Space, { size: 1, children: [
22630
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_lucide_react19.BrainCircuit, { size: 12 }),
22718
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_lucide_react20.BrainCircuit, { size: 12 }),
22631
22719
  /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_antd69.Typography.Text, { children: skill.name })
22632
22720
  ] }),
22633
22721
  value: `[Use Skill:${skill.name}]`
@@ -22660,7 +22748,7 @@ var SkillCategoryPrompts = ({
22660
22748
  return skillsList.map((skill) => ({
22661
22749
  key: skill.id,
22662
22750
  icon: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
22663
- import_lucide_react19.BrainCircuit,
22751
+ import_lucide_react20.BrainCircuit,
22664
22752
  {
22665
22753
  size: 16,
22666
22754
  style: {
@@ -23534,7 +23622,7 @@ ${nextContent}`;
23534
23622
  const [suggestionMode, setSuggestionMode] = (0, import_react82.useState)(null);
23535
23623
  const suggestionItems = suggestionMode === "skills" ? skills.map((skill) => ({
23536
23624
  value: skill.name,
23537
- icon: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_lucide_react20.BrainCircuit, { size: 14, style: { color: "#722ed1" } }),
23625
+ icon: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_lucide_react21.BrainCircuit, { size: 14, style: { color: "#722ed1" } }),
23538
23626
  label: skill.name,
23539
23627
  description: skill.description?.slice(0, 50) + (skill.description?.length > 50 ? "..." : "")
23540
23628
  })) : workspaceFiles.map((file) => ({
@@ -23554,7 +23642,7 @@ ${nextContent}`;
23554
23642
  key: `skill_${itemVal}_${Date.now()}`,
23555
23643
  props: {
23556
23644
  label: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_antd71.Space, { size: 1, children: [
23557
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_lucide_react20.BrainCircuit, { size: 12 }),
23645
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_lucide_react21.BrainCircuit, { size: 12 }),
23558
23646
  /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_antd71.Typography.Text, { children: itemVal })
23559
23647
  ] }),
23560
23648
  value: `[Use Skill:${itemVal}]`
@@ -24406,7 +24494,7 @@ ${code}
24406
24494
  // src/components/GenUI/elements/TeamGraph.tsx
24407
24495
  var import_antd77 = require("antd");
24408
24496
  var import_icons41 = require("@ant-design/icons");
24409
- var import_lucide_react21 = require("lucide-react");
24497
+ var import_lucide_react22 = require("lucide-react");
24410
24498
  var import_jsx_runtime97 = require("react/jsx-runtime");
24411
24499
  var { Text: Text38 } = import_antd77.Typography;
24412
24500
  var extractTeamInfo = (response) => {
@@ -24516,7 +24604,7 @@ var TeamGraph = ({ data }) => {
24516
24604
  import_antd77.Button,
24517
24605
  {
24518
24606
  type: "text",
24519
- icon: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_lucide_react21.Monitor, { size: 16 }),
24607
+ icon: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_lucide_react22.Monitor, { size: 16 }),
24520
24608
  onClick: handleOpenWorkspace,
24521
24609
  children: "Workbench"
24522
24610
  }
@@ -24587,12 +24675,12 @@ var TeamGraph_default = TeamGraph;
24587
24675
  // src/components/GenUI/elements/TeamWorkspace/index.tsx
24588
24676
  var import_react91 = require("react");
24589
24677
  var import_antd86 = require("antd");
24590
- var import_lucide_react28 = require("lucide-react");
24678
+ var import_lucide_react29 = require("lucide-react");
24591
24679
  var import_antd_style33 = require("antd-style");
24592
24680
 
24593
24681
  // src/components/GenUI/elements/TeamWorkspace/TeamWorkspaceMenu.tsx
24594
24682
  var import_react84 = __toESM(require("react"));
24595
- var import_lucide_react22 = require("lucide-react");
24683
+ var import_lucide_react23 = require("lucide-react");
24596
24684
  var import_antd78 = require("antd");
24597
24685
  var import_antd_style25 = require("antd-style");
24598
24686
  var import_jsx_runtime98 = require("react/jsx-runtime");
@@ -24738,13 +24826,13 @@ var getMenuIcon = (item) => {
24738
24826
  if (item.icon) return item.icon;
24739
24827
  switch (item.type) {
24740
24828
  case "dashboard":
24741
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react22.LayoutDashboard, { size: 20 });
24829
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react23.LayoutDashboard, { size: 20 });
24742
24830
  case "inbox":
24743
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react22.Inbox, { size: 20 });
24831
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react23.Inbox, { size: 20 });
24744
24832
  case "issues":
24745
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react22.ClipboardList, { size: 20 });
24833
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react23.ClipboardList, { size: 20 });
24746
24834
  case "org":
24747
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react22.Network, { size: 20 });
24835
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react23.Network, { size: 20 });
24748
24836
  case "teammate":
24749
24837
  if (item.data) {
24750
24838
  return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
@@ -24766,9 +24854,9 @@ var getMenuIcon = (item) => {
24766
24854
  }
24767
24855
  );
24768
24856
  }
24769
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react22.User, { size: 20 });
24857
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react23.User, { size: 20 });
24770
24858
  default:
24771
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react22.User, { size: 20 });
24859
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react23.User, { size: 20 });
24772
24860
  }
24773
24861
  };
24774
24862
  var TeamWorkspaceMenu = ({
@@ -24828,7 +24916,7 @@ var TeamWorkspaceMenu = ({
24828
24916
  className: styles.toggleButton,
24829
24917
  onClick: () => setIsExpanded(!isExpanded),
24830
24918
  title: isExpanded ? "Collapse" : "Expand",
24831
- children: isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react22.ChevronLeft, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react22.ChevronRight, { size: 16 })
24919
+ children: isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react23.ChevronLeft, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_lucide_react23.ChevronRight, { size: 16 })
24832
24920
  }
24833
24921
  ),
24834
24922
  /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: styles.menuContent, children: [
@@ -24847,7 +24935,7 @@ var TeamWorkspaceMenu = ({
24847
24935
 
24848
24936
  // src/components/GenUI/elements/TeamWorkspace/TeamDashboard.tsx
24849
24937
  var import_antd79 = require("antd");
24850
- var import_lucide_react23 = require("lucide-react");
24938
+ var import_lucide_react24 = require("lucide-react");
24851
24939
  var import_antd_style26 = require("antd-style");
24852
24940
 
24853
24941
  // src/components/GenUI/elements/TeamWorkspace/hooks/useTeamWorkspaceData.ts
@@ -25098,15 +25186,15 @@ var StatusIcon = ({
25098
25186
  }) => {
25099
25187
  switch (status) {
25100
25188
  case "completed" /* COMPLETED */:
25101
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className, style: { color: "#22c55e" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react23.CheckCircle2, { size: 16 }) });
25189
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className, style: { color: "#22c55e" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react24.CheckCircle2, { size: 16 }) });
25102
25190
  case "in_progress" /* IN_PROGRESS */:
25103
25191
  case "claimed" /* CLAIMED */:
25104
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className, style: { color: "#f59e0b" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react23.Loader2, { size: 16, className: "animate-spin" }) });
25192
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className, style: { color: "#f59e0b" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react24.Loader2, { size: 16, className: "animate-spin" }) });
25105
25193
  case "failed" /* FAILED */:
25106
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className, style: { color: "#ef4444" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react23.AlertCircle, { size: 16 }) });
25194
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className, style: { color: "#ef4444" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react24.AlertCircle, { size: 16 }) });
25107
25195
  case "pending" /* PENDING */:
25108
25196
  default:
25109
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className, style: { color: "#6b7280" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react23.Clock, { size: 16 }) });
25197
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className, style: { color: "#6b7280" }, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react24.Clock, { size: 16 }) });
25110
25198
  }
25111
25199
  };
25112
25200
  var ActivityItem = ({ activity, styles }) => {
@@ -25177,7 +25265,7 @@ var TeamDashboard = ({
25177
25265
  {
25178
25266
  title: "Total Tasks",
25179
25267
  value: stats.totalTasks,
25180
- prefix: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react23.FileText, { size: 20 }),
25268
+ prefix: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react24.FileText, { size: 20 }),
25181
25269
  valueStyle: { color: "#1890ff" }
25182
25270
  }
25183
25271
  ) }) }),
@@ -25186,7 +25274,7 @@ var TeamDashboard = ({
25186
25274
  {
25187
25275
  title: "In Progress",
25188
25276
  value: stats.inProgressTasks,
25189
- prefix: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react23.Loader2, { size: 20, className: "animate-spin" }),
25277
+ prefix: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react24.Loader2, { size: 20, className: "animate-spin" }),
25190
25278
  valueStyle: { color: "#faad14" }
25191
25279
  }
25192
25280
  ) }) }),
@@ -25195,7 +25283,7 @@ var TeamDashboard = ({
25195
25283
  {
25196
25284
  title: "Completed",
25197
25285
  value: stats.completedTasks,
25198
- prefix: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react23.CheckCircle2, { size: 20 }),
25286
+ prefix: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react24.CheckCircle2, { size: 20 }),
25199
25287
  valueStyle: { color: "#52c41a" }
25200
25288
  }
25201
25289
  ) }) }),
@@ -25204,7 +25292,7 @@ var TeamDashboard = ({
25204
25292
  {
25205
25293
  title: "Activities",
25206
25294
  value: stats.totalActivities,
25207
- prefix: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react23.Mail, { size: 20 }),
25295
+ prefix: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react24.Mail, { size: 20 }),
25208
25296
  valueStyle: { color: "#722ed1" }
25209
25297
  }
25210
25298
  ) }) })
@@ -25214,7 +25302,7 @@ var TeamDashboard = ({
25214
25302
  import_antd79.Card,
25215
25303
  {
25216
25304
  title: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("span", { children: [
25217
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react23.Mail, { size: 18, style: { marginRight: 8, verticalAlign: "middle" } }),
25305
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react24.Mail, { size: 18, style: { marginRight: 8, verticalAlign: "middle" } }),
25218
25306
  "Recent Activities"
25219
25307
  ] }),
25220
25308
  className: styles.sectionCard,
@@ -25233,7 +25321,7 @@ var TeamDashboard = ({
25233
25321
  import_antd79.Card,
25234
25322
  {
25235
25323
  title: /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("span", { children: [
25236
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react23.Users, { size: 18, style: { marginRight: 8, verticalAlign: "middle" } }),
25324
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lucide_react24.Users, { size: 18, style: { marginRight: 8, verticalAlign: "middle" } }),
25237
25325
  "Recent Tasks"
25238
25326
  ] }),
25239
25327
  className: styles.sectionCard,
@@ -25248,14 +25336,14 @@ var TeamDashboard = ({
25248
25336
  // src/components/GenUI/elements/TeamWorkspace/IssuesView.tsx
25249
25337
  var import_react87 = require("react");
25250
25338
  var import_antd81 = require("antd");
25251
- var import_lucide_react25 = require("lucide-react");
25339
+ var import_lucide_react26 = require("lucide-react");
25252
25340
  var import_antd_style28 = require("antd-style");
25253
25341
 
25254
25342
  // src/components/GenUI/elements/TeamWorkspace/TaskDetailModal.tsx
25255
25343
  var import_react86 = require("react");
25256
25344
  var import_antd80 = require("antd");
25257
25345
  var import_antd_style27 = require("antd-style");
25258
- var import_lucide_react24 = require("lucide-react");
25346
+ var import_lucide_react25 = require("lucide-react");
25259
25347
  var import_jsx_runtime100 = require("react/jsx-runtime");
25260
25348
  var { Title: Title10, Text: Text40, Paragraph: Paragraph2 } = import_antd80.Typography;
25261
25349
  var useStyles11 = (0, import_antd_style27.createStyles)(({ token, css }) => ({
@@ -25492,28 +25580,28 @@ var getStatusConfig2 = (status) => {
25492
25580
  switch (status) {
25493
25581
  case "completed" /* COMPLETED */:
25494
25582
  return {
25495
- icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.CheckCircle2, { size: 20 }),
25583
+ icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.CheckCircle2, { size: 20 }),
25496
25584
  color: "#22c55e",
25497
25585
  bgColor: "#f0fdf4",
25498
25586
  text: "Completed"
25499
25587
  };
25500
25588
  case "in_progress" /* IN_PROGRESS */:
25501
25589
  return {
25502
- icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.Loader2, { size: 20, className: "animate-spin" }),
25590
+ icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.Loader2, { size: 20, className: "animate-spin" }),
25503
25591
  color: "#f59e0b",
25504
25592
  bgColor: "#fffbeb",
25505
25593
  text: "In Progress"
25506
25594
  };
25507
25595
  case "claimed" /* CLAIMED */:
25508
25596
  return {
25509
- icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.Loader2, { size: 20, className: "animate-spin" }),
25597
+ icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.Loader2, { size: 20, className: "animate-spin" }),
25510
25598
  color: "#f59e0b",
25511
25599
  bgColor: "#fffbeb",
25512
25600
  text: "Claimed"
25513
25601
  };
25514
25602
  case "failed" /* FAILED */:
25515
25603
  return {
25516
- icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.AlertCircle, { size: 20 }),
25604
+ icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.AlertCircle, { size: 20 }),
25517
25605
  color: "#ef4444",
25518
25606
  bgColor: "#fef2f2",
25519
25607
  text: "Failed"
@@ -25521,7 +25609,7 @@ var getStatusConfig2 = (status) => {
25521
25609
  case "pending" /* PENDING */:
25522
25610
  default:
25523
25611
  return {
25524
- icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.Clock, { size: 20 }),
25612
+ icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.Clock, { size: 20 }),
25525
25613
  color: "#6b7280",
25526
25614
  bgColor: "#f3f4f6",
25527
25615
  text: "Pending"
@@ -25613,13 +25701,13 @@ var CommentsTab = ({ task, styles }) => {
25613
25701
  ] }),
25614
25702
  comment.type === "result" ? /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: styles.resultComment, children: [
25615
25703
  /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: 8, marginBottom: 8 }, children: [
25616
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.CheckCircle2, { size: 16, style: { color: "#22c55e" } }),
25704
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.CheckCircle2, { size: 16, style: { color: "#22c55e" } }),
25617
25705
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text40, { style: { color: "#22c55e", fontWeight: 600 }, children: "Result" })
25618
25706
  ] }),
25619
25707
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Paragraph2, { style: { margin: 0 }, children: comment.content })
25620
25708
  ] }) : comment.type === "error" ? /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: styles.errorComment, children: [
25621
25709
  /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: 8, marginBottom: 8 }, children: [
25622
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.AlertCircle, { size: 16, style: { color: "#ef4444" } }),
25710
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.AlertCircle, { size: 16, style: { color: "#ef4444" } }),
25623
25711
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text40, { style: { color: "#ef4444", fontWeight: 600 }, children: "Error" })
25624
25712
  ] }),
25625
25713
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Paragraph2, { style: { margin: 0 }, children: comment.content })
@@ -25631,7 +25719,7 @@ var ActivityTab = ({ task, styles }) => {
25631
25719
  const statusConfig2 = getStatusConfig2(task.status);
25632
25720
  const timelineItems = [
25633
25721
  {
25634
- dot: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: styles.timelineDot, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.GitCommit, { size: 16 }) }),
25722
+ dot: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: styles.timelineDot, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.GitCommit, { size: 16 }) }),
25635
25723
  color: statusConfig2.color,
25636
25724
  children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: styles.timelineContent, children: [
25637
25725
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: styles.timelineTitle, children: "Status Updated" }),
@@ -25644,7 +25732,7 @@ var ActivityTab = ({ task, styles }) => {
25644
25732
  ] })
25645
25733
  },
25646
25734
  {
25647
- dot: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: styles.timelineDot, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.Calendar, { size: 16 }) }),
25735
+ dot: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: styles.timelineDot, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.Calendar, { size: 16 }) }),
25648
25736
  color: "#6b7280",
25649
25737
  children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: styles.timelineContent, children: [
25650
25738
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: styles.timelineTitle, children: "Task Created" }),
@@ -25674,7 +25762,7 @@ var TaskDetailModal = ({
25674
25762
  {
25675
25763
  key: "comments",
25676
25764
  label: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("span", { children: [
25677
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.MessageSquare, { size: 14, style: { marginRight: 6 } }),
25765
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.MessageSquare, { size: 14, style: { marginRight: 6 } }),
25678
25766
  "Comments"
25679
25767
  ] }),
25680
25768
  children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(CommentsTab, { task, styles })
@@ -25682,7 +25770,7 @@ var TaskDetailModal = ({
25682
25770
  {
25683
25771
  key: "activity",
25684
25772
  label: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("span", { children: [
25685
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.Activity, { size: 14, style: { marginRight: 6 } }),
25773
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.Activity, { size: 14, style: { marginRight: 6 } }),
25686
25774
  "Activity"
25687
25775
  ] }),
25688
25776
  children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ActivityTab, { task, styles })
@@ -25756,14 +25844,14 @@ var TaskDetailModal = ({
25756
25844
  /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: styles.metaItem, children: [
25757
25845
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text40, { className: styles.metaLabel, children: "Created" }),
25758
25846
  /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: styles.metaValue, children: [
25759
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.Calendar, { size: 14 }),
25847
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.Calendar, { size: 14 }),
25760
25848
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { children: formatDate(task.createdAt) })
25761
25849
  ] })
25762
25850
  ] }),
25763
25851
  /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: styles.metaItem, children: [
25764
25852
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text40, { className: styles.metaLabel, children: "Updated" }),
25765
25853
  /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: styles.metaValue, children: [
25766
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.Calendar, { size: 14 }),
25854
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.Calendar, { size: 14 }),
25767
25855
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { children: formatDate(task.updatedAt) })
25768
25856
  ] })
25769
25857
  ] })
@@ -25772,7 +25860,7 @@ var TaskDetailModal = ({
25772
25860
  task.dependencies?.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: styles.dependenciesSection, children: [
25773
25861
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Text40, { className: styles.sectionTitle, children: "Dependencies" }),
25774
25862
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: styles.dependencyList, children: task.dependencies.map((dep) => /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_antd80.Tag, { className: styles.dependencyTag, children: [
25775
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react24.Link, { size: 12 }),
25863
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_lucide_react25.Link, { size: 12 }),
25776
25864
  " ",
25777
25865
  dep
25778
25866
  ] }, dep)) })
@@ -26073,15 +26161,15 @@ var StatusIcon2 = ({
26073
26161
  }) => {
26074
26162
  switch (status) {
26075
26163
  case "completed" /* COMPLETED */:
26076
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react25.CheckCircle2, { size, style: { color: "#22c55e" } });
26164
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react26.CheckCircle2, { size, style: { color: "#22c55e" } });
26077
26165
  case "in_progress" /* IN_PROGRESS */:
26078
26166
  case "claimed" /* CLAIMED */:
26079
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react25.Loader2, { size, style: { color: "#f59e0b" }, className: "animate-spin" });
26167
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react26.Loader2, { size, style: { color: "#f59e0b" }, className: "animate-spin" });
26080
26168
  case "failed" /* FAILED */:
26081
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react25.AlertCircle, { size, style: { color: "#ef4444" } });
26169
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react26.AlertCircle, { size, style: { color: "#ef4444" } });
26082
26170
  case "pending" /* PENDING */:
26083
26171
  default:
26084
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react25.Circle, { size, style: { color: "#6b7280" } });
26172
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react26.Circle, { size, style: { color: "#6b7280" } });
26085
26173
  }
26086
26174
  };
26087
26175
  var formatDate2 = (timestamp) => {
@@ -26101,7 +26189,7 @@ var ListGroupComponent = ({ group, styles, defaultExpanded = true, onTaskClick }
26101
26189
  className: styles.listGroupHeader,
26102
26190
  onClick: () => setIsExpanded(!isExpanded),
26103
26191
  children: [
26104
- isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react25.ChevronDown, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react25.ChevronRight, { size: 16 }),
26192
+ isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react26.ChevronDown, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react26.ChevronRight, { size: 16 }),
26105
26193
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: styles.listGroupTitle, style: { color: group.color }, children: group.title }),
26106
26194
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { className: styles.listGroupCount, children: group.tasks.length })
26107
26195
  ]
@@ -26285,7 +26373,7 @@ var IssuesView = ({
26285
26373
  {
26286
26374
  className: `${styles.viewToggleButton} ${viewMode === "list" ? "active" : ""}`,
26287
26375
  onClick: () => setViewMode("list"),
26288
- children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react25.List, { size: 16 })
26376
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react26.List, { size: 16 })
26289
26377
  }
26290
26378
  ),
26291
26379
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
@@ -26293,7 +26381,7 @@ var IssuesView = ({
26293
26381
  {
26294
26382
  className: `${styles.viewToggleButton} ${viewMode === "kanban" ? "active" : ""}`,
26295
26383
  onClick: () => setViewMode("kanban"),
26296
- children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react25.LayoutGrid, { size: 16 })
26384
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_lucide_react26.LayoutGrid, { size: 16 })
26297
26385
  }
26298
26386
  )
26299
26387
  ] })
@@ -26744,12 +26832,12 @@ var TeamMemberChat = ({
26744
26832
  var import_react90 = require("react");
26745
26833
  var import_antd85 = require("antd");
26746
26834
  var import_antd_style32 = require("antd-style");
26747
- var import_lucide_react27 = require("lucide-react");
26835
+ var import_lucide_react28 = require("lucide-react");
26748
26836
 
26749
26837
  // src/components/GenUI/elements/MailboxDetailModal.tsx
26750
26838
  var import_antd84 = require("antd");
26751
26839
  var import_antd_style31 = require("antd-style");
26752
- var import_lucide_react26 = require("lucide-react");
26840
+ var import_lucide_react27 = require("lucide-react");
26753
26841
  var import_jsx_runtime104 = require("react/jsx-runtime");
26754
26842
  var { Title: Title14, Text: Text44, Paragraph: Paragraph3 } = import_antd84.Typography;
26755
26843
  var useStyles15 = (0, import_antd_style31.createStyles)(({ token, css }) => ({
@@ -26908,7 +26996,7 @@ var MailboxDetailModal = ({
26908
26996
  },
26909
26997
  children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: styles.modalContent, children: [
26910
26998
  /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: styles.header, children: [
26911
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { className: styles.messageIcon, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_lucide_react26.Mail, { size: 20 }) }),
26999
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { className: styles.messageIcon, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_lucide_react27.Mail, { size: 20 }) }),
26912
27000
  /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Text44, { className: styles.messageId, children: message23.id }),
26913
27001
  !message23.read && /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_antd84.Tag, { color: "red", children: "Unread" })
26914
27002
  ] }),
@@ -26948,7 +27036,7 @@ var MailboxDetailModal = ({
26948
27036
  /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: styles.metaItem, children: [
26949
27037
  /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Text44, { className: styles.metaLabel, children: "Time" }),
26950
27038
  /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: styles.metaValue, children: [
26951
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_lucide_react26.Calendar, { size: 14 }),
27039
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_lucide_react27.Calendar, { size: 14 }),
26952
27040
  /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("span", { children: formatDate3(message23.timestamp) })
26953
27041
  ] })
26954
27042
  ] }),
@@ -27167,7 +27255,7 @@ var MessageGroupComponent = ({ group, styles, defaultExpanded = true, onMessageC
27167
27255
  className: styles.listGroupHeader,
27168
27256
  onClick: () => setIsExpanded(!isExpanded),
27169
27257
  children: [
27170
- isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_lucide_react27.ChevronDown, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_lucide_react27.ChevronRight, { size: 16 }),
27258
+ isExpanded ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_lucide_react28.ChevronDown, { size: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_lucide_react28.ChevronRight, { size: 16 }),
27171
27259
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
27172
27260
  "div",
27173
27261
  {
@@ -27195,7 +27283,7 @@ var MessageGroupComponent = ({ group, styles, defaultExpanded = true, onMessageC
27195
27283
  className: `${styles.listItem} ${!message23.read ? styles.listItemUnread : ""}`,
27196
27284
  onClick: () => onMessageClick(message23),
27197
27285
  children: [
27198
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { className: styles.listItemIcon, children: !message23.read ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { className: styles.unreadBadge }) : /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_lucide_react27.Circle, { size: 8, style: { color: "#d9d9d9" } }) }),
27286
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { className: styles.listItemIcon, children: !message23.read ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { className: styles.unreadBadge }) : /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_lucide_react28.Circle, { size: 8, style: { color: "#d9d9d9" } }) }),
27199
27287
  /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: styles.listItemContent, children: [
27200
27288
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("span", { className: styles.listItemPreview, children: getMessagePreview(message23.content) }),
27201
27289
  /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("span", { className: styles.listItemMeta, children: [
@@ -27252,7 +27340,7 @@ var MailboxPanel = ({ data }) => {
27252
27340
  return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: styles.container, children: [
27253
27341
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { className: styles.header, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { children: [
27254
27342
  /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Title15, { level: 3, className: styles.title, children: [
27255
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_lucide_react27.Mail, { size: 20, style: { marginRight: 8, verticalAlign: "middle" } }),
27343
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_lucide_react28.Mail, { size: 20, style: { marginRight: 8, verticalAlign: "middle" } }),
27256
27344
  "Mailbox"
27257
27345
  ] }),
27258
27346
  /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(Text45, { type: "secondary", children: [
@@ -27470,7 +27558,7 @@ var TeamWorkspace = ({
27470
27558
  import_antd86.Button,
27471
27559
  {
27472
27560
  className: styles.refreshButton,
27473
- icon: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_lucide_react28.RefreshCw, { size: 16 }),
27561
+ icon: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_lucide_react29.RefreshCw, { size: 16 }),
27474
27562
  onClick: refresh,
27475
27563
  loading: isLoading,
27476
27564
  type: "text",
@@ -29832,7 +29920,7 @@ var SideAppViewBrowser = ({ region = "side" }) => {
29832
29920
  var import_react98 = require("react");
29833
29921
  var import_antd89 = require("antd");
29834
29922
  var import_antd_style35 = require("antd-style");
29835
- var import_lucide_react29 = require("lucide-react");
29923
+ var import_lucide_react30 = require("lucide-react");
29836
29924
  var import_jsx_runtime114 = require("react/jsx-runtime");
29837
29925
  var PROJECT_NAME_MAX_LENGTH = 50;
29838
29926
  var useStyles18 = (0, import_antd_style35.createStyles)(({ token, css }) => ({
@@ -30161,7 +30249,7 @@ var ProjectSelector = ({
30161
30249
  className: styles.workspaceButton,
30162
30250
  onClick: handleWorkspaceClick,
30163
30251
  title: currentWorkspace?.name || "Select Workspace",
30164
- children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: styles.workspaceButtonIcon, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react29.Building2, { size: 16 }) })
30252
+ children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: styles.workspaceButtonIcon, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react30.Building2, { size: 16 }) })
30165
30253
  }
30166
30254
  ) }),
30167
30255
  /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("span", { className: styles.divider, children: "/" }),
@@ -30172,9 +30260,9 @@ var ProjectSelector = ({
30172
30260
  onClick: disableDropdown ? void 0 : toggleProjectList,
30173
30261
  style: { cursor: disableDropdown ? "default" : "pointer" },
30174
30262
  children: [
30175
- /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: styles.projectTriggerIcon, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react29.Folder, { size: 16 }) }),
30263
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: styles.projectTriggerIcon, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react30.Folder, { size: 16 }) }),
30176
30264
  /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: styles.projectTriggerInfo, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: styles.projectTriggerName, children: currentProject?.name || "Select Project" }) }),
30177
- !disableDropdown && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: `${styles.projectTriggerArrow} ${isProjectListOpen ? "expanded" : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react29.ChevronDown, { size: 14 }) })
30265
+ !disableDropdown && /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: `${styles.projectTriggerArrow} ${isProjectListOpen ? "expanded" : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react30.ChevronDown, { size: 14 }) })
30178
30266
  ]
30179
30267
  }
30180
30268
  ),
@@ -30185,7 +30273,7 @@ var ProjectSelector = ({
30185
30273
  className: `${styles.projectDropdownItem} ${project.id === projectId ? "active" : ""}`,
30186
30274
  onClick: () => handleSelectProject(project.id),
30187
30275
  children: [
30188
- /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: styles.projectDropdownItemIcon, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react29.Folder, { size: 14 }) }),
30276
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: styles.projectDropdownItemIcon, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_lucide_react30.Folder, { size: 14 }) }),
30189
30277
  /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { className: project.id === projectId ? styles.projectDropdownItemNameActive : styles.projectDropdownItemName, children: project.name })
30190
30278
  ]
30191
30279
  },
@@ -30246,7 +30334,7 @@ var import_antd91 = require("antd");
30246
30334
  // src/components/Chat/FileDirectoryPanel.tsx
30247
30335
  var import_react99 = __toESM(require("react"));
30248
30336
  var import_antd90 = require("antd");
30249
- var import_lucide_react30 = require("lucide-react");
30337
+ var import_lucide_react31 = require("lucide-react");
30250
30338
  var import_antd_style36 = require("antd-style");
30251
30339
  var import_jsx_runtime115 = require("react/jsx-runtime");
30252
30340
  var useStyles19 = (0, import_antd_style36.createStyles)(({ token, css }) => ({
@@ -30492,7 +30580,7 @@ var FileDirectoryPanel = ({
30492
30580
  className: styles.treeToggle,
30493
30581
  "aria-label": `${isExpanded ? "collapse" : "expand"} ${entryName}`,
30494
30582
  onClick: () => void onToggleDirectory(entry.path),
30495
- children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_lucide_react30.ChevronRight, { size: 14, style: { transform: isExpanded ? "rotate(90deg)" : void 0 } })
30583
+ children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_lucide_react31.ChevronRight, { size: 14, style: { transform: isExpanded ? "rotate(90deg)" : void 0 } })
30496
30584
  }
30497
30585
  ),
30498
30586
  /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
@@ -30504,7 +30592,7 @@ var FileDirectoryPanel = ({
30504
30592
  onClick: () => void onToggleDirectory(entry.path),
30505
30593
  title: entryName,
30506
30594
  children: [
30507
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: styles.assetIcon, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_lucide_react30.FolderOpen, { size: 14 }) }),
30595
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: styles.assetIcon, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_lucide_react31.FolderOpen, { size: 14 }) }),
30508
30596
  /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: styles.assetInfo, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { className: styles.assetName, children: entryName }) })
30509
30597
  ]
30510
30598
  }
@@ -30540,7 +30628,7 @@ var FileDirectoryPanel = ({
30540
30628
  }
30541
30629
  return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { className: styles.container, children: [
30542
30630
  /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("h3", { className: styles.header, children: [
30543
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_lucide_react30.FolderOpen, { size: 16 }),
30631
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_lucide_react31.FolderOpen, { size: 16 }),
30544
30632
  /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("span", { children: "Files" })
30545
30633
  ] }),
30546
30634
  resourceFolders.map((folder) => {
@@ -30574,7 +30662,7 @@ var FileDirectoryPanel = ({
30574
30662
  /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_antd90.Spin, { size: "small" }),
30575
30663
  /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("span", { children: "Uploading..." })
30576
30664
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_jsx_runtime115.Fragment, { children: [
30577
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_lucide_react30.Upload, { size: 14 }),
30665
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(import_lucide_react31.Upload, { size: 14 }),
30578
30666
  /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("span", { children: "Upload" })
30579
30667
  ] })
30580
30668
  }
@@ -30828,7 +30916,7 @@ var LatticeChatContent = (props) => {
30828
30916
  HeaderIconButton,
30829
30917
  {
30830
30918
  ariaLabel: "Toggle file directory",
30831
- icon: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_lucide_react31.FolderOpen, { size: 16 }),
30919
+ icon: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_lucide_react32.FolderOpen, { size: 16 }),
30832
30920
  onClick: toggleTools,
30833
30921
  pressed: toolsVisible
30834
30922
  }
@@ -30928,12 +31016,12 @@ var import_react104 = require("react");
30928
31016
  // src/components/Chat/ChatSidebar.tsx
30929
31017
  var import_react103 = require("react");
30930
31018
  var import_antd95 = require("antd");
30931
- var import_lucide_react33 = require("lucide-react");
31019
+ var import_lucide_react34 = require("lucide-react");
30932
31020
 
30933
31021
  // src/components/Chat/ThreadHistoryMenuContent.tsx
30934
31022
  var import_react102 = __toESM(require("react"));
30935
31023
  var import_antd_style39 = require("antd-style");
30936
- var import_lucide_react32 = require("lucide-react");
31024
+ var import_lucide_react33 = require("lucide-react");
30937
31025
  var import_antd94 = require("antd");
30938
31026
  var import_jsx_runtime120 = require("react/jsx-runtime");
30939
31027
  var useStyles22 = (0, import_antd_style39.createStyles)(({ token, css }) => ({
@@ -31083,7 +31171,7 @@ var ThreadHistoryMenuContent = () => {
31083
31171
  onClick: () => selectThread(thread.id),
31084
31172
  title: thread.label,
31085
31173
  children: [
31086
- /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: styles.threadIcon, children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_lucide_react32.MessageSquare, { size: 14 }) }),
31174
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("div", { className: styles.threadIcon, children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_lucide_react33.MessageSquare, { size: 14 }) }),
31087
31175
  /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
31088
31176
  "div",
31089
31177
  {
@@ -31097,7 +31185,7 @@ var ThreadHistoryMenuContent = () => {
31097
31185
  className: styles.deleteBtn,
31098
31186
  onClick: (e) => handleDeleteThread(e, thread.id),
31099
31187
  title: "Delete conversation",
31100
- children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_lucide_react32.Trash2, { size: 12 })
31188
+ children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_lucide_react33.Trash2, { size: 12 })
31101
31189
  }
31102
31190
  )
31103
31191
  ]
@@ -31132,7 +31220,7 @@ var DEFAULT_MENU_ITEMS = [
31132
31220
  builtin: "new-analysis",
31133
31221
  type: "action",
31134
31222
  name: "New Analysis",
31135
- icon: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react33.PlusCircle, { size: 20 }),
31223
+ icon: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react34.PlusCircle, { size: 20 }),
31136
31224
  order: 0
31137
31225
  },
31138
31226
  {
@@ -31140,7 +31228,7 @@ var DEFAULT_MENU_ITEMS = [
31140
31228
  builtin: "thread-history",
31141
31229
  type: "drawer",
31142
31230
  name: "History",
31143
- icon: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react33.History, { size: 20 }),
31231
+ icon: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react34.History, { size: 20 }),
31144
31232
  order: 1,
31145
31233
  title: "Conversation History",
31146
31234
  width: 320,
@@ -31226,7 +31314,7 @@ var ChatSidebar = ({
31226
31314
  style: { justifyContent: "flex-start", padding: "8px 12px" },
31227
31315
  onClick: () => setChangePasswordOpen(true),
31228
31316
  children: [
31229
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react33.Key, { size: 16, style: { marginRight: 8 } }),
31317
+ /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react34.Key, { size: 16, style: { marginRight: 8 } }),
31230
31318
  "Change Password"
31231
31319
  ]
31232
31320
  }
@@ -31240,7 +31328,7 @@ var ChatSidebar = ({
31240
31328
  style: { justifyContent: "flex-start", padding: "8px 12px" },
31241
31329
  onClick: logout,
31242
31330
  children: [
31243
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react33.LogOut, { size: 16, style: { marginRight: 8 } }),
31331
+ /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react34.LogOut, { size: 16, style: { marginRight: 8 } }),
31244
31332
  "Logout"
31245
31333
  ]
31246
31334
  }
@@ -31354,7 +31442,7 @@ var ChatSidebar = ({
31354
31442
  background: "rgba(255, 255, 255, 0.5)",
31355
31443
  cursor: "pointer"
31356
31444
  },
31357
- children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react33.PanelLeftClose, { size: 24 })
31445
+ children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_lucide_react34.PanelLeftClose, { size: 24 })
31358
31446
  }
31359
31447
  )
31360
31448
  ] }),
@@ -32802,7 +32890,7 @@ var LatticeChatShell = (props) => {
32802
32890
  // src/components/Chat/ChannelInstallationsDrawerContent.tsx
32803
32891
  var import_react106 = require("react");
32804
32892
  var import_antd97 = require("antd");
32805
- var import_lucide_react34 = require("lucide-react");
32893
+ var import_lucide_react35 = require("lucide-react");
32806
32894
  var import_jsx_runtime126 = require("react/jsx-runtime");
32807
32895
  var { Text: Text47, Title: Title17 } = import_antd97.Typography;
32808
32896
  var ChannelInstallationsDrawerContent = () => {
@@ -32867,7 +32955,7 @@ var ChannelInstallationsDrawerContent = () => {
32867
32955
  import_antd97.Button,
32868
32956
  {
32869
32957
  type: "primary",
32870
- icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_lucide_react34.Plus, { size: 16 }),
32958
+ icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_lucide_react35.Plus, { size: 16 }),
32871
32959
  onClick: () => {
32872
32960
  setEditingInstallation(null);
32873
32961
  setFormModalOpen(true);
@@ -32889,7 +32977,7 @@ var ChannelInstallationsDrawerContent = () => {
32889
32977
  padding: "48px 16px"
32890
32978
  },
32891
32979
  children: [
32892
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_lucide_react34.RadioTower, { size: 48, style: { marginBottom: 16, opacity: 0.5 } }),
32980
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_lucide_react35.RadioTower, { size: 48, style: { marginBottom: 16, opacity: 0.5 } }),
32893
32981
  /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Text47, { strong: true, style: { fontSize: 15 }, children: "No channel installations" }),
32894
32982
  /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(Text47, { type: "secondary", style: { marginTop: 8 }, children: 'Click "Add Installation" to create one' })
32895
32983
  ]
@@ -32934,7 +33022,7 @@ var ChannelInstallationsDrawerContent = () => {
32934
33022
  /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
32935
33023
  import_antd97.Button,
32936
33024
  {
32937
- icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_lucide_react34.Edit2, { size: 14 }),
33025
+ icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_lucide_react35.Edit2, { size: 14 }),
32938
33026
  onClick: () => {
32939
33027
  setEditingInstallation(installation);
32940
33028
  setFormModalOpen(true);
@@ -32951,7 +33039,7 @@ var ChannelInstallationsDrawerContent = () => {
32951
33039
  okText: "Delete",
32952
33040
  okType: "danger",
32953
33041
  cancelText: "Cancel",
32954
- children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_antd97.Button, { danger: true, icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_lucide_react34.Trash2, { size: 14 }), children: "Delete" })
33042
+ children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_antd97.Button, { danger: true, icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_lucide_react35.Trash2, { size: 14 }), children: "Delete" })
32955
33043
  }
32956
33044
  )
32957
33045
  ] })