@burtson-labs/bandit-engine 2.0.138 → 2.0.140

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-LDGJKNI4.mjs";
3
+ } from "./chunk-EN54BLJ2.mjs";
4
4
  import "./chunk-ONQMRE2G.mjs";
5
5
  import "./chunk-BVYSGIWG.mjs";
6
6
  import "./chunk-K2JGFKEB.mjs";
@@ -13,4 +13,4 @@ import "./chunk-BJTO5JO5.mjs";
13
13
  export {
14
14
  chat_default as default
15
15
  };
16
- //# sourceMappingURL=chat-VBE333NU.mjs.map
16
+ //# sourceMappingURL=chat-OBHYQWXK.mjs.map
@@ -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-OBHYQWXK.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-3C2RRTYB.mjs.map
@@ -8267,10 +8267,9 @@ var EnhancedMobileConversationsModal = ({
8267
8267
  // Keep in sync with MOBILE_CONVERSATIONS_DRAWER_WIDTH in chat.tsx
8268
8268
  // (the chat shell translates by the same amount).
8269
8269
  width: "min(calc(100vw - 56px), 360px)",
8270
- // Explicit 100lvh overflows iOS standalone's under-reported
8271
- // viewport downward — bottom-anchoring alone stops short.
8272
- height: "100dvh",
8273
- "@supports (height: 100lvh)": { height: "100lvh" },
8270
+ // top/bottom stretch sizes to the real webview; iOS reserves
8271
+ // the home-indicator strip below it (page bg matches, so the
8272
+ // seam is invisible).
8274
8273
  bgcolor: theme.palette.background.paper,
8275
8274
  display: "flex",
8276
8275
  flexDirection: "column",
@@ -11237,18 +11236,16 @@ var ChatContent = () => {
11237
11236
  sx: (theme) => ({
11238
11237
  display: "flex",
11239
11238
  flexDirection: "column",
11240
- // iOS standalone under-reports both dvh AND the fixed-position
11241
- // containing block, stranding a dead band above the home bar.
11242
- // An explicit 100lvh height can overflow that short viewport
11243
- // downward, which bottom-anchoring cannot.
11239
+ // Size to the real webview via top/bottom stretch. iOS standalone
11240
+ // walls off the home-indicator strip OUTSIDE the webview — forcing
11241
+ // 100lvh overflowed it and clipped the composer. The strip itself
11242
+ // is made invisible by matching the page background to the shell.
11244
11243
  overflow: "hidden",
11245
11244
  bgcolor: theme.palette.chat.shell,
11246
11245
  color: theme.palette.text.primary,
11247
11246
  position: "fixed",
11248
11247
  top: 0,
11249
11248
  bottom: 0,
11250
- height: "100dvh",
11251
- "@supports (height: 100lvh)": { height: "100lvh" },
11252
11249
  left: drawerOpen && !isMobile ? "340px" : 0,
11253
11250
  width: !isMobile && canvasOpen ? `calc(100vw - ${drawerOpen ? "340px" : "0px"} - ${CANVAS_WIDTH})` : drawerOpen && !isMobile ? "calc(100vw - 340px)" : "100vw",
11254
11251
  // Claude-style push (mobile only; desktop stays flush): the chat
@@ -11291,14 +11288,14 @@ var ChatContent = () => {
11291
11288
  }
11292
11289
  ),
11293
11290
  isTemporaryChat && /* @__PURE__ */ jsxs18(Fragment13, { children: [
11294
- /* @__PURE__ */ jsx23(
11291
+ !isMobile && /* @__PURE__ */ jsx23(
11295
11292
  Box20,
11296
11293
  {
11297
11294
  sx: (theme) => ({
11298
11295
  position: "absolute",
11299
- inset: isMobile ? "3px" : 0,
11296
+ inset: 0,
11300
11297
  border: `3px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.55)" : "rgba(0,0,0,0.45)"}`,
11301
- borderRadius: isMobile ? "28px" : "inherit",
11298
+ borderRadius: "inherit",
11302
11299
  zIndex: 1400,
11303
11300
  pointerEvents: "none"
11304
11301
  })
@@ -11309,7 +11306,9 @@ var ChatContent = () => {
11309
11306
  {
11310
11307
  sx: (theme) => ({
11311
11308
  position: "absolute",
11312
- top: `calc(${theme.spacing(8)} + env(safe-area-inset-top, 0px))`,
11309
+ // Mobile: centered in the top-bar row between the two pills
11310
+ // (Claude's "Incognito chat" placement); desktop: below the bar.
11311
+ top: isMobile ? "calc(env(safe-area-inset-top, 0px) + 14px)" : `calc(${theme.spacing(8)} + env(safe-area-inset-top, 0px))`,
11313
11312
  left: "50%",
11314
11313
  transform: "translateX(-50%)",
11315
11314
  zIndex: 1401,
@@ -11318,14 +11317,15 @@ var ChatContent = () => {
11318
11317
  gap: 0.75,
11319
11318
  pl: 1.5,
11320
11319
  pr: 0.75,
11321
- py: 0.4,
11320
+ py: 0.6,
11322
11321
  borderRadius: 999,
11323
- fontSize: "0.78rem",
11324
- fontWeight: 600,
11325
- color: theme.palette.text.primary,
11326
- bgcolor: theme.palette.mode === "dark" ? "rgba(255,255,255,0.12)" : "rgba(0,0,0,0.08)",
11327
- border: `1px solid ${theme.palette.divider}`,
11328
- backdropFilter: "blur(8px)",
11322
+ fontSize: "0.82rem",
11323
+ fontWeight: 700,
11324
+ // Inverted, high-contrast — same treatment as the active
11325
+ // ghost toggle, so the mode is unmissable without a frame.
11326
+ color: theme.palette.getContrastText(theme.palette.text.primary),
11327
+ bgcolor: theme.palette.text.primary,
11328
+ boxShadow: `0 4px 16px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.5)" : "rgba(0,0,0,0.25)"}`,
11329
11329
  whiteSpace: "nowrap"
11330
11330
  }),
11331
11331
  children: [
@@ -11342,21 +11342,22 @@ var ChatContent = () => {
11342
11342
  display: "inline-flex",
11343
11343
  alignItems: "center",
11344
11344
  justifyContent: "center",
11345
- width: 20,
11346
- height: 20,
11345
+ width: 22,
11346
+ height: 22,
11347
11347
  ml: 0.25,
11348
11348
  p: 0,
11349
11349
  border: "none",
11350
11350
  borderRadius: "50%",
11351
11351
  cursor: "pointer",
11352
- color: theme.palette.text.secondary,
11352
+ color: "inherit",
11353
11353
  bgcolor: "transparent",
11354
11354
  font: "inherit",
11355
- fontSize: "0.85rem",
11355
+ fontSize: "0.9rem",
11356
11356
  lineHeight: 1,
11357
+ opacity: 0.75,
11357
11358
  "&:hover": {
11358
- bgcolor: theme.palette.mode === "dark" ? "rgba(255,255,255,0.15)" : "rgba(0,0,0,0.1)",
11359
- color: theme.palette.text.primary
11359
+ opacity: 1,
11360
+ bgcolor: theme.palette.mode === "dark" ? "rgba(0,0,0,0.12)" : "rgba(255,255,255,0.2)"
11360
11361
  }
11361
11362
  }),
11362
11363
  children: "\u2715"
@@ -11584,4 +11585,4 @@ var chat_default = Chat;
11584
11585
  export {
11585
11586
  chat_default
11586
11587
  };
11587
- //# sourceMappingURL=chunk-LDGJKNI4.mjs.map
11588
+ //# sourceMappingURL=chunk-EN54BLJ2.mjs.map