@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.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
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-
|
|
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
|
{
|
|
@@ -26441,16 +26459,25 @@ var init_conversation_drawer = __esm({
|
|
|
26441
26459
|
children: user2 ? userDisplayName : "Not signed in"
|
|
26442
26460
|
}
|
|
26443
26461
|
),
|
|
26444
|
-
|
|
26462
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
26445
26463
|
import_material42.Typography,
|
|
26446
26464
|
{
|
|
26447
26465
|
variant: "caption",
|
|
26466
|
+
noWrap: true,
|
|
26448
26467
|
sx: { color: theme.palette.text.secondary },
|
|
26449
|
-
children: "Connect your account to sync chats"
|
|
26468
|
+
children: user2 ? userSecondaryText || "View profile & settings" : "Connect your account to sync chats"
|
|
26450
26469
|
}
|
|
26451
26470
|
)
|
|
26452
26471
|
]
|
|
26453
26472
|
}
|
|
26473
|
+
),
|
|
26474
|
+
user2 && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
26475
|
+
import_lucide_react10.Settings,
|
|
26476
|
+
{
|
|
26477
|
+
size: 18,
|
|
26478
|
+
color: theme.palette.text.secondary,
|
|
26479
|
+
style: { flexShrink: 0, opacity: 0.85 }
|
|
26480
|
+
}
|
|
26454
26481
|
)
|
|
26455
26482
|
]
|
|
26456
26483
|
}
|
|
@@ -26465,6 +26492,7 @@ var init_conversation_drawer = __esm({
|
|
|
26465
26492
|
onClose: () => setProjectManagementOpen(false)
|
|
26466
26493
|
}
|
|
26467
26494
|
),
|
|
26495
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(memory_modal_default, { open: memoryModalOpen, onClose: () => setMemoryModalOpen(false) }),
|
|
26468
26496
|
conversationToMove && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
26469
26497
|
move_conversation_modal_default,
|
|
26470
26498
|
{
|