@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
|
@@ -9811,7 +9811,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
|
|
|
9811
9811
|
|
|
9812
9812
|
// src/management/management.tsx
|
|
9813
9813
|
import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9814
|
-
var preloadChatPage = () => import("./chat-
|
|
9814
|
+
var preloadChatPage = () => import("./chat-QX6PB2YG.mjs");
|
|
9815
9815
|
var buildCapabilitiesUrl = (gatewayApiUrl) => {
|
|
9816
9816
|
const trimmed = gatewayApiUrl.replace(/\/$/, "");
|
|
9817
9817
|
if (trimmed.endsWith("/api")) {
|
|
@@ -11184,4 +11184,4 @@ export {
|
|
|
11184
11184
|
useGatewayMemory,
|
|
11185
11185
|
management_default
|
|
11186
11186
|
};
|
|
11187
|
-
//# sourceMappingURL=chunk-
|
|
11187
|
+
//# sourceMappingURL=chunk-ZZO2QCAD.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -30659,6 +30659,13 @@ var init_chat2 = __esm({
|
|
|
30659
30659
|
const [isMobile, setIsMobile] = (0, import_react41.useState)(false);
|
|
30660
30660
|
const [drawerOpen, setDrawerOpen] = (0, import_react41.useState)(false);
|
|
30661
30661
|
const [mobileConversationsOpen, setMobileConversationsOpen] = (0, import_react41.useState)(false);
|
|
30662
|
+
(0, import_react41.useEffect)(() => {
|
|
30663
|
+
if (typeof document === "undefined") return;
|
|
30664
|
+
const meta = document.querySelector('meta[name="theme-color"]');
|
|
30665
|
+
if (!meta) return;
|
|
30666
|
+
const surface = isMobile && mobileConversationsOpen ? banditTheme.palette.background.paper : banditTheme.palette.chat?.shell ?? "#121212";
|
|
30667
|
+
meta.setAttribute("content", surface);
|
|
30668
|
+
}, [isMobile, mobileConversationsOpen, banditTheme]);
|
|
30662
30669
|
const { generateName } = useConversationNameGenerator();
|
|
30663
30670
|
const { preferences } = usePreferencesStore();
|
|
30664
30671
|
const { containerRef: chatContainerRef, targetRef: scrollTargetRef, scrollToBottom, getScrollState } = useAutoScroll({
|