@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.
- package/dist/{chat-VBE333NU.mjs → chat-KR4S7YJ3.mjs} +2 -2
- package/dist/{chunk-LDGJKNI4.mjs → chunk-E2SS643X.mjs} +22 -18
- package/dist/chunk-E2SS643X.mjs.map +1 -0
- package/dist/{chunk-WBWVXJF3.mjs → chunk-S7W2AAFG.mjs} +2 -2
- package/dist/index.js +21 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +21 -17
- 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-KR4S7YJ3.mjs.map} +0 -0
- /package/dist/{chunk-WBWVXJF3.mjs.map → chunk-S7W2AAFG.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E2SS643X.mjs";
|
|
4
4
|
import {
|
|
5
5
|
chat_provider_default
|
|
6
6
|
} from "./chunk-PU74BI6Y.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
useGatewayHealth,
|
|
11
11
|
useGatewayMemory,
|
|
12
12
|
useGatewayModels
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-S7W2AAFG.mjs";
|
|
14
14
|
import "./chunk-BVYSGIWG.mjs";
|
|
15
15
|
import "./chunk-F7JXIW6T.mjs";
|
|
16
16
|
import "./chunk-K2JGFKEB.mjs";
|
|
@@ -31286,14 +31286,14 @@ var init_chat2 = __esm({
|
|
|
31286
31286
|
}
|
|
31287
31287
|
),
|
|
31288
31288
|
isTemporaryChat && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
|
|
31289
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
31289
|
+
!isMobile && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
31290
31290
|
import_material54.Box,
|
|
31291
31291
|
{
|
|
31292
31292
|
sx: (theme) => ({
|
|
31293
31293
|
position: "absolute",
|
|
31294
|
-
inset:
|
|
31294
|
+
inset: 0,
|
|
31295
31295
|
border: `3px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.55)" : "rgba(0,0,0,0.45)"}`,
|
|
31296
|
-
borderRadius:
|
|
31296
|
+
borderRadius: "inherit",
|
|
31297
31297
|
zIndex: 1400,
|
|
31298
31298
|
pointerEvents: "none"
|
|
31299
31299
|
})
|
|
@@ -31304,7 +31304,9 @@ var init_chat2 = __esm({
|
|
|
31304
31304
|
{
|
|
31305
31305
|
sx: (theme) => ({
|
|
31306
31306
|
position: "absolute",
|
|
31307
|
-
|
|
31307
|
+
// Mobile: centered in the top-bar row between the two pills
|
|
31308
|
+
// (Claude's "Incognito chat" placement); desktop: below the bar.
|
|
31309
|
+
top: isMobile ? "calc(env(safe-area-inset-top, 0px) + 14px)" : `calc(${theme.spacing(8)} + env(safe-area-inset-top, 0px))`,
|
|
31308
31310
|
left: "50%",
|
|
31309
31311
|
transform: "translateX(-50%)",
|
|
31310
31312
|
zIndex: 1401,
|
|
@@ -31313,14 +31315,15 @@ var init_chat2 = __esm({
|
|
|
31313
31315
|
gap: 0.75,
|
|
31314
31316
|
pl: 1.5,
|
|
31315
31317
|
pr: 0.75,
|
|
31316
|
-
py: 0.
|
|
31318
|
+
py: 0.6,
|
|
31317
31319
|
borderRadius: 999,
|
|
31318
|
-
fontSize: "0.
|
|
31319
|
-
fontWeight:
|
|
31320
|
-
|
|
31321
|
-
|
|
31322
|
-
|
|
31323
|
-
|
|
31320
|
+
fontSize: "0.82rem",
|
|
31321
|
+
fontWeight: 700,
|
|
31322
|
+
// Inverted, high-contrast — same treatment as the active
|
|
31323
|
+
// ghost toggle, so the mode is unmissable without a frame.
|
|
31324
|
+
color: theme.palette.getContrastText(theme.palette.text.primary),
|
|
31325
|
+
bgcolor: theme.palette.text.primary,
|
|
31326
|
+
boxShadow: `0 4px 16px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.5)" : "rgba(0,0,0,0.25)"}`,
|
|
31324
31327
|
whiteSpace: "nowrap"
|
|
31325
31328
|
}),
|
|
31326
31329
|
children: [
|
|
@@ -31337,21 +31340,22 @@ var init_chat2 = __esm({
|
|
|
31337
31340
|
display: "inline-flex",
|
|
31338
31341
|
alignItems: "center",
|
|
31339
31342
|
justifyContent: "center",
|
|
31340
|
-
width:
|
|
31341
|
-
height:
|
|
31343
|
+
width: 22,
|
|
31344
|
+
height: 22,
|
|
31342
31345
|
ml: 0.25,
|
|
31343
31346
|
p: 0,
|
|
31344
31347
|
border: "none",
|
|
31345
31348
|
borderRadius: "50%",
|
|
31346
31349
|
cursor: "pointer",
|
|
31347
|
-
color:
|
|
31350
|
+
color: "inherit",
|
|
31348
31351
|
bgcolor: "transparent",
|
|
31349
31352
|
font: "inherit",
|
|
31350
|
-
fontSize: "0.
|
|
31353
|
+
fontSize: "0.9rem",
|
|
31351
31354
|
lineHeight: 1,
|
|
31355
|
+
opacity: 0.75,
|
|
31352
31356
|
"&:hover": {
|
|
31353
|
-
|
|
31354
|
-
|
|
31357
|
+
opacity: 1,
|
|
31358
|
+
bgcolor: theme.palette.mode === "dark" ? "rgba(0,0,0,0.12)" : "rgba(255,255,255,0.2)"
|
|
31355
31359
|
}
|
|
31356
31360
|
}),
|
|
31357
31361
|
children: "\u2715"
|