@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.js CHANGED
@@ -23504,6 +23504,7 @@ var init_conversation_drawer = __esm({
23504
23504
  init_packageSettingsStore();
23505
23505
  init_brandingService();
23506
23506
  init_project_management_modal();
23507
+ init_memory_modal();
23507
23508
  init_move_conversation_modal();
23508
23509
  init_simple_conversation_item();
23509
23510
  init_project_header();
@@ -23561,6 +23562,7 @@ var init_conversation_drawer = __esm({
23561
23562
  deleteProject
23562
23563
  } = useProjectStore();
23563
23564
  const [projectManagementOpen, setProjectManagementOpen] = (0, import_react30.useState)(false);
23565
+ const [memoryModalOpen, setMemoryModalOpen] = (0, import_react30.useState)(false);
23564
23566
  const [collapsedProjects, setCollapsedProjects] = (0, import_react30.useState)(/* @__PURE__ */ new Set());
23565
23567
  const didInitCollapseRef = (0, import_react30.useRef)(false);
23566
23568
  const [searchQuery, setSearchQuery] = (0, import_react30.useState)("");
@@ -23811,6 +23813,22 @@ var init_conversation_drawer = __esm({
23811
23813
  gap: 1
23812
23814
  },
23813
23815
  children: [
23816
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_material21.Tooltip, { title: "Memories", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
23817
+ import_material21.IconButton,
23818
+ {
23819
+ onClick: () => setMemoryModalOpen(true),
23820
+ size: "small",
23821
+ "aria-label": "Memories",
23822
+ sx: {
23823
+ color: theme.palette.text.secondary,
23824
+ "&:hover": {
23825
+ color: theme.palette.primary.main,
23826
+ bgcolor: (0, import_material21.alpha)(theme.palette.primary.main, 0.1)
23827
+ }
23828
+ },
23829
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_lucide_react8.Brain, {})
23830
+ }
23831
+ ) }),
23814
23832
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_material21.Tooltip, { title: tooltip("manageProjects"), arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
23815
23833
  import_material21.IconButton,
23816
23834
  {
@@ -24235,6 +24253,7 @@ var init_conversation_drawer = __esm({
24235
24253
  onClose: () => setProjectManagementOpen(false)
24236
24254
  }
24237
24255
  ),
24256
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(memory_modal_default, { open: memoryModalOpen, onClose: () => setMemoryModalOpen(false) }),
24238
24257
  conversationToMove && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
24239
24258
  move_conversation_modal_default,
24240
24259
  {