@burtson-labs/bandit-engine 2.0.80 → 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.
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-VDVXUEP2.mjs";
3
+ } from "./chunk-VXK5FNOU.mjs";
4
4
  import {
5
5
  chat_provider_default
6
6
  } from "./chunk-OPN32F2X.mjs";
@@ -10,7 +10,7 @@ import {
10
10
  useGatewayHealth,
11
11
  useGatewayMemory,
12
12
  useGatewayModels
13
- } from "./chunk-L2AKXXK3.mjs";
13
+ } from "./chunk-RZFI2HR4.mjs";
14
14
  import "./chunk-YYYEMVBV.mjs";
15
15
  import "./chunk-6ITUH375.mjs";
16
16
  import "./chunk-3LT77723.mjs";
@@ -25743,6 +25743,7 @@ var init_conversation_drawer = __esm({
25743
25743
  init_packageSettingsStore();
25744
25744
  init_brandingService();
25745
25745
  init_project_management_modal();
25746
+ init_memory_modal();
25746
25747
  init_move_conversation_modal();
25747
25748
  init_simple_conversation_item();
25748
25749
  init_project_header();
@@ -25800,6 +25801,7 @@ var init_conversation_drawer = __esm({
25800
25801
  deleteProject
25801
25802
  } = useProjectStore();
25802
25803
  const [projectManagementOpen, setProjectManagementOpen] = (0, import_react53.useState)(false);
25804
+ const [memoryModalOpen, setMemoryModalOpen] = (0, import_react53.useState)(false);
25803
25805
  const [collapsedProjects, setCollapsedProjects] = (0, import_react53.useState)(/* @__PURE__ */ new Set());
25804
25806
  const didInitCollapseRef = (0, import_react53.useRef)(false);
25805
25807
  const [searchQuery, setSearchQuery] = (0, import_react53.useState)("");
@@ -26050,6 +26052,22 @@ var init_conversation_drawer = __esm({
26050
26052
  gap: 1
26051
26053
  },
26052
26054
  children: [
26055
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material42.Tooltip, { title: "Memories", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
26056
+ import_material42.IconButton,
26057
+ {
26058
+ onClick: () => setMemoryModalOpen(true),
26059
+ size: "small",
26060
+ "aria-label": "Memories",
26061
+ sx: {
26062
+ color: theme.palette.text.secondary,
26063
+ "&:hover": {
26064
+ color: theme.palette.primary.main,
26065
+ bgcolor: (0, import_material42.alpha)(theme.palette.primary.main, 0.1)
26066
+ }
26067
+ },
26068
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react10.Brain, {})
26069
+ }
26070
+ ) }),
26053
26071
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material42.Tooltip, { title: tooltip("manageProjects"), arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
26054
26072
  import_material42.IconButton,
26055
26073
  {
@@ -26474,6 +26492,7 @@ var init_conversation_drawer = __esm({
26474
26492
  onClose: () => setProjectManagementOpen(false)
26475
26493
  }
26476
26494
  ),
26495
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(memory_modal_default, { open: memoryModalOpen, onClose: () => setMemoryModalOpen(false) }),
26477
26496
  conversationToMove && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
26478
26497
  move_conversation_modal_default,
26479
26498
  {