@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7KFVACAY.mjs";
|
|
4
4
|
import "./chunk-ONQMRE2G.mjs";
|
|
5
5
|
import "./chunk-BVYSGIWG.mjs";
|
|
6
6
|
import "./chunk-K2JGFKEB.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-56LDJSBR.mjs.map
|
|
@@ -9741,7 +9741,7 @@ var UnderReview_default = UnderReview;
|
|
|
9741
9741
|
import { useEffect as useEffect15, useRef as useRef13, useState as useState18 } from "react";
|
|
9742
9742
|
import { Box as Box18, IconButton as IconButton13, Paper as Paper2, Slide as Slide2, Typography as Typography14 } from "@mui/material";
|
|
9743
9743
|
import { useTheme as useTheme18, alpha as alpha11 } from "@mui/material/styles";
|
|
9744
|
-
import { X as CloseIcon8 } from "lucide-react";
|
|
9744
|
+
import { X as CloseIcon8, Smile as SmileIcon, Meh as MehIcon, Frown as FrownIcon } from "lucide-react";
|
|
9745
9745
|
import { Fragment as Fragment12, jsx as jsx21, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
9746
9746
|
var STORAGE_KEY2 = "bandit-feedback-pulse-last";
|
|
9747
9747
|
var COOLDOWN_DAYS = 14;
|
|
@@ -9816,7 +9816,7 @@ var FeedbackPulse = ({ isMobile, feedbackEmail }) => {
|
|
|
9816
9816
|
recordInteraction("dismissed");
|
|
9817
9817
|
setVisible(false);
|
|
9818
9818
|
};
|
|
9819
|
-
const choice = (
|
|
9819
|
+
const choice = (icon, label, outcome) => /* @__PURE__ */ jsxs17(
|
|
9820
9820
|
Box18,
|
|
9821
9821
|
{
|
|
9822
9822
|
component: "button",
|
|
@@ -9843,7 +9843,7 @@ var FeedbackPulse = ({ isMobile, feedbackEmail }) => {
|
|
|
9843
9843
|
"&:active": { transform: "scale(0.96)" }
|
|
9844
9844
|
},
|
|
9845
9845
|
children: [
|
|
9846
|
-
/* @__PURE__ */ jsx21(Box18, { component: "span", sx: {
|
|
9846
|
+
/* @__PURE__ */ jsx21(Box18, { component: "span", sx: { display: "inline-flex", lineHeight: 1 }, children: icon }),
|
|
9847
9847
|
/* @__PURE__ */ jsx21(Typography14, { variant: "caption", sx: { fontWeight: 600 }, children: label })
|
|
9848
9848
|
]
|
|
9849
9849
|
}
|
|
@@ -9868,15 +9868,15 @@ var FeedbackPulse = ({ isMobile, feedbackEmail }) => {
|
|
|
9868
9868
|
bgcolor: theme.palette.background.paper,
|
|
9869
9869
|
boxShadow: `0 12px 40px ${alpha11(theme.palette.common.black, theme.palette.mode === "dark" ? 0.5 : 0.18)}`
|
|
9870
9870
|
},
|
|
9871
|
-
children: thanked ? /* @__PURE__ */ jsx21(Typography14, { sx: { textAlign: "center", py: 1.5, fontWeight: 600 }, children: "Thanks for the feedback!
|
|
9871
|
+
children: thanked ? /* @__PURE__ */ jsx21(Typography14, { sx: { textAlign: "center", py: 1.5, fontWeight: 600 }, children: "Thanks for the feedback!" }) : /* @__PURE__ */ jsxs17(Fragment12, { children: [
|
|
9872
9872
|
/* @__PURE__ */ jsxs17(Box18, { sx: { display: "flex", alignItems: "center", mb: 0.5 }, children: [
|
|
9873
9873
|
/* @__PURE__ */ jsx21(Typography14, { variant: "body2", sx: { fontWeight: 600, flex: 1 }, children: "How's Bandit doing?" }),
|
|
9874
9874
|
/* @__PURE__ */ jsx21(IconButton13, { size: "small", onClick: dismiss, "aria-label": "Dismiss feedback prompt", children: /* @__PURE__ */ jsx21(CloseIcon8, { size: 16 }) })
|
|
9875
9875
|
] }),
|
|
9876
9876
|
/* @__PURE__ */ jsxs17(Box18, { sx: { display: "flex", justifyContent: "space-evenly" }, children: [
|
|
9877
|
-
choice(
|
|
9878
|
-
choice(
|
|
9879
|
-
choice(
|
|
9877
|
+
choice(/* @__PURE__ */ jsx21(SmileIcon, { size: 22, color: theme.palette.success.main }), "Good", "good"),
|
|
9878
|
+
choice(/* @__PURE__ */ jsx21(MehIcon, { size: 22, color: theme.palette.warning.main }), "Fine", "fine"),
|
|
9879
|
+
choice(/* @__PURE__ */ jsx21(FrownIcon, { size: 22, color: theme.palette.error.main }), "Bad", "bad")
|
|
9880
9880
|
] })
|
|
9881
9881
|
] })
|
|
9882
9882
|
}
|
|
@@ -10267,6 +10267,7 @@ var useVoiceMode = (config) => {
|
|
|
10267
10267
|
};
|
|
10268
10268
|
|
|
10269
10269
|
// src/chat/chat.tsx
|
|
10270
|
+
import { Ghost as TempChatGhostIcon } from "lucide-react";
|
|
10270
10271
|
import { Fragment as Fragment13, jsx as jsx23, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
10271
10272
|
var ChatContent = () => {
|
|
10272
10273
|
const packageSettings = usePackageSettingsStore((state) => state.settings);
|
|
@@ -11302,7 +11303,7 @@ var ChatContent = () => {
|
|
|
11302
11303
|
whiteSpace: "nowrap"
|
|
11303
11304
|
}),
|
|
11304
11305
|
children: [
|
|
11305
|
-
/* @__PURE__ */ jsx23(
|
|
11306
|
+
/* @__PURE__ */ jsx23(TempChatGhostIcon, { size: 14, "aria-hidden": true }),
|
|
11306
11307
|
"Temporary chat",
|
|
11307
11308
|
/* @__PURE__ */ jsx23(
|
|
11308
11309
|
Box20,
|
|
@@ -11554,4 +11555,4 @@ var chat_default = Chat;
|
|
|
11554
11555
|
export {
|
|
11555
11556
|
chat_default
|
|
11556
11557
|
};
|
|
11557
|
-
//# sourceMappingURL=chunk-
|
|
11558
|
+
//# sourceMappingURL=chunk-7KFVACAY.mjs.map
|