@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.
- package/dist/{chat-VBE333NU.mjs → chat-OBHYQWXK.mjs} +2 -2
- package/dist/{chunk-WBWVXJF3.mjs → chunk-3C2RRTYB.mjs} +2 -2
- package/dist/{chunk-LDGJKNI4.mjs → chunk-EN54BLJ2.mjs} +29 -28
- package/dist/chunk-EN54BLJ2.mjs.map +1 -0
- package/dist/index.js +28 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +28 -27
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-LDGJKNI4.mjs.map +0 -1
- /package/dist/{chat-VBE333NU.mjs.map → chat-OBHYQWXK.mjs.map} +0 -0
- /package/dist/{chunk-WBWVXJF3.mjs.map → chunk-3C2RRTYB.mjs.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -26040,10 +26040,9 @@ 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
|
-
//
|
|
26045
|
-
|
|
26046
|
-
"@supports (height: 100lvh)": { height: "100lvh" },
|
|
26043
|
+
// top/bottom stretch sizes to the real webview; iOS reserves
|
|
26044
|
+
// the home-indicator strip below it (page bg matches, so the
|
|
26045
|
+
// seam is invisible).
|
|
26047
26046
|
bgcolor: theme.palette.background.paper,
|
|
26048
26047
|
display: "flex",
|
|
26049
26048
|
flexDirection: "column",
|
|
@@ -31622,18 +31621,16 @@ var init_chat2 = __esm({
|
|
|
31622
31621
|
sx: (theme) => ({
|
|
31623
31622
|
display: "flex",
|
|
31624
31623
|
flexDirection: "column",
|
|
31625
|
-
//
|
|
31626
|
-
//
|
|
31627
|
-
//
|
|
31628
|
-
//
|
|
31624
|
+
// Size to the real webview via top/bottom stretch. iOS standalone
|
|
31625
|
+
// walls off the home-indicator strip OUTSIDE the webview — forcing
|
|
31626
|
+
// 100lvh overflowed it and clipped the composer. The strip itself
|
|
31627
|
+
// is made invisible by matching the page background to the shell.
|
|
31629
31628
|
overflow: "hidden",
|
|
31630
31629
|
bgcolor: theme.palette.chat.shell,
|
|
31631
31630
|
color: theme.palette.text.primary,
|
|
31632
31631
|
position: "fixed",
|
|
31633
31632
|
top: 0,
|
|
31634
31633
|
bottom: 0,
|
|
31635
|
-
height: "100dvh",
|
|
31636
|
-
"@supports (height: 100lvh)": { height: "100lvh" },
|
|
31637
31634
|
left: drawerOpen && !isMobile ? "340px" : 0,
|
|
31638
31635
|
width: !isMobile && canvasOpen ? `calc(100vw - ${drawerOpen ? "340px" : "0px"} - ${CANVAS_WIDTH})` : drawerOpen && !isMobile ? "calc(100vw - 340px)" : "100vw",
|
|
31639
31636
|
// Claude-style push (mobile only; desktop stays flush): the chat
|
|
@@ -31676,14 +31673,14 @@ var init_chat2 = __esm({
|
|
|
31676
31673
|
}
|
|
31677
31674
|
),
|
|
31678
31675
|
isTemporaryChat && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
|
|
31679
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
31676
|
+
!isMobile && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
31680
31677
|
import_material33.Box,
|
|
31681
31678
|
{
|
|
31682
31679
|
sx: (theme) => ({
|
|
31683
31680
|
position: "absolute",
|
|
31684
|
-
inset:
|
|
31681
|
+
inset: 0,
|
|
31685
31682
|
border: `3px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.55)" : "rgba(0,0,0,0.45)"}`,
|
|
31686
|
-
borderRadius:
|
|
31683
|
+
borderRadius: "inherit",
|
|
31687
31684
|
zIndex: 1400,
|
|
31688
31685
|
pointerEvents: "none"
|
|
31689
31686
|
})
|
|
@@ -31694,7 +31691,9 @@ var init_chat2 = __esm({
|
|
|
31694
31691
|
{
|
|
31695
31692
|
sx: (theme) => ({
|
|
31696
31693
|
position: "absolute",
|
|
31697
|
-
|
|
31694
|
+
// Mobile: centered in the top-bar row between the two pills
|
|
31695
|
+
// (Claude's "Incognito chat" placement); desktop: below the bar.
|
|
31696
|
+
top: isMobile ? "calc(env(safe-area-inset-top, 0px) + 14px)" : `calc(${theme.spacing(8)} + env(safe-area-inset-top, 0px))`,
|
|
31698
31697
|
left: "50%",
|
|
31699
31698
|
transform: "translateX(-50%)",
|
|
31700
31699
|
zIndex: 1401,
|
|
@@ -31703,14 +31702,15 @@ var init_chat2 = __esm({
|
|
|
31703
31702
|
gap: 0.75,
|
|
31704
31703
|
pl: 1.5,
|
|
31705
31704
|
pr: 0.75,
|
|
31706
|
-
py: 0.
|
|
31705
|
+
py: 0.6,
|
|
31707
31706
|
borderRadius: 999,
|
|
31708
|
-
fontSize: "0.
|
|
31709
|
-
fontWeight:
|
|
31710
|
-
|
|
31711
|
-
|
|
31712
|
-
|
|
31713
|
-
|
|
31707
|
+
fontSize: "0.82rem",
|
|
31708
|
+
fontWeight: 700,
|
|
31709
|
+
// Inverted, high-contrast — same treatment as the active
|
|
31710
|
+
// ghost toggle, so the mode is unmissable without a frame.
|
|
31711
|
+
color: theme.palette.getContrastText(theme.palette.text.primary),
|
|
31712
|
+
bgcolor: theme.palette.text.primary,
|
|
31713
|
+
boxShadow: `0 4px 16px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.5)" : "rgba(0,0,0,0.25)"}`,
|
|
31714
31714
|
whiteSpace: "nowrap"
|
|
31715
31715
|
}),
|
|
31716
31716
|
children: [
|
|
@@ -31727,21 +31727,22 @@ var init_chat2 = __esm({
|
|
|
31727
31727
|
display: "inline-flex",
|
|
31728
31728
|
alignItems: "center",
|
|
31729
31729
|
justifyContent: "center",
|
|
31730
|
-
width:
|
|
31731
|
-
height:
|
|
31730
|
+
width: 22,
|
|
31731
|
+
height: 22,
|
|
31732
31732
|
ml: 0.25,
|
|
31733
31733
|
p: 0,
|
|
31734
31734
|
border: "none",
|
|
31735
31735
|
borderRadius: "50%",
|
|
31736
31736
|
cursor: "pointer",
|
|
31737
|
-
color:
|
|
31737
|
+
color: "inherit",
|
|
31738
31738
|
bgcolor: "transparent",
|
|
31739
31739
|
font: "inherit",
|
|
31740
|
-
fontSize: "0.
|
|
31740
|
+
fontSize: "0.9rem",
|
|
31741
31741
|
lineHeight: 1,
|
|
31742
|
+
opacity: 0.75,
|
|
31742
31743
|
"&:hover": {
|
|
31743
|
-
|
|
31744
|
-
|
|
31744
|
+
opacity: 1,
|
|
31745
|
+
bgcolor: theme.palette.mode === "dark" ? "rgba(0,0,0,0.12)" : "rgba(255,255,255,0.2)"
|
|
31745
31746
|
}
|
|
31746
31747
|
}),
|
|
31747
31748
|
children: "\u2715"
|