@burtson-labs/bandit-engine 2.0.53 → 2.0.55
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 +23 -12
- package/dist/{chat-U4SE4JQK.mjs → chat-IDE6Z4Q4.mjs} +4 -4
- package/dist/{chunk-EULV5CHD.mjs → chunk-KM7FUWCM.mjs} +4 -4
- package/dist/chunk-KM7FUWCM.mjs.map +1 -0
- package/dist/{chunk-NZKLKZJT.mjs → chunk-KNBWR4DS.mjs} +773 -486
- package/dist/chunk-KNBWR4DS.mjs.map +1 -0
- package/dist/{chunk-O54PTFJM.mjs → chunk-NP2OHTTX.mjs} +113 -149
- package/dist/chunk-NP2OHTTX.mjs.map +1 -0
- package/dist/{chunk-GNE4TTSI.mjs → chunk-TLY6A6XL.mjs} +78 -135
- package/dist/chunk-TLY6A6XL.mjs.map +1 -0
- package/dist/{chunk-2BGORTWS.mjs → chunk-WL7NV4WJ.mjs} +26 -30
- package/dist/chunk-WL7NV4WJ.mjs.map +1 -0
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +4045 -4034
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -11
- package/dist/index.mjs.map +1 -1
- package/dist/management/management.js +4016 -4005
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +4 -4
- package/dist/modals/chat-modal/chat-modal.js +1384 -1270
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +2 -2
- package/dist/{gateway-C5T5FfCy.d.mts → public-BzsEWB08.d.mts} +2 -145
- package/dist/{gateway-C5T5FfCy.d.ts → public-BzsEWB08.d.ts} +2 -145
- package/dist/public-types.d.mts +2 -32
- package/dist/public-types.d.ts +2 -32
- package/package.json +3 -11
- package/dist/chunk-2BGORTWS.mjs.map +0 -1
- package/dist/chunk-EULV5CHD.mjs.map +0 -1
- package/dist/chunk-GNE4TTSI.mjs.map +0 -1
- package/dist/chunk-NZKLKZJT.mjs.map +0 -1
- package/dist/chunk-O54PTFJM.mjs.map +0 -1
- package/dist/cli.js +0 -4084
- package/dist/cli.js.map +0 -1
- /package/dist/{chat-U4SE4JQK.mjs.map → chat-IDE6Z4Q4.mjs.map} +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
+
CheckIcon,
|
|
3
|
+
CloseIcon,
|
|
4
|
+
DeleteIcon,
|
|
5
|
+
DragIndicatorIcon,
|
|
6
|
+
ExpandLessIcon,
|
|
7
|
+
ExpandMoreIcon,
|
|
2
8
|
FeedbackButton,
|
|
9
|
+
FullscreenExitIcon,
|
|
10
|
+
FullscreenIcon,
|
|
11
|
+
HistoryIcon,
|
|
12
|
+
InfoOutlinedIcon,
|
|
13
|
+
MemoryIcon,
|
|
14
|
+
MinimizeIcon,
|
|
15
|
+
RecordVoiceOverIcon,
|
|
16
|
+
RefreshIcon,
|
|
17
|
+
SearchIcon,
|
|
18
|
+
SendIcon,
|
|
3
19
|
ai_response_text_field_default,
|
|
4
20
|
banditDarkTheme,
|
|
5
21
|
memory_modal_default,
|
|
@@ -8,7 +24,7 @@ import {
|
|
|
8
24
|
useNotificationService,
|
|
9
25
|
useTTS,
|
|
10
26
|
useVoiceStore
|
|
11
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-KNBWR4DS.mjs";
|
|
12
28
|
import {
|
|
13
29
|
brandingService_default,
|
|
14
30
|
toTitleCase,
|
|
@@ -44,9 +60,6 @@ import {
|
|
|
44
60
|
Typography as Typography3
|
|
45
61
|
} from "@mui/material";
|
|
46
62
|
import { useNavigate } from "react-router-dom";
|
|
47
|
-
import CloseIcon3 from "@mui/icons-material/Close";
|
|
48
|
-
import SendIcon from "@mui/icons-material/Send";
|
|
49
|
-
import RecordVoiceOverIcon2 from "@mui/icons-material/RecordVoiceOver";
|
|
50
63
|
|
|
51
64
|
// src/modals/chat-modal/draggable-box.tsx
|
|
52
65
|
import React, { useEffect, useState } from "react";
|
|
@@ -147,12 +160,6 @@ import {
|
|
|
147
160
|
Chip,
|
|
148
161
|
Fade as Fade2
|
|
149
162
|
} from "@mui/material";
|
|
150
|
-
import MinimizeIcon from "@mui/icons-material/Minimize";
|
|
151
|
-
import FullscreenIcon from "@mui/icons-material/Fullscreen";
|
|
152
|
-
import FullscreenExitIcon from "@mui/icons-material/FullscreenExit";
|
|
153
|
-
import CloseIcon from "@mui/icons-material/Close";
|
|
154
|
-
import HistoryIcon from "@mui/icons-material/History";
|
|
155
|
-
import DragIndicatorIcon from "@mui/icons-material/DragIndicator";
|
|
156
163
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
157
164
|
var banditaiLogo = "https://cdn.burtson.ai/logos/bandit-ai-logo.png";
|
|
158
165
|
var banditHead = "https://cdn.burtson.ai/images/bandit-head.png";
|
|
@@ -370,7 +377,6 @@ var modal_header_default = ModalHeader;
|
|
|
370
377
|
// src/modals/chat-modal/query-input.tsx
|
|
371
378
|
import { useRef } from "react";
|
|
372
379
|
import { Box as Box3, TextField, IconButton as IconButton2, Tooltip as Tooltip2, InputAdornment, useTheme as useTheme3 } from "@mui/material";
|
|
373
|
-
import CheckIcon from "@mui/icons-material/Check";
|
|
374
380
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
375
381
|
var QueryInput = ({
|
|
376
382
|
inputValue,
|
|
@@ -473,16 +479,6 @@ import {
|
|
|
473
479
|
Button,
|
|
474
480
|
MenuItem
|
|
475
481
|
} from "@mui/material";
|
|
476
|
-
import CloseIcon2 from "@mui/icons-material/Close";
|
|
477
|
-
import SearchIcon from "@mui/icons-material/Search";
|
|
478
|
-
import DeleteIcon from "@mui/icons-material/Delete";
|
|
479
|
-
import HistoryIcon2 from "@mui/icons-material/History";
|
|
480
|
-
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";
|
|
481
|
-
import RecordVoiceOverIcon from "@mui/icons-material/RecordVoiceOver";
|
|
482
|
-
import MemoryIcon from "@mui/icons-material/Memory";
|
|
483
|
-
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
|
484
|
-
import ExpandLessIcon from "@mui/icons-material/ExpandLess";
|
|
485
|
-
import RefreshIcon from "@mui/icons-material/Refresh";
|
|
486
482
|
import { Subscription } from "rxjs";
|
|
487
483
|
import { Fragment, jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
488
484
|
var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain }) => {
|
|
@@ -758,7 +754,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
758
754
|
children: [
|
|
759
755
|
/* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between", mb: 2 }, children: [
|
|
760
756
|
/* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
761
|
-
/* @__PURE__ */ jsx4(
|
|
757
|
+
/* @__PURE__ */ jsx4(HistoryIcon, { sx: { color: theme.palette.primary.main } }),
|
|
762
758
|
/* @__PURE__ */ jsx4(Typography2, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Chat Control Center" }),
|
|
763
759
|
/* @__PURE__ */ jsx4(Tooltip3, { title: "About Chat History", arrow: true, children: /* @__PURE__ */ jsx4(
|
|
764
760
|
IconButton3,
|
|
@@ -811,7 +807,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
811
807
|
color: theme.palette.text.primary
|
|
812
808
|
}
|
|
813
809
|
},
|
|
814
|
-
children: /* @__PURE__ */ jsx4(
|
|
810
|
+
children: /* @__PURE__ */ jsx4(CloseIcon, {})
|
|
815
811
|
}
|
|
816
812
|
) })
|
|
817
813
|
] }),
|
|
@@ -1138,7 +1134,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1138
1134
|
},
|
|
1139
1135
|
children: [
|
|
1140
1136
|
/* @__PURE__ */ jsxs2(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
1141
|
-
/* @__PURE__ */ jsx4(
|
|
1137
|
+
/* @__PURE__ */ jsx4(HistoryIcon, { sx: { color: theme.palette.primary.main, fontSize: "1.2rem" } }),
|
|
1142
1138
|
/* @__PURE__ */ jsx4(Typography2, { variant: "subtitle2", sx: { fontWeight: 600, color: "text.primary" }, children: contextMode === "local" ? "Session History" : "Conversation History" }),
|
|
1143
1139
|
/* @__PURE__ */ jsx4(
|
|
1144
1140
|
Chip2,
|
|
@@ -1298,7 +1294,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1298
1294
|
color: theme.palette.text.secondary
|
|
1299
1295
|
},
|
|
1300
1296
|
children: [
|
|
1301
|
-
/* @__PURE__ */ jsx4(
|
|
1297
|
+
/* @__PURE__ */ jsx4(HistoryIcon, { sx: { fontSize: "3rem", mb: 2, opacity: 0.5 } }),
|
|
1302
1298
|
/* @__PURE__ */ jsx4(Typography2, { variant: "h6", sx: { mb: 1, fontWeight: 500, color: "text.primary" }, children: searchTerm ? "No Matching Conversations" : "No Conversations Yet" }),
|
|
1303
1299
|
/* @__PURE__ */ jsx4(Typography2, { variant: "body2", children: searchTerm ? "Try adjusting your search terms" : "Create your first conversation to get started" })
|
|
1304
1300
|
]
|
|
@@ -1489,7 +1485,7 @@ var AIQueriesDrawer = ({ drawerOpen, onClose, onClearComplete, onNavigateToMain
|
|
|
1489
1485
|
color: theme.palette.text.secondary
|
|
1490
1486
|
},
|
|
1491
1487
|
children: [
|
|
1492
|
-
/* @__PURE__ */ jsx4(
|
|
1488
|
+
/* @__PURE__ */ jsx4(HistoryIcon, { sx: { fontSize: "3rem", mb: 2, opacity: 0.5 } }),
|
|
1493
1489
|
/* @__PURE__ */ jsx4(Typography2, { variant: "h6", sx: { mb: 1, fontWeight: 500, color: "text.primary" }, children: "No Session History Yet" }),
|
|
1494
1490
|
/* @__PURE__ */ jsx4(Typography2, { variant: "body2", children: "Start a conversation to see your session history here" })
|
|
1495
1491
|
]
|
|
@@ -2617,7 +2613,7 @@ var ChatModal = ({
|
|
|
2617
2613
|
}
|
|
2618
2614
|
},
|
|
2619
2615
|
"aria-label": `Change voice. Currently using ${selectedVoice ? toTitleCase2(selectedVoice.split("-")[1]) : "default"}`,
|
|
2620
|
-
children: /* @__PURE__ */ jsx6(
|
|
2616
|
+
children: /* @__PURE__ */ jsx6(RecordVoiceOverIcon, { fontSize: "small" })
|
|
2621
2617
|
}
|
|
2622
2618
|
) }),
|
|
2623
2619
|
/* @__PURE__ */ jsx6(
|
|
@@ -2663,7 +2659,7 @@ var ChatModal = ({
|
|
|
2663
2659
|
setVoiceAnchorEl(null);
|
|
2664
2660
|
},
|
|
2665
2661
|
children: /* @__PURE__ */ jsxs3(Box6, { sx: { display: "flex", alignItems: "center", gap: 1, width: "100%" }, children: [
|
|
2666
|
-
/* @__PURE__ */ jsx6(
|
|
2662
|
+
/* @__PURE__ */ jsx6(RecordVoiceOverIcon, { fontSize: "small", sx: { color: activeTheme.palette.text.secondary } }),
|
|
2667
2663
|
/* @__PURE__ */ jsxs3(Box6, { sx: { flex: 1 }, children: [
|
|
2668
2664
|
/* @__PURE__ */ jsx6(Typography3, { variant: "body2", children: toTitleCase2(voice.split("-")[1]) }),
|
|
2669
2665
|
/* @__PURE__ */ jsx6(Typography3, { variant: "caption", sx: { color: activeTheme.palette.text.secondary }, children: voice === selectedVoice ? "Currently active" : "Switch to this voice" })
|
|
@@ -2731,7 +2727,7 @@ var ChatModal = ({
|
|
|
2731
2727
|
// Removed transform to prevent jitter
|
|
2732
2728
|
}
|
|
2733
2729
|
},
|
|
2734
|
-
children: /* @__PURE__ */ jsx6(
|
|
2730
|
+
children: /* @__PURE__ */ jsx6(CloseIcon, { sx: { fontSize: 12 } })
|
|
2735
2731
|
}
|
|
2736
2732
|
) })
|
|
2737
2733
|
]
|
|
@@ -2807,4 +2803,4 @@ export {
|
|
|
2807
2803
|
MAX_WINDOWED_HEIGHT,
|
|
2808
2804
|
chat_modal_default
|
|
2809
2805
|
};
|
|
2810
|
-
//# sourceMappingURL=chunk-
|
|
2806
|
+
//# sourceMappingURL=chunk-WL7NV4WJ.mjs.map
|