@burtson-labs/bandit-engine 2.0.141 → 2.0.143
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-OBHYQWXK.mjs → chat-OD4BF2XP.mjs} +4 -4
- package/dist/{chunk-EN54BLJ2.mjs → chunk-EWAZFMA3.mjs} +33 -160
- package/dist/chunk-EWAZFMA3.mjs.map +1 -0
- package/dist/{chunk-JONBKV2S.mjs → chunk-F735W34E.mjs} +1 -2
- package/dist/{chunk-PA4VYO4R.mjs → chunk-K6IV4LYZ.mjs} +2 -2
- package/dist/{chunk-3C2RRTYB.mjs → chunk-KBRI54SC.mjs} +41 -6
- package/dist/chunk-KBRI54SC.mjs.map +1 -0
- package/dist/{chunk-BVYSGIWG.mjs → chunk-P5IJLX6I.mjs} +2 -2
- package/dist/index.js +2149 -2238
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/management/management.js +118 -207
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +4 -4
- package/dist/modals/chat-modal/chat-modal.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-3C2RRTYB.mjs.map +0 -1
- package/dist/chunk-EN54BLJ2.mjs.map +0 -1
- /package/dist/{chat-OBHYQWXK.mjs.map → chat-OD4BF2XP.mjs.map} +0 -0
- /package/dist/{chunk-JONBKV2S.mjs.map → chunk-F735W34E.mjs.map} +0 -0
- /package/dist/{chunk-PA4VYO4R.mjs.map → chunk-K6IV4LYZ.mjs.map} +0 -0
- /package/dist/{chunk-BVYSGIWG.mjs.map → chunk-P5IJLX6I.mjs.map} +0 -0
|
@@ -8675,7 +8675,6 @@ export {
|
|
|
8675
8675
|
ArrowUpwardIcon,
|
|
8676
8676
|
CloseIcon,
|
|
8677
8677
|
ExpandMoreIcon,
|
|
8678
|
-
FeedbackIcon,
|
|
8679
8678
|
GraphicEqIcon,
|
|
8680
8679
|
HearingDisabledIcon,
|
|
8681
8680
|
PsychologyIcon,
|
|
@@ -8772,4 +8771,4 @@ export {
|
|
|
8772
8771
|
themeMap_default,
|
|
8773
8772
|
useNotificationService
|
|
8774
8773
|
};
|
|
8775
|
-
//# sourceMappingURL=chunk-
|
|
8774
|
+
//# sourceMappingURL=chunk-F735W34E.mjs.map
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
useNotificationService,
|
|
25
25
|
useTTS,
|
|
26
26
|
useVoiceStore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-F735W34E.mjs";
|
|
28
28
|
import {
|
|
29
29
|
brandingService_default,
|
|
30
30
|
toTitleCase,
|
|
@@ -2941,4 +2941,4 @@ export {
|
|
|
2941
2941
|
MAX_WINDOWED_HEIGHT,
|
|
2942
2942
|
chat_modal_default
|
|
2943
2943
|
};
|
|
2944
|
-
//# sourceMappingURL=chunk-
|
|
2944
|
+
//# sourceMappingURL=chunk-K6IV4LYZ.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StreamingMarkdown_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P5IJLX6I.mjs";
|
|
4
4
|
import {
|
|
5
5
|
aiProviderInitService
|
|
6
6
|
} from "./chunk-F7JXIW6T.mjs";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-K2JGFKEB.mjs";
|
|
15
15
|
import {
|
|
16
16
|
chat_modal_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-K6IV4LYZ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
AddIcon,
|
|
20
20
|
ArchiveIcon,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
predefinedThemes,
|
|
84
84
|
useNotificationService,
|
|
85
85
|
useVoiceStore
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-F735W34E.mjs";
|
|
87
87
|
import {
|
|
88
88
|
TOPICS,
|
|
89
89
|
brandingService_default,
|
|
@@ -2979,9 +2979,44 @@ var PreferencesTab = ({
|
|
|
2979
2979
|
] }),
|
|
2980
2980
|
gatewayConfigured && gatewayHealthError && /* @__PURE__ */ jsx3(Box3, { sx: { display: "flex", flexDirection: "column", gap: 0.75, pl: { xs: 0, sm: 0.5 } }, children: /* @__PURE__ */ jsx3(Typography3, { variant: "caption", color: "error", children: gatewayHealthError.message }) })
|
|
2981
2981
|
] })
|
|
2982
|
-
] })
|
|
2982
|
+
] }),
|
|
2983
|
+
/* @__PURE__ */ jsx3(ViewportDiagnostics, {})
|
|
2983
2984
|
] }) });
|
|
2984
2985
|
};
|
|
2986
|
+
var ViewportDiagnostics = () => {
|
|
2987
|
+
const [metrics, setMetrics] = useState3({});
|
|
2988
|
+
useEffect2(() => {
|
|
2989
|
+
const read = () => {
|
|
2990
|
+
const probe = document.createElement("div");
|
|
2991
|
+
probe.style.cssText = "position:fixed;top:0;bottom:0;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);visibility:hidden;pointer-events:none;";
|
|
2992
|
+
document.body.appendChild(probe);
|
|
2993
|
+
const cs = getComputedStyle(probe);
|
|
2994
|
+
const standalone = window.matchMedia?.("(display-mode: standalone)").matches || window.navigator.standalone === true;
|
|
2995
|
+
setMetrics({
|
|
2996
|
+
mode: standalone ? "standalone" : "browser",
|
|
2997
|
+
"screen.height": `${window.screen.height}`,
|
|
2998
|
+
innerHeight: `${window.innerHeight}`,
|
|
2999
|
+
"docElement.clientHeight": `${document.documentElement.clientHeight}`,
|
|
3000
|
+
"visualViewport.height": `${Math.round(window.visualViewport?.height ?? -1)}`,
|
|
3001
|
+
"probe fixed t0/b0 height": `${Math.round(probe.getBoundingClientRect().height)}`,
|
|
3002
|
+
"safe-area-top": cs.paddingTop,
|
|
3003
|
+
"safe-area-bottom": cs.paddingBottom
|
|
3004
|
+
});
|
|
3005
|
+
probe.remove();
|
|
3006
|
+
};
|
|
3007
|
+
read();
|
|
3008
|
+
window.addEventListener("resize", read);
|
|
3009
|
+
return () => window.removeEventListener("resize", read);
|
|
3010
|
+
}, []);
|
|
3011
|
+
return /* @__PURE__ */ jsxs3(Paper2, { variant: "outlined", sx: { p: 2, borderRadius: 2, opacity: 0.85 }, children: [
|
|
3012
|
+
/* @__PURE__ */ jsx3(Typography3, { variant: "caption", sx: { fontWeight: 700, display: "block", mb: 0.5 }, children: "Viewport diagnostics" }),
|
|
3013
|
+
Object.entries(metrics).map(([k, v]) => /* @__PURE__ */ jsxs3(Typography3, { variant: "caption", sx: { display: "block", fontFamily: "monospace" }, children: [
|
|
3014
|
+
k,
|
|
3015
|
+
": ",
|
|
3016
|
+
v
|
|
3017
|
+
] }, k))
|
|
3018
|
+
] });
|
|
3019
|
+
};
|
|
2985
3020
|
var PreferencesTab_default = PreferencesTab;
|
|
2986
3021
|
|
|
2987
3022
|
// src/management/components/BrandingTab.tsx
|
|
@@ -9776,7 +9811,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
|
|
|
9776
9811
|
|
|
9777
9812
|
// src/management/management.tsx
|
|
9778
9813
|
import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9779
|
-
var preloadChatPage = () => import("./chat-
|
|
9814
|
+
var preloadChatPage = () => import("./chat-OD4BF2XP.mjs");
|
|
9780
9815
|
var buildCapabilitiesUrl = (gatewayApiUrl) => {
|
|
9781
9816
|
const trimmed = gatewayApiUrl.replace(/\/$/, "");
|
|
9782
9817
|
if (trimmed.endsWith("/api")) {
|
|
@@ -11149,4 +11184,4 @@ export {
|
|
|
11149
11184
|
useGatewayMemory,
|
|
11150
11185
|
management_default
|
|
11151
11186
|
};
|
|
11152
|
-
//# sourceMappingURL=chunk-
|
|
11187
|
+
//# sourceMappingURL=chunk-KBRI54SC.mjs.map
|