@burtson-labs/bandit-engine 2.0.50 → 2.0.52
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-CQWZOJH4.mjs → chat-YWYLVKXX.mjs} +5 -5
- package/dist/chat-provider.js +254 -22
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +3 -3
- package/dist/{chunk-VL3CMSDO.mjs → chunk-37PEP5JK.mjs} +2 -2
- package/dist/{chunk-AXFX2HUK.mjs → chunk-M3BEAMCC.mjs} +2 -2
- package/dist/{chunk-HKJTRBWC.mjs → chunk-MH7WFWCP.mjs} +34 -3
- package/dist/chunk-MH7WFWCP.mjs.map +1 -0
- package/dist/{chunk-6WZUQHZT.mjs → chunk-QX6CO7TJ.mjs} +225 -23
- package/dist/chunk-QX6CO7TJ.mjs.map +1 -0
- package/dist/{chunk-TVF45U7B.mjs → chunk-RSSJADDD.mjs} +3 -3
- package/dist/{chunk-Q2N7CCZI.mjs → chunk-TSQCNHOX.mjs} +45 -6
- package/dist/chunk-TSQCNHOX.mjs.map +1 -0
- package/dist/{chunk-ZTTGERUG.mjs → chunk-Y5N3NSTU.mjs} +459 -180
- package/dist/chunk-Y5N3NSTU.mjs.map +1 -0
- package/dist/{chunk-KHKWYHXD.mjs → chunk-YZ2HJFPQ.mjs} +2 -2
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.js +747 -198
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/management/management.js +717 -198
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +6 -6
- package/dist/modals/chat-modal/chat-modal.js +226 -22
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-6WZUQHZT.mjs.map +0 -1
- package/dist/chunk-HKJTRBWC.mjs.map +0 -1
- package/dist/chunk-Q2N7CCZI.mjs.map +0 -1
- package/dist/chunk-ZTTGERUG.mjs.map +0 -1
- /package/dist/{chat-CQWZOJH4.mjs.map → chat-YWYLVKXX.mjs.map} +0 -0
- /package/dist/{chunk-VL3CMSDO.mjs.map → chunk-37PEP5JK.mjs.map} +0 -0
- /package/dist/{chunk-AXFX2HUK.mjs.map → chunk-M3BEAMCC.mjs.map} +0 -0
- /package/dist/{chunk-TVF45U7B.mjs.map → chunk-RSSJADDD.mjs.map} +0 -0
- /package/dist/{chunk-KHKWYHXD.mjs.map → chunk-YZ2HJFPQ.mjs.map} +0 -0
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
useNotificationService,
|
|
9
9
|
useTTS,
|
|
10
10
|
useVoiceStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M3BEAMCC.mjs";
|
|
12
12
|
import {
|
|
13
13
|
brandingService_default,
|
|
14
14
|
toTitleCase,
|
|
15
15
|
useAIQueryStore,
|
|
16
16
|
useConversationStore,
|
|
17
17
|
useMemoryStore
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QX6CO7TJ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
indexedDBService_default,
|
|
21
21
|
useModelStore,
|
|
@@ -2807,4 +2807,4 @@ export {
|
|
|
2807
2807
|
MAX_WINDOWED_HEIGHT,
|
|
2808
2808
|
chat_modal_default
|
|
2809
2809
|
};
|
|
2810
|
-
//# sourceMappingURL=chunk-
|
|
2810
|
+
//# sourceMappingURL=chunk-RSSJADDD.mjs.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-ONQMRE2G.mjs";
|
|
4
4
|
import {
|
|
5
5
|
StreamingMarkdown_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YZ2HJFPQ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useMCPToolsStore
|
|
9
9
|
} from "./chunk-EHNWQ4T3.mjs";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
useNotificationService,
|
|
20
20
|
useTTS,
|
|
21
21
|
useVoiceStore
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-M3BEAMCC.mjs";
|
|
23
23
|
import {
|
|
24
24
|
authenticationService,
|
|
25
25
|
brandingService_default,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
useMemoryStore,
|
|
45
45
|
useProjectStore,
|
|
46
46
|
useVectorStore
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-QX6CO7TJ.mjs";
|
|
48
48
|
import {
|
|
49
49
|
indexedDBService_default,
|
|
50
50
|
useModelStore,
|
|
@@ -146,7 +146,7 @@ var Logo = ({ visible, atTop = false }) => {
|
|
|
146
146
|
var custom_logo_default = Logo;
|
|
147
147
|
|
|
148
148
|
// src/chat/chat.tsx
|
|
149
|
-
import { Box as Box14, ThemeProvider, CssBaseline } from "@mui/material";
|
|
149
|
+
import { Box as Box14, ThemeProvider, CssBaseline, CircularProgress as CircularProgress4, Typography as Typography10 } from "@mui/material";
|
|
150
150
|
import { createTheme } from "@mui/material/styles";
|
|
151
151
|
import { Navigate } from "react-router-dom";
|
|
152
152
|
|
|
@@ -8218,6 +8218,22 @@ var ChatContent = () => {
|
|
|
8218
8218
|
}, 500);
|
|
8219
8219
|
}
|
|
8220
8220
|
}, [history, pendingMessage]);
|
|
8221
|
+
useEffect14(() => {
|
|
8222
|
+
if (!brandingLoading && !themeLoading) {
|
|
8223
|
+
return;
|
|
8224
|
+
}
|
|
8225
|
+
const timeoutId = window.setTimeout(() => {
|
|
8226
|
+
if (brandingLoading || themeLoading) {
|
|
8227
|
+
debugLogger.warn("Chat: branding/theme load timed out, falling back to defaults");
|
|
8228
|
+
setBrandingLoading(false);
|
|
8229
|
+
setThemeLoading(false);
|
|
8230
|
+
if (!selectedTheme) {
|
|
8231
|
+
setSelectedTheme("bandit-dark");
|
|
8232
|
+
}
|
|
8233
|
+
}
|
|
8234
|
+
}, 2500);
|
|
8235
|
+
return () => window.clearTimeout(timeoutId);
|
|
8236
|
+
}, [brandingLoading, themeLoading, selectedTheme]);
|
|
8221
8237
|
useEffect14(() => () => {
|
|
8222
8238
|
if (logoFadeTimeoutRef.current) {
|
|
8223
8239
|
window.clearTimeout(logoFadeTimeoutRef.current);
|
|
@@ -8935,7 +8951,30 @@ var ChatContent = () => {
|
|
|
8935
8951
|
requestAnimationFrame(pump);
|
|
8936
8952
|
}
|
|
8937
8953
|
};
|
|
8938
|
-
if (!hydrated || brandingLoading || themeLoading)
|
|
8954
|
+
if (!hydrated || brandingLoading || themeLoading) {
|
|
8955
|
+
return /* @__PURE__ */ jsxs12(ThemeProvider, { theme: banditTheme, children: [
|
|
8956
|
+
/* @__PURE__ */ jsx17(CssBaseline, {}),
|
|
8957
|
+
/* @__PURE__ */ jsxs12(
|
|
8958
|
+
Box14,
|
|
8959
|
+
{
|
|
8960
|
+
sx: (theme) => ({
|
|
8961
|
+
minHeight: "100dvh",
|
|
8962
|
+
display: "flex",
|
|
8963
|
+
alignItems: "center",
|
|
8964
|
+
justifyContent: "center",
|
|
8965
|
+
flexDirection: "column",
|
|
8966
|
+
gap: 1.5,
|
|
8967
|
+
bgcolor: theme.palette.chat.shell,
|
|
8968
|
+
color: theme.palette.text.primary
|
|
8969
|
+
}),
|
|
8970
|
+
children: [
|
|
8971
|
+
/* @__PURE__ */ jsx17(CircularProgress4, { size: 32, thickness: 4 }),
|
|
8972
|
+
/* @__PURE__ */ jsx17(Typography10, { variant: "body2", color: "text.secondary", children: "Preparing your workspace..." })
|
|
8973
|
+
]
|
|
8974
|
+
}
|
|
8975
|
+
)
|
|
8976
|
+
] });
|
|
8977
|
+
}
|
|
8939
8978
|
const userHasAccess = playgroundBypassAccess || ossMode || claims?.roles?.includes("super-user") || claims?.roles?.includes("admin");
|
|
8940
8979
|
if (!userHasAccess) {
|
|
8941
8980
|
return /* @__PURE__ */ jsxs12(ThemeProvider, { theme: banditTheme, children: [
|
|
@@ -9162,4 +9201,4 @@ var chat_default = Chat;
|
|
|
9162
9201
|
export {
|
|
9163
9202
|
chat_default
|
|
9164
9203
|
};
|
|
9165
|
-
//# sourceMappingURL=chunk-
|
|
9204
|
+
//# sourceMappingURL=chunk-TSQCNHOX.mjs.map
|