@burtson-labs/bandit-engine 2.0.130 → 2.0.131

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.
@@ -2062,7 +2062,11 @@ import {
2062
2062
  IconButton as IconButton2,
2063
2063
  Tooltip,
2064
2064
  useMediaQuery as useMediaQuery2,
2065
- useTheme as useTheme2
2065
+ useTheme as useTheme2,
2066
+ FormControl,
2067
+ InputLabel,
2068
+ Select,
2069
+ MenuItem as MenuItem2
2066
2070
  } from "@mui/material";
2067
2071
 
2068
2072
  // src/hooks/useGatewayQueries.ts
@@ -2153,7 +2157,12 @@ var PreferencesTab = ({
2153
2157
  const timeoutRef = useRef2(null);
2154
2158
  const fileInputRef = useRef2(null);
2155
2159
  const { exportPreferences, importPreferences, resetToDefaults } = usePreferencesStore();
2156
- const { isServiceAvailable: isTTSSTTAvailable } = useVoiceStore();
2160
+ const {
2161
+ isServiceAvailable: isTTSSTTAvailable,
2162
+ availableVoices,
2163
+ selectedVoice,
2164
+ setSelectedVoice
2165
+ } = useVoiceStore();
2157
2166
  const { hasAdvancedSearch, hasAdvancedMemories } = useFeatures();
2158
2167
  const {
2159
2168
  initialized: syncInitialized,
@@ -2773,6 +2782,19 @@ var PreferencesTab = ({
2773
2782
  ] })
2774
2783
  }
2775
2784
  ),
