@burtson-labs/bandit-engine 2.0.92 → 2.0.93
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-L3VMBI6A.mjs → chat-HYXGXPJM.mjs} +2 -2
- package/dist/{chunk-AS6WS4H2.mjs → chunk-GQHA7AIS.mjs} +2 -2
- package/dist/{chunk-JJNPBLJ7.mjs → chunk-JOY64M5C.mjs} +5 -36
- package/dist/chunk-JOY64M5C.mjs.map +1 -0
- package/dist/index.js +4 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +4 -35
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-JJNPBLJ7.mjs.map +0 -1
- /package/dist/{chat-L3VMBI6A.mjs.map → chat-HYXGXPJM.mjs.map} +0 -0
- /package/dist/{chunk-AS6WS4H2.mjs.map → chunk-GQHA7AIS.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-JOY64M5C.mjs";
|
|
4
4
|
import {
|
|
5
5
|
chat_provider_default
|
|
6
6
|
} from "./chunk-OSSZ7Z2O.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
useGatewayHealth,
|
|
11
11
|
useGatewayMemory,
|
|
12
12
|
useGatewayModels
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GQHA7AIS.mjs";
|
|
14
14
|
import "./chunk-RUMVTVNM.mjs";
|
|
15
15
|
import "./chunk-ZLXWNTFK.mjs";
|
|
16
16
|
import "./chunk-L2EKYO4F.mjs";
|
|
@@ -20404,13 +20404,13 @@ var init_source_chips = __esm({
|
|
|
20404
20404
|
href: source.url,
|
|
20405
20405
|
target: "_blank",
|
|
20406
20406
|
rel: "noopener noreferrer",
|
|
20407
|
-
className: "source-chip",
|
|
20408
20407
|
sx: {
|
|
20409
20408
|
display: "inline-flex",
|
|
20410
20409
|
alignItems: "center",
|
|
20411
20410
|
flexShrink: 0,
|
|
20411
|
+
gap: 0.5,
|
|
20412
20412
|
height: 26,
|
|
20413
|
-
px: 0.
|
|
20413
|
+
px: 0.75,
|
|
20414
20414
|
borderRadius: 999,
|
|
20415
20415
|
border: "1px solid",
|
|
20416
20416
|
borderColor: "divider",
|
|
@@ -20454,9 +20454,8 @@ var init_source_chips = __esm({
|
|
|
20454
20454
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
20455
20455
|
import_material35.Box,
|
|
20456
20456
|
{
|
|
20457
|
-
className: "chip-label",
|
|
20458
20457
|
component: "span",
|
|
20459
|
-
sx: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
|
|
20458
|
+
sx: { maxWidth: 150, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
|
|
20460
20459
|
children: label
|
|
20461
20460
|
}
|
|
20462
20461
|
)
|
|
@@ -20485,37 +20484,7 @@ var init_source_chips = __esm({
|
|
|
20485
20484
|
children: "Sources"
|
|
20486
20485
|
}
|
|
20487
20486
|
),
|
|
20488
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
20489
|
-
import_material35.Box,
|
|
20490
|
-
{
|
|
20491
|
-
sx: {
|
|
20492
|
-
display: "flex",
|
|
20493
|
-
alignItems: "center",
|
|
20494
|
-
flexWrap: "wrap",
|
|
20495
|
-
rowGap: 0.5,
|
|
20496
|
-
// Touch / no-hover devices: chips stay expanded (no hover to reveal).
|
|
20497
|
-
"& .source-chip": { ml: "4px" },
|
|
20498
|
-
"& .source-chip:first-of-type": { ml: 0 },
|
|
20499
|
-
"& .chip-label": { maxWidth: 200, opacity: 1, ml: 0.6 },
|
|
20500
|
-
// Hover-capable devices: collapse into an overlapping favicon stack
|
|
20501
|
-
// that spreads out and reveals titles when the rail is hovered.
|
|
20502
|
-
"@media (hover: hover)": {
|
|
20503
|
-
"& .source-chip": { ml: "-10px", transition: "margin-left 0.22s ease" },
|
|
20504
|
-
"& .source-chip:first-of-type": { ml: 0 },
|
|
20505
|
-
"& .chip-label": {
|
|
20506
|
-
maxWidth: 0,
|
|
20507
|
-
opacity: 0,
|
|
20508
|
-
ml: 0,
|
|
20509
|
-
transition: "max-width 0.28s ease, opacity 0.18s ease, margin-left 0.2s ease"
|
|
20510
|
-
},
|
|
20511
|
-
"&:hover .source-chip": { ml: "6px" },
|
|
20512
|
-
"&:hover .source-chip:first-of-type": { ml: 0 },
|
|
20513
|
-
"&:hover .chip-label": { maxWidth: 200, opacity: 1, ml: 0.6 }
|
|
20514
|
-
}
|
|
20515
|
-
},
|
|
20516
|
-
children: sources.map((s, i) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SourceChip, { source: s }, `${s.url}-${i}`))
|
|
20517
|
-
}
|
|
20518
|
-
)
|
|
20487
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_material35.Box, { sx: { display: "flex", flexWrap: "wrap", alignItems: "center", gap: 0.75 }, children: sources.map((s, i) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SourceChip, { source: s }, `${s.url}-${i}`)) })
|
|
20519
20488
|
] });
|
|
20520
20489
|
};
|
|
20521
20490
|
source_chips_default = SourceChips;
|