@burtson-labs/bandit-engine 2.0.79 → 2.0.81

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-3E66ZVMB.mjs";
3
+ } from "./chunk-VXK5FNOU.mjs";
4
4
  import "./chunk-ONQMRE2G.mjs";
5
5
  import "./chunk-YYYEMVBV.mjs";
6
6
  import "./chunk-3LT77723.mjs";
@@ -13,4 +13,4 @@ import "./chunk-BJTO5JO5.mjs";
13
13
  export {
14
14
  chat_default as default
15
15
  };
16
- //# sourceMappingURL=chat-62D72T4J.mjs.map
16
+ //# sourceMappingURL=chat-EY3MIZVY.mjs.map
@@ -9741,7 +9741,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
9741
9741
 
9742
9742
  // src/management/management.tsx
9743
9743
  import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
9744
- var preloadChatPage = () => import("./chat-62D72T4J.mjs");
9744
+ var preloadChatPage = () => import("./chat-EY3MIZVY.mjs");
9745
9745
  var buildCapabilitiesUrl = (gatewayApiUrl) => {
9746
9746
  const trimmed = gatewayApiUrl.replace(/\/$/, "");
9747
9747
  if (trimmed.endsWith("/api")) {
@@ -11107,4 +11107,4 @@ export {
11107
11107
  useGatewayMemory,
11108
11108
  management_default
11109
11109
  };
11110
- //# sourceMappingURL=chunk-XJH5E5QG.mjs.map
11110
+ //# sourceMappingURL=chunk-RZFI2HR4.mjs.map
@@ -4254,7 +4254,7 @@ import {
4254
4254
  Avatar as Avatar6,
4255
4255
  alpha as alpha6
4256
4256
  } from "@mui/material";
4257
- import { X as CloseIcon4, X as ClearIcon, Search as SearchIcon, Folder as FolderIcon4, MoreVertical as MoreVertIcon3, Trash2 as DeleteSweepIcon, Inbox as InboxIcon3, Plus as AddIcon4 } from "lucide-react";
4257
+ import { X as CloseIcon4, X as ClearIcon, Search as SearchIcon, Folder as FolderIcon4, MoreVertical as MoreVertIcon3, Trash2 as DeleteSweepIcon, Inbox as InboxIcon3, Plus as AddIcon4, Settings as SettingsIcon2, Brain as MemoryIcon } from "lucide-react";
4258
4258
  import { useTheme as useTheme10 } from "@mui/material/styles";
4259
4259
 
4260
4260
  // src/chat/project-management-modal.tsx
@@ -5815,6 +5815,7 @@ var ConversationDrawer = ({ open, onClose }) => {
5815
5815
  deleteProject
5816
5816
  } = useProjectStore();
5817
5817
  const [projectManagementOpen, setProjectManagementOpen] = useState11(false);
5818
+ const [memoryModalOpen, setMemoryModalOpen] = useState11(false);
5818
5819
  const [collapsedProjects, setCollapsedProjects] = useState11(/* @__PURE__ */ new Set());
5819
5820
  const didInitCollapseRef = useRef8(false);
5820
5821
  const [searchQuery, setSearchQuery] = useState11("");
@@ -6065,6 +6066,22 @@ var ConversationDrawer = ({ open, onClose }) => {
6065
6066
  gap: 1
6066
6067
  },
6067
6068
  children: [
6069
+ /* @__PURE__ */ jsx12(Tooltip3, { title: "Memories", arrow: true, children: /* @__PURE__ */ jsx12(
6070
+ IconButton7,
6071
+ {
6072
+ onClick: () => setMemoryModalOpen(true),
6073
+ size: "small",
6074
+ "aria-label": "Memories",
6075
+ sx: {
6076
+ color: theme.palette.text.secondary,
6077
+ "&:hover": {
6078
+ color: theme.palette.primary.main,
6079
+ bgcolor: alpha6(theme.palette.primary.main, 0.1)
6080
+ }
6081
+ },
6082
+ children: /* @__PURE__ */ jsx12(MemoryIcon, {})
6083
+ }
6084
+ ) }),
6068
6085
  /* @__PURE__ */ jsx12(Tooltip3, { title: tooltip("manageProjects"), arrow: true, children: /* @__PURE__ */ jsx12(
6069
6086
  IconButton7,
6070
6087
  {
@@ -6456,16 +6473,25 @@ var ConversationDrawer = ({ open, onClose }) => {
6456
6473
  children: user ? userDisplayName : "Not signed in"
6457
6474
  }
6458
6475
  ),
6459
- !user && /* @__PURE__ */ jsx12(
6476
+ /* @__PURE__ */ jsx12(
6460
6477
  Typography7,
6461
6478
  {
6462
6479
  variant: "caption",
6480
+ noWrap: true,
6463
6481
  sx: { color: theme.palette.text.secondary },
6464
- children: "Connect your account to sync chats"
6482
+ children: user ? userSecondaryText || "View profile & settings" : "Connect your account to sync chats"
6465
6483
  }
6466
6484
  )
6467
6485
  ]
6468
6486
  }
6487
+ ),
6488
+ user && /* @__PURE__ */ jsx12(
6489
+ SettingsIcon2,
6490
+ {
6491
+ size: 18,
6492
+ color: theme.palette.text.secondary,
6493
+ style: { flexShrink: 0, opacity: 0.85 }
6494
+ }
6469
6495
  )
6470
6496
  ]
6471
6497
  }
@@ -6480,6 +6506,7 @@ var ConversationDrawer = ({ open, onClose }) => {
6480
6506
  onClose: () => setProjectManagementOpen(false)
6481
6507
  }
6482
6508
  ),
6509
+ /* @__PURE__ */ jsx12(memory_modal_default, { open: memoryModalOpen, onClose: () => setMemoryModalOpen(false) }),
6483
6510
  conversationToMove && /* @__PURE__ */ jsx12(
6484
6511
  move_conversation_modal_default,
6485
6512
  {
@@ -10151,4 +10178,4 @@ var chat_default = Chat;
10151
10178
  export {
10152
10179
  chat_default
10153
10180
  };
10154
- //# sourceMappingURL=chunk-3E66ZVMB.mjs.map
10181
+ //# sourceMappingURL=chunk-VXK5FNOU.mjs.map