@burtson-labs/bandit-engine 2.0.131 → 2.0.132
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-3O4KKYCG.mjs → chat-56LDJSBR.mjs} +2 -2
- package/dist/{chunk-BVMTZTGQ.mjs → chunk-7KFVACAY.mjs} +10 -9
- package/dist/chunk-7KFVACAY.mjs.map +1 -0
- package/dist/{chunk-VNIDC6VZ.mjs → chunk-PMOZWSW2.mjs} +2 -2
- package/dist/index.js +24 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +9 -8
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-BVMTZTGQ.mjs.map +0 -1
- /package/dist/{chat-3O4KKYCG.mjs.map → chat-56LDJSBR.mjs.map} +0 -0
- /package/dist/{chunk-VNIDC6VZ.mjs.map → chunk-PMOZWSW2.mjs.map} +0 -0
|
@@ -9776,7 +9776,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
|
|
|
9776
9776
|
|
|
9777
9777
|
// src/management/management.tsx
|
|
9778
9778
|
import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9779
|
-
var preloadChatPage = () => import("./chat-
|
|
9779
|
+
var preloadChatPage = () => import("./chat-56LDJSBR.mjs");
|
|
9780
9780
|
var buildCapabilitiesUrl = (gatewayApiUrl) => {
|
|
9781
9781
|
const trimmed = gatewayApiUrl.replace(/\/$/, "");
|
|
9782
9782
|
if (trimmed.endsWith("/api")) {
|
|
@@ -11149,4 +11149,4 @@ export {
|
|
|
11149
11149
|
useGatewayMemory,
|
|
11150
11150
|
management_default
|
|
11151
11151
|
};
|
|
11152
|
-
//# sourceMappingURL=chunk-
|
|
11152
|
+
//# sourceMappingURL=chunk-PMOZWSW2.mjs.map
|
package/dist/index.js
CHANGED
|
@@ -30108,7 +30108,7 @@ var init_FeedbackPulse = __esm({
|
|
|
30108
30108
|
recordInteraction("dismissed");
|
|
30109
30109
|
setVisible(false);
|
|
30110
30110
|
};
|
|
30111
|
-
const choice = (
|
|
30111
|
+
const choice = (icon, label, outcome) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
30112
30112
|
import_material31.Box,
|
|
30113
30113
|
{
|
|
30114
30114
|
component: "button",
|
|
@@ -30135,7 +30135,7 @@ var init_FeedbackPulse = __esm({
|
|
|
30135
30135
|
"&:active": { transform: "scale(0.96)" }
|
|
30136
30136
|
},
|
|
30137
30137
|
children: [
|
|
30138
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material31.Box, { component: "span", sx: {
|
|
30138
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material31.Box, { component: "span", sx: { display: "inline-flex", lineHeight: 1 }, children: icon }),
|
|
30139
30139
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material31.Typography, { variant: "caption", sx: { fontWeight: 600 }, children: label })
|
|
30140
30140
|
]
|
|
30141
30141
|
}
|
|
@@ -30160,15 +30160,15 @@ var init_FeedbackPulse = __esm({
|
|
|
30160
30160
|
bgcolor: theme.palette.background.paper,
|
|
30161
30161
|
boxShadow: `0 12px 40px ${(0, import_styles32.alpha)(theme.palette.common.black, theme.palette.mode === "dark" ? 0.5 : 0.18)}`
|
|
30162
30162
|
},
|
|
30163
|
-
children: thanked ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material31.Typography, { sx: { textAlign: "center", py: 1.5, fontWeight: 600 }, children: "Thanks for the feedback!
|
|
30163
|
+
children: thanked ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material31.Typography, { sx: { textAlign: "center", py: 1.5, fontWeight: 600 }, children: "Thanks for the feedback!" }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
|
|
30164
30164
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material31.Box, { sx: { display: "flex", alignItems: "center", mb: 0.5 }, children: [
|
|
30165
30165
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material31.Typography, { variant: "body2", sx: { fontWeight: 600, flex: 1 }, children: "How's Bandit doing?" }),
|
|
30166
30166
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material31.IconButton, { size: "small", onClick: dismiss, "aria-label": "Dismiss feedback prompt", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react14.X, { size: 16 }) })
|
|
30167
30167
|
] }),
|
|
30168
30168
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_material31.Box, { sx: { display: "flex", justifyContent: "space-evenly" }, children: [
|
|
30169
|
-
choice(
|
|
30170
|
-
choice(
|
|
30171
|
-
choice(
|
|
30169
|
+
choice(/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react14.Smile, { size: 22, color: theme.palette.success.main }), "Good", "good"),
|
|
30170
|
+
choice(/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react14.Meh, { size: 22, color: theme.palette.warning.main }), "Fine", "fine"),
|
|
30171
|
+
choice(/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react14.Frown, { size: 22, color: theme.palette.error.main }), "Bad", "bad")
|
|
30172
30172
|
] })
|
|
30173
30173
|
] })
|
|
30174
30174
|
}
|
|
@@ -30606,7 +30606,7 @@ var chat_exports = {};
|
|
|
30606
30606
|
__export(chat_exports, {
|
|
30607
30607
|
default: () => chat_default
|
|
30608
30608
|
});
|
|
30609
|
-
var import_react41, import_material33, import_styles33, import_react_router_dom4, import_jsx_runtime34, ChatContent, Chat, chat_default;
|
|
30609
|
+
var import_react41, import_material33, import_styles33, import_react_router_dom4, import_lucide_react15, import_jsx_runtime34, ChatContent, Chat, chat_default;
|
|
30610
30610
|
var init_chat2 = __esm({
|
|
30611
30611
|
"src/chat/chat.tsx"() {
|
|
30612
30612
|
"use strict";
|
|
@@ -30652,6 +30652,7 @@ var init_chat2 = __esm({
|
|
|
30652
30652
|
init_voiceModeStore();
|
|
30653
30653
|
init_ttsSanitizer();
|
|
30654
30654
|
init_FeatureFlagContext();
|
|
30655
|
+
import_lucide_react15 = require("lucide-react");
|
|
30655
30656
|
import_jsx_runtime34 = require("react/jsx-runtime");
|
|
30656
30657
|
ChatContent = () => {
|
|
30657
30658
|
const packageSettings = usePackageSettingsStore((state) => state.settings);
|
|
@@ -31687,7 +31688,7 @@ var init_chat2 = __esm({
|
|
|
31687
31688
|
whiteSpace: "nowrap"
|
|
31688
31689
|
}),
|
|
31689
31690
|
children: [
|
|
31690
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
31691
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react15.Ghost, { size: 14, "aria-hidden": true }),
|
|
31691
31692
|
"Temporary chat",
|
|
31692
31693
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
31693
31694
|
import_material33.Box,
|
|
@@ -34390,7 +34391,7 @@ var generic_loader_default = GenericLoader;
|
|
|
34390
34391
|
// src/components/feedback/FeedbackButton.tsx
|
|
34391
34392
|
var import_react46 = require("react");
|
|
34392
34393
|
var import_material39 = require("@mui/material");
|
|
34393
|
-
var
|
|
34394
|
+
var import_lucide_react16 = require("lucide-react");
|
|
34394
34395
|
|
|
34395
34396
|
// src/components/feedback/index.tsx
|
|
34396
34397
|
init_FeedbackModal();
|
|
@@ -34418,7 +34419,7 @@ var FeedbackButton = ({
|
|
|
34418
34419
|
import_material39.Button,
|
|
34419
34420
|
{
|
|
34420
34421
|
variant: "outlined",
|
|
34421
|
-
startIcon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
34422
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react16.MessageCircle, {}),
|
|
34422
34423
|
onClick: handleOpen,
|
|
34423
34424
|
className,
|
|
34424
34425
|
size,
|
|
@@ -34447,7 +34448,7 @@ var FeedbackButton = ({
|
|
|
34447
34448
|
transform: "translateY(-1px)"
|
|
34448
34449
|
}
|
|
34449
34450
|
},
|
|
34450
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
34451
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react16.MessageCircle, {})
|
|
34451
34452
|
}
|
|
34452
34453
|
) }),
|
|
34453
34454
|
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
@@ -34506,7 +34507,7 @@ var FeedbackButton = ({
|
|
|
34506
34507
|
}
|
|
34507
34508
|
}
|
|
34508
34509
|
},
|
|
34509
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
34510
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react16.MessageCircle, {})
|
|
34510
34511
|
}
|
|
34511
34512
|
)
|
|
34512
34513
|
}
|
|
@@ -39367,7 +39368,7 @@ init_useFeatures();
|
|
|
39367
39368
|
// src/components/shared/ProcessingOverlay.tsx
|
|
39368
39369
|
var import_react56 = require("react");
|
|
39369
39370
|
var import_material47 = require("@mui/material");
|
|
39370
|
-
var
|
|
39371
|
+
var import_lucide_react17 = require("lucide-react");
|
|
39371
39372
|
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
39372
39373
|
var ninjaFloat = import_material47.keyframes`
|
|
39373
39374
|
0%, 100% { transform: translateY(0px) rotate(0deg); }
|
|
@@ -39392,28 +39393,28 @@ var defaultSteps = [
|
|
|
39392
39393
|
id: "upload",
|
|
39393
39394
|
title: "Uploading to Cloud",
|
|
39394
39395
|
description: "Our digital ninjas are securely transferring your file...",
|
|
39395
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
39396
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react17.CloudUpload, {}),
|
|
39396
39397
|
duration: 5
|
|
39397
39398
|
},
|
|
39398
39399
|
{
|
|
39399
39400
|
id: "analyze",
|
|
39400
39401
|
title: "AI Analysis",
|
|
39401
39402
|
description: "Advanced AI robots are reading and understanding your content...",
|
|
39402
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
39403
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react17.Brain, {}),
|
|
39403
39404
|
duration: 15
|
|
39404
39405
|
},
|
|
39405
39406
|
{
|
|
39406
39407
|
id: "embed",
|
|
39407
39408
|
title: "Making It Searchable",
|
|
39408
39409
|
description: "We turn the content into a private, searchable index...",
|
|
39409
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
39410
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react17.Cpu, {}),
|
|
39410
39411
|
duration: 10
|
|
39411
39412
|
},
|
|
39412
39413
|
{
|
|
39413
39414
|
id: "optimize",
|
|
39414
39415
|
title: "Optimizing Search",
|
|
39415
39416
|
description: "Organizing everything for quick, reliable answers...",
|
|
39416
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
39417
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react17.Sparkles, {}),
|
|
39417
39418
|
duration: 8
|
|
39418
39419
|
}
|
|
39419
39420
|
];
|
|
@@ -39559,7 +39560,7 @@ var ProcessingOverlay = ({
|
|
|
39559
39560
|
animation: `${pulse} 3s ease-in-out infinite`,
|
|
39560
39561
|
color: theme.palette.secondary.main
|
|
39561
39562
|
},
|
|
39562
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
39563
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react17.Bot, {})
|
|
39563
39564
|
}
|
|
39564
39565
|
),
|
|
39565
39566
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
@@ -39573,7 +39574,7 @@ var ProcessingOverlay = ({
|
|
|
39573
39574
|
color: theme.palette.primary.main,
|
|
39574
39575
|
animationDelay: "1s"
|
|
39575
39576
|
},
|
|
39576
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
39577
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react17.Zap, {})
|
|
39577
39578
|
}
|
|
39578
39579
|
)
|
|
39579
39580
|
] }),
|
|
@@ -46575,7 +46576,7 @@ init_streaming_tts();
|
|
|
46575
46576
|
|
|
46576
46577
|
// src/modals/SubscriptionExpiredModal.tsx
|
|
46577
46578
|
var import_material57 = require("@mui/material");
|
|
46578
|
-
var
|
|
46579
|
+
var import_lucide_react18 = require("lucide-react");
|
|
46579
46580
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
46580
46581
|
var SubscriptionExpiredModal = ({
|
|
46581
46582
|
open,
|
|
@@ -46614,7 +46615,7 @@ var SubscriptionExpiredModal = ({
|
|
|
46614
46615
|
},
|
|
46615
46616
|
children: [
|
|
46616
46617
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_material57.DialogTitle, { sx: { textAlign: "center", pb: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_material57.Box, { sx: { display: "flex", alignItems: "center", justifyContent: "center", gap: 1, mb: 1 }, children: [
|
|
46617
|
-
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
46618
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_lucide_react18.AlertTriangle, { size: 32, color: "warning" }),
|
|
46618
46619
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_material57.Typography, { variant: "h5", component: "span", fontWeight: "bold", children: "Subscription Expired" })
|
|
46619
46620
|
] }) }),
|
|
46620
46621
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_material57.DialogContent, { sx: { pt: 1 }, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_material57.Stack, { spacing: 2, children: [
|
|
@@ -46642,7 +46643,7 @@ var SubscriptionExpiredModal = ({
|
|
|
46642
46643
|
{
|
|
46643
46644
|
onClick: handleNavigateHome,
|
|
46644
46645
|
variant: "outlined",
|
|
46645
|
-
startIcon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
46646
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_lucide_react18.Home, {}),
|
|
46646
46647
|
size: "large",
|
|
46647
46648
|
sx: { minWidth: 140 },
|
|
46648
46649
|
children: "Go Home"
|
|
@@ -46653,7 +46654,7 @@ var SubscriptionExpiredModal = ({
|
|
|
46653
46654
|
{
|
|
46654
46655
|
onClick: handleManageSubscription,
|
|
46655
46656
|
variant: "contained",
|
|
46656
|
-
startIcon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
46657
|
+
startIcon: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_lucide_react18.CreditCard, {}),
|
|
46657
46658
|
size: "large",
|
|
46658
46659
|
color: "primary",
|
|
46659
46660
|
sx: { minWidth: 140 },
|