@burtson-labs/bandit-engine 2.0.129 → 2.0.131
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-TO26ORKD.mjs → chat-3O4KKYCG.mjs} +4 -4
- package/dist/{chunk-3LOS2EAN.mjs → chunk-BVMTZTGQ.mjs} +343 -156
- package/dist/chunk-BVMTZTGQ.mjs.map +1 -0
- package/dist/{chunk-FWFDOSRM.mjs → chunk-BVYSGIWG.mjs} +2 -2
- package/dist/{chunk-BQW7DSJ6.mjs → chunk-JONBKV2S.mjs} +177 -302
- package/dist/chunk-JONBKV2S.mjs.map +1 -0
- package/dist/{chunk-N3TVVQVS.mjs → chunk-PA4VYO4R.mjs} +207 -69
- package/dist/chunk-PA4VYO4R.mjs.map +1 -0
- package/dist/{chunk-VXGJ4XH6.mjs → chunk-VNIDC6VZ.mjs} +57 -35
- package/dist/chunk-VNIDC6VZ.mjs.map +1 -0
- package/dist/index.js +2195 -1981
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/management/management.js +628 -413
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +4 -4
- package/dist/modals/chat-modal/chat-modal.js +16 -3
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-3LOS2EAN.mjs.map +0 -1
- package/dist/chunk-BQW7DSJ6.mjs.map +0 -1
- package/dist/chunk-N3TVVQVS.mjs.map +0 -1
- package/dist/chunk-VXGJ4XH6.mjs.map +0 -1
- /package/dist/{chat-TO26ORKD.mjs.map → chat-3O4KKYCG.mjs.map} +0 -0
- /package/dist/{chunk-FWFDOSRM.mjs.map → chunk-BVYSGIWG.mjs.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
management_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-VNIDC6VZ.mjs";
|
|
4
|
+
import "../chunk-BVYSGIWG.mjs";
|
|
5
5
|
import "../chunk-F7JXIW6T.mjs";
|
|
6
6
|
import "../chunk-K2JGFKEB.mjs";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-PA4VYO4R.mjs";
|
|
8
|
+
import "../chunk-JONBKV2S.mjs";
|
|
9
9
|
import "../chunk-NLBZZP3B.mjs";
|
|
10
10
|
import "../chunk-EORIRPPX.mjs";
|
|
11
11
|
import "../chunk-43MLINPL.mjs";
|
|
@@ -12771,7 +12771,8 @@ var AIResponseTextField = ({
|
|
|
12771
12771
|
memoryUpdated,
|
|
12772
12772
|
sourceFiles,
|
|
12773
12773
|
isMobile = false,
|
|
12774
|
-
cancelled = false
|
|
12774
|
+
cancelled = false,
|
|
12775
|
+
revealActionsOnHover = false
|
|
12775
12776
|
}) => {
|
|
12776
12777
|
(0, import_react14.useEffect)(() => {
|
|
12777
12778
|
if (typeof response !== "string" && !import_react14.default.isValidElement(response)) {
|
|
@@ -13259,7 +13260,8 @@ ${sourcesMarkdownList.join("\n")}`;
|
|
|
13259
13260
|
color: chatResponse.aiText || theme.palette.text.primary,
|
|
13260
13261
|
px: isMobile ? 0.5 : 2,
|
|
13261
13262
|
py: 1,
|
|
13262
|
-
userSelect: "text"
|
|
13263
|
+
userSelect: "text",
|
|
13264
|
+
"&:hover .ai-response-actions": { opacity: 1 }
|
|
13263
13265
|
},
|
|
13264
13266
|
children: [
|
|
13265
13267
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material8.Box, { sx: { display: "flex", justifyContent: "flex-end", mb: 2.5 }, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_material8.Box, { sx: { maxWidth: { xs: "100%", sm: "85%" }, minWidth: 0 }, children: [
|
|
@@ -13359,7 +13361,18 @@ ${sourcesMarkdownList.join("\n")}`;
|
|
|
13359
13361
|
}
|
|
13360
13362
|
) : import_react14.default.isValidElement(response) ? response : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material8.Typography, { color: "error", children: "\u26A0\uFE0F Invalid AI response" }) })
|
|
13361
13363
|
] }),
|
|
13362
|
-
!!(responseText || typeof response === "string" && response) && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
13364
|
+
!!(responseText || typeof response === "string" && response) && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
13365
|
+
import_material8.Box,
|
|
13366
|
+
{
|
|
13367
|
+
className: "ai-response-actions",
|
|
13368
|
+
sx: revealActionsOnHover ? {
|
|
13369
|
+
opacity: 0,
|
|
13370
|
+
transition: "opacity 0.15s ease",
|
|
13371
|
+
"&:focus-within": { opacity: 1 }
|
|
13372
|
+
} : void 0,
|
|
13373
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ai_response_action_bar_default, { text: responseText || response })
|
|
13374
|
+
}
|
|
13375
|
+
),
|
|
13363
13376
|
displaySourceFiles && displaySourceFiles.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material8.Box, { sx: { mt: 1.5, display: "flex", gap: 2, flexWrap: "wrap", justifyContent: "flex-start" }, children: displaySourceFiles.map((doc, idx) => {
|
|
13364
13377
|
debugLogger.debug("Rendering DocumentCard in AI response", {
|
|
13365
13378
|
index: idx,
|