@burtson-labs/bandit-engine 2.0.138 → 2.0.139

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.
@@ -9776,7 +9776,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
9776
9776
 
9777
9777
  // src/management/management.tsx
9778
9778
  import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
9779
- var preloadChatPage = () => import("./chat-VBE333NU.mjs");
9779
+ var preloadChatPage = () => import("./chat-KR4S7YJ3.mjs");
9780
9780
  var buildCapabilitiesUrl = (gatewayApiUrl) => {
9781
9781
  const trimmed = gatewayApiUrl.replace(/\/$/, "");
9782
9782
  if (trimmed.endsWith("/api")) {
@@ -11149,4 +11149,4 @@ export {
11149
11149
  useGatewayMemory,
11150
11150
  management_default
11151
11151
  };
11152
- //# sourceMappingURL=chunk-WBWVXJF3.mjs.map
11152
+ //# sourceMappingURL=chunk-S7W2AAFG.mjs.map
package/dist/index.js CHANGED
@@ -31676,14 +31676,14 @@ var init_chat2 = __esm({
31676
31676
  }
31677
31677
  ),
31678
31678
  isTemporaryChat && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
31679
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
31679
+ !isMobile && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
31680
31680
  import_material33.Box,
31681
31681
  {
31682
31682
  sx: (theme) => ({
31683
31683
  position: "absolute",
31684
- inset: isMobile ? "3px" : 0,
31684
+ inset: 0,
31685
31685
  border: `3px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.55)" : "rgba(0,0,0,0.45)"}`,
31686
- borderRadius: isMobile ? "28px" : "inherit",
31686
+ borderRadius: "inherit",
31687
31687
  zIndex: 1400,
31688
31688
  pointerEvents: "none"
31689
31689
  })
@@ -31694,7 +31694,9 @@ var init_chat2 = __esm({
31694
31694
  {
31695
31695
  sx: (theme) => ({
31696
31696
  position: "absolute",
31697
- top: `calc(${theme.spacing(8)} + env(safe-area-inset-top, 0px))`,
31697
+ // Mobile: centered in the top-bar row between the two pills
31698
+ // (Claude's "Incognito chat" placement); desktop: below the bar.
31699
+ top: isMobile ? "calc(env(safe-area-inset-top, 0px) + 14px)" : `calc(${theme.spacing(8)} + env(safe-area-inset-top, 0px))`,
31698
31700
  left: "50%",
31699
31701
  transform: "translateX(-50%)",
31700
31702
  zIndex: 1401,
@@ -31703,14 +31705,15 @@ var init_chat2 = __esm({
31703
31705
  gap: 0.75,
31704
31706
  pl: 1.5,
31705
31707
  pr: 0.75,
31706
- py: 0.4,
31708
+ py: 0.6,
31707
31709
  borderRadius: 999,
31708
- fontSize: "0.78rem",
31709
- fontWeight: 600,
31710
- color: theme.palette.text.primary,
31711
- bgcolor: theme.palette.mode === "dark" ? "rgba(255,255,255,0.12)" : "rgba(0,0,0,0.08)",
31712
- border: `1px solid ${theme.palette.divider}`,
31713
- backdropFilter: "blur(8px)",
31710
+ fontSize: "0.82rem",
31711
+ fontWeight: 700,
31712
+ // Inverted, high-contrast — same treatment as the active
31713
+ // ghost toggle, so the mode is unmissable without a frame.
31714
+ color: theme.palette.getContrastText(theme.palette.text.primary),
31715
+ bgcolor: theme.palette.text.primary,
31716
+ boxShadow: `0 4px 16px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.5)" : "rgba(0,0,0,0.25)"}`,
31714
31717
  whiteSpace: "nowrap"
31715
31718
  }),
31716
31719
  children: [
@@ -31727,21 +31730,22 @@ var init_chat2 = __esm({
31727
31730
  display: "inline-flex",
31728
31731
  alignItems: "center",
31729
31732
  justifyContent: "center",
31730
- width: 20,
31731
- height: 20,
31733
+ width: 22,
31734
+ height: 22,
31732
31735
  ml: 0.25,
31733
31736
  p: 0,
31734
31737
  border: "none",
31735
31738
  borderRadius: "50%",
31736
31739
  cursor: "pointer",
31737
- color: theme.palette.text.secondary,
31740
+ color: "inherit",
31738
31741
  bgcolor: "transparent",
31739
31742
  font: "inherit",
31740
- fontSize: "0.85rem",
31743
+ fontSize: "0.9rem",
31741
31744
  lineHeight: 1,
31745
+ opacity: 0.75,
31742
31746
  "&:hover": {
31743
- bgcolor: theme.palette.mode === "dark" ? "rgba(255,255,255,0.15)" : "rgba(0,0,0,0.1)",
31744
- color: theme.palette.text.primary
31747
+ opacity: 1,
31748
+ bgcolor: theme.palette.mode === "dark" ? "rgba(0,0,0,0.12)" : "rgba(255,255,255,0.2)"
31745
31749
  }
31746
31750
  }),
31747
31751
  children: "\u2715"