@burtson-labs/bandit-engine 2.0.104 → 2.0.106
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-TIX4XHMD.mjs → chat-HQHHNWBS.mjs} +2 -2
- package/dist/{chunk-BJOPAWGI.mjs → chunk-2LL5XMLK.mjs} +21 -52
- package/dist/chunk-2LL5XMLK.mjs.map +1 -0
- package/dist/{chunk-EGIUL7QB.mjs → chunk-4A2M7T6B.mjs} +2 -2
- package/dist/chunk-4A2M7T6B.mjs.map +1 -0
- package/dist/index.js +20 -51
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/management/management.js +20 -51
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-BJOPAWGI.mjs.map +0 -1
- package/dist/chunk-EGIUL7QB.mjs.map +0 -1
- /package/dist/{chat-TIX4XHMD.mjs.map → chat-HQHHNWBS.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chat_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4A2M7T6B.mjs";
|
|
4
4
|
import "./chunk-ONQMRE2G.mjs";
|
|
5
5
|
import "./chunk-KYC7CC6C.mjs";
|
|
6
6
|
import "./chunk-BN3D45E2.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-HQHHNWBS.mjs.map
|
|
@@ -830,10 +830,10 @@ var PersonalitiesTab = ({
|
|
|
830
830
|
display: "flex",
|
|
831
831
|
alignItems: "center",
|
|
832
832
|
justifyContent: "center",
|
|
833
|
-
minWidth: { xs: "
|
|
834
|
-
height: { xs: "
|
|
833
|
+
minWidth: { xs: "36px", sm: "38px" },
|
|
834
|
+
height: { xs: "36px", sm: "38px" },
|
|
835
835
|
boxShadow: "0 4px 12px rgba(25,118,210,0.25)"
|
|
836
|
-
}, children: /* @__PURE__ */ jsx2(RocketLaunchOutlinedIcon, { sx: { fontSize: { xs: "1.
|
|
836
|
+
}, children: /* @__PURE__ */ jsx2(RocketLaunchOutlinedIcon, { sx: { fontSize: { xs: "1.15rem", sm: "1.25rem" }, color: "common.white" } }) }),
|
|
837
837
|
/* @__PURE__ */ jsxs2(Box2, { sx: { textAlign: { xs: "left", md: "initial" }, flex: 1 }, children: [
|
|
838
838
|
/* @__PURE__ */ jsx2(
|
|
839
839
|
Typography2,
|
|
@@ -846,7 +846,7 @@ var PersonalitiesTab = ({
|
|
|
846
846
|
WebkitBackgroundClip: "text",
|
|
847
847
|
WebkitTextFillColor: "transparent",
|
|
848
848
|
mb: { xs: 0.25, sm: 0.5 },
|
|
849
|
-
fontSize: { xs: "1.
|
|
849
|
+
fontSize: { xs: "1.2rem", sm: "1.35rem" }
|
|
850
850
|
},
|
|
851
851
|
children: "Quick Start Templates"
|
|
852
852
|
}
|
|
@@ -877,7 +877,7 @@ var PersonalitiesTab = ({
|
|
|
877
877
|
}
|
|
878
878
|
)
|
|
879
879
|
] }),
|
|
880
|
-
isMobile
|
|
880
|
+
isMobile && /* @__PURE__ */ jsxs2(
|
|
881
881
|
Box2,
|
|
882
882
|
{
|
|
883
883
|
sx: {
|
|
@@ -904,32 +904,12 @@ var PersonalitiesTab = ({
|
|
|
904
904
|
/* @__PURE__ */ jsx2(Collapse, { in: showTemplateHelp, children: /* @__PURE__ */ jsx2(Typography2, { variant: "body2", sx: { color: "text.secondary", fontSize: "0.8rem", lineHeight: 1.4, mt: 0.75 }, children: "Choose a setup you like, then tweak name, tone, and prompt details in the Create/Edit tab." }) })
|
|
905
905
|
]
|
|
906
906
|
}
|
|
907
|
-
) : /* @__PURE__ */ jsx2(
|
|
908
|
-
Alert2,
|
|
909
|
-
{
|
|
910
|
-
severity: "info",
|
|
911
|
-
sx: {
|
|
912
|
-
mb: { xs: 2.5, md: 4 },
|
|
913
|
-
borderRadius: 2,
|
|
914
|
-
border: "1px solid rgba(25, 118, 210, 0.2)",
|
|
915
|
-
background: "linear-gradient(135deg, rgba(25, 118, 210, 0.05) 0%, rgba(66, 165, 245, 0.05) 100%)",
|
|
916
|
-
px: { xs: 1.5, sm: 2 },
|
|
917
|
-
py: { xs: 1.25, sm: 1.5 },
|
|
918
|
-
"& .MuiAlert-icon": {
|
|
919
|
-
color: "primary.main"
|
|
920
|
-
}
|
|
921
|
-
},
|
|
922
|
-
children: /* @__PURE__ */ jsxs2(Box2, { sx: { display: "flex", flexDirection: "column", gap: 0.5 }, children: [
|
|
923
|
-
/* @__PURE__ */ jsx2(Typography2, { variant: "body2", sx: { fontWeight: 600, color: "primary.main", fontSize: { xs: "0.85rem", sm: "0.9rem" } }, children: "Choose a template to get started instantly" }),
|
|
924
|
-
/* @__PURE__ */ jsx2(Typography2, { variant: "body2", sx: { color: "text.secondary", fontSize: { xs: "0.85rem", sm: "0.9rem" }, lineHeight: 1.5 }, children: "Click any template to automatically fill the creation form with a proven personality setup. You can then customize it further to match your specific needs." })
|
|
925
|
-
] })
|
|
926
|
-
}
|
|
927
907
|
),
|
|
928
908
|
/* @__PURE__ */ jsx2(
|
|
929
909
|
Card,
|
|
930
910
|
{
|
|
931
911
|
sx: {
|
|
932
|
-
mb: { xs:
|
|
912
|
+
mb: { xs: 1.5, md: 2 },
|
|
933
913
|
background: "linear-gradient(135deg, #1976d2 0%, #42a5f5 100%)",
|
|
934
914
|
border: "2px solid transparent",
|
|
935
915
|
borderRadius: { xs: 2.25, sm: 3 },
|
|
@@ -966,7 +946,7 @@ var PersonalitiesTab = ({
|
|
|
966
946
|
setPersonalityTabIndex(1);
|
|
967
947
|
},
|
|
968
948
|
children: /* @__PURE__ */ jsxs2(CardContent, { sx: {
|
|
969
|
-
p: { xs: 1.
|
|
949
|
+
p: { xs: 1.5, sm: 1.75 },
|
|
970
950
|
color: "white",
|
|
971
951
|
textAlign: "left",
|
|
972
952
|
position: "relative",
|
|
@@ -983,7 +963,7 @@ var PersonalitiesTab = ({
|
|
|
983
963
|
fontSize: 0,
|
|
984
964
|
mb: 0,
|
|
985
965
|
flexShrink: 0
|
|
986
|
-
}, children: /* @__PURE__ */ jsx2(AutoAwesomeIcon, { sx: { fontSize: { xs:
|
|
966
|
+
}, children: /* @__PURE__ */ jsx2(AutoAwesomeIcon, { sx: { fontSize: { xs: 24, sm: 28 }, color: "common.white", filter: "drop-shadow(0 4px 12px rgba(0,0,0,0.25))" } }) }),
|
|
987
967
|
/* @__PURE__ */ jsxs2(Box2, { sx: { flex: 1, minWidth: 0 }, children: [
|
|
988
968
|
/* @__PURE__ */ jsx2(
|
|
989
969
|
Typography2,
|
|
@@ -993,7 +973,7 @@ var PersonalitiesTab = ({
|
|
|
993
973
|
fontWeight: 700,
|
|
994
974
|
mb: 0.25,
|
|
995
975
|
textShadow: "0 2px 4px rgba(0,0,0,0.2)",
|
|
996
|
-
fontSize: { xs: "
|
|
976
|
+
fontSize: { xs: "1rem", sm: "1.1rem" }
|
|
997
977
|
},
|
|
998
978
|
children: "Create from Scratch"
|
|
999
979
|
}
|
|
@@ -1057,7 +1037,7 @@ var PersonalitiesTab = ({
|
|
|
1057
1037
|
border: "1px solid",
|
|
1058
1038
|
borderColor: "rgba(255,255,255,0.1)",
|
|
1059
1039
|
borderRadius: 3,
|
|
1060
|
-
minHeight: { xs: "auto", md: "
|
|
1040
|
+
minHeight: { xs: "auto", md: "150px" },
|
|
1061
1041
|
display: "flex",
|
|
1062
1042
|
flexDirection: "column",
|
|
1063
1043
|
overflow: "hidden",
|
|
@@ -1098,7 +1078,7 @@ var PersonalitiesTab = ({
|
|
|
1098
1078
|
},
|
|
1099
1079
|
onClick: () => handleTemplateSelect(template),
|
|
1100
1080
|
children: /* @__PURE__ */ jsxs2(CardContent, { sx: {
|
|
1101
|
-
p: { xs:
|
|
1081
|
+
p: { xs: 1.5, sm: 2 },
|
|
1102
1082
|
display: "flex",
|
|
1103
1083
|
flexDirection: "column",
|
|
1104
1084
|
height: "100%",
|
|
@@ -1108,8 +1088,8 @@ var PersonalitiesTab = ({
|
|
|
1108
1088
|
/* @__PURE__ */ jsxs2(Box2, { sx: {
|
|
1109
1089
|
display: "flex",
|
|
1110
1090
|
alignItems: "center",
|
|
1111
|
-
mb: { xs: 1
|
|
1112
|
-
minHeight: { xs: "auto", md: "
|
|
1091
|
+
mb: { xs: 1, md: 1.5 },
|
|
1092
|
+
minHeight: { xs: "auto", md: "auto" }
|
|
1113
1093
|
}, children: [
|
|
1114
1094
|
/* @__PURE__ */ jsx2(
|
|
1115
1095
|
Avatar,
|
|
@@ -1117,8 +1097,8 @@ var PersonalitiesTab = ({
|
|
|
1117
1097
|
src: template.avatar,
|
|
1118
1098
|
alt: template.name,
|
|
1119
1099
|
sx: {
|
|
1120
|
-
width: { xs: 40, sm:
|
|
1121
|
-
height: { xs: 40, sm:
|
|
1100
|
+
width: { xs: 40, sm: 48, md: 52 },
|
|
1101
|
+
height: { xs: 40, sm: 48, md: 52 },
|
|
1122
1102
|
mr: { xs: 1.2, md: 2 },
|
|
1123
1103
|
transition: "transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)",
|
|
1124
1104
|
boxShadow: "0 4px 12px rgba(0,0,0,0.15)",
|
|
@@ -1173,11 +1153,11 @@ var PersonalitiesTab = ({
|
|
|
1173
1153
|
lineHeight: 1.5,
|
|
1174
1154
|
fontSize: { xs: "0.82rem", sm: "0.85rem", md: "0.875rem" },
|
|
1175
1155
|
display: "-webkit-box",
|
|
1176
|
-
WebkitLineClamp: { xs: 2, sm:
|
|
1156
|
+
WebkitLineClamp: { xs: 2, sm: 3 },
|
|
1177
1157
|
WebkitBoxOrient: "vertical",
|
|
1178
1158
|
overflow: "hidden",
|
|
1179
|
-
mb: { xs: 1
|
|
1180
|
-
minHeight: { xs: "auto", md: "
|
|
1159
|
+
mb: { xs: 1, md: 1.5 },
|
|
1160
|
+
minHeight: { xs: "auto", md: "auto" }
|
|
1181
1161
|
},
|
|
1182
1162
|
children: template.description
|
|
1183
1163
|
}
|
|
@@ -1212,18 +1192,7 @@ var PersonalitiesTab = ({
|
|
|
1212
1192
|
] })
|
|
1213
1193
|
},
|
|
1214
1194
|
index
|
|
1215
|
-
)) })
|
|
1216
|
-
!isMobile && /* @__PURE__ */ jsxs2(
|
|
1217
|
-
Alert2,
|
|
1218
|
-
{
|
|
1219
|
-
severity: "info",
|
|
1220
|
-
sx: { mt: { xs: 2.5, md: 4 }, borderRadius: 2, px: { xs: 1.5, sm: 2 }, py: { xs: 1.25, sm: 1.5 } },
|
|
1221
|
-
children: [
|
|
1222
|
-
/* @__PURE__ */ jsx2(Typography2, { variant: "body2", sx: { fontWeight: 600, fontSize: { xs: "0.85rem", sm: "0.9rem" } }, children: "Pro Tip:" }),
|
|
1223
|
-
/* @__PURE__ */ jsx2(Typography2, { variant: "body2", sx: { fontSize: { xs: "0.85rem", sm: "0.9rem" }, lineHeight: 1.5 }, children: "Click any template to automatically switch to the Create/Edit tab with the form pre-filled. Mix and match ideas to create your perfect AI personality!" })
|
|
1224
|
-
]
|
|
1225
|
-
}
|
|
1226
|
-
)
|
|
1195
|
+
)) })
|
|
1227
1196
|
] })
|
|
1228
1197
|
] });
|
|
1229
1198
|
const renderCreateEditTab = () => /* @__PURE__ */ jsxs2(Box2, { sx: { p: { xs: 1.5, sm: 2 } }, children: [
|
|
@@ -9738,7 +9707,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
|
|
|
9738
9707
|
|
|
9739
9708
|
// src/management/management.tsx
|
|
9740
9709
|
import { jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9741
|
-
var preloadChatPage = () => import("./chat-
|
|
9710
|
+
var preloadChatPage = () => import("./chat-HQHHNWBS.mjs");
|
|
9742
9711
|
var buildCapabilitiesUrl = (gatewayApiUrl) => {
|
|
9743
9712
|
const trimmed = gatewayApiUrl.replace(/\/$/, "");
|
|
9744
9713
|
if (trimmed.endsWith("/api")) {
|
|
@@ -11104,4 +11073,4 @@ export {
|
|
|
11104
11073
|
useGatewayMemory,
|
|
11105
11074
|
management_default
|
|
11106
11075
|
};
|
|
11107
|
-
//# sourceMappingURL=chunk-
|
|
11076
|
+
//# sourceMappingURL=chunk-2LL5XMLK.mjs.map
|