@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.
@@ -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-OD4BF2XP.mjs");
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-KBRI54SC.mjs.map
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({