@burtson-labs/bandit-engine 2.0.53 → 2.0.54
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
|
@@ -3,13 +3,36 @@ import {
|
|
|
3
3
|
} from "./chunk-ONQMRE2G.mjs";
|
|
4
4
|
import {
|
|
5
5
|
StreamingMarkdown_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KM7FUWCM.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useMCPToolsStore
|
|
9
9
|
} from "./chunk-EHNWQ4T3.mjs";
|
|
10
10
|
import {
|
|
11
|
+
AddIcon,
|
|
12
|
+
ArrowDownwardIcon,
|
|
13
|
+
ArrowUpwardIcon,
|
|
14
|
+
CheckIcon,
|
|
15
|
+
CloseIcon,
|
|
16
|
+
CloudDoneIcon,
|
|
17
|
+
CloudOffIcon,
|
|
18
|
+
ErrorOutlineIcon,
|
|
19
|
+
ExpandMoreIcon,
|
|
11
20
|
FeedbackButton,
|
|
21
|
+
FeedbackIcon,
|
|
12
22
|
FeedbackModal,
|
|
23
|
+
GraphicEqIcon,
|
|
24
|
+
HearingDisabledIcon,
|
|
25
|
+
HomeIcon,
|
|
26
|
+
MicIcon,
|
|
27
|
+
NotesIcon,
|
|
28
|
+
NotesIconOutlined,
|
|
29
|
+
PsychologyIcon,
|
|
30
|
+
RecordVoiceOverIcon,
|
|
31
|
+
SettingsIcon,
|
|
32
|
+
SignalWifi2BarIcon,
|
|
33
|
+
SyncIcon,
|
|
34
|
+
WifiIcon,
|
|
35
|
+
WifiOffIcon,
|
|
13
36
|
ai_response_text_field_default,
|
|
14
37
|
banditDarkTheme,
|
|
15
38
|
memory_modal_default,
|
|
@@ -19,7 +42,7 @@ import {
|
|
|
19
42
|
useNotificationService,
|
|
20
43
|
useTTS,
|
|
21
44
|
useVoiceStore
|
|
22
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-KNBWR4DS.mjs";
|
|
23
46
|
import {
|
|
24
47
|
authenticationService,
|
|
25
48
|
brandingService_default,
|
|
@@ -152,7 +175,6 @@ import { Navigate } from "react-router-dom";
|
|
|
152
175
|
|
|
153
176
|
// src/chat/chat-scroll-to-bottom-button.tsx
|
|
154
177
|
import { IconButton } from "@mui/material";
|
|
155
|
-
import ArrowDownwardIcon from "@mui/icons-material/ArrowDownward";
|
|
156
178
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
157
179
|
var ChatScrollToBottomButton = ({
|
|
158
180
|
inputHeight,
|
|
@@ -351,19 +373,9 @@ var chat_messages_default = ChatMessages;
|
|
|
351
373
|
// src/chat/chat-input.tsx
|
|
352
374
|
import { useEffect as useEffect3, useRef as useRef2, useState as useState3 } from "react";
|
|
353
375
|
import { Box as Box3, TextField, IconButton as IconButton3, Tooltip, Avatar as Avatar2, Typography, CircularProgress as CircularProgress2, Collapse } from "@mui/material";
|
|
354
|
-
import CloseIcon2 from "@mui/icons-material/Close";
|
|
355
|
-
import ArrowUpwardIcon from "@mui/icons-material/ArrowUpward";
|
|
356
|
-
import PsychologyIcon from "@mui/icons-material/Psychology";
|
|
357
|
-
import FeedbackIcon from "@mui/icons-material/Feedback";
|
|
358
|
-
import HearingDisabledIcon from "@mui/icons-material/HearingDisabled";
|
|
359
|
-
import GraphicEqIcon from "@mui/icons-material/GraphicEq";
|
|
360
|
-
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
|
361
376
|
|
|
362
377
|
// src/services/stt/transcriber.tsx
|
|
363
378
|
import { useState as useState2, useRef } from "react";
|
|
364
|
-
import MicIcon from "@mui/icons-material/Mic";
|
|
365
|
-
import CheckIcon from "@mui/icons-material/Check";
|
|
366
|
-
import CloseIcon from "@mui/icons-material/Close";
|
|
367
379
|
|
|
368
380
|
// src/services/stt/sound-recorder.service.ts
|
|
369
381
|
import { first, from, fromEvent, map, shareReplay, switchMap } from "rxjs";
|
|
@@ -1069,7 +1081,7 @@ ${sanitize(
|
|
|
1069
1081
|
size: "small",
|
|
1070
1082
|
onClick: () => setFileInputs((prev) => prev.filter((_, i) => i !== idx)),
|
|
1071
1083
|
sx: { ml: 0.5, color: theme.palette.mode === "dark" ? "#aaa" : "#444" },
|
|
1072
|
-
children: /* @__PURE__ */ jsx6(
|
|
1084
|
+
children: /* @__PURE__ */ jsx6(CloseIcon, { sx: { fontSize: 14 } })
|
|
1073
1085
|
}
|
|
1074
1086
|
)
|
|
1075
1087
|
]
|
|
@@ -1107,7 +1119,7 @@ ${sanitize(
|
|
|
1107
1119
|
}
|
|
1108
1120
|
},
|
|
1109
1121
|
children: /* @__PURE__ */ jsx6(
|
|
1110
|
-
|
|
1122
|
+
CloseIcon,
|
|
1111
1123
|
{
|
|
1112
1124
|
sx: {
|
|
1113
1125
|
fontSize: 14,
|
|
@@ -1306,7 +1318,7 @@ ${sanitize(
|
|
|
1306
1318
|
"&:hover": { bgcolor: sendButtonHover },
|
|
1307
1319
|
"&.Mui-disabled": { opacity: 0.5 }
|
|
1308
1320
|
},
|
|
1309
|
-
children: isStreaming ? /* @__PURE__ */ jsx6(
|
|
1321
|
+
children: isStreaming ? /* @__PURE__ */ jsx6(CloseIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx6(ArrowUpwardIcon, { fontSize: "small" })
|
|
1310
1322
|
}
|
|
1311
1323
|
) }) }) })
|
|
1312
1324
|
]
|
|
@@ -3408,16 +3420,6 @@ import {
|
|
|
3408
3420
|
Typography as Typography8,
|
|
3409
3421
|
Button as Button6
|
|
3410
3422
|
} from "@mui/material";
|
|
3411
|
-
import HomeIcon from "@mui/icons-material/Home";
|
|
3412
|
-
import RecordVoiceOverIcon from "@mui/icons-material/RecordVoiceOver";
|
|
3413
|
-
import AddIcon5 from "@mui/icons-material/Add";
|
|
3414
|
-
import SettingsIcon from "@mui/icons-material/Settings";
|
|
3415
|
-
import NotesIcon from "@mui/icons-material/Notes";
|
|
3416
|
-
import NotesIconOutlined from "@mui/icons-material/NotesOutlined";
|
|
3417
|
-
import CloudDoneIcon from "@mui/icons-material/CloudDone";
|
|
3418
|
-
import CloudOffIcon from "@mui/icons-material/CloudOff";
|
|
3419
|
-
import SyncIcon from "@mui/icons-material/Sync";
|
|
3420
|
-
import ErrorOutlineIcon from "@mui/icons-material/ErrorOutline";
|
|
3421
3423
|
import { useNavigate } from "react-router-dom";
|
|
3422
3424
|
|
|
3423
3425
|
// src/chat/conversation-drawer.tsx
|
|
@@ -3445,16 +3447,7 @@ import {
|
|
|
3445
3447
|
Avatar as Avatar6,
|
|
3446
3448
|
alpha as alpha5
|
|
3447
3449
|
} from "@mui/material";
|
|
3448
|
-
import {
|
|
3449
|
-
Close as CloseIcon5,
|
|
3450
|
-
Clear as ClearIcon,
|
|
3451
|
-
Search as SearchIcon,
|
|
3452
|
-
Folder as FolderIcon4,
|
|
3453
|
-
MoreVert as MoreVertIcon3,
|
|
3454
|
-
DeleteSweep as DeleteSweepIcon,
|
|
3455
|
-
Inbox as InboxIcon3
|
|
3456
|
-
} from "@mui/icons-material";
|
|
3457
|
-
import { Add as AddIcon3 } from "@mui/icons-material";
|
|
3450
|
+
import { X as CloseIcon4, X as ClearIcon, Search as SearchIcon, Folder as FolderIcon4, MoreVertical as MoreVertIcon3, Trash2 as DeleteSweepIcon, Inbox as InboxIcon3, Plus as AddIcon4 } from "lucide-react";
|
|
3458
3451
|
import { useTheme as useTheme9 } from "@mui/material/styles";
|
|
3459
3452
|
|
|
3460
3453
|
// src/chat/project-management-modal.tsx
|
|
@@ -3477,15 +3470,7 @@ import {
|
|
|
3477
3470
|
SwipeableDrawer,
|
|
3478
3471
|
useMediaQuery as useMediaQuery2
|
|
3479
3472
|
} from "@mui/material";
|
|
3480
|
-
import {
|
|
3481
|
-
Add as AddIcon,
|
|
3482
|
-
Edit as EditIcon,
|
|
3483
|
-
Delete as DeleteIcon,
|
|
3484
|
-
MoreVert as MoreVertIcon,
|
|
3485
|
-
Folder as FolderIcon,
|
|
3486
|
-
Close as CloseIcon3,
|
|
3487
|
-
ArrowBack as ArrowBackIcon
|
|
3488
|
-
} from "@mui/icons-material";
|
|
3473
|
+
import { Plus as AddIcon2, Pencil as EditIcon, Trash2 as DeleteIcon, MoreVertical as MoreVertIcon, Folder as FolderIcon, X as CloseIcon2, ArrowLeft as ArrowBackIcon } from "lucide-react";
|
|
3489
3474
|
import { useTheme as useTheme5, alpha as alpha2 } from "@mui/material/styles";
|
|
3490
3475
|
import { Fragment as Fragment4, jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
3491
3476
|
var DEFAULT_COLORS = [
|
|
@@ -3702,7 +3687,7 @@ var ProjectManagementModal = ({
|
|
|
3702
3687
|
flex: 1
|
|
3703
3688
|
},
|
|
3704
3689
|
children: [
|
|
3705
|
-
showCreateForm && /* @__PURE__ */ jsx7(IconButton4, { onClick: resetForm, size: "small", sx: { mr: 0.5 }, children: /* @__PURE__ */ jsx7(ArrowBackIcon, {
|
|
3690
|
+
showCreateForm && /* @__PURE__ */ jsx7(IconButton4, { onClick: resetForm, size: "small", sx: { mr: 0.5 }, children: /* @__PURE__ */ jsx7(ArrowBackIcon, { size: 16 }) }),
|
|
3706
3691
|
/* @__PURE__ */ jsx7(
|
|
3707
3692
|
Typography2,
|
|
3708
3693
|
{
|
|
@@ -3720,7 +3705,7 @@ var ProjectManagementModal = ({
|
|
|
3720
3705
|
]
|
|
3721
3706
|
}
|
|
3722
3707
|
),
|
|
3723
|
-
/* @__PURE__ */ jsx7(IconButton4, { onClick: handleClose, size: "small", children: /* @__PURE__ */ jsx7(
|
|
3708
|
+
/* @__PURE__ */ jsx7(IconButton4, { onClick: handleClose, size: "small", children: /* @__PURE__ */ jsx7(CloseIcon2, {}) })
|
|
3724
3709
|
]
|
|
3725
3710
|
}
|
|
3726
3711
|
),
|
|
@@ -3794,7 +3779,7 @@ var ProjectManagementModal = ({
|
|
|
3794
3779
|
/* @__PURE__ */ jsx7(
|
|
3795
3780
|
Button,
|
|
3796
3781
|
{
|
|
3797
|
-
startIcon: /* @__PURE__ */ jsx7(
|
|
3782
|
+
startIcon: /* @__PURE__ */ jsx7(AddIcon2, {}),
|
|
3798
3783
|
onClick: () => setShowCreateForm(true),
|
|
3799
3784
|
variant: "contained",
|
|
3800
3785
|
sx: {
|
|
@@ -3819,7 +3804,7 @@ var ProjectManagementModal = ({
|
|
|
3819
3804
|
backgroundColor: subtleSurface
|
|
3820
3805
|
},
|
|
3821
3806
|
children: [
|
|
3822
|
-
/* @__PURE__ */ jsx7(FolderIcon, {
|
|
3807
|
+
/* @__PURE__ */ jsx7(FolderIcon, { size: 48, style: { marginBottom: 8, opacity: 0.5 } }),
|
|
3823
3808
|
/* @__PURE__ */ jsx7(Typography2, { variant: "body1", sx: { fontWeight: 600 }, children: "No projects yet" }),
|
|
3824
3809
|
/* @__PURE__ */ jsx7(Typography2, { variant: "body2", children: "Create your first project to organize conversations." })
|
|
3825
3810
|
]
|
|
@@ -3854,7 +3839,7 @@ var ProjectManagementModal = ({
|
|
|
3854
3839
|
height: 36,
|
|
3855
3840
|
fontSize: "1rem"
|
|
3856
3841
|
},
|
|
3857
|
-
children: /* @__PURE__ */ jsx7(FolderIcon, {
|
|
3842
|
+
children: /* @__PURE__ */ jsx7(FolderIcon, { size: 16 })
|
|
3858
3843
|
}
|
|
3859
3844
|
),
|
|
3860
3845
|
/* @__PURE__ */ jsxs4(Box4, { sx: { flex: 1, minWidth: 0 }, children: [
|
|
@@ -3905,7 +3890,7 @@ var ProjectManagementModal = ({
|
|
|
3905
3890
|
mt: 0.25,
|
|
3906
3891
|
zIndex: 1
|
|
3907
3892
|
},
|
|
3908
|
-
children: /* @__PURE__ */ jsx7(MoreVertIcon, {
|
|
3893
|
+
children: /* @__PURE__ */ jsx7(MoreVertIcon, { size: 16 })
|
|
3909
3894
|
}
|
|
3910
3895
|
)
|
|
3911
3896
|
]
|
|
@@ -3981,7 +3966,7 @@ var ProjectManagementModal = ({
|
|
|
3981
3966
|
startEdit(selectedProject);
|
|
3982
3967
|
},
|
|
3983
3968
|
children: /* @__PURE__ */ jsxs4(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
3984
|
-
/* @__PURE__ */ jsx7(EditIcon, {
|
|
3969
|
+
/* @__PURE__ */ jsx7(EditIcon, { size: 16 }),
|
|
3985
3970
|
/* @__PURE__ */ jsx7(Typography2, { variant: "body2", color: "inherit", children: "Edit" })
|
|
3986
3971
|
] })
|
|
3987
3972
|
}
|
|
@@ -3995,7 +3980,7 @@ var ProjectManagementModal = ({
|
|
|
3995
3980
|
},
|
|
3996
3981
|
sx: { color: theme.palette.error.main },
|
|
3997
3982
|
children: /* @__PURE__ */ jsxs4(Box4, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
3998
|
-
/* @__PURE__ */ jsx7(DeleteIcon, {
|
|
3983
|
+
/* @__PURE__ */ jsx7(DeleteIcon, { size: 16 }),
|
|
3999
3984
|
/* @__PURE__ */ jsx7(Typography2, { variant: "body2", color: "inherit", children: "Delete" })
|
|
4000
3985
|
] })
|
|
4001
3986
|
}
|
|
@@ -4063,10 +4048,7 @@ import {
|
|
|
4063
4048
|
Box as Box5,
|
|
4064
4049
|
Divider
|
|
4065
4050
|
} from "@mui/material";
|
|
4066
|
-
import {
|
|
4067
|
-
Folder as FolderIcon2,
|
|
4068
|
-
Inbox as InboxIcon
|
|
4069
|
-
} from "@mui/icons-material";
|
|
4051
|
+
import { Folder as FolderIcon2, Inbox as InboxIcon } from "lucide-react";
|
|
4070
4052
|
import { useTheme as useTheme6 } from "@mui/material/styles";
|
|
4071
4053
|
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
4072
4054
|
var MoveConversationModal = ({
|
|
@@ -4243,13 +4225,7 @@ import {
|
|
|
4243
4225
|
DialogActions as DialogActions2,
|
|
4244
4226
|
Button as Button3
|
|
4245
4227
|
} from "@mui/material";
|
|
4246
|
-
import {
|
|
4247
|
-
MoreVert as MoreVertIcon2,
|
|
4248
|
-
Edit as EditIcon2,
|
|
4249
|
-
Delete as DeleteIcon2,
|
|
4250
|
-
DragIndicator as DragIcon,
|
|
4251
|
-
MoveToInbox as MoveIcon
|
|
4252
|
-
} from "@mui/icons-material";
|
|
4228
|
+
import { MoreVertical as MoreVertIcon2, Pencil as EditIcon2, Trash2 as DeleteIcon2, GripVertical as DragIcon, MailOpen as MoveIcon } from "lucide-react";
|
|
4253
4229
|
import { useTheme as useTheme7, alpha as alpha3 } from "@mui/material/styles";
|
|
4254
4230
|
import { Fragment as Fragment5, jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
4255
4231
|
var SimpleConversationItem = ({
|
|
@@ -4479,15 +4455,9 @@ var SimpleConversationItem = ({
|
|
|
4479
4455
|
!isMobile && !isEditing && /* @__PURE__ */ jsx9(
|
|
4480
4456
|
DragIcon,
|
|
4481
4457
|
{
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
cursor: "grab",
|
|
4486
|
-
fontSize: "1rem",
|
|
4487
|
-
"&:active": {
|
|
4488
|
-
cursor: "grabbing"
|
|
4489
|
-
}
|
|
4490
|
-
}
|
|
4458
|
+
size: 16,
|
|
4459
|
+
color: theme.palette.text.disabled,
|
|
4460
|
+
style: { marginRight: 4, cursor: "grab" }
|
|
4491
4461
|
}
|
|
4492
4462
|
),
|
|
4493
4463
|
/* @__PURE__ */ jsxs6(Box6, { sx: { flex: 1, minWidth: 0 }, children: [
|
|
@@ -4577,7 +4547,7 @@ var SimpleConversationItem = ({
|
|
|
4577
4547
|
}
|
|
4578
4548
|
}
|
|
4579
4549
|
},
|
|
4580
|
-
children: /* @__PURE__ */ jsx9(MoreVertIcon2, {
|
|
4550
|
+
children: /* @__PURE__ */ jsx9(MoreVertIcon2, { size: 16 })
|
|
4581
4551
|
}
|
|
4582
4552
|
),
|
|
4583
4553
|
/* @__PURE__ */ jsxs6(
|
|
@@ -4608,15 +4578,15 @@ var SimpleConversationItem = ({
|
|
|
4608
4578
|
},
|
|
4609
4579
|
children: [
|
|
4610
4580
|
onRename && /* @__PURE__ */ jsxs6(MenuItem2, { onClick: handleEdit, children: [
|
|
4611
|
-
/* @__PURE__ */ jsx9(ListItemIcon2, { children: /* @__PURE__ */ jsx9(EditIcon2, {
|
|
4581
|
+
/* @__PURE__ */ jsx9(ListItemIcon2, { children: /* @__PURE__ */ jsx9(EditIcon2, { size: 16 }) }),
|
|
4612
4582
|
/* @__PURE__ */ jsx9(ListItemText2, { children: "Rename" })
|
|
4613
4583
|
] }),
|
|
4614
4584
|
onMove && /* @__PURE__ */ jsxs6(MenuItem2, { onClick: handleMove, children: [
|
|
4615
|
-
/* @__PURE__ */ jsx9(ListItemIcon2, { children: /* @__PURE__ */ jsx9(MoveIcon, {
|
|
4585
|
+
/* @__PURE__ */ jsx9(ListItemIcon2, { children: /* @__PURE__ */ jsx9(MoveIcon, { size: 16 }) }),
|
|
4616
4586
|
/* @__PURE__ */ jsx9(ListItemText2, { children: "Move to Project" })
|
|
4617
4587
|
] }),
|
|
4618
4588
|
/* @__PURE__ */ jsxs6(MenuItem2, { onClick: handleDelete, children: [
|
|
4619
|
-
/* @__PURE__ */ jsx9(ListItemIcon2, { children: /* @__PURE__ */ jsx9(DeleteIcon2, {
|
|
4589
|
+
/* @__PURE__ */ jsx9(ListItemIcon2, { children: /* @__PURE__ */ jsx9(DeleteIcon2, { size: 16 }) }),
|
|
4620
4590
|
/* @__PURE__ */ jsx9(ListItemText2, { children: "Delete" })
|
|
4621
4591
|
] })
|
|
4622
4592
|
]
|
|
@@ -4698,16 +4668,7 @@ import {
|
|
|
4698
4668
|
TextField as TextField4,
|
|
4699
4669
|
alpha as alpha4
|
|
4700
4670
|
} from "@mui/material";
|
|
4701
|
-
import {
|
|
4702
|
-
ExpandMore as ExpandMoreIcon2,
|
|
4703
|
-
ExpandLess as ExpandLessIcon,
|
|
4704
|
-
Add as AddIcon2,
|
|
4705
|
-
Folder as FolderIcon3,
|
|
4706
|
-
FolderOpen as FolderOpenIcon,
|
|
4707
|
-
Inbox as InboxIcon2,
|
|
4708
|
-
Close as CloseIcon4,
|
|
4709
|
-
Check as CheckIcon2
|
|
4710
|
-
} from "@mui/icons-material";
|
|
4671
|
+
import { ChevronDown as ExpandMoreIcon2, ChevronUp as ExpandLessIcon, Plus as AddIcon3, Folder as FolderIcon3, FolderOpen as FolderOpenIcon, Inbox as InboxIcon2, X as CloseIcon3, Check as CheckIcon2 } from "lucide-react";
|
|
4711
4672
|
import { useTheme as useTheme8 } from "@mui/material/styles";
|
|
4712
4673
|
import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4713
4674
|
var ProjectHeader = ({
|
|
@@ -4814,13 +4775,11 @@ var ProjectHeader = ({
|
|
|
4814
4775
|
children: isUngrouped ? /* @__PURE__ */ jsx10(
|
|
4815
4776
|
InboxIcon2,
|
|
4816
4777
|
{
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
opacity: 0.7
|
|
4821
|
-
}
|
|
4778
|
+
size: 16,
|
|
4779
|
+
color: theme.palette.text.disabled,
|
|
4780
|
+
style: { opacity: 0.7 }
|
|
4822
4781
|
}
|
|
4823
|
-
) : /* @__PURE__ */ jsx10(Icon, {
|
|
4782
|
+
) : /* @__PURE__ */ jsx10(Icon, { size: 16 })
|
|
4824
4783
|
}
|
|
4825
4784
|
),
|
|
4826
4785
|
isRenaming && !isUngrouped ? /* @__PURE__ */ jsx10(
|
|
@@ -4930,7 +4889,7 @@ var ProjectHeader = ({
|
|
|
4930
4889
|
onRenameCancelDelete ? onRenameCancelDelete() : cancelRename();
|
|
4931
4890
|
},
|
|
4932
4891
|
sx: { color: alpha4(theme.palette.error.main, 0.9) },
|
|
4933
|
-
children: /* @__PURE__ */ jsx10(
|
|
4892
|
+
children: /* @__PURE__ */ jsx10(CloseIcon3, { size: 16 })
|
|
4934
4893
|
}
|
|
4935
4894
|
) }),
|
|
4936
4895
|
/* @__PURE__ */ jsx10(Tooltip2, { title: "Save", children: /* @__PURE__ */ jsx10(
|
|
@@ -4943,7 +4902,7 @@ var ProjectHeader = ({
|
|
|
4943
4902
|
commitRename();
|
|
4944
4903
|
},
|
|
4945
4904
|
sx: { color: theme.palette.success.main },
|
|
4946
|
-
children: /* @__PURE__ */ jsx10(CheckIcon2, {
|
|
4905
|
+
children: /* @__PURE__ */ jsx10(CheckIcon2, { size: 16 })
|
|
4947
4906
|
}
|
|
4948
4907
|
) })
|
|
4949
4908
|
] }),
|
|
@@ -4964,7 +4923,7 @@ var ProjectHeader = ({
|
|
|
4964
4923
|
},
|
|
4965
4924
|
transition: "all 0.2s ease"
|
|
4966
4925
|
},
|
|
4967
|
-
children: /* @__PURE__ */ jsx10(
|
|
4926
|
+
children: /* @__PURE__ */ jsx10(AddIcon3, { size: 16 })
|
|
4968
4927
|
}
|
|
4969
4928
|
) }),
|
|
4970
4929
|
!isUngrouped && !isRenaming && /* @__PURE__ */ jsx10(
|
|
@@ -4975,7 +4934,7 @@ var ProjectHeader = ({
|
|
|
4975
4934
|
color: theme.palette.text.secondary,
|
|
4976
4935
|
transition: "transform 0.2s ease"
|
|
4977
4936
|
},
|
|
4978
|
-
children: isCollapsed ? /* @__PURE__ */ jsx10(ExpandMoreIcon2, {
|
|
4937
|
+
children: isCollapsed ? /* @__PURE__ */ jsx10(ExpandMoreIcon2, { size: 16 }) : /* @__PURE__ */ jsx10(ExpandLessIcon, { size: 16 })
|
|
4979
4938
|
}
|
|
4980
4939
|
)
|
|
4981
4940
|
]
|
|
@@ -5322,7 +5281,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
5322
5281
|
bgcolor: alpha5(theme.palette.error.main, 0.1)
|
|
5323
5282
|
}
|
|
5324
5283
|
},
|
|
5325
|
-
children: /* @__PURE__ */ jsx11(
|
|
5284
|
+
children: /* @__PURE__ */ jsx11(CloseIcon4, {})
|
|
5326
5285
|
}
|
|
5327
5286
|
) })
|
|
5328
5287
|
]
|
|
@@ -5338,7 +5297,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
5338
5297
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
5339
5298
|
variant: "outlined",
|
|
5340
5299
|
InputProps: {
|
|
5341
|
-
startAdornment: /* @__PURE__ */ jsx11(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx11(SearchIcon, {
|
|
5300
|
+
startAdornment: /* @__PURE__ */ jsx11(InputAdornment, { position: "start", children: /* @__PURE__ */ jsx11(SearchIcon, { size: 16, color: theme.palette.text.secondary }) }),
|
|
5342
5301
|
endAdornment: searchQuery && /* @__PURE__ */ jsx11(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx11(Tooltip3, { title: tooltip("clearSearch"), children: /* @__PURE__ */ jsx11(
|
|
5343
5302
|
IconButton7,
|
|
5344
5303
|
{
|
|
@@ -5347,7 +5306,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
5347
5306
|
edge: "end",
|
|
5348
5307
|
"aria-label": tooltip("clearSearch"),
|
|
5349
5308
|
sx: { color: theme.palette.text.secondary },
|
|
5350
|
-
children: /* @__PURE__ */ jsx11(ClearIcon, {
|
|
5309
|
+
children: /* @__PURE__ */ jsx11(ClearIcon, { size: 16 })
|
|
5351
5310
|
}
|
|
5352
5311
|
) }) })
|
|
5353
5312
|
},
|
|
@@ -5413,7 +5372,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
5413
5372
|
justifyContent: "center",
|
|
5414
5373
|
flexShrink: 0
|
|
5415
5374
|
},
|
|
5416
|
-
children: /* @__PURE__ */ jsx11(FolderIcon4, {
|
|
5375
|
+
children: /* @__PURE__ */ jsx11(FolderIcon4, { size: 16, color: theme.palette.success.main })
|
|
5417
5376
|
}
|
|
5418
5377
|
),
|
|
5419
5378
|
/* @__PURE__ */ jsx11(
|
|
@@ -5430,7 +5389,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
5430
5389
|
size: "small",
|
|
5431
5390
|
"aria-label": tooltip("addProject"),
|
|
5432
5391
|
sx: { color: theme.palette.success.main },
|
|
5433
|
-
children: /* @__PURE__ */ jsx11(
|
|
5392
|
+
children: /* @__PURE__ */ jsx11(AddIcon4, { size: 16 })
|
|
5434
5393
|
}
|
|
5435
5394
|
) })
|
|
5436
5395
|
]
|
|
@@ -5454,11 +5413,9 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
5454
5413
|
/* @__PURE__ */ jsx11(
|
|
5455
5414
|
InboxIcon3,
|
|
5456
5415
|
{
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
opacity: 0.7
|
|
5461
|
-
}
|
|
5416
|
+
size: 14,
|
|
5417
|
+
color: theme.palette.text.disabled,
|
|
5418
|
+
style: { opacity: 0.7 }
|
|
5462
5419
|
}
|
|
5463
5420
|
),
|
|
5464
5421
|
/* @__PURE__ */ jsx11(
|
|
@@ -5715,7 +5672,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
5715
5672
|
},
|
|
5716
5673
|
sx: { color: theme.palette.error.main },
|
|
5717
5674
|
children: [
|
|
5718
|
-
/* @__PURE__ */ jsx11(ListItemIcon3, { children: /* @__PURE__ */ jsx11(DeleteSweepIcon, {
|
|
5675
|
+
/* @__PURE__ */ jsx11(ListItemIcon3, { children: /* @__PURE__ */ jsx11(DeleteSweepIcon, { size: 16, color: theme.palette.error.main }) }),
|
|
5719
5676
|
/* @__PURE__ */ jsx11(ListItemText3, { children: "Clear All Conversations" })
|
|
5720
5677
|
]
|
|
5721
5678
|
}
|
|
@@ -5777,16 +5734,7 @@ import {
|
|
|
5777
5734
|
Avatar as Avatar7,
|
|
5778
5735
|
Chip as Chip3
|
|
5779
5736
|
} from "@mui/material";
|
|
5780
|
-
import {
|
|
5781
|
-
Close as CloseIcon6,
|
|
5782
|
-
Clear as ClearIcon2,
|
|
5783
|
-
Search as SearchIcon2,
|
|
5784
|
-
Folder as FolderIcon5,
|
|
5785
|
-
MoreVert as MoreVertIcon4,
|
|
5786
|
-
DeleteSweep as DeleteSweepIcon2,
|
|
5787
|
-
Inbox as InboxIcon4
|
|
5788
|
-
} from "@mui/icons-material";
|
|
5789
|
-
import { Add as AddIcon4 } from "@mui/icons-material";
|
|
5737
|
+
import { X as CloseIcon5, X as ClearIcon2, Search as SearchIcon2, Folder as FolderIcon5, MoreVertical as MoreVertIcon4, Trash2 as DeleteSweepIcon2, Inbox as InboxIcon4, Plus as AddIcon5 } from "lucide-react";
|
|
5790
5738
|
import { useTheme as useTheme10, alpha as alpha6 } from "@mui/material/styles";
|
|
5791
5739
|
import { Fragment as Fragment7, jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5792
5740
|
var BANDIT_AVATAR2 = "https://cdn.burtson.ai/images/bandit-head.png";
|
|
@@ -6163,7 +6111,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
6163
6111
|
{
|
|
6164
6112
|
onClick: onClose,
|
|
6165
6113
|
sx: { color: theme.palette.text.secondary },
|
|
6166
|
-
children: /* @__PURE__ */ jsx12(
|
|
6114
|
+
children: /* @__PURE__ */ jsx12(CloseIcon5, {})
|
|
6167
6115
|
}
|
|
6168
6116
|
)
|
|
6169
6117
|
] })
|
|
@@ -6179,7 +6127,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
6179
6127
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
6180
6128
|
variant: "outlined",
|
|
6181
6129
|
InputProps: {
|
|
6182
|
-
startAdornment: /* @__PURE__ */ jsx12(InputAdornment2, { position: "start", children: /* @__PURE__ */ jsx12(SearchIcon2, {
|
|
6130
|
+
startAdornment: /* @__PURE__ */ jsx12(InputAdornment2, { position: "start", children: /* @__PURE__ */ jsx12(SearchIcon2, { size: 16, color: theme.palette.text.secondary }) }),
|
|
6183
6131
|
endAdornment: searchQuery && /* @__PURE__ */ jsx12(InputAdornment2, { position: "end", children: /* @__PURE__ */ jsx12(
|
|
6184
6132
|
IconButton8,
|
|
6185
6133
|
{
|
|
@@ -6187,7 +6135,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
6187
6135
|
size: "small",
|
|
6188
6136
|
edge: "end",
|
|
6189
6137
|
sx: { color: theme.palette.text.secondary },
|
|
6190
|
-
children: /* @__PURE__ */ jsx12(ClearIcon2, {
|
|
6138
|
+
children: /* @__PURE__ */ jsx12(ClearIcon2, { size: 16 })
|
|
6191
6139
|
}
|
|
6192
6140
|
) })
|
|
6193
6141
|
}
|
|
@@ -6342,7 +6290,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
6342
6290
|
justifyContent: "center",
|
|
6343
6291
|
flexShrink: 0
|
|
6344
6292
|
},
|
|
6345
|
-
children: /* @__PURE__ */ jsx12(FolderIcon5, {
|
|
6293
|
+
children: /* @__PURE__ */ jsx12(FolderIcon5, { size: 16, color: theme.palette.success.main })
|
|
6346
6294
|
}
|
|
6347
6295
|
),
|
|
6348
6296
|
/* @__PURE__ */ jsx12(
|
|
@@ -6353,7 +6301,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
6353
6301
|
children: "New Project"
|
|
6354
6302
|
}
|
|
6355
6303
|
),
|
|
6356
|
-
/* @__PURE__ */ jsx12(IconButton8, { size: "small", sx: { color: theme.palette.success.main }, children: /* @__PURE__ */ jsx12(
|
|
6304
|
+
/* @__PURE__ */ jsx12(IconButton8, { size: "small", sx: { color: theme.palette.success.main }, children: /* @__PURE__ */ jsx12(AddIcon5, { size: 16 }) })
|
|
6357
6305
|
]
|
|
6358
6306
|
}
|
|
6359
6307
|
),
|
|
@@ -6375,11 +6323,9 @@ var EnhancedMobileConversationsModal = ({
|
|
|
6375
6323
|
/* @__PURE__ */ jsx12(
|
|
6376
6324
|
InboxIcon4,
|
|
6377
6325
|
{
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
opacity: 0.7
|
|
6382
|
-
}
|
|
6326
|
+
size: 14,
|
|
6327
|
+
color: theme.palette.text.disabled,
|
|
6328
|
+
style: { opacity: 0.7 }
|
|
6383
6329
|
}
|
|
6384
6330
|
),
|
|
6385
6331
|
/* @__PURE__ */ jsx12(
|
|
@@ -6649,7 +6595,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
6649
6595
|
disabled: visibleConversationCount === 0,
|
|
6650
6596
|
sx: { color: theme.palette.error.main },
|
|
6651
6597
|
children: [
|
|
6652
|
-
/* @__PURE__ */ jsx12(ListItemIcon4, { children: /* @__PURE__ */ jsx12(DeleteSweepIcon2, {
|
|
6598
|
+
/* @__PURE__ */ jsx12(ListItemIcon4, { children: /* @__PURE__ */ jsx12(DeleteSweepIcon2, { size: 16, color: theme.palette.error.main }) }),
|
|
6653
6599
|
/* @__PURE__ */ jsx12(ListItemText4, { children: "Clear All Conversations" })
|
|
6654
6600
|
]
|
|
6655
6601
|
}
|
|
@@ -7051,7 +6997,7 @@ var ChatAppBar = ({
|
|
|
7051
6997
|
}
|
|
7052
6998
|
},
|
|
7053
6999
|
"aria-label": "Create new conversation",
|
|
7054
|
-
children: /* @__PURE__ */ jsx13(
|
|
7000
|
+
children: /* @__PURE__ */ jsx13(AddIcon, {})
|
|
7055
7001
|
}
|
|
7056
7002
|
) })
|
|
7057
7003
|
]
|
|
@@ -7132,7 +7078,7 @@ var ChatAppBar = ({
|
|
|
7132
7078
|
}
|
|
7133
7079
|
},
|
|
7134
7080
|
"aria-label": "Create new conversation",
|
|
7135
|
-
children: /* @__PURE__ */ jsx13(
|
|
7081
|
+
children: /* @__PURE__ */ jsx13(AddIcon, { fontSize: "small" })
|
|
7136
7082
|
}
|
|
7137
7083
|
) }),
|
|
7138
7084
|
/* @__PURE__ */ jsx13(Tooltip4, { title: `Current AI: ${selectedModel.replace("Bandit-", "")}`, arrow: true, children: /* @__PURE__ */ jsx13(
|
|
@@ -7749,9 +7695,6 @@ var under_review_default = UnderReview;
|
|
|
7749
7695
|
|
|
7750
7696
|
// src/components/ConnectionStatus.tsx
|
|
7751
7697
|
import { Box as Box13, Chip as Chip4, useTheme as useTheme14 } from "@mui/material";
|
|
7752
|
-
import WifiIcon from "@mui/icons-material/Wifi";
|
|
7753
|
-
import WifiOffIcon from "@mui/icons-material/WifiOff";
|
|
7754
|
-
import SignalWifi2BarIcon from "@mui/icons-material/SignalWifi2Bar";
|
|
7755
7698
|
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
7756
7699
|
var ConnectionStatus = ({
|
|
7757
7700
|
showWhenGood = false,
|
|
@@ -9234,4 +9177,4 @@ var chat_default = Chat;
|
|
|
9234
9177
|
export {
|
|
9235
9178
|
chat_default
|
|
9236
9179
|
};
|
|
9237
|
-
//# sourceMappingURL=chunk-
|
|
9180
|
+
//# sourceMappingURL=chunk-TLY6A6XL.mjs.map
|