@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.
- package/dist/{chat-62D72T4J.mjs → chat-EY3MIZVY.mjs} +2 -2
- package/dist/{chunk-XJH5E5QG.mjs → chunk-RZFI2HR4.mjs} +2 -2
- package/dist/{chunk-3E66ZVMB.mjs → chunk-VXK5FNOU.mjs} +31 -4
- package/dist/chunk-VXK5FNOU.mjs.map +1 -0
- package/dist/index.js +30 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +30 -2
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3E66ZVMB.mjs.map +0 -1
- /package/dist/{chat-62D72T4J.mjs.map → chat-EY3MIZVY.mjs.map} +0 -0
- /package/dist/{chunk-XJH5E5QG.mjs.map → chunk-RZFI2HR4.mjs.map} +0 -0
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
|
{
|
|
@@ -24202,16 +24220,25 @@ var init_conversation_drawer = __esm({
|
|
|
24202
24220
|
children: user2 ? userDisplayName : "Not signed in"
|
|
24203
24221
|
}
|
|
24204
24222
|
),
|
|
24205
|
-
|
|
24223
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
24206
24224
|
import_material21.Typography,
|
|
24207
24225
|
{
|
|
24208
24226
|
variant: "caption",
|
|
24227
|
+
noWrap: true,
|
|
24209
24228
|
sx: { color: theme.palette.text.secondary },
|
|
24210
|
-
children: "Connect your account to sync chats"
|
|
24229
|
+
children: user2 ? userSecondaryText || "View profile & settings" : "Connect your account to sync chats"
|
|
24211
24230
|
}
|
|
24212
24231
|
)
|
|
24213
24232
|
]
|
|
24214
24233
|
}
|
|
24234
|
+
),
|
|
24235
|
+
user2 && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
24236
|
+
import_lucide_react8.Settings,
|
|
24237
|
+
{
|
|
24238
|
+
size: 18,
|
|
24239
|
+
color: theme.palette.text.secondary,
|
|
24240
|
+
style: { flexShrink: 0, opacity: 0.85 }
|
|
24241
|
+
}
|
|
24215
24242
|
)
|
|
24216
24243
|
]
|
|
24217
24244
|
}
|
|
@@ -24226,6 +24253,7 @@ var init_conversation_drawer = __esm({
|
|
|
24226
24253
|
onClose: () => setProjectManagementOpen(false)
|
|
24227
24254
|
}
|
|
24228
24255
|
),
|
|
24256
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(memory_modal_default, { open: memoryModalOpen, onClose: () => setMemoryModalOpen(false) }),
|
|
24229
24257
|
conversationToMove && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
24230
24258
|
move_conversation_modal_default,
|
|
24231
24259
|
{
|