@burtson-labs/bandit-engine 2.0.123 → 2.0.124

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/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chat_default
3
- } from "./chunk-4T6HJTYD.mjs";
3
+ } from "./chunk-QPZC6GTA.mjs";
4
4
  import {
5
5
  chat_provider_default
6
6
  } from "./chunk-SAQUEXYS.mjs";
@@ -10,7 +10,7 @@ import {
10
10
  useGatewayHealth,
11
11
  useGatewayMemory,
12
12
  useGatewayModels
13
- } from "./chunk-RLMGTTK7.mjs";
13
+ } from "./chunk-K5HAVOPD.mjs";
14
14
  import "./chunk-WSNV6EX5.mjs";
15
15
  import "./chunk-F7JXIW6T.mjs";
16
16
  import "./chunk-K2JGFKEB.mjs";
@@ -31327,17 +31327,18 @@ var init_chat2 = __esm({
31327
31327
  left: drawerOpen && !isMobile ? "340px" : 0,
31328
31328
  width: !isMobile && canvasOpen ? `calc(100vw - ${drawerOpen ? "340px" : "0px"} - ${CANVAS_WIDTH})` : drawerOpen && !isMobile ? "calc(100vw - 340px)" : "100vw",
31329
31329
  zIndex: 0,
31330
- // Claude/ChatGPT-style push: while the mobile conversations drawer is
31331
- // open the whole chat shell slides right and becomes a rounded card,
31332
- // leaving a tappable sliver. Width kept in sync with the drawer in
31333
- // enhanced-mobile-conversations-modal.tsx.
31334
- transform: isMobile && mobileConversationsOpen ? "translateX(min(calc(100vw - 56px), 360px))" : "none",
31335
- borderRadius: isMobile && mobileConversationsOpen ? "24px" : drawerOpen && !isMobile ? "24px 0 0 24px" : 0,
31336
- // A hairline border makes the rounded card read even when the page
31337
- // behind is the same near-black as the shell — shadow alone is
31338
- // invisible dark-on-dark.
31339
- border: isMobile && mobileConversationsOpen || drawerOpen && !isMobile ? `1px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.14)" : "rgba(0,0,0,0.12)"}` : "none",
31340
- boxShadow: isMobile && mobileConversationsOpen || drawerOpen && !isMobile ? `0 12px 40px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.55)" : "rgba(0,0,0,0.25)"}` : "none",
31330
+ // Claude-style push (mobile only; desktop stays flush): the chat
31331
+ // shell slides right and shrinks slightly into a rounded card. The
31332
+ // scale insets the card from every screen edge so all four rounded
31333
+ // corners stay visible — a full-height 100dvh card had its bottom
31334
+ // corners clipped at the device edge in the PWA. Width kept in sync
31335
+ // with the drawer in enhanced-mobile-conversations-modal.tsx.
31336
+ transform: isMobile && mobileConversationsOpen ? "translateX(min(calc(100vw - 56px), 360px)) scale(0.96)" : "none",
31337
+ borderRadius: isMobile && mobileConversationsOpen ? "24px" : 0,
31338
+ // Hairline border so the rounded card reads even when the backdrop
31339
+ // is the same near-black as the shell.
31340
+ border: isMobile && mobileConversationsOpen ? `1px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.14)" : "rgba(0,0,0,0.12)"}` : "none",
31341
+ boxShadow: isMobile && mobileConversationsOpen ? `0 12px 40px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.55)" : "rgba(0,0,0,0.25)"}` : "none",
31341
31342
  transition: "left 0.3s ease-in-out, width 0.3s ease-in-out, transform 0.3s ease-in-out, border-radius 0.3s ease-in-out"
31342
31343
  }),
31343
31344
  children: [