@burtson-labs/bandit-engine 2.0.134 → 2.0.136
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-VVG7AP4R.mjs → chat-AIQIJCAR.mjs} +2 -2
- package/dist/{chunk-GVM24B3W.mjs → chunk-72TR4XAJ.mjs} +23 -12
- package/dist/chunk-72TR4XAJ.mjs.map +1 -0
- package/dist/{chunk-MYXZPC55.mjs → chunk-LG4S6XLH.mjs} +2 -2
- package/dist/index.js +22 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +22 -11
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-GVM24B3W.mjs.map +0 -1
- /package/dist/{chat-VVG7AP4R.mjs.map → chat-AIQIJCAR.mjs.map} +0 -0
- /package/dist/{chunk-MYXZPC55.mjs.map → chunk-LG4S6XLH.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-AIQIJCAR.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-LG4S6XLH.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -15985,7 +15985,13 @@ var init_engineStore = __esm({
|
|
|
15985
15985
|
const res = await fetch(`${base}/models`, { headers });
|
|
15986
15986
|
const data = await res.json();
|
|
15987
15987
|
if (res.ok && Array.isArray(data?.models)) {
|
|
15988
|
-
|
|
15988
|
+
const engines = data.models;
|
|
15989
|
+
set({ engines, loaded: true });
|
|
15990
|
+
if (!get().selectedEngine && engines.length > 0) {
|
|
15991
|
+
const configured = (settings?.defaultModel || "bandit-core").split(":")[0];
|
|
15992
|
+
const fallback = engines.find((e) => e.id === configured) || engines.find((e) => e.id === "bandit-core") || engines.find((e) => e.available) || engines[0];
|
|
15993
|
+
if (fallback) get().setSelectedEngine(fallback.id);
|
|
15994
|
+
}
|
|
15989
15995
|
} else {
|
|
15990
15996
|
set({ loaded: true });
|
|
15991
15997
|
}
|
|
@@ -26032,7 +26038,8 @@ var init_enhanced_mobile_conversations_modal = __esm({
|
|
|
26032
26038
|
// Keep in sync with MOBILE_CONVERSATIONS_DRAWER_WIDTH in chat.tsx
|
|
26033
26039
|
// (the chat shell translates by the same amount).
|
|
26034
26040
|
width: "min(calc(100vw - 56px), 360px)",
|
|
26035
|
-
|
|
26041
|
+
// top/bottom stretch instead of 100dvh — iOS standalone
|
|
26042
|
+
// under-reports dvh, leaving a dead band above the home bar.
|
|
26036
26043
|
bgcolor: theme.palette.background.paper,
|
|
26037
26044
|
display: "flex",
|
|
26038
26045
|
flexDirection: "column",
|
|
@@ -31611,13 +31618,15 @@ var init_chat2 = __esm({
|
|
|
31611
31618
|
sx: (theme) => ({
|
|
31612
31619
|
display: "flex",
|
|
31613
31620
|
flexDirection: "column",
|
|
31614
|
-
|
|
31615
|
-
|
|
31621
|
+
// Stretch via top/bottom instead of 100dvh — the iOS standalone
|
|
31622
|
+
// webview under-reports dvh and left a dead band above the home
|
|
31623
|
+
// indicator; inset-stretched fixed elements get the real viewport.
|
|
31616
31624
|
overflow: "hidden",
|
|
31617
31625
|
bgcolor: theme.palette.chat.shell,
|
|
31618
31626
|
color: theme.palette.text.primary,
|
|
31619
31627
|
position: "fixed",
|
|
31620
31628
|
top: 0,
|
|
31629
|
+
bottom: 0,
|
|
31621
31630
|
left: drawerOpen && !isMobile ? "340px" : 0,
|
|
31622
31631
|
width: !isMobile && canvasOpen ? `calc(100vw - ${drawerOpen ? "340px" : "0px"} - ${CANVAS_WIDTH})` : drawerOpen && !isMobile ? "calc(100vw - 340px)" : "100vw",
|
|
31623
31632
|
zIndex: 0,
|
|
@@ -31626,12 +31635,14 @@ var init_chat2 = __esm({
|
|
|
31626
31635
|
// Claude iOS, where the card runs edge-to-edge vertically and the
|
|
31627
31636
|
// hairline border keeps the corners legible. Width kept in sync
|
|
31628
31637
|
// with the drawer in enhanced-mobile-conversations-modal.tsx.
|
|
31629
|
-
|
|
31630
|
-
//
|
|
31631
|
-
//
|
|
31632
|
-
//
|
|
31633
|
-
|
|
31634
|
-
|
|
31638
|
+
// iOS-sheet recede (Claude style): the card scales down anchored at
|
|
31639
|
+
// its bottom-left, so the rounded top corners appear inset below the
|
|
31640
|
+
// status area, the bottom stays flush with the screen edge, and the
|
|
31641
|
+
// motion reads as the native sheet-behind effect instead of the
|
|
31642
|
+
// content lurching downward.
|
|
31643
|
+
transform: isMobile && mobileConversationsOpen ? "translateX(min(calc(100vw - 56px), 360px)) scale(0.93)" : "none",
|
|
31644
|
+
transformOrigin: "left bottom",
|
|
31645
|
+
borderRadius: isMobile && mobileConversationsOpen ? "36px" : 0,
|
|
31635
31646
|
// Hairline border so the rounded card reads even when the backdrop
|
|
31636
31647
|
// is the same near-black as the shell.
|
|
31637
31648
|
border: isMobile && mobileConversationsOpen ? `1px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.14)" : "rgba(0,0,0,0.12)"}` : "none",
|
|
@@ -31660,7 +31671,7 @@ var init_chat2 = __esm({
|
|
|
31660
31671
|
sx: (theme) => ({
|
|
31661
31672
|
position: "absolute",
|
|
31662
31673
|
inset: isMobile ? "3px" : 0,
|
|
31663
|
-
border: `
|
|
31674
|
+
border: `3px solid ${theme.palette.mode === "dark" ? "rgba(255,255,255,0.55)" : "rgba(0,0,0,0.45)"}`,
|
|
31664
31675
|
borderRadius: isMobile ? "28px" : "inherit",
|
|
31665
31676
|
zIndex: 1400,
|
|
31666
31677
|
pointerEvents: "none"
|