@burtson-labs/bandit-engine 2.0.76 → 2.0.78

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.
@@ -24,7 +24,7 @@ import {
24
24
  useNotificationService,
25
25
  useTTS,
26
26
  useVoiceStore
27
- } from "./chunk-6DY7W4NK.mjs";
27
+ } from "./chunk-57L7TXB6.mjs";
28
28
  import {
29
29
  brandingService_default,
30
30
  toTitleCase,
@@ -2803,4 +2803,4 @@ export {
2803
2803
  MAX_WINDOWED_HEIGHT,
2804
2804
  chat_modal_default
2805
2805
  };
2806
- //# sourceMappingURL=chunk-JURUEF52.mjs.map
2806
+ //# sourceMappingURL=chunk-5DSDARPR.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  StreamingMarkdown_default
3
- } from "./chunk-U633CJBV.mjs";
3
+ } from "./chunk-YYYEMVBV.mjs";
4
4
  import {
5
5
  aiProviderInitService
6
6
  } from "./chunk-6ITUH375.mjs";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-3LT77723.mjs";
15
15
  import {
16
16
  chat_modal_default
17
- } from "./chunk-JURUEF52.mjs";
17
+ } from "./chunk-5DSDARPR.mjs";
18
18
  import {
19
19
  AddIcon,
20
20
  ArchiveIcon,
@@ -82,10 +82,11 @@ import {
82
82
  ZoomOutIcon,
83
83
  banditDarkTheme,
84
84
  knowledge_file_modal_default,
85
+ memory_modal_default,
85
86
  predefinedThemes,
86
87
  useNotificationService,
87
88
  useVoiceStore
88
- } from "./chunk-6DY7W4NK.mjs";
89
+ } from "./chunk-57L7TXB6.mjs";
89
90
  import {
90
91
  TOPICS,
91
92
  authenticationService,
@@ -929,7 +930,7 @@ var PersonalitiesTab = ({
929
930
  Card,
930
931
  {
931
932
  sx: {
932
- mb: { xs: 2, md: 4 },
933
+ mb: { xs: 2, md: 2.5 },
933
934
  background: "linear-gradient(135deg, #1976d2 0%, #42a5f5 100%)",
934
935
  border: "2px solid transparent",
935
936
  borderRadius: { xs: 2.25, sm: 3 },
@@ -966,24 +967,24 @@ var PersonalitiesTab = ({
966
967
  setPersonalityTabIndex(1);
967
968
  },
968
969
  children: /* @__PURE__ */ jsxs2(CardContent, { sx: {
969
- p: { xs: 1.75, sm: 4 },
970
+ p: { xs: 1.75, sm: 2.5 },
970
971
  color: "white",
971
- textAlign: { xs: "left", sm: "center" },
972
+ textAlign: "left",
972
973
  position: "relative",
973
974
  zIndex: 1,
974
975
  display: "flex",
975
- flexDirection: { xs: "row", sm: "column" },
976
- alignItems: { xs: "center", sm: "center" },
977
- gap: { xs: 1.25, sm: 0 }
976
+ flexDirection: "row",
977
+ alignItems: "center",
978
+ gap: { xs: 1.25, sm: 2 }
978
979
  }, children: [
979
980
  /* @__PURE__ */ jsx2(Box2, { sx: {
980
981
  display: "flex",
981
982
  alignItems: "center",
982
983
  justifyContent: "center",
983
984
  fontSize: 0,
984
- mb: { xs: 0, sm: 2 },
985
+ mb: 0,
985
986
  flexShrink: 0
986
- }, children: /* @__PURE__ */ jsx2(AutoAwesomeIcon, { sx: { fontSize: { xs: 28, sm: 44 }, color: "common.white", filter: "drop-shadow(0 4px 12px rgba(0,0,0,0.25))" } }) }),
987
+ }, children: /* @__PURE__ */ jsx2(AutoAwesomeIcon, { sx: { fontSize: { xs: 28, sm: 34 }, color: "common.white", filter: "drop-shadow(0 4px 12px rgba(0,0,0,0.25))" } }) }),
987
988
  /* @__PURE__ */ jsxs2(Box2, { sx: { flex: 1, minWidth: 0 }, children: [
988
989
  /* @__PURE__ */ jsx2(
989
990
  Typography2,
@@ -991,9 +992,9 @@ var PersonalitiesTab = ({
991
992
  variant: "h5",
992
993
  sx: {
993
994
  fontWeight: 700,
994
- mb: { xs: 0.25, sm: 1 },
995
+ mb: 0.25,
995
996
  textShadow: "0 2px 4px rgba(0,0,0,0.2)",
996
- fontSize: { xs: "1.1rem", sm: "1.75rem" }
997
+ fontSize: { xs: "1.1rem", sm: "1.25rem" }
997
998
  },
998
999
  children: "Create from Scratch"
999
1000
  }
@@ -2230,6 +2231,7 @@ var PreferencesTab = ({
2230
2231
  const [syncToggleLoading, setSyncToggleLoading] = useState3(false);
2231
2232
  const [manualSyncLoading, setManualSyncLoading] = useState3(false);
2232
2233
  const [advancedVectorToggleLoading, setAdvancedVectorToggleLoading] = useState3(false);
2234
+ const [memoryModalOpen, setMemoryModalOpen] = useState3(false);
2233
2235
  const timeoutRef = useRef2(null);
2234
2236
  const fileInputRef = useRef2(null);
2235
2237
  const { exportPreferences, importPreferences, resetToDefaults } = usePreferencesStore();
@@ -2789,6 +2791,10 @@ var PreferencesTab = ({
2789
2791
  ] })
2790
2792
  }
2791
2793
  ),
2794
+ preferences.memoryEnabled && /* @__PURE__ */ jsxs3(Box3, { sx: { pl: { xs: 0, sm: 6 }, mt: -0.5, mb: 0.5 }, children: [
2795
+ /* @__PURE__ */ jsx3(Button3, { size: "small", variant: "outlined", onClick: () => setMemoryModalOpen(true), children: "Manage memories" }),
2796
+ /* @__PURE__ */ jsx3(memory_modal_default, { open: memoryModalOpen, onClose: () => setMemoryModalOpen(false) })
2797
+ ] }),
2792
2798
  /* @__PURE__ */ jsx3(
2793
2799
  FormControlLabel,
2794
2800
  {
@@ -9735,7 +9741,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
9735
9741
 
9736
9742
  // src/management/management.tsx
9737
9743
  import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
9738
- var preloadChatPage = () => import("./chat-ZIHCX6ES.mjs");
9744
+ var preloadChatPage = () => import("./chat-C2C5VSLI.mjs");
9739
9745
  var buildCapabilitiesUrl = (gatewayApiUrl) => {
9740
9746
  const trimmed = gatewayApiUrl.replace(/\/$/, "");
9741
9747
  if (trimmed.endsWith("/api")) {
@@ -10479,6 +10485,14 @@ var Management = () => {
10479
10485
  const currentTheme = useMemo6(() => {
10480
10486
  const baseTheme = predefinedThemes[theme] || banditDarkTheme;
10481
10487
  return createTheme(baseTheme, {
10488
+ // Management-scoped density: condenses every settings tab at once. This
10489
+ // theme only wraps the admin console, so the chat UI is unaffected.
10490
+ typography: {
10491
+ h3: { fontSize: "1.7rem" },
10492
+ h4: { fontSize: "1.35rem" },
10493
+ h5: { fontSize: "1.15rem" },
10494
+ h6: { fontSize: "1rem" }
10495
+ },
10482
10496
  components: {
10483
10497
  MuiInputBase: {
10484
10498
  styleOverrides: {
@@ -10499,6 +10513,19 @@ var Management = () => {
10499
10513
  }
10500
10514
  }
10501
10515
  }
10516
+ },
10517
+ MuiCardContent: {
10518
+ styleOverrides: {
10519
+ root: {
10520
+ padding: 16,
10521
+ "&:last-child": { paddingBottom: 16 }
10522
+ }
10523
+ }
10524
+ },
10525
+ MuiCard: {
10526
+ styleOverrides: {
10527
+ root: { borderRadius: 12 }
10528
+ }
10502
10529
  }
10503
10530
  }
10504
10531
  });
@@ -10948,7 +10975,7 @@ var Management = () => {
10948
10975
  {
10949
10976
  sx: {
10950
10977
  flex: 1,
10951
- p: { xs: 1, sm: 3, md: 4 },
10978
+ p: { xs: 1.5, sm: 2.5, md: 3 },
10952
10979
  overflowY: "auto",
10953
10980
  overflowX: "hidden",
10954
10981
  maxWidth: "100vw",
@@ -11080,4 +11107,4 @@ export {
11080
11107
  useGatewayMemory,
11081
11108
  management_default
11082
11109
  };
11083
- //# sourceMappingURL=chunk-E5ROHXFN.mjs.map
11110
+ //# sourceMappingURL=chunk-UDSKWLDG.mjs.map