@burtson-labs/bandit-engine 2.0.109 → 2.0.111
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/{chunk-Q6QQZXRR.mjs → chunk-JFISRBZ5.mjs} +39 -90
- package/dist/chunk-JFISRBZ5.mjs.map +1 -0
- package/dist/index.js +38 -89
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/management/management.js +38 -89
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-Q6QQZXRR.mjs.map +0 -1
|
@@ -2550,16 +2550,7 @@ var PreferencesTab = ({
|
|
|
2550
2550
|
children: "Preferences"
|
|
2551
2551
|
}
|
|
2552
2552
|
),
|
|
2553
|
-
/* @__PURE__ */ jsx3(
|
|
2554
|
-
Typography3,
|
|
2555
|
-
{
|
|
2556
|
-
variant: "body1",
|
|
2557
|
-
color: "text.secondary",
|
|
2558
|
-
paragraph: true,
|
|
2559
|
-
sx: { opacity: 0.9, fontSize: { xs: "0.95rem", sm: "1rem" }, lineHeight: 1.5 },
|
|
2560
|
-
children: "Control which AI features are enabled to optimize performance for your device. Disabling features can help reduce resource usage on machines with limited capabilities."
|
|
2561
|
-
}
|
|
2562
|
-
),
|
|
2553
|
+
/* @__PURE__ */ jsx3(Typography3, { variant: "body2", color: "text.secondary", sx: { mb: 1.5 }, children: "Turn features on or off to tune performance for your device." }),
|
|
2563
2554
|
/* @__PURE__ */ jsxs3(Paper2, { sx: { p: { xs: 1.5, sm: 1.75 }, mb: { xs: 1.5, md: 1.75 }, border: "1px solid", borderColor: "divider", borderRadius: 2 }, children: [
|
|
2564
2555
|
/* @__PURE__ */ jsxs3(Box3, { children: [
|
|
2565
2556
|
/* @__PURE__ */ jsx3(Typography3, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Conversation Starters" }),
|
|
@@ -8880,7 +8871,7 @@ var ProviderTab = () => {
|
|
|
8880
8871
|
}
|
|
8881
8872
|
};
|
|
8882
8873
|
return /* @__PURE__ */ jsxs11(Box11, { sx: { p: { xs: 1.5, sm: 2.5, md: 3 } }, children: [
|
|
8883
|
-
/* @__PURE__ */ jsxs11(Box11, { sx: { mb: { xs:
|
|
8874
|
+
/* @__PURE__ */ jsxs11(Box11, { sx: { mb: { xs: 1.5, md: 2 } }, children: [
|
|
8884
8875
|
/* @__PURE__ */ jsx11(
|
|
8885
8876
|
Typography10,
|
|
8886
8877
|
{
|
|
@@ -8889,18 +8880,9 @@ var ProviderTab = () => {
|
|
|
8889
8880
|
children: "AI Provider Configuration"
|
|
8890
8881
|
}
|
|
8891
8882
|
),
|
|
8892
|
-
/* @__PURE__ */ jsx11(
|
|
8893
|
-
Typography10,
|
|
8894
|
-
{
|
|
8895
|
-
variant: "body1",
|
|
8896
|
-
color: "text.secondary",
|
|
8897
|
-
paragraph: true,
|
|
8898
|
-
sx: { opacity: 0.9, fontSize: { xs: "0.95rem", sm: "1rem" }, lineHeight: 1.5 },
|
|
8899
|
-
children: "Configure your AI provider for chat, generation, and model services. This determines which backend service powers your AI interactions."
|
|
8900
|
-
}
|
|
8901
|
-
),
|
|
8883
|
+
/* @__PURE__ */ jsx11(Typography10, { variant: "body2", color: "text.secondary", sx: { mb: 1.5 }, children: "Choose the backend that powers your AI." }),
|
|
8902
8884
|
/* @__PURE__ */ jsxs11(Paper5, { sx: { p: { xs: 1.5, sm: 1.75 }, mb: { xs: 1.5, md: 1.75 }, bgcolor: "background.paper", border: "1px solid", borderColor: "divider", borderRadius: 2 }, children: [
|
|
8903
|
-
/* @__PURE__ */ jsx11(Typography10, { variant: "
|
|
8885
|
+
/* @__PURE__ */ jsx11(Typography10, { variant: "overline", sx: { fontWeight: 700, color: "text.secondary", letterSpacing: 0.6, display: "block", mb: 1 }, children: "Current Provider" }),
|
|
8904
8886
|
currentProvider ? /* @__PURE__ */ jsxs11(Box11, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
|
|
8905
8887
|
/* @__PURE__ */ jsx11(
|
|
8906
8888
|
Chip8,
|
|
@@ -8923,7 +8905,7 @@ var ProviderTab = () => {
|
|
|
8923
8905
|
alignItems: { xs: "flex-start", sm: "center" },
|
|
8924
8906
|
justifyContent: "space-between",
|
|
8925
8907
|
gap: { xs: 1, sm: 2 },
|
|
8926
|
-
mb:
|
|
8908
|
+
mb: 2
|
|
8927
8909
|
},
|
|
8928
8910
|
children: [
|
|
8929
8911
|
/* @__PURE__ */ jsx11(Typography10, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Provider Configuration" }),
|
|
@@ -9212,10 +9194,7 @@ var ProviderTab = () => {
|
|
|
9212
9194
|
] })
|
|
9213
9195
|
] })
|
|
9214
9196
|
] }),
|
|
9215
|
-
/* @__PURE__ */
|
|
9216
|
-
/* @__PURE__ */ jsx11(Typography10, { variant: "h6", sx: { mb: 1, fontWeight: 600, color: "text.primary" }, children: "Gateway Provider Recommended" }),
|
|
9217
|
-
/* @__PURE__ */ jsx11(Typography10, { variant: "body2", children: "For production deployments, we recommend using the Gateway provider which routes requests through your secure backend API. This approach keeps API keys secure, enables rate limiting, and provides better monitoring capabilities." })
|
|
9218
|
-
] })
|
|
9197
|
+
/* @__PURE__ */ jsx11(Typography10, { variant: "caption", color: "text.secondary", sx: { display: "block", mt: 0.5, lineHeight: 1.5 }, children: "Gateway is recommended for production \u2014 it routes through your secure backend, keeps API keys server-side, and enables rate limiting + monitoring." })
|
|
9219
9198
|
] }),
|
|
9220
9199
|
/* @__PURE__ */ jsx11(
|
|
9221
9200
|
Snackbar5,
|
|
@@ -10678,6 +10657,12 @@ var Management = () => {
|
|
|
10678
10657
|
styleOverrides: {
|
|
10679
10658
|
root: { borderRadius: 12 }
|
|
10680
10659
|
}
|
|
10660
|
+
},
|
|
10661
|
+
MuiTextField: {
|
|
10662
|
+
defaultProps: { size: "small" }
|
|
10663
|
+
},
|
|
10664
|
+
MuiButton: {
|
|
10665
|
+
defaultProps: { size: "small" }
|
|
10681
10666
|
}
|
|
10682
10667
|
}
|
|
10683
10668
|
});
|
|
@@ -10820,82 +10805,46 @@ var Management = () => {
|
|
|
10820
10805
|
if (isMobile) setSidebarOpen(false);
|
|
10821
10806
|
},
|
|
10822
10807
|
sx: {
|
|
10823
|
-
minHeight:
|
|
10824
|
-
borderRadius:
|
|
10825
|
-
mx:
|
|
10826
|
-
my: 0.
|
|
10827
|
-
px:
|
|
10828
|
-
py:
|
|
10829
|
-
|
|
10830
|
-
bgcolor: tabIndex === idx ? (theme2) => theme2.palette.mode === "dark" ? "rgba(25,118,210,0.12)" : "rgba(25,118,210,0.08)" : "transparent",
|
|
10808
|
+
minHeight: 36,
|
|
10809
|
+
borderRadius: 1.5,
|
|
10810
|
+
mx: 0.5,
|
|
10811
|
+
my: 0.125,
|
|
10812
|
+
px: 1.25,
|
|
10813
|
+
py: 0.5,
|
|
10814
|
+
bgcolor: tabIndex === idx ? (theme2) => theme2.palette.mode === "dark" ? "rgba(25,118,210,0.14)" : "rgba(25,118,210,0.10)" : "transparent",
|
|
10831
10815
|
color: tabIndex === idx ? "primary.main" : "text.primary",
|
|
10832
|
-
|
|
10833
|
-
transition: "all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
|
|
10816
|
+
transition: "background-color 0.15s ease, color 0.15s ease",
|
|
10834
10817
|
position: "relative",
|
|
10835
|
-
overflow: "hidden",
|
|
10836
10818
|
"&:before": {
|
|
10837
10819
|
content: '""',
|
|
10838
10820
|
position: "absolute",
|
|
10839
10821
|
left: 0,
|
|
10840
|
-
top:
|
|
10841
|
-
bottom:
|
|
10842
|
-
width:
|
|
10822
|
+
top: 5,
|
|
10823
|
+
bottom: 5,
|
|
10824
|
+
width: 3,
|
|
10843
10825
|
bgcolor: tabIndex === idx ? "primary.main" : "transparent",
|
|
10844
|
-
borderRadius: "0 2px 2px 0"
|
|
10845
|
-
transition: "all 0.2s"
|
|
10826
|
+
borderRadius: "0 2px 2px 0"
|
|
10846
10827
|
},
|
|
10847
10828
|
"&:hover": {
|
|
10848
|
-
bgcolor: (theme2) => theme2.palette.mode === "dark" ? "rgba(
|
|
10849
|
-
color: "primary.main"
|
|
10850
|
-
transform: "translateX(4px)",
|
|
10851
|
-
"&:before": {
|
|
10852
|
-
bgcolor: "primary.main"
|
|
10853
|
-
}
|
|
10854
|
-
},
|
|
10855
|
-
"&:active": {
|
|
10856
|
-
transform: "translateX(2px) scale(0.98)"
|
|
10829
|
+
bgcolor: (theme2) => theme2.palette.mode === "dark" ? "rgba(255,255,255,0.06)" : "rgba(0,0,0,0.04)",
|
|
10830
|
+
color: "primary.main"
|
|
10857
10831
|
},
|
|
10858
10832
|
"& .MuiListItemIcon-root": {
|
|
10859
|
-
minWidth:
|
|
10860
|
-
mr: 1
|
|
10861
|
-
|
|
10833
|
+
minWidth: 28,
|
|
10834
|
+
mr: 1,
|
|
10835
|
+
color: tabIndex === idx ? "primary.main" : "text.secondary"
|
|
10836
|
+
},
|
|
10837
|
+
"& .MuiListItemIcon-root svg": { width: 17, height: 17 }
|
|
10862
10838
|
},
|
|
10863
10839
|
children: [
|
|
10864
|
-
/* @__PURE__ */ jsx14(
|
|
10865
|
-
ListItemIcon2,
|
|
10866
|
-
{
|
|
10867
|
-
sx: {
|
|
10868
|
-
color: tabIndex === idx ? "primary.main" : "text.secondary",
|
|
10869
|
-
fontSize: 24,
|
|
10870
|
-
transition: "all 0.2s"
|
|
10871
|
-
},
|
|
10872
|
-
children: tab.icon
|
|
10873
|
-
}
|
|
10874
|
-
),
|
|
10840
|
+
/* @__PURE__ */ jsx14(ListItemIcon2, { children: tab.icon }),
|
|
10875
10841
|
/* @__PURE__ */ jsx14(
|
|
10876
10842
|
ListItemText2,
|
|
10877
10843
|
{
|
|
10878
10844
|
primary: tab.label,
|
|
10879
10845
|
primaryTypographyProps: {
|
|
10880
|
-
fontWeight: tabIndex === idx ? 700 :
|
|
10881
|
-
fontSize: "
|
|
10882
|
-
letterSpacing: "-0.01em"
|
|
10883
|
-
}
|
|
10884
|
-
}
|
|
10885
|
-
),
|
|
10886
|
-
tabIndex === idx && /* @__PURE__ */ jsx14(
|
|
10887
|
-
Box14,
|
|
10888
|
-
{
|
|
10889
|
-
sx: {
|
|
10890
|
-
position: "absolute",
|
|
10891
|
-
right: -10,
|
|
10892
|
-
top: -10,
|
|
10893
|
-
width: 90,
|
|
10894
|
-
height: 90,
|
|
10895
|
-
bgcolor: (theme2) => theme2.palette.primary.main,
|
|
10896
|
-
filter: "blur(45px)",
|
|
10897
|
-
opacity: 0.35,
|
|
10898
|
-
pointerEvents: "none"
|
|
10846
|
+
fontWeight: tabIndex === idx ? 700 : 500,
|
|
10847
|
+
fontSize: "0.85rem"
|
|
10899
10848
|
}
|
|
10900
10849
|
}
|
|
10901
10850
|
)
|
|
@@ -11102,9 +11051,9 @@ var Management = () => {
|
|
|
11102
11051
|
Box14,
|
|
11103
11052
|
{
|
|
11104
11053
|
sx: {
|
|
11105
|
-
width:
|
|
11106
|
-
minWidth:
|
|
11107
|
-
maxWidth:
|
|
11054
|
+
width: 240,
|
|
11055
|
+
minWidth: 240,
|
|
11056
|
+
maxWidth: 240,
|
|
11108
11057
|
height: "100vh",
|
|
11109
11058
|
display: "flex",
|
|
11110
11059
|
flexDirection: "column",
|
|
@@ -11136,7 +11085,7 @@ var Management = () => {
|
|
|
11136
11085
|
display: "flex",
|
|
11137
11086
|
flexDirection: "column",
|
|
11138
11087
|
bgcolor: "background.default",
|
|
11139
|
-
ml: isMobile ? 0 : "
|
|
11088
|
+
ml: isMobile ? 0 : "240px",
|
|
11140
11089
|
// Fixed left margin only on desktop
|
|
11141
11090
|
mt: 0,
|
|
11142
11091
|
transition: "margin-left 0.2s"
|
|
@@ -11259,4 +11208,4 @@ export {
|
|
|
11259
11208
|
useGatewayMemory,
|
|
11260
11209
|
management_default
|
|
11261
11210
|
};
|
|
11262
|
-
//# sourceMappingURL=chunk-
|
|
11211
|
+
//# sourceMappingURL=chunk-JFISRBZ5.mjs.map
|