@burtson-labs/bandit-engine 2.0.159 → 2.0.161
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/README.md +94 -76
- package/dist/{aiProviderStore-ZQ5VVVKQ.mjs → aiProviderStore-BNZGM6QU.mjs} +2 -2
- package/dist/chat-3JAV77HO.mjs +16 -0
- package/dist/chat-provider.js +197 -113
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +6 -6
- package/dist/{chunk-GWQRTUKF.mjs → chunk-B3HAQC6F.mjs} +2 -2
- package/dist/chunk-B3HAQC6F.mjs.map +1 -0
- package/dist/{chunk-GZDJNVAS.mjs → chunk-EOMOOMUC.mjs} +1826 -3264
- package/dist/chunk-EOMOOMUC.mjs.map +1 -0
- package/dist/{chunk-2X3ZTDUW.mjs → chunk-FSRMNQRN.mjs} +62 -61
- package/dist/chunk-FSRMNQRN.mjs.map +1 -0
- package/dist/{chunk-ZW3YNAD7.mjs → chunk-MIDYEQOS.mjs} +5 -5
- package/dist/{chunk-ZW3YNAD7.mjs.map → chunk-MIDYEQOS.mjs.map} +1 -1
- package/dist/chunk-PFKKGJAQ.mjs +390 -0
- package/dist/chunk-PFKKGJAQ.mjs.map +1 -0
- package/dist/{chunk-R45DM35B.mjs → chunk-QPXG4A5C.mjs} +6 -6
- package/dist/chunk-QPXG4A5C.mjs.map +1 -0
- package/dist/{chunk-B2TJZM4Z.mjs → chunk-QXITTH2X.mjs} +3 -3
- package/dist/{chunk-F5JS4W2K.mjs → chunk-TTAORNWI.mjs} +1573 -1333
- package/dist/chunk-TTAORNWI.mjs.map +1 -0
- package/dist/{chunk-ZOCXFQID.mjs → chunk-WQEBTH2R.mjs} +7 -2
- package/dist/{chunk-ZOCXFQID.mjs.map → chunk-WQEBTH2R.mjs.map} +1 -1
- package/dist/{chunk-TCW753JI.mjs → chunk-X65A3NED.mjs} +6 -6
- package/dist/{chunk-7HC6ONWM.mjs → chunk-XC7HDKFW.mjs} +3860 -4477
- package/dist/chunk-XC7HDKFW.mjs.map +1 -0
- package/dist/index.d.mts +85 -2
- package/dist/index.d.ts +85 -2
- package/dist/index.js +8290 -9998
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -15
- package/dist/index.mjs.map +1 -1
- package/dist/management/management.js +7870 -9587
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +9 -9
- package/dist/modals/chat-modal/chat-modal.js +1664 -3305
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +5 -5
- package/dist/{modelStore-KBUW3XAV.mjs → modelStore-FGUGOWTL.mjs} +2 -2
- package/package.json +9 -5
- package/dist/chat-HM563VOV.mjs +0 -16
- package/dist/chunk-2X3ZTDUW.mjs.map +0 -1
- package/dist/chunk-7HC6ONWM.mjs.map +0 -1
- package/dist/chunk-F5JS4W2K.mjs.map +0 -1
- package/dist/chunk-GWQRTUKF.mjs.map +0 -1
- package/dist/chunk-GZDJNVAS.mjs.map +0 -1
- package/dist/chunk-IS2LWSBZ.mjs +0 -311
- package/dist/chunk-IS2LWSBZ.mjs.map +0 -1
- package/dist/chunk-R45DM35B.mjs.map +0 -1
- /package/dist/{aiProviderStore-ZQ5VVVKQ.mjs.map → aiProviderStore-BNZGM6QU.mjs.map} +0 -0
- /package/dist/{chat-HM563VOV.mjs.map → chat-3JAV77HO.mjs.map} +0 -0
- /package/dist/{chunk-B2TJZM4Z.mjs.map → chunk-QXITTH2X.mjs.map} +0 -0
- /package/dist/{chunk-TCW753JI.mjs.map → chunk-X65A3NED.mjs.map} +0 -0
- /package/dist/{modelStore-KBUW3XAV.mjs.map → modelStore-FGUGOWTL.mjs.map} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
DragIndicatorIcon,
|
|
6
|
-
ExpandLessIcon,
|
|
7
|
-
ExpandMoreIcon,
|
|
2
|
+
Check,
|
|
3
|
+
ChevronDown,
|
|
4
|
+
ChevronUp,
|
|
8
5
|
FeedbackModal,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
Grip,
|
|
7
|
+
History,
|
|
8
|
+
Info2 as Info,
|
|
9
|
+
Maximize,
|
|
10
|
+
MemoryLayers2 as MemoryLayers,
|
|
11
|
+
Mic,
|
|
12
|
+
Minimize,
|
|
13
|
+
Minus,
|
|
14
|
+
Refresh2 as Refresh,
|
|
15
|
+
Search,
|
|
16
|
+
Send,
|
|
17
|
+
Trash,
|
|
18
|
+
X,
|
|
19
19
|
ai_response_text_field_default,
|
|
20
20
|
banditDarkTheme,
|
|
21
21
|
memory_modal_default,
|
|
22
|
+
registry_default,
|
|
22
23
|
speakStream,
|
|
23
|
-
themeMap_default,
|
|
24
24
|
useNotificationService,
|
|
25
25
|
useTTS,
|
|
26
26
|
useVoiceStore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EOMOOMUC.mjs";
|
|
28
28
|
import {
|
|
29
29
|
brandingService_default,
|
|
30
30
|
toTitleCase,
|
|
31
31
|
useAIQueryStore,
|
|
32
32
|
useConversationStore,
|
|
33
33
|
useMemoryStore
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MIDYEQOS.mjs";
|
|
35
35
|
import {
|
|
36
36
|
indexedDBService_default,
|
|
37
37
|
useModelStore,
|
|
38
38
|
usePackageSettingsStore,
|
|
39
39
|
usePreferencesStore
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WQEBTH2R.mjs";
|
|
41
41
|
import {
|
|
42
42
|
useAIProviderStore
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-B3HAQC6F.mjs";
|
|
44
44
|
import {
|
|
45
45
|
debugLogger
|
|
46
46
|
} from "./chunk-KCI46M23.mjs";
|
|
@@ -262,7 +262,7 @@ var ModalHeader = ({
|
|
|
262
262
|
),
|
|
263
263
|
/* @__PURE__ */ jsx2(Fade2, { in: isHovering && !fullScreen, children: /* @__PURE__ */ jsxs(Box2, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
264
264
|
/* @__PURE__ */ jsx2(
|
|
265
|
-
|
|
265
|
+
Grip,
|
|
266
266
|
{
|
|
267
267
|
sx: {
|
|
268
268
|
color: theme.palette.text.secondary,
|
|
@@ -299,7 +299,7 @@ var ModalHeader = ({
|
|
|
299
299
|
color: theme.palette.text.primary
|
|
300
300
|
},
|
|
301
301
|
children: [
|
|
302
|
-
/* @__PURE__ */ jsx2(
|
|
302
|
+
/* @__PURE__ */ jsx2(History, {}),
|
|
303
303
|
historyCount > 0 && /* @__PURE__ */ jsx2(
|
|
304
304
|
Chip,
|
|
305
305
|
{
|
|
@@ -332,7 +332,7 @@ var ModalHeader = ({
|
|
|
332
332
|
color: theme.palette.text.primary,
|
|
333
333
|
bgcolor: fullScreen ? theme.palette.primary.main + "20" : "transparent"
|
|
334
334
|
},
|
|
335
|
-
children: fullScreen ? /* @__PURE__ */ jsx2(
|
|
335
|
+
children: fullScreen ? /* @__PURE__ */ jsx2(Minimize, {}) : /* @__PURE__ */ jsx2(Maximize, {})
|
|
336
336
|
}
|
|
337
337
|
) }),
|
|
338
338
|
/* @__PURE__ */ jsx2(Tooltip, { title: "Minimize", arrow: true, children: /* @__PURE__ */ jsx2(
|
|
@@ -344,7 +344,7 @@ var ModalHeader = ({
|
|
|
344
344
|
...buttonStyles,
|
|
345
345
|
color: theme.palette.warning.main
|
|
346
346
|
},
|
|
347
|
-
children: /* @__PURE__ */ jsx2(
|
|
347
|
+
children: /* @__PURE__ */ jsx2(Minus, {})
|
|
348
348
|
}
|
|
349
349
|
) }),
|
|
350
350
|
/* @__PURE__ */ jsx2(Tooltip, { title: "Close", arrow: true, children: /* @__PURE__ */ jsx2(
|
|
@@ -364,7 +364,7 @@ var ModalHeader = ({
|
|
|
364
364
|
// Removed transform to prevent jitter
|
|
365
365
|
}
|
|
366
366
|
},
|
|
367
|
-
children: /* @__PURE__ */ jsx2(
|
|
367
|
+
children: /* @__PURE__ */ jsx2(X, {})
|
|
368
368
|
}
|
|
369
369
|
) })
|
|
370
370
|
] })
|
|
@@ -419,7 +419,7 @@ var QueryInput = ({
|
|
|
419
419
|
{
|
|
420
420
|
"aria-label": "settings",
|
|
421
421
|
onClick: () => setShowSettings(!showSettings),
|
|
422
|
-
children: /* @__PURE__ */ jsx3(
|
|
422
|
+
children: /* @__PURE__ */ jsx3(Check, { sx: { color: showSettings ? theme.palette.primary.main : theme.palette.text.primary } })
|
|
423
423
|
}
|
|
424
424
|
) }) })
|
|
425
425
|
},
|
|
@@ -481,6 +481,7 @@ import {
|
|
|
481
481
|
} from "@mui/material";
|
|
482
482
|
import { Subscription } from "rxjs";
|
|
483
483
|
import { Fragment, jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
484
|
+
var StatusMark = ({ ok }) => ok ? /* @__PURE__ */ jsx4(Check, { fontSize: "inherit", color: "success", titleAccess: "yes", sx: { verticalAlign: "text-bottom" } }) : /* @__PURE__ */ jsx4(X, { fontSize: "inherit", color: "error", titleAccess: "no", sx: { verticalAlign: "text-bottom" } });
|
|
484
485
|
var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain }) => {
|
|
485
486
|
const theme = useTheme4();
|
|
486
487
|
const isMobile = useMediaQuery2(
|
|
@@ -754,7 +755,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
754
755
|
children: [
|
|
755
756
|
/* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between", mb: 2 }, children: [
|
|
756
757
|
/* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
757
|
-
/* @__PURE__ */ jsx4(
|
|
758
|
+
/* @__PURE__ */ jsx4(History, { sx: { color: theme.palette.primary.main } }),
|
|
758
759
|
/* @__PURE__ */ jsx4(Typography2, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Chat Control Center" }),
|
|
759
760
|
/* @__PURE__ */ jsx4(Tooltip3, { title: "About Chat History", arrow: true, children: /* @__PURE__ */ jsx4(
|
|
760
761
|
IconButton3,
|
|
@@ -767,7 +768,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
767
768
|
bgcolor: theme.palette.info.main + "20"
|
|
768
769
|
}
|
|
769
770
|
},
|
|
770
|
-
children: /* @__PURE__ */ jsx4(
|
|
771
|
+
children: /* @__PURE__ */ jsx4(Info, { fontSize: "small" })
|
|
771
772
|
}
|
|
772
773
|
) }),
|
|
773
774
|
/* @__PURE__ */ jsx4(Tooltip3, { title: "Refresh Conversations", arrow: true, children: /* @__PURE__ */ jsx4(
|
|
@@ -791,7 +792,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
791
792
|
bgcolor: theme.palette.primary.main + "20"
|
|
792
793
|
}
|
|
793
794
|
},
|
|
794
|
-
children: /* @__PURE__ */ jsx4(
|
|
795
|
+
children: /* @__PURE__ */ jsx4(Refresh, { fontSize: "small" })
|
|
795
796
|
}
|
|
796
797
|
) })
|
|
797
798
|
] }),
|
|
@@ -807,7 +808,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
807
808
|
color: theme.palette.text.primary
|
|
808
809
|
}
|
|
809
810
|
},
|
|
810
|
-
children: /* @__PURE__ */ jsx4(
|
|
811
|
+
children: /* @__PURE__ */ jsx4(X, {})
|
|
811
812
|
}
|
|
812
813
|
) })
|
|
813
814
|
] }),
|
|
@@ -961,7 +962,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
961
962
|
},
|
|
962
963
|
children: [
|
|
963
964
|
/* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
964
|
-
/* @__PURE__ */ jsx4(
|
|
965
|
+
/* @__PURE__ */ jsx4(Mic, { sx: { color: theme.palette.success.main, fontSize: "1.2rem" } }),
|
|
965
966
|
/* @__PURE__ */ jsx4(Typography2, { variant: "subtitle2", sx: { fontWeight: 600, color: "text.primary" }, children: "Voice Model" }),
|
|
966
967
|
/* @__PURE__ */ jsx4(
|
|
967
968
|
Chip2,
|
|
@@ -992,11 +993,11 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
992
993
|
color: theme.palette.success.main
|
|
993
994
|
}
|
|
994
995
|
},
|
|
995
|
-
children: /* @__PURE__ */ jsx4(
|
|
996
|
+
children: /* @__PURE__ */ jsx4(Refresh, { fontSize: "small" })
|
|
996
997
|
}
|
|
997
998
|
) })
|
|
998
999
|
] }),
|
|
999
|
-
expandedSections.has("voice") ? /* @__PURE__ */ jsx4(
|
|
1000
|
+
expandedSections.has("voice") ? /* @__PURE__ */ jsx4(ChevronUp, {}) : /* @__PURE__ */ jsx4(ChevronDown, {})
|
|
1000
1001
|
]
|
|
1001
1002
|
}
|
|
1002
1003
|
),
|
|
@@ -1018,7 +1019,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1018
1019
|
}
|
|
1019
1020
|
},
|
|
1020
1021
|
children: availableVoices.map((voice) => /* @__PURE__ */ jsx4(MenuItem, { value: voice, children: /* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", gap: 1, width: "100%" }, children: [
|
|
1021
|
-
/* @__PURE__ */ jsx4(
|
|
1022
|
+
/* @__PURE__ */ jsx4(Mic, { fontSize: "small", sx: { color: theme.palette.text.secondary } }),
|
|
1022
1023
|
/* @__PURE__ */ jsxs2(Box4, { sx: { flex: 1 }, children: [
|
|
1023
1024
|
/* @__PURE__ */ jsx4(Typography2, { variant: "body2", children: toTitleCase(voice.split("-")[1]) }),
|
|
1024
1025
|
/* @__PURE__ */ jsx4(Typography2, { variant: "caption", sx: { color: theme.palette.text.secondary }, children: voice === selectedVoice ? "Currently active" : "Switch to this voice" })
|
|
@@ -1040,25 +1041,25 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1040
1041
|
/* @__PURE__ */ jsx4(Typography2, { variant: "body2", color: "text.secondary", children: "No voices available" }),
|
|
1041
1042
|
/* @__PURE__ */ jsxs2(Typography2, { variant: "caption", color: "text.secondary", sx: { display: "block", mt: 1 }, children: [
|
|
1042
1043
|
"Service: ",
|
|
1043
|
-
|
|
1044
|
+
/* @__PURE__ */ jsx4(StatusMark, { ok: isServiceAvailable }),
|
|
1044
1045
|
" | TTS: ",
|
|
1045
|
-
|
|
1046
|
+
/* @__PURE__ */ jsx4(StatusMark, { ok: preferences.ttsEnabled }),
|
|
1046
1047
|
" | Gateway: ",
|
|
1047
|
-
!!packageSettings?.gatewayApiUrl
|
|
1048
|
+
/* @__PURE__ */ jsx4(StatusMark, { ok: !!packageSettings?.gatewayApiUrl })
|
|
1048
1049
|
] })
|
|
1049
1050
|
] }) }) })
|
|
1050
1051
|
] }) : /* @__PURE__ */ jsx4(Box4, { sx: { mb: 2 }, children: /* @__PURE__ */ jsxs2(Box4, { sx: { p: 1, borderRadius: "8px", bgcolor: theme.palette.warning.main + "10" }, children: [
|
|
1051
1052
|
/* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
1052
|
-
/* @__PURE__ */ jsx4(
|
|
1053
|
+
/* @__PURE__ */ jsx4(Mic, { sx: { color: theme.palette.warning.main, fontSize: "1.2rem" } }),
|
|
1053
1054
|
/* @__PURE__ */ jsx4(Typography2, { variant: "subtitle2", sx: { fontWeight: 600, color: theme.palette.warning.main }, children: "Voice Not Available" })
|
|
1054
1055
|
] }),
|
|
1055
1056
|
/* @__PURE__ */ jsxs2(Typography2, { variant: "caption", color: "text.secondary", sx: { display: "block", mt: 1, pl: 4 }, children: [
|
|
1056
1057
|
"Service: ",
|
|
1057
|
-
|
|
1058
|
+
/* @__PURE__ */ jsx4(StatusMark, { ok: isServiceAvailable }),
|
|
1058
1059
|
" | TTS: ",
|
|
1059
|
-
|
|
1060
|
+
/* @__PURE__ */ jsx4(StatusMark, { ok: preferences.ttsEnabled }),
|
|
1060
1061
|
" | Gateway: ",
|
|
1061
|
-
!!packageSettings?.gatewayApiUrl
|
|
1062
|
+
/* @__PURE__ */ jsx4(StatusMark, { ok: !!packageSettings?.gatewayApiUrl })
|
|
1062
1063
|
] })
|
|
1063
1064
|
] }) }),
|
|
1064
1065
|
isMemoryAvailable && /* @__PURE__ */ jsxs2(Box4, { sx: { mb: 2 }, children: [
|
|
@@ -1079,7 +1080,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1079
1080
|
},
|
|
1080
1081
|
children: [
|
|
1081
1082
|
/* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
1082
|
-
/* @__PURE__ */ jsx4(
|
|
1083
|
+
/* @__PURE__ */ jsx4(MemoryLayers, { sx: { color: theme.palette.warning.main, fontSize: "1.2rem" } }),
|
|
1083
1084
|
/* @__PURE__ */ jsx4(Typography2, { variant: "subtitle2", sx: { fontWeight: 600, color: "text.primary" }, children: "Personal Memory" }),
|
|
1084
1085
|
/* @__PURE__ */ jsx4(
|
|
1085
1086
|
Chip2,
|
|
@@ -1095,7 +1096,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1095
1096
|
}
|
|
1096
1097
|
)
|
|
1097
1098
|
] }),
|
|
1098
|
-
expandedSections.has("memory") ? /* @__PURE__ */ jsx4(
|
|
1099
|
+
expandedSections.has("memory") ? /* @__PURE__ */ jsx4(ChevronUp, {}) : /* @__PURE__ */ jsx4(ChevronDown, {})
|
|
1099
1100
|
]
|
|
1100
1101
|
}
|
|
1101
1102
|
),
|
|
@@ -1105,7 +1106,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1105
1106
|
fullWidth: true,
|
|
1106
1107
|
variant: "outlined",
|
|
1107
1108
|
onClick: () => setMemoryModalOpen(true),
|
|
1108
|
-
startIcon: /* @__PURE__ */ jsx4(
|
|
1109
|
+
startIcon: /* @__PURE__ */ jsx4(MemoryLayers, {}),
|
|
1109
1110
|
sx: {
|
|
1110
1111
|
textTransform: "none",
|
|
1111
1112
|
borderRadius: "8px",
|
|
@@ -1134,7 +1135,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1134
1135
|
},
|
|
1135
1136
|
children: [
|
|
1136
1137
|
/* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
1137
|
-
/* @__PURE__ */ jsx4(
|
|
1138
|
+
/* @__PURE__ */ jsx4(History, { sx: { color: theme.palette.primary.main, fontSize: "1.2rem" } }),
|
|
1138
1139
|
/* @__PURE__ */ jsx4(Typography2, { variant: "subtitle2", sx: { fontWeight: 600, color: "text.primary" }, children: contextMode === "local" ? "Session History" : "Conversation History" }),
|
|
1139
1140
|
/* @__PURE__ */ jsx4(
|
|
1140
1141
|
Chip2,
|
|
@@ -1163,11 +1164,11 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1163
1164
|
bgcolor: theme.palette.error.main + "20"
|
|
1164
1165
|
}
|
|
1165
1166
|
},
|
|
1166
|
-
children: /* @__PURE__ */ jsx4(
|
|
1167
|
+
children: /* @__PURE__ */ jsx4(Trash, { fontSize: "small" })
|
|
1167
1168
|
}
|
|
1168
1169
|
) })
|
|
1169
1170
|
] }),
|
|
1170
|
-
expandedSections.has("history") ? /* @__PURE__ */ jsx4(
|
|
1171
|
+
expandedSections.has("history") ? /* @__PURE__ */ jsx4(ChevronUp, {}) : /* @__PURE__ */ jsx4(ChevronDown, {})
|
|
1171
1172
|
]
|
|
1172
1173
|
}
|
|
1173
1174
|
),
|
|
@@ -1180,7 +1181,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1180
1181
|
value: searchTerm,
|
|
1181
1182
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
1182
1183
|
InputProps: {
|
|
1183
|
-
startAdornment: /* @__PURE__ */ jsx4(InputAdornment2, { position: "start", children: /* @__PURE__ */ jsx4(
|
|
1184
|
+
startAdornment: /* @__PURE__ */ jsx4(InputAdornment2, { position: "start", children: /* @__PURE__ */ jsx4(Search, { sx: { color: theme.palette.text.secondary } }) }),
|
|
1184
1185
|
sx: {
|
|
1185
1186
|
borderRadius: "12px",
|
|
1186
1187
|
bgcolor: theme.palette.mode === "dark" ? "rgba(255,255,255,0.05)" : "rgba(0,0,0,0.05)",
|
|
@@ -1294,7 +1295,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1294
1295
|
color: theme.palette.text.secondary
|
|
1295
1296
|
},
|
|
1296
1297
|
children: [
|
|
1297
|
-
/* @__PURE__ */ jsx4(
|
|
1298
|
+
/* @__PURE__ */ jsx4(History, { sx: { fontSize: "3rem", mb: 2, opacity: 0.5 } }),
|
|
1298
1299
|
/* @__PURE__ */ jsx4(Typography2, { variant: "h6", sx: { mb: 1, fontWeight: 500, color: "text.primary" }, children: searchTerm ? "No Matching Conversations" : "No Conversations Yet" }),
|
|
1299
1300
|
/* @__PURE__ */ jsx4(Typography2, { variant: "body2", children: searchTerm ? "Try adjusting your search terms" : "Create your first conversation to get started" })
|
|
1300
1301
|
]
|
|
@@ -1367,7 +1368,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1367
1368
|
}
|
|
1368
1369
|
}
|
|
1369
1370
|
),
|
|
1370
|
-
isExpanded ? /* @__PURE__ */ jsx4(
|
|
1371
|
+
isExpanded ? /* @__PURE__ */ jsx4(ChevronUp, {}) : /* @__PURE__ */ jsx4(ChevronDown, {})
|
|
1371
1372
|
] })
|
|
1372
1373
|
] }),
|
|
1373
1374
|
/* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
@@ -1485,7 +1486,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1485
1486
|
color: theme.palette.text.secondary
|
|
1486
1487
|
},
|
|
1487
1488
|
children: [
|
|
1488
|
-
/* @__PURE__ */ jsx4(
|
|
1489
|
+
/* @__PURE__ */ jsx4(History, { sx: { fontSize: "3rem", mb: 2, opacity: 0.5 } }),
|
|
1489
1490
|
/* @__PURE__ */ jsx4(Typography2, { variant: "h6", sx: { mb: 1, fontWeight: 500, color: "text.primary" }, children: "No Session History Yet" }),
|
|
1490
1491
|
/* @__PURE__ */ jsx4(Typography2, { variant: "body2", children: "Start a conversation to see your session history here" })
|
|
1491
1492
|
]
|
|
@@ -1503,7 +1504,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1503
1504
|
color: theme.palette.text.secondary
|
|
1504
1505
|
},
|
|
1505
1506
|
children: [
|
|
1506
|
-
/* @__PURE__ */ jsx4(
|
|
1507
|
+
/* @__PURE__ */ jsx4(Search, { sx: { fontSize: "3rem", mb: 2, opacity: 0.5 } }),
|
|
1507
1508
|
/* @__PURE__ */ jsx4(Typography2, { variant: "h6", sx: { mb: 1, fontWeight: 500, color: "text.primary" }, children: "No Results Found" }),
|
|
1508
1509
|
/* @__PURE__ */ jsx4(Typography2, { variant: "body2", children: "Try adjusting your search terms" })
|
|
1509
1510
|
]
|
|
@@ -1631,7 +1632,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1631
1632
|
gap: 1
|
|
1632
1633
|
},
|
|
1633
1634
|
children: [
|
|
1634
|
-
/* @__PURE__ */ jsx4(
|
|
1635
|
+
/* @__PURE__ */ jsx4(Trash, { sx: { fontSize: "1.75rem" } }),
|
|
1635
1636
|
"Clear Chat History"
|
|
1636
1637
|
]
|
|
1637
1638
|
}
|
|
@@ -1757,7 +1758,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1757
1758
|
gap: 1
|
|
1758
1759
|
},
|
|
1759
1760
|
children: [
|
|
1760
|
-
/* @__PURE__ */ jsx4(
|
|
1761
|
+
/* @__PURE__ */ jsx4(Info, { sx: { fontSize: "1.75rem" } }),
|
|
1761
1762
|
"About Chat Control Center"
|
|
1762
1763
|
]
|
|
1763
1764
|
}
|
|
@@ -2372,7 +2373,7 @@ var ChatModal = ({
|
|
|
2372
2373
|
handleDrag(e);
|
|
2373
2374
|
setUserHasDragged(true);
|
|
2374
2375
|
};
|
|
2375
|
-
const activeTheme =
|
|
2376
|
+
const activeTheme = registry_default[selectedTheme ?? "bandit-dark"] || banditDarkTheme;
|
|
2376
2377
|
const { availableModels, selectedModel, setSelectedModel } = useModelStore();
|
|
2377
2378
|
const SYSTEM_PROMPT = useModelStore((state) => state.systemPrompt);
|
|
2378
2379
|
const { availableVoices, selectedVoice, setSelectedVoice } = useVoiceStore();
|
|
@@ -2750,7 +2751,7 @@ var ChatModal = ({
|
|
|
2750
2751
|
}
|
|
2751
2752
|
},
|
|
2752
2753
|
"aria-label": `Change voice. Currently using ${selectedVoice ? toTitleCase2(selectedVoice.split("-")[1]) : "default"}`,
|
|
2753
|
-
children: /* @__PURE__ */ jsx7(
|
|
2754
|
+
children: /* @__PURE__ */ jsx7(Mic, { fontSize: "small" })
|
|
2754
2755
|
}
|
|
2755
2756
|
) }),
|
|
2756
2757
|
/* @__PURE__ */ jsx7(
|
|
@@ -2796,7 +2797,7 @@ var ChatModal = ({
|
|
|
2796
2797
|
setVoiceAnchorEl(null);
|
|
2797
2798
|
},
|
|
2798
2799
|
children: /* @__PURE__ */ jsxs4(Box6, { sx: { display: "flex", alignItems: "center", gap: 1, width: "100%" }, children: [
|
|
2799
|
-
/* @__PURE__ */ jsx7(
|
|
2800
|
+
/* @__PURE__ */ jsx7(Mic, { fontSize: "small", sx: { color: activeTheme.palette.text.secondary } }),
|
|
2800
2801
|
/* @__PURE__ */ jsxs4(Box6, { sx: { flex: 1 }, children: [
|
|
2801
2802
|
/* @__PURE__ */ jsx7(Typography3, { variant: "body2", children: toTitleCase2(voice.split("-")[1]) }),
|
|
2802
2803
|
/* @__PURE__ */ jsx7(Typography3, { variant: "caption", sx: { color: activeTheme.palette.text.secondary }, children: voice === selectedVoice ? "Currently active" : "Switch to this voice" })
|
|
@@ -2864,7 +2865,7 @@ var ChatModal = ({
|
|
|
2864
2865
|
// Removed transform to prevent jitter
|
|
2865
2866
|
}
|
|
2866
2867
|
},
|
|
2867
|
-
children: /* @__PURE__ */ jsx7(
|
|
2868
|
+
children: /* @__PURE__ */ jsx7(X, { sx: { fontSize: 12 } })
|
|
2868
2869
|
}
|
|
2869
2870
|
) })
|
|
2870
2871
|
]
|
|
@@ -2903,7 +2904,7 @@ var ChatModal = ({
|
|
|
2903
2904
|
color: activeTheme.palette.action.disabled
|
|
2904
2905
|
}
|
|
2905
2906
|
},
|
|
2906
|
-
children: /* @__PURE__ */ jsx7(
|
|
2907
|
+
children: /* @__PURE__ */ jsx7(Send, {})
|
|
2907
2908
|
}
|
|
2908
2909
|
) }) })
|
|
2909
2910
|
] })
|
|
@@ -2941,4 +2942,4 @@ export {
|
|
|
2941
2942
|
MAX_WINDOWED_HEIGHT,
|
|
2942
2943
|
chat_modal_default
|
|
2943
2944
|
};
|
|
2944
|
-
//# sourceMappingURL=chunk-
|
|
2945
|
+
//# sourceMappingURL=chunk-FSRMNQRN.mjs.map
|