@burtson-labs/bandit-engine 2.0.137 → 2.0.138
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-REZJEBRK.mjs → chat-VBE333NU.mjs} +2 -2
- package/dist/{chunk-YPIUO3IS.mjs → chunk-LDGJKNI4.mjs} +22 -10
- package/dist/chunk-LDGJKNI4.mjs.map +1 -0
- package/dist/{chunk-2L5DC4OI.mjs → chunk-WBWVXJF3.mjs} +2 -2
- package/dist/index.js +21 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +21 -9
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-YPIUO3IS.mjs.map +0 -1
- /package/dist/{chat-REZJEBRK.mjs.map → chat-VBE333NU.mjs.map} +0 -0
- /package/dist/{chunk-2L5DC4OI.mjs.map → chunk-WBWVXJF3.mjs.map} +0 -0
|
@@ -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-
|
|
9779
|
+
var preloadChatPage = () => import("./chat-VBE333NU.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-
|
|
11152
|
+
//# sourceMappingURL=chunk-WBWVXJF3.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -26040,8 +26040,10 @@ var init_enhanced_mobile_conversations_modal = __esm({
|
|
|
26040
26040
|
// Keep in sync with MOBILE_CONVERSATIONS_DRAWER_WIDTH in chat.tsx
|
|
26041
26041
|
// (the chat shell translates by the same amount).
|
|
26042
26042
|
width: "min(calc(100vw - 56px), 360px)",
|
|
26043
|
-
//
|
|
26044
|
-
//
|
|
26043
|
+
// Explicit 100lvh overflows iOS standalone's under-reported
|
|
26044
|
+
// viewport downward — bottom-anchoring alone stops short.
|
|
26045
|
+
height: "100dvh",
|
|
26046
|
+
"@supports (height: 100lvh)": { height: "100lvh" },
|
|
26045
26047
|
bgcolor: theme.palette.background.paper,
|
|
26046
26048
|
display: "flex",
|
|
26047
26049
|
flexDirection: "column",
|
|
@@ -31620,18 +31622,20 @@ var init_chat2 = __esm({
|
|
|
31620
31622
|
sx: (theme) => ({
|
|
31621
31623
|
display: "flex",
|
|
31622
31624
|
flexDirection: "column",
|
|
31623
|
-
//
|
|
31624
|
-
//
|
|
31625
|
-
//
|
|
31625
|
+
// iOS standalone under-reports both dvh AND the fixed-position
|
|
31626
|
+
// containing block, stranding a dead band above the home bar.
|
|
31627
|
+
// An explicit 100lvh height can overflow that short viewport
|
|
31628
|
+
// downward, which bottom-anchoring cannot.
|
|
31626
31629
|
overflow: "hidden",
|
|
31627
31630
|
bgcolor: theme.palette.chat.shell,
|
|
31628
31631
|
color: theme.palette.text.primary,
|
|
31629
31632
|
position: "fixed",
|
|
31630
31633
|
top: 0,
|
|
31631
31634
|
bottom: 0,
|
|
31635
|
+
height: "100dvh",
|
|
31636
|
+
"@supports (height: 100lvh)": { height: "100lvh" },
|
|
31632
31637
|
left: drawerOpen && !isMobile ? "340px" : 0,
|
|
31633
31638
|
width: !isMobile && canvasOpen ? `calc(100vw - ${drawerOpen ? "340px" : "0px"} - ${CANVAS_WIDTH})` : drawerOpen && !isMobile ? "calc(100vw - 340px)" : "100vw",
|
|
31634
|
-
zIndex: 0,
|
|
31635
31639
|
// Claude-style push (mobile only; desktop stays flush): the chat
|
|
31636
31640
|
// shell slides right as a full-height rounded card — exactly like
|
|
31637
31641
|
// Claude iOS, where the card runs edge-to-edge vertically and the
|
|
@@ -31642,15 +31646,20 @@ var init_chat2 = __esm({
|
|
|
31642
31646
|
// status area, the bottom stays flush with the screen edge, and the
|
|
31643
31647
|
// motion reads as the native sheet-behind effect instead of the
|
|
31644
31648
|
// content lurching downward.
|
|
31645
|
-
|
|
31649
|
+
// Slides 12px OVER the drawer's edge (not edge-to-edge) and rides
|
|
31650
|
+
// above it in z-order, so the card's shadow falls on the drawer —
|
|
31651
|
+
// the overlapped-sheet look.
|
|
31652
|
+
transform: isMobile && mobileConversationsOpen ? "translateX(calc(min(calc(100vw - 56px), 360px) - 12px)) scale(0.93)" : "none",
|
|
31646
31653
|
transformOrigin: "left bottom",
|
|
31647
31654
|
borderRadius: isMobile && mobileConversationsOpen ? "36px" : 0,
|
|
31655
|
+
zIndex: isMobile && mobileConversationsOpen ? theme.zIndex.modal + 1 : 0,
|
|
31648
31656
|
// Hairline border so the rounded card reads even when the backdrop
|
|
31649
31657
|
// is the same near-black as the shell.
|
|
31650
31658
|
border: isMobile && mobileConversationsOpen ? `1px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.14)" : "rgba(0,0,0,0.12)"}` : "none",
|
|
31651
31659
|
boxShadow: isMobile && mobileConversationsOpen ? `0 12px 40px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.55)" : "rgba(0,0,0,0.25)"}` : "none",
|
|
31652
31660
|
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"
|
|
31653
31661
|
}),
|
|
31662
|
+
onClick: isMobile && mobileConversationsOpen ? () => setMobileConversationsOpen(false) : void 0,
|
|
31654
31663
|
children: [
|
|
31655
31664
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
31656
31665
|
chat_app_bar_default,
|
|
@@ -31755,7 +31764,10 @@ var init_chat2 = __esm({
|
|
|
31755
31764
|
px: isMobile ? 1 : 2,
|
|
31756
31765
|
// Reduce padding on mobile for better width utilization
|
|
31757
31766
|
pb: logoOnly ? 0 : `${inputHeight + 24}px`,
|
|
31758
|
-
|
|
31767
|
+
// The flex column already bounds this; the old --vh cap (from
|
|
31768
|
+
// window.innerHeight) under-measured in iOS standalone and let
|
|
31769
|
+
// the composer's auto margins float it above the bottom.
|
|
31770
|
+
maxHeight: "100%",
|
|
31759
31771
|
WebkitOverflowScrolling: "touch",
|
|
31760
31772
|
overscrollBehavior: "contain",
|
|
31761
31773
|
position: "relative",
|
|
@@ -31881,7 +31893,7 @@ var init_chat2 = __esm({
|
|
|
31881
31893
|
display: "flex",
|
|
31882
31894
|
flexDirection: "column",
|
|
31883
31895
|
alignItems: "center",
|
|
31884
|
-
margin: "auto",
|
|
31896
|
+
margin: "0 auto",
|
|
31885
31897
|
width: "100vw",
|
|
31886
31898
|
maxWidth: "768px"
|
|
31887
31899
|
},
|