@burtson-labs/bandit-engine 2.0.143 → 2.0.144
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-OD4BF2XP.mjs → chat-QX6PB2YG.mjs} +2 -2
- package/dist/{chunk-EWAZFMA3.mjs → chunk-TQFUNLAT.mjs} +8 -1
- package/dist/chunk-TQFUNLAT.mjs.map +1 -0
- package/dist/{chunk-KBRI54SC.mjs → chunk-ZZO2QCAD.mjs} +2 -2
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +7 -0
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-EWAZFMA3.mjs.map +0 -1
- /package/dist/{chat-OD4BF2XP.mjs.map → chat-QX6PB2YG.mjs.map} +0 -0
- /package/dist/{chunk-KBRI54SC.mjs.map → chunk-ZZO2QCAD.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-TQFUNLAT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
chat_provider_default
|
|
6
6
|
} from "./chunk-PU74BI6Y.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
useGatewayHealth,
|
|
11
11
|
useGatewayMemory,
|
|
12
12
|
useGatewayModels
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZZO2QCAD.mjs";
|
|
14
14
|
import "./chunk-P5IJLX6I.mjs";
|
|
15
15
|
import "./chunk-F7JXIW6T.mjs";
|
|
16
16
|
import "./chunk-K2JGFKEB.mjs";
|
|
@@ -30269,6 +30269,13 @@ var init_chat2 = __esm({
|
|
|
30269
30269
|
const [isMobile, setIsMobile] = (0, import_react63.useState)(false);
|
|
30270
30270
|
const [drawerOpen, setDrawerOpen] = (0, import_react63.useState)(false);
|
|
30271
30271
|
const [mobileConversationsOpen, setMobileConversationsOpen] = (0, import_react63.useState)(false);
|
|
30272
|
+
(0, import_react63.useEffect)(() => {
|
|
30273
|
+
if (typeof document === "undefined") return;
|
|
30274
|
+
const meta = document.querySelector('meta[name="theme-color"]');
|
|
30275
|
+
if (!meta) return;
|
|
30276
|
+
const surface = isMobile && mobileConversationsOpen ? banditTheme.palette.background.paper : banditTheme.palette.chat?.shell ?? "#121212";
|
|
30277
|
+
meta.setAttribute("content", surface);
|
|
30278
|
+
}, [isMobile, mobileConversationsOpen, banditTheme]);
|
|
30272
30279
|
const { generateName } = useConversationNameGenerator();
|
|
30273
30280
|
const { preferences } = usePreferencesStore();
|
|
30274
30281
|
const { containerRef: chatContainerRef, targetRef: scrollTargetRef, scrollToBottom, getScrollState } = useAutoScroll({
|