@burtson-labs/bandit-engine 2.0.90 → 2.0.92
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/dist/{chat-W5NCAI6Z.mjs → chat-L3VMBI6A.mjs} +2 -2
- package/dist/{chunk-ZOUKYB66.mjs → chunk-AS6WS4H2.mjs} +2 -2
- package/dist/{chunk-42X7ZU6O.mjs → chunk-JJNPBLJ7.mjs} +147 -96
- package/dist/chunk-JJNPBLJ7.mjs.map +1 -0
- package/dist/index.js +123 -72
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +123 -72
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-42X7ZU6O.mjs.map +0 -1
- /package/dist/{chat-W5NCAI6Z.mjs.map → chat-L3VMBI6A.mjs.map} +0 -0
- /package/dist/{chunk-ZOUKYB66.mjs.map → chunk-AS6WS4H2.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JJNPBLJ7.mjs";
|
|
4
4
|
import "./chunk-ONQMRE2G.mjs";
|
|
5
5
|
import "./chunk-RUMVTVNM.mjs";
|
|
6
6
|
import "./chunk-L2EKYO4F.mjs";
|
|
@@ -13,4 +13,4 @@ import "./chunk-BJTO5JO5.mjs";
|
|
|
13
13
|
export {
|
|
14
14
|
chat_default as default
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=chat-
|
|
16
|
+
//# sourceMappingURL=chat-L3VMBI6A.mjs.map
|
|
@@ -9741,7 +9741,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
|
|
|
9741
9741
|
|
|
9742
9742
|
// src/management/management.tsx
|
|
9743
9743
|
import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9744
|
-
var preloadChatPage = () => import("./chat-
|
|
9744
|
+
var preloadChatPage = () => import("./chat-L3VMBI6A.mjs");
|
|
9745
9745
|
var buildCapabilitiesUrl = (gatewayApiUrl) => {
|
|
9746
9746
|
const trimmed = gatewayApiUrl.replace(/\/$/, "");
|
|
9747
9747
|
if (trimmed.endsWith("/api")) {
|
|
@@ -11107,4 +11107,4 @@ export {
|
|
|
11107
11107
|
useGatewayMemory,
|
|
11108
11108
|
management_default
|
|
11109
11109
|
};
|
|
11110
|
-
//# sourceMappingURL=chunk-
|
|
11110
|
+
//# sourceMappingURL=chunk-AS6WS4H2.mjs.map
|
|
@@ -407,7 +407,7 @@ import { Box as Box4 } from "@mui/material";
|
|
|
407
407
|
// src/chat/source-chips.tsx
|
|
408
408
|
import { useMemo, useState as useState3 } from "react";
|
|
409
409
|
import { Box as Box3, Tooltip as Tooltip2 } from "@mui/material";
|
|
410
|
-
import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
410
|
+
import { Fragment as Fragment2, jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
411
411
|
var parseWebSources = (content) => {
|
|
412
412
|
if (!content) return [];
|
|
413
413
|
const idx = content.lastIndexOf("**Sources**");
|
|
@@ -447,83 +447,134 @@ var SourceChip = ({ source }) => {
|
|
|
447
447
|
const [failed, setFailed] = useState3(false);
|
|
448
448
|
const domain = domainOf(source.url);
|
|
449
449
|
const label = source.title?.trim() || domain;
|
|
450
|
-
return /* @__PURE__ */ jsx5(
|
|
451
|
-
|
|
450
|
+
return /* @__PURE__ */ jsx5(
|
|
451
|
+
Tooltip2,
|
|
452
452
|
{
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
453
|
+
title: /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
454
|
+
/* @__PURE__ */ jsx5(Box3, { sx: { fontWeight: 600 }, children: label }),
|
|
455
|
+
/* @__PURE__ */ jsx5(Box3, { sx: { opacity: 0.75, fontSize: 11, wordBreak: "break-all", mt: 0.25 }, children: source.url })
|
|
456
|
+
] }),
|
|
457
|
+
arrow: true,
|
|
458
|
+
children: /* @__PURE__ */ jsxs2(
|
|
459
|
+
Box3,
|
|
460
|
+
{
|
|
461
|
+
component: "a",
|
|
462
|
+
href: source.url,
|
|
463
|
+
target: "_blank",
|
|
464
|
+
rel: "noopener noreferrer",
|
|
465
|
+
className: "source-chip",
|
|
466
|
+
sx: {
|
|
467
|
+
display: "inline-flex",
|
|
468
|
+
alignItems: "center",
|
|
469
|
+
flexShrink: 0,
|
|
470
|
+
height: 26,
|
|
471
|
+
px: 0.4,
|
|
472
|
+
borderRadius: 999,
|
|
473
|
+
border: "1px solid",
|
|
474
|
+
borderColor: "divider",
|
|
475
|
+
bgcolor: "background.paper",
|
|
476
|
+
textDecoration: "none",
|
|
477
|
+
color: "text.primary",
|
|
478
|
+
fontSize: 12.5,
|
|
479
|
+
lineHeight: 1.4,
|
|
480
|
+
transition: "border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease",
|
|
481
|
+
"&:hover": { borderColor: "primary.main", bgcolor: "action.hover", boxShadow: 1, zIndex: 2 }
|
|
482
|
+
},
|
|
483
|
+
children: [
|
|
484
|
+
failed ? /* @__PURE__ */ jsx5(
|
|
485
|
+
Box3,
|
|
486
|
+
{
|
|
487
|
+
sx: {
|
|
488
|
+
width: 18,
|
|
489
|
+
height: 18,
|
|
490
|
+
borderRadius: "50%",
|
|
491
|
+
bgcolor: "primary.main",
|
|
492
|
+
color: "primary.contrastText",
|
|
493
|
+
display: "grid",
|
|
494
|
+
placeItems: "center",
|
|
495
|
+
fontSize: 9,
|
|
496
|
+
fontWeight: 700,
|
|
497
|
+
flexShrink: 0
|
|
498
|
+
},
|
|
499
|
+
children: domain.charAt(0).toUpperCase()
|
|
500
|
+
}
|
|
501
|
+
) : /* @__PURE__ */ jsx5(
|
|
502
|
+
Box3,
|
|
503
|
+
{
|
|
504
|
+
component: "img",
|
|
505
|
+
src: `https://icons.duckduckgo.com/ip3/${domain}.ico`,
|
|
506
|
+
alt: "",
|
|
507
|
+
loading: "lazy",
|
|
508
|
+
onError: () => setFailed(true),
|
|
509
|
+
sx: { width: 18, height: 18, borderRadius: "50%", flexShrink: 0 }
|
|
510
|
+
}
|
|
511
|
+
),
|
|
512
|
+
/* @__PURE__ */ jsx5(
|
|
513
|
+
Box3,
|
|
514
|
+
{
|
|
515
|
+
className: "chip-label",
|
|
516
|
+
component: "span",
|
|
517
|
+
sx: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
|
|
518
|
+
children: label
|
|
519
|
+
}
|
|
520
|
+
)
|
|
521
|
+
]
|
|
522
|
+
}
|
|
523
|
+
)
|
|
513
524
|
}
|
|
514
|
-
)
|
|
525
|
+
);
|
|
515
526
|
};
|
|
516
527
|
var SourceChips = ({ content }) => {
|
|
517
528
|
const sources = useMemo(() => parseWebSources(content), [content]);
|
|
518
529
|
if (sources.length === 0) return null;
|
|
519
|
-
return /* @__PURE__ */
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
530
|
+
return /* @__PURE__ */ jsxs2(Box3, { sx: { display: "flex", alignItems: "center", gap: 0.75, mt: 1.5, flexWrap: "wrap" }, "aria-label": "Sources", children: [
|
|
531
|
+
/* @__PURE__ */ jsx5(
|
|
532
|
+
Box3,
|
|
533
|
+
{
|
|
534
|
+
component: "span",
|
|
535
|
+
sx: {
|
|
536
|
+
fontSize: 11,
|
|
537
|
+
fontWeight: 700,
|
|
538
|
+
color: "text.secondary",
|
|
539
|
+
textTransform: "uppercase",
|
|
540
|
+
letterSpacing: 0.5,
|
|
541
|
+
flexShrink: 0
|
|
542
|
+
},
|
|
543
|
+
children: "Sources"
|
|
544
|
+
}
|
|
545
|
+
),
|
|
546
|
+
/* @__PURE__ */ jsx5(
|
|
547
|
+
Box3,
|
|
548
|
+
{
|
|
549
|
+
sx: {
|
|
550
|
+
display: "flex",
|
|
551
|
+
alignItems: "center",
|
|
552
|
+
flexWrap: "wrap",
|
|
553
|
+
rowGap: 0.5,
|
|
554
|
+
// Touch / no-hover devices: chips stay expanded (no hover to reveal).
|
|
555
|
+
"& .source-chip": { ml: "4px" },
|
|
556
|
+
"& .source-chip:first-of-type": { ml: 0 },
|
|
557
|
+
"& .chip-label": { maxWidth: 200, opacity: 1, ml: 0.6 },
|
|
558
|
+
// Hover-capable devices: collapse into an overlapping favicon stack
|
|
559
|
+
// that spreads out and reveals titles when the rail is hovered.
|
|
560
|
+
"@media (hover: hover)": {
|
|
561
|
+
"& .source-chip": { ml: "-10px", transition: "margin-left 0.22s ease" },
|
|
562
|
+
"& .source-chip:first-of-type": { ml: 0 },
|
|
563
|
+
"& .chip-label": {
|
|
564
|
+
maxWidth: 0,
|
|
565
|
+
opacity: 0,
|
|
566
|
+
ml: 0,
|
|
567
|
+
transition: "max-width 0.28s ease, opacity 0.18s ease, margin-left 0.2s ease"
|
|
568
|
+
},
|
|
569
|
+
"&:hover .source-chip": { ml: "6px" },
|
|
570
|
+
"&:hover .source-chip:first-of-type": { ml: 0 },
|
|
571
|
+
"&:hover .chip-label": { maxWidth: 200, opacity: 1, ml: 0.6 }
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
children: sources.map((s, i) => /* @__PURE__ */ jsx5(SourceChip, { source: s }, `${s.url}-${i}`))
|
|
575
|
+
}
|
|
576
|
+
)
|
|
577
|
+
] });
|
|
527
578
|
};
|
|
528
579
|
var source_chips_default = SourceChips;
|
|
529
580
|
|
|
@@ -622,7 +673,7 @@ var ChatMessages = ({
|
|
|
622
673
|
/* @__PURE__ */ jsx6(
|
|
623
674
|
StreamingMarkdown_default,
|
|
624
675
|
{
|
|
625
|
-
content:
|
|
676
|
+
content: stripSourcesForDisplay(content),
|
|
626
677
|
isStreaming: isStreaming && isLast,
|
|
627
678
|
sources: sourceSummaries
|
|
628
679
|
}
|
|
@@ -805,7 +856,7 @@ var STTClient = class {
|
|
|
805
856
|
// src/services/stt/transcriber.tsx
|
|
806
857
|
import { CircularProgress, IconButton as IconButton3, useTheme as useTheme3 } from "@mui/material";
|
|
807
858
|
import { from as from2, Subscription, switchMap as switchMap2 } from "rxjs";
|
|
808
|
-
import { Fragment as
|
|
859
|
+
import { Fragment as Fragment3, jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
809
860
|
var initialButtonStyles = (badgeBackground, fileText, hoverBadgeBackground) => ({
|
|
810
861
|
bgcolor: badgeBackground,
|
|
811
862
|
color: fileText,
|
|
@@ -863,7 +914,7 @@ var Transcriber = ({ onTranscriptionCompleted }) => {
|
|
|
863
914
|
backgroundColor: status === "RECORDING" ? "rgba(0,0,0,.3)" : "rgba(0,0,0,0)",
|
|
864
915
|
borderRadius: "50px"
|
|
865
916
|
},
|
|
866
|
-
children: status === "IDLE" ? /* @__PURE__ */ jsx7(IconButton3, { sx: { ...iconButtonStyles }, onClick: handleRecordClick, children: /* @__PURE__ */ jsx7(MicIcon, { sx: { color: "#aaa", cursor: "pointer" } }) }) : status === "RECORDING" ? /* @__PURE__ */ jsxs4(
|
|
917
|
+
children: status === "IDLE" ? /* @__PURE__ */ jsx7(IconButton3, { sx: { ...iconButtonStyles }, onClick: handleRecordClick, children: /* @__PURE__ */ jsx7(MicIcon, { sx: { color: "#aaa", cursor: "pointer" } }) }) : status === "RECORDING" ? /* @__PURE__ */ jsxs4(Fragment3, { children: [
|
|
867
918
|
/* @__PURE__ */ jsx7(
|
|
868
919
|
IconButton3,
|
|
869
920
|
{
|
|
@@ -929,7 +980,7 @@ var useVoiceModeStore = create((set) => ({
|
|
|
929
980
|
|
|
930
981
|
// src/chat/chat-input.tsx
|
|
931
982
|
import { shallow } from "zustand/shallow";
|
|
932
|
-
import { Fragment as
|
|
983
|
+
import { Fragment as Fragment4, jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
933
984
|
var ChatInput = (props) => {
|
|
934
985
|
const {
|
|
935
986
|
inputValue,
|
|
@@ -1282,7 +1333,7 @@ ${sanitize(
|
|
|
1282
1333
|
if (!hasSttAction) return null;
|
|
1283
1334
|
return /* @__PURE__ */ jsx8(Box5, { sx: { display: "flex", alignItems: "center" }, children: /* @__PURE__ */ jsx8(transcriber_default, { onTranscriptionCompleted: handleTranscriptionCompleted }) }, key ?? "stt");
|
|
1284
1335
|
};
|
|
1285
|
-
return /* @__PURE__ */ jsxs5(
|
|
1336
|
+
return /* @__PURE__ */ jsxs5(Fragment4, { children: [
|
|
1286
1337
|
/* @__PURE__ */ jsxs5(
|
|
1287
1338
|
Box5,
|
|
1288
1339
|
{
|
|
@@ -1512,7 +1563,7 @@ ${sanitize(
|
|
|
1512
1563
|
minHeight: primaryIconSize
|
|
1513
1564
|
},
|
|
1514
1565
|
children: [
|
|
1515
|
-
isVoiceModeEligible && /* @__PURE__ */ jsxs5(
|
|
1566
|
+
isVoiceModeEligible && /* @__PURE__ */ jsxs5(Fragment4, { children: [
|
|
1516
1567
|
/* @__PURE__ */ jsx8(
|
|
1517
1568
|
Tooltip3,
|
|
1518
1569
|
{
|
|
@@ -4590,7 +4641,7 @@ import {
|
|
|
4590
4641
|
} from "@mui/material";
|
|
4591
4642
|
import { Plus as AddIcon2, Pencil as EditIcon2, Trash2 as DeleteIcon, MoreVertical as MoreVertIcon, Folder as FolderIcon, X as CloseIcon3, ArrowLeft as ArrowBackIcon } from "lucide-react";
|
|
4592
4643
|
import { useTheme as useTheme6, alpha as alpha3 } from "@mui/material/styles";
|
|
4593
|
-
import { Fragment as
|
|
4644
|
+
import { Fragment as Fragment5, jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
4594
4645
|
var DEFAULT_COLORS = [
|
|
4595
4646
|
"#2196F3",
|
|
4596
4647
|
"#4CAF50",
|
|
@@ -5053,7 +5104,7 @@ var ProjectManagementModal = ({
|
|
|
5053
5104
|
justifyContent: "flex-end",
|
|
5054
5105
|
gap: 1
|
|
5055
5106
|
},
|
|
5056
|
-
children: showCreateForm ? /* @__PURE__ */ jsxs7(
|
|
5107
|
+
children: showCreateForm ? /* @__PURE__ */ jsxs7(Fragment5, { children: [
|
|
5057
5108
|
/* @__PURE__ */ jsx10(
|
|
5058
5109
|
Button2,
|
|
5059
5110
|
{
|
|
@@ -5132,7 +5183,7 @@ var ProjectManagementModal = ({
|
|
|
5132
5183
|
]
|
|
5133
5184
|
}
|
|
5134
5185
|
);
|
|
5135
|
-
return /* @__PURE__ */ jsx10(
|
|
5186
|
+
return /* @__PURE__ */ jsx10(Fragment5, { children: isMobile ? /* @__PURE__ */ jsx10(
|
|
5136
5187
|
SwipeableDrawer,
|
|
5137
5188
|
{
|
|
5138
5189
|
anchor: "bottom",
|
|
@@ -5368,7 +5419,7 @@ import {
|
|
|
5368
5419
|
} from "@mui/material";
|
|
5369
5420
|
import { MoreVertical as MoreVertIcon2, Pencil as EditIcon3, Trash2 as DeleteIcon2, GripVertical as DragIcon, MailOpen as MoveIcon } from "lucide-react";
|
|
5370
5421
|
import { useTheme as useTheme8, alpha as alpha4 } from "@mui/material/styles";
|
|
5371
|
-
import { Fragment as
|
|
5422
|
+
import { Fragment as Fragment6, jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
5372
5423
|
var SimpleConversationItem = ({
|
|
5373
5424
|
conversation,
|
|
5374
5425
|
isSelected,
|
|
@@ -5539,7 +5590,7 @@ var SimpleConversationItem = ({
|
|
|
5539
5590
|
setIsTouchDragging(false);
|
|
5540
5591
|
}
|
|
5541
5592
|
}, [isTouchDragActive, isTouchDragging]);
|
|
5542
|
-
return /* @__PURE__ */ jsxs9(
|
|
5593
|
+
return /* @__PURE__ */ jsxs9(Fragment6, { children: [
|
|
5543
5594
|
/* @__PURE__ */ jsxs9(
|
|
5544
5595
|
Box9,
|
|
5545
5596
|
{
|
|
@@ -6097,7 +6148,7 @@ var TOOLTIP_COPY = {
|
|
|
6097
6148
|
var tooltip = (key) => TOOLTIP_COPY[key];
|
|
6098
6149
|
|
|
6099
6150
|
// src/chat/conversation-drawer.tsx
|
|
6100
|
-
import { Fragment as
|
|
6151
|
+
import { Fragment as Fragment7, jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
6101
6152
|
var BANDIT_AVATAR = "https://cdn.burtson.ai/images/bandit-head.png";
|
|
6102
6153
|
var coerceOptionalString = (value) => {
|
|
6103
6154
|
if (typeof value !== "string") return void 0;
|
|
@@ -6350,7 +6401,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
6350
6401
|
setMoveModalOpen(false);
|
|
6351
6402
|
setConversationToMove(null);
|
|
6352
6403
|
};
|
|
6353
|
-
return /* @__PURE__ */ jsxs11(
|
|
6404
|
+
return /* @__PURE__ */ jsxs11(Fragment7, { children: [
|
|
6354
6405
|
/* @__PURE__ */ jsxs11(
|
|
6355
6406
|
Drawer,
|
|
6356
6407
|
{
|
|
@@ -6626,7 +6677,7 @@ var ConversationDrawer = ({ open, onClose }) => {
|
|
|
6626
6677
|
]
|
|
6627
6678
|
}
|
|
6628
6679
|
),
|
|
6629
|
-
group.id !== null ? /* @__PURE__ */ jsxs11(
|
|
6680
|
+
group.id !== null ? /* @__PURE__ */ jsxs11(Fragment7, { children: [
|
|
6630
6681
|
/* @__PURE__ */ jsx14(
|
|
6631
6682
|
project_header_default,
|
|
6632
6683
|
{
|
|
@@ -6951,7 +7002,7 @@ import {
|
|
|
6951
7002
|
} from "@mui/material";
|
|
6952
7003
|
import { X as CloseIcon6, X as ClearIcon2, Search as SearchIcon2, Folder as FolderIcon5, MoreVertical as MoreVertIcon4, Trash2 as DeleteSweepIcon2, Inbox as InboxIcon4, Plus as AddIcon5, Settings as SettingsIcon3, Brain as MemoryIcon2 } from "lucide-react";
|
|
6953
7004
|
import { useTheme as useTheme11, alpha as alpha7 } from "@mui/material/styles";
|
|
6954
|
-
import { Fragment as
|
|
7005
|
+
import { Fragment as Fragment8, jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
6955
7006
|
var BANDIT_AVATAR2 = "https://cdn.burtson.ai/images/bandit-head.png";
|
|
6956
7007
|
var coerceOptionalString2 = (value) => {
|
|
6957
7008
|
if (typeof value !== "string") return void 0;
|
|
@@ -7285,7 +7336,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
7285
7336
|
return changed ? next : prev;
|
|
7286
7337
|
});
|
|
7287
7338
|
}, [conversations]);
|
|
7288
|
-
return /* @__PURE__ */ jsxs12(
|
|
7339
|
+
return /* @__PURE__ */ jsxs12(Fragment8, { children: [
|
|
7289
7340
|
/* @__PURE__ */ jsx15(
|
|
7290
7341
|
Modal2,
|
|
7291
7342
|
{
|
|
@@ -7475,7 +7526,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
7475
7526
|
fontWeight: 500,
|
|
7476
7527
|
whiteSpace: "nowrap"
|
|
7477
7528
|
},
|
|
7478
|
-
children: activeHoverLabel ? /* @__PURE__ */ jsxs12(
|
|
7529
|
+
children: activeHoverLabel ? /* @__PURE__ */ jsxs12(Fragment8, { children: [
|
|
7479
7530
|
"to",
|
|
7480
7531
|
" ",
|
|
7481
7532
|
/* @__PURE__ */ jsx15(
|
|
@@ -7600,7 +7651,7 @@ var EnhancedMobileConversationsModal = ({
|
|
|
7600
7651
|
]
|
|
7601
7652
|
}
|
|
7602
7653
|
),
|
|
7603
|
-
group.id !== null ? /* @__PURE__ */ jsxs12(
|
|
7654
|
+
group.id !== null ? /* @__PURE__ */ jsxs12(Fragment8, { children: [
|
|
7604
7655
|
/* @__PURE__ */ jsx15(
|
|
7605
7656
|
project_header_default,
|
|
7606
7657
|
{
|
|
@@ -7906,7 +7957,7 @@ var enhanced_mobile_conversations_modal_default = EnhancedMobileConversationsMod
|
|
|
7906
7957
|
|
|
7907
7958
|
// src/chat/chat-app-bar.tsx
|
|
7908
7959
|
import { shallow as shallow2 } from "zustand/shallow";
|
|
7909
|
-
import { Fragment as
|
|
7960
|
+
import { Fragment as Fragment9, jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
7910
7961
|
var CDN_BASE = "https://cdn.burtson.ai/";
|
|
7911
7962
|
var banditHead = `${CDN_BASE}/images/bandit-head.png`;
|
|
7912
7963
|
var modelAvatars = {
|
|
@@ -8117,7 +8168,7 @@ var ChatAppBar = ({
|
|
|
8117
8168
|
}
|
|
8118
8169
|
safeNavigate("/");
|
|
8119
8170
|
}
|
|
8120
|
-
return /* @__PURE__ */ jsxs13(
|
|
8171
|
+
return /* @__PURE__ */ jsxs13(Fragment9, { children: [
|
|
8121
8172
|
/* @__PURE__ */ jsxs13(
|
|
8122
8173
|
Box13,
|
|
8123
8174
|
{
|
|
@@ -8589,7 +8640,7 @@ var ChatAppBar = ({
|
|
|
8589
8640
|
))
|
|
8590
8641
|
}
|
|
8591
8642
|
),
|
|
8592
|
-
isTTSAvailable && /* @__PURE__ */ jsxs13(
|
|
8643
|
+
isTTSAvailable && /* @__PURE__ */ jsxs13(Fragment9, { children: [
|
|
8593
8644
|
/* @__PURE__ */ jsx16(Tooltip6, { title: `Voice: ${selectedVoice ? toTitleCase(selectedVoice.split("-")[1]) : "Default"}`, arrow: true, children: /* @__PURE__ */ jsx16(
|
|
8594
8645
|
IconButton10,
|
|
8595
8646
|
{
|
|
@@ -8817,7 +8868,7 @@ import { useTheme as useTheme13, alpha as alpha8 } from "@mui/material/styles";
|
|
|
8817
8868
|
import ReactMarkdown from "react-markdown";
|
|
8818
8869
|
import remarkGfm from "remark-gfm";
|
|
8819
8870
|
import rehypeRaw from "rehype-raw";
|
|
8820
|
-
import { Fragment as
|
|
8871
|
+
import { Fragment as Fragment10, jsx as jsx17 } from "react/jsx-runtime";
|
|
8821
8872
|
var markdownComponents = {
|
|
8822
8873
|
p: ({ node, ...props }) => /* @__PURE__ */ jsx17("span", { ...props }),
|
|
8823
8874
|
mark: ({ node, children, ...props }) => /* @__PURE__ */ jsx17("mark", { ...props, children }),
|
|
@@ -8896,7 +8947,7 @@ var QuerySuggestionPicker = ({
|
|
|
8896
8947
|
return () => clearInterval(interval);
|
|
8897
8948
|
}, [hasSentPrompt, examplePrompts.length]);
|
|
8898
8949
|
const displayPrompts = isMobile ? visiblePrompts.slice(0, Math.min(visiblePrompts.length, 6)) : visiblePrompts;
|
|
8899
|
-
return displayPrompts.length > 0 && /* @__PURE__ */ jsx17(
|
|
8950
|
+
return displayPrompts.length > 0 && /* @__PURE__ */ jsx17(Fragment10, { children: /* @__PURE__ */ jsx17(
|
|
8900
8951
|
Box14,
|
|
8901
8952
|
{
|
|
8902
8953
|
ref: scrollRef,
|
|
@@ -10597,4 +10648,4 @@ var chat_default = Chat;
|
|
|
10597
10648
|
export {
|
|
10598
10649
|
chat_default
|
|
10599
10650
|
};
|
|
10600
|
-
//# sourceMappingURL=chunk-
|
|
10651
|
+
//# sourceMappingURL=chunk-JJNPBLJ7.mjs.map
|