@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
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7KFVACAY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
chat_provider_default
|
|
6
6
|
} from "./chunk-PU74BI6Y.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
useGatewayHealth,
|
|
11
11
|
useGatewayMemory,
|
|
12
12
|
useGatewayModels
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PMOZWSW2.mjs";
|
|
14
14
|
import "./chunk-BVYSGIWG.mjs";
|
|
15
15
|
import "./chunk-F7JXIW6T.mjs";
|
|
16
16
|
import "./chunk-K2JGFKEB.mjs";
|
|
@@ -29742,7 +29742,7 @@ var init_FeedbackPulse = __esm({
|
|
|
29742
29742
|
recordInteraction("dismissed");
|
|
29743
29743
|
setVisible(false);
|
|
29744
29744
|
};
|
|
29745
|
-
const choice = (
|
|
29745
|
+
const choice = (icon, label, outcome) => /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
29746
29746
|
import_material52.Box,
|
|
29747
29747
|
{
|
|
29748
29748
|
component: "button",
|
|
@@ -29769,7 +29769,7 @@ var init_FeedbackPulse = __esm({
|
|
|
29769
29769
|
"&:active": { transform: "scale(0.96)" }
|
|
29770
29770
|
},
|
|
29771
29771
|
children: [
|
|
29772
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material52.Box, { component: "span", sx: {
|
|
29772
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material52.Box, { component: "span", sx: { display: "inline-flex", lineHeight: 1 }, children: icon }),
|
|
29773
29773
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material52.Typography, { variant: "caption", sx: { fontWeight: 600 }, children: label })
|
|
29774
29774
|
]
|
|
29775
29775
|
}
|
|
@@ -29794,15 +29794,15 @@ var init_FeedbackPulse = __esm({
|
|
|
29794
29794
|
bgcolor: theme.palette.background.paper,
|
|
29795
29795
|
boxShadow: `0 12px 40px ${(0, import_styles33.alpha)(theme.palette.common.black, theme.palette.mode === "dark" ? 0.5 : 0.18)}`
|
|
29796
29796
|
},
|
|
29797
|
-
children: thanked ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material52.Typography, { sx: { textAlign: "center", py: 1.5, fontWeight: 600 }, children: "Thanks for the feedback!
|
|
29797
|
+
children: thanked ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material52.Typography, { sx: { textAlign: "center", py: 1.5, fontWeight: 600 }, children: "Thanks for the feedback!" }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
|
|
29798
29798
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_material52.Box, { sx: { display: "flex", alignItems: "center", mb: 0.5 }, children: [
|
|
29799
29799
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material52.Typography, { variant: "body2", sx: { fontWeight: 600, flex: 1 }, children: "How's Bandit doing?" }),
|
|
29800
29800
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_material52.IconButton, { size: "small", onClick: dismiss, "aria-label": "Dismiss feedback prompt", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react16.X, { size: 16 }) })
|
|
29801
29801
|
] }),
|
|
29802
29802
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_material52.Box, { sx: { display: "flex", justifyContent: "space-evenly" }, children: [
|
|
29803
|
-
choice(
|
|
29804
|
-
choice(
|
|
29805
|
-
choice(
|
|
29803
|
+
choice(/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react16.Smile, { size: 22, color: theme.palette.success.main }), "Good", "good"),
|
|
29804
|
+
choice(/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react16.Meh, { size: 22, color: theme.palette.warning.main }), "Fine", "fine"),
|
|
29805
|
+
choice(/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react16.Frown, { size: 22, color: theme.palette.error.main }), "Bad", "bad")
|
|
29806
29806
|
] })
|
|
29807
29807
|
] })
|
|
29808
29808
|
}
|
|
@@ -30216,7 +30216,7 @@ var chat_exports = {};
|
|
|
30216
30216
|
__export(chat_exports, {
|
|
30217
30217
|
default: () => chat_default
|
|
30218
30218
|
});
|
|
30219
|
-
var import_react63, import_material54, import_styles34, import_react_router_dom5, import_jsx_runtime53, ChatContent, Chat, chat_default;
|
|
30219
|
+
var import_react63, import_material54, import_styles34, import_react_router_dom5, import_lucide_react17, import_jsx_runtime53, ChatContent, Chat, chat_default;
|
|
30220
30220
|
var init_chat2 = __esm({
|
|
30221
30221
|
"src/chat/chat.tsx"() {
|
|
30222
30222
|
"use strict";
|
|
@@ -30262,6 +30262,7 @@ var init_chat2 = __esm({
|
|
|
30262
30262
|
init_voiceModeStore();
|
|
30263
30263
|
init_ttsSanitizer();
|
|
30264
30264
|
init_FeatureFlagContext();
|
|
30265
|
+
import_lucide_react17 = require("lucide-react");
|
|
30265
30266
|
import_jsx_runtime53 = require("react/jsx-runtime");
|
|
30266
30267
|
ChatContent = () => {
|
|
30267
30268
|
const packageSettings = usePackageSettingsStore((state) => state.settings);
|
|
@@ -31297,7 +31298,7 @@ var init_chat2 = __esm({
|
|
|
31297
31298
|
whiteSpace: "nowrap"
|
|
31298
31299
|
}),
|
|
31299
31300
|
children: [
|
|
31300
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
31301
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_lucide_react17.Ghost, { size: 14, "aria-hidden": true }),
|
|
31301
31302
|
"Temporary chat",
|
|
31302
31303
|
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
31303
31304
|
import_material54.Box,
|