2785
+ preferences.ttsEnabled && isTTSSTTAvailable && availableVoices.length > 0 && /* @__PURE__ */ jsxs3(FormControl, { size: "small", sx: { ml: 6, mt: 1, maxWidth: 280 }, children: [
2786
+ /* @__PURE__ */ jsx3(InputLabel, { id: "tts-voice-label", children: "Voice" }),
2787
+ /* @__PURE__ */ jsx3(
2788
+ Select,
2789
+ {
2790
+ labelId: "tts-voice-label",
2791
+ label: "Voice",
2792
+ value: availableVoices.includes(selectedVoice) ? selectedVoice : "",
2793
+ onChange: (e) => setSelectedVoice(e.target.value),
2794
+ children: availableVoices.map((voice) => /* @__PURE__ */ jsx3(MenuItem2, { value: voice, children: voice.split("-")[1] ? voice.split("-")[1].charAt(0).toUpperCase() + voice.split("-")[1].slice(1) : voice }, voice))
2795
+ }
2796
+ )
2797
+ ] }),
2776
2798
  /* @__PURE__ */ jsx3(
2777
2799
  FormControlLabel,
2778
2800
  {
@@ -4200,7 +4222,7 @@ import {
4200
4222
  IconButton as IconButton4,
4201
4223
  Alert as Alert6,
4202
4224
  Stack,
4203
- MenuItem as MenuItem2,
4225
+ MenuItem as MenuItem3,
4204
4226
  Snackbar as Snackbar2,
4205
4227
  Switch as Switch2,
4206
4228
  useMediaQuery as useMediaQuery4,
@@ -5382,8 +5404,8 @@ var KnowledgeTab = ({
5382
5404
  size: "small",
5383
5405
  sx: { minWidth: 120 },
5384
5406
  children: [
5385
- /* @__PURE__ */ jsx7(MenuItem2, { value: "all", children: "All Types" }),
5386
- categories.map((category) => /* @__PURE__ */ jsx7(MenuItem2, { value: category, children: category }, category))
5407
+ /* @__PURE__ */ jsx7(MenuItem3, { value: "all", children: "All Types" }),
5408
+ categories.map((category) => /* @__PURE__ */ jsx7(MenuItem3, { value: category, children: category }, category))
5387
5409
  ]
5388
5410
  }
5389
5411
  ),
@@ -5402,15 +5424,15 @@ var KnowledgeTab = ({
5402
5424
  }
5403
5425
  },
5404
5426
  children: [
5405
- /* @__PURE__ */ jsx7(MenuItem2, { value: "all", children: /* @__PURE__ */ jsxs7(Box7, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
5427
+ /* @__PURE__ */ jsx7(MenuItem3, { value: "all", children: /* @__PURE__ */ jsxs7(Box7, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
5406
5428
  /* @__PURE__ */ jsx7(PublicIcon, { sx: { fontSize: 16 } }),
5407
5429
  "All Sources"
5408
5430
  ] }) }),
5409
- /* @__PURE__ */ jsx7(MenuItem2, { value: "personal", children: /* @__PURE__ */ jsxs7(Box7, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
5431
+ /* @__PURE__ */ jsx7(MenuItem3, { value: "personal", children: /* @__PURE__ */ jsxs7(Box7, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
5410
5432
  /* @__PURE__ */ jsx7(PersonIcon, { sx: { fontSize: 16, color: "#1976d2" } }),
5411
5433
  /* @__PURE__ */ jsx7(Typography7, { children: "Personal Only" })
5412
5434
  ] }) }),
5413
- /* @__PURE__ */ jsx7(MenuItem2, { value: "team", children: /* @__PURE__ */ jsxs7(Box7, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
5435
+ /* @__PURE__ */ jsx7(MenuItem3, { value: "team", children: /* @__PURE__ */ jsxs7(Box7, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
5414
5436
  /* @__PURE__ */ jsx7(GroupIcon, { sx: { fontSize: 16, color: "#388e3c" } }),
5415
5437
  /* @__PURE__ */ jsx7(Typography7, { children: "Team Only" })
5416
5438
  ] }) })
@@ -5427,10 +5449,10 @@ var KnowledgeTab = ({
5427
5449
  size: "small",
5428
5450
  sx: { minWidth: 100 },
5429
5451
  children: [
5430
- /* @__PURE__ */ jsx7(MenuItem2, { value: "name", children: "Name" }),
5431
- /* @__PURE__ */ jsx7(MenuItem2, { value: "date", children: "Date" }),
5432
- /* @__PURE__ */ jsx7(MenuItem2, { value: "size", children: "Size" }),
5433
- /* @__PURE__ */ jsx7(MenuItem2, { value: "type", children: "Type" })
5452
+ /* @__PURE__ */ jsx7(MenuItem3, { value: "name", children: "Name" }),
5453
+ /* @__PURE__ */ jsx7(MenuItem3, { value: "date", children: "Date" }),
5454
+ /* @__PURE__ */ jsx7(MenuItem3, { value: "size", children: "Size" }),
5455
+ /* @__PURE__ */ jsx7(MenuItem3, { value: "type", children: "Type" })
5434
5456
  ]
5435
5457
  }
5436
5458
  ),
@@ -8506,7 +8528,7 @@ import {
8506
8528
  Paper as Paper5,
8507
8529
  Button as Button9,
8508
8530
  TextField as TextField6,
8509
- MenuItem as MenuItem3,
8531
+ MenuItem as MenuItem4,
8510
8532
  Chip as Chip8,
8511
8533
  Snackbar as Snackbar5,
8512
8534
  Alert as Alert9,
@@ -8817,13 +8839,13 @@ var ProviderTab = () => {
8817
8839
  fullWidth: true,
8818
8840
  sx: { mb: 3 },
8819
8841
  children: [
8820
- /* @__PURE__ */ jsx11(MenuItem3, { value: "gateway", children: "Gateway (Recommended)" }),
8821
- /* @__PURE__ */ jsx11(MenuItem3, { value: "ollama", children: "Ollama" }),
8822
- /* @__PURE__ */ jsx11(MenuItem3, { value: "openai", children: "OpenAI" }),
8823
- /* @__PURE__ */ jsx11(MenuItem3, { value: "azure-openai", children: "Azure OpenAI" }),
8824
- /* @__PURE__ */ jsx11(MenuItem3, { value: "bandit", children: "Bandit AI" }),
8825
- /* @__PURE__ */ jsx11(MenuItem3, { value: "xai", children: "xAI" }),
8826
- /* @__PURE__ */ jsx11(MenuItem3, { value: "playground", children: "Playground (Mock Demo)" })
8842
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "gateway", children: "Gateway (Recommended)" }),
8843
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "ollama", children: "Ollama" }),
8844
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "openai", children: "OpenAI" }),
8845
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "azure-openai", children: "Azure OpenAI" }),
8846
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "bandit", children: "Bandit AI" }),
8847
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "xai", children: "xAI" }),
8848
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "playground", children: "Playground (Mock Demo)" })
8827
8849
  ]
8828
8850
  }
8829
8851
  ),
@@ -8852,12 +8874,12 @@ var ProviderTab = () => {
8852
8874
  fullWidth: true,
8853
8875
  sx: { mb: 2 },
8854
8876
  children: [
8855
- /* @__PURE__ */ jsx11(MenuItem3, { value: "openai", children: "OpenAI" }),
8856
- /* @__PURE__ */ jsx11(MenuItem3, { value: "azure-openai", children: "Azure OpenAI" }),
8857
- /* @__PURE__ */ jsx11(MenuItem3, { value: "anthropic", children: "Anthropic" }),
8858
- /* @__PURE__ */ jsx11(MenuItem3, { value: "ollama", children: "Ollama" }),
8859
- /* @__PURE__ */ jsx11(MenuItem3, { value: "bandit", children: "Bandit AI" }),
8860
- /* @__PURE__ */ jsx11(MenuItem3, { value: "xai", children: "xAI" })
8877
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "openai", children: "OpenAI" }),
8878
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "azure-openai", children: "Azure OpenAI" }),
8879
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "anthropic", children: "Anthropic" }),
8880
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "ollama", children: "Ollama" }),
8881
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "bandit", children: "Bandit AI" }),
8882
+ /* @__PURE__ */ jsx11(MenuItem4, { value: "xai", children: "xAI" })
8861
8883
  ]
8862
8884
  }
8863
8885
  )
@@ -9187,7 +9209,7 @@ import {
9187
9209
  IconButton as IconButton6,
9188
9210
  LinearProgress as LinearProgress5,
9189
9211
  Link,
9190
- MenuItem as MenuItem4,
9212
+ MenuItem as MenuItem5,
9191
9213
  Paper as Paper6,
9192
9214
  Stack as Stack4,
9193
9215
  Switch as Switch3,
@@ -9481,9 +9503,9 @@ var McpServersSection = () => {
9481
9503
  onChange: (e) => setForm({ ...form, authType: e.target.value }),
9482
9504
  sx: { maxWidth: 220 },
9483
9505
  children: [
9484
- /* @__PURE__ */ jsx12(MenuItem4, { value: "none", children: "None" }),
9485
- /* @__PURE__ */ jsx12(MenuItem4, { value: "bearer", children: "Bearer token" }),
9486
- /* @__PURE__ */ jsx12(MenuItem4, { value: "header", children: "Custom header" })
9506
+ /* @__PURE__ */ jsx12(MenuItem5, { value: "none", children: "None" }),
9507
+ /* @__PURE__ */ jsx12(MenuItem5, { value: "bearer", children: "Bearer token" }),
9508
+ /* @__PURE__ */ jsx12(MenuItem5, { value: "header", children: "Custom header" })
9487
9509
  ]
9488
9510
  }
9489
9511
  ),
@@ -9754,7 +9776,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
9754
9776
 
9755
9777
  // src/management/management.tsx
9756
9778
  import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
9757
- var preloadChatPage = () => import("./chat-KITNRSFA.mjs");
9779
+ var preloadChatPage = () => import("./chat-3O4KKYCG.mjs");
9758
9780
  var buildCapabilitiesUrl = (gatewayApiUrl) => {
9759
9781
  const trimmed = gatewayApiUrl.replace(/\/$/, "");
9760
9782
  if (trimmed.endsWith("/api")) {
@@ -11127,4 +11149,4 @@ export {
11127
11149
  useGatewayMemory,
11128
11150
  management_default
11129
11151
  };
11130
- //# sourceMappingURL=chunk-R7LKVTK7.mjs.map
11152
+ //# sourceMappingURL=chunk-VNIDC6VZ.mjs.map