@burtson-labs/bandit-engine 2.0.104 → 2.0.105

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/index.mjs CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  useGatewayHealth,
11
11
  useGatewayMemory,
12
12
  useGatewayModels
13
- } from "./chunk-BJOPAWGI.mjs";
13
+ } from "./chunk-WZOY2OBC.mjs";
14
14
  import "./chunk-KYC7CC6C.mjs";
15
15
  import "./chunk-HAUDGBUS.mjs";
16
16
  import "./chunk-BN3D45E2.mjs";
@@ -34355,10 +34355,10 @@ var PersonalitiesTab = ({
34355
34355
  display: "flex",
34356
34356
  alignItems: "center",
34357
34357
  justifyContent: "center",
34358
- minWidth: { xs: "42px", sm: "48px" },
34359
- height: { xs: "42px", sm: "48px" },
34358
+ minWidth: { xs: "36px", sm: "38px" },
34359
+ height: { xs: "36px", sm: "38px" },
34360
34360
  boxShadow: "0 4px 12px rgba(25,118,210,0.25)"
34361
- }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(RocketLaunchOutlinedIcon, { sx: { fontSize: { xs: "1.3rem", sm: "1.5rem" }, color: "common.white" } }) }),
34361
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(RocketLaunchOutlinedIcon, { sx: { fontSize: { xs: "1.15rem", sm: "1.25rem" }, color: "common.white" } }) }),
34362
34362
  /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material19.Box, { sx: { textAlign: { xs: "left", md: "initial" }, flex: 1 }, children: [
34363
34363
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
34364
34364
  import_material19.Typography,
@@ -34371,7 +34371,7 @@ var PersonalitiesTab = ({
34371
34371
  WebkitBackgroundClip: "text",
34372
34372
  WebkitTextFillColor: "transparent",
34373
34373
  mb: { xs: 0.25, sm: 0.5 },
34374
- fontSize: { xs: "1.35rem", sm: "1.75rem" }
34374
+ fontSize: { xs: "1.2rem", sm: "1.35rem" }
34375
34375
  },
34376
34376
  children: "Quick Start Templates"
34377
34377
  }
@@ -34402,7 +34402,7 @@ var PersonalitiesTab = ({
34402
34402
  }
34403
34403
  )
34404
34404
  ] }),
34405
- isMobile ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
34405
+ isMobile && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
34406
34406
  import_material19.Box,
34407
34407
  {
34408
34408
  sx: {
@@ -34429,32 +34429,12 @@ var PersonalitiesTab = ({
34429
34429
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material19.Collapse, { in: showTemplateHelp, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material19.Typography, { 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." }) })
34430
34430
  ]
34431
34431
  }
34432
- ) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
34433
- import_material19.Alert,
34434
- {
34435
- severity: "info",
34436
- sx: {
34437
- mb: { xs: 2.5, md: 4 },
34438
- borderRadius: 2,
34439
- border: "1px solid rgba(25, 118, 210, 0.2)",
34440
- background: "linear-gradient(135deg, rgba(25, 118, 210, 0.05) 0%, rgba(66, 165, 245, 0.05) 100%)",
34441
- px: { xs: 1.5, sm: 2 },
34442
- py: { xs: 1.25, sm: 1.5 },
34443
- "& .MuiAlert-icon": {
34444
- color: "primary.main"
34445
- }
34446
- },
34447
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material19.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.5 }, children: [
34448
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material19.Typography, { variant: "body2", sx: { fontWeight: 600, color: "primary.main", fontSize: { xs: "0.85rem", sm: "0.9rem" } }, children: "Choose a template to get started instantly" }),
34449
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material19.Typography, { 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." })
34450
- ] })
34451
- }
34452
34432
  ),
34453
34433
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
34454
34434
  import_material19.Card,
34455
34435
  {
34456
34436
  sx: {
34457
- mb: { xs: 2, md: 2.5 },
34437
+ mb: { xs: 1.5, md: 2 },
34458
34438
  background: "linear-gradient(135deg, #1976d2 0%, #42a5f5 100%)",
34459
34439
  border: "2px solid transparent",
34460
34440
  borderRadius: { xs: 2.25, sm: 3 },
@@ -34491,7 +34471,7 @@ var PersonalitiesTab = ({
34491
34471
  setPersonalityTabIndex(1);
34492
34472
  },
34493
34473
  children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material19.CardContent, { sx: {
34494
- p: { xs: 1.75, sm: 2.5 },
34474
+ p: { xs: 1.5, sm: 1.75 },
34495
34475
  color: "white",
34496
34476
  textAlign: "left",
34497
34477
  position: "relative",
@@ -34508,7 +34488,7 @@ var PersonalitiesTab = ({
34508
34488
  fontSize: 0,
34509
34489
  mb: 0,
34510
34490
  flexShrink: 0
34511
- }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(AutoAwesomeIcon, { sx: { fontSize: { xs: 28, sm: 34 }, color: "common.white", filter: "drop-shadow(0 4px 12px rgba(0,0,0,0.25))" } }) }),
34491
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(AutoAwesomeIcon, { sx: { fontSize: { xs: 24, sm: 28 }, color: "common.white", filter: "drop-shadow(0 4px 12px rgba(0,0,0,0.25))" } }) }),
34512
34492
  /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material19.Box, { sx: { flex: 1, minWidth: 0 }, children: [
34513
34493
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
34514
34494
  import_material19.Typography,
@@ -34518,7 +34498,7 @@ var PersonalitiesTab = ({
34518
34498
  fontWeight: 700,
34519
34499
  mb: 0.25,
34520
34500
  textShadow: "0 2px 4px rgba(0,0,0,0.2)",
34521
- fontSize: { xs: "1.1rem", sm: "1.25rem" }
34501
+ fontSize: { xs: "1rem", sm: "1.1rem" }
34522
34502
  },
34523
34503
  children: "Create from Scratch"
34524
34504
  }
@@ -34582,7 +34562,7 @@ var PersonalitiesTab = ({
34582
34562
  border: "1px solid",
34583
34563
  borderColor: "rgba(255,255,255,0.1)",
34584
34564
  borderRadius: 3,
34585
- minHeight: { xs: "auto", md: "188px" },
34565
+ minHeight: { xs: "auto", md: "150px" },
34586
34566
  display: "flex",
34587
34567
  flexDirection: "column",
34588
34568
  overflow: "hidden",
@@ -34623,7 +34603,7 @@ var PersonalitiesTab = ({
34623
34603
  },
34624
34604
  onClick: () => handleTemplateSelect(template),
34625
34605
  children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material19.CardContent, { sx: {
34626
- p: { xs: 2, sm: 3 },
34606
+ p: { xs: 1.5, sm: 2 },
34627
34607
  display: "flex",
34628
34608
  flexDirection: "column",
34629
34609
  height: "100%",
@@ -34633,8 +34613,8 @@ var PersonalitiesTab = ({
34633
34613
  /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material19.Box, { sx: {
34634
34614
  display: "flex",
34635
34615
  alignItems: "center",
34636
- mb: { xs: 1.25, md: 2.5 },
34637
- minHeight: { xs: "auto", md: "60px" }
34616
+ mb: { xs: 1, md: 1.5 },
34617
+ minHeight: { xs: "auto", md: "auto" }
34638
34618
  }, children: [
34639
34619
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
34640
34620
  import_material19.Avatar,
@@ -34642,8 +34622,8 @@ var PersonalitiesTab = ({
34642
34622
  src: template.avatar,
34643
34623
  alt: template.name,
34644
34624
  sx: {
34645
- width: { xs: 40, sm: 56, md: 60 },
34646
- height: { xs: 40, sm: 56, md: 60 },
34625
+ width: { xs: 40, sm: 48, md: 52 },
34626
+ height: { xs: 40, sm: 48, md: 52 },
34647
34627
  mr: { xs: 1.2, md: 2 },
34648
34628
  transition: "transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)",
34649
34629
  boxShadow: "0 4px 12px rgba(0,0,0,0.15)",
@@ -34698,11 +34678,11 @@ var PersonalitiesTab = ({
34698
34678
  lineHeight: 1.5,
34699
34679
  fontSize: { xs: "0.82rem", sm: "0.85rem", md: "0.875rem" },
34700
34680
  display: "-webkit-box",
34701
- WebkitLineClamp: { xs: 2, sm: 4 },
34681
+ WebkitLineClamp: { xs: 2, sm: 3 },
34702
34682
  WebkitBoxOrient: "vertical",
34703
34683
  overflow: "hidden",
34704
- mb: { xs: 1.25, md: 2 },
34705
- minHeight: { xs: "auto", md: "84px" }
34684
+ mb: { xs: 1, md: 1.5 },
34685
+ minHeight: { xs: "auto", md: "auto" }
34706
34686
  },
34707
34687
  children: template.description
34708
34688
  }
@@ -34737,18 +34717,7 @@ var PersonalitiesTab = ({
34737
34717
  ] })
34738
34718
  },
34739
34719
  index
34740
- )) }),
34741
- !isMobile && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
34742
- import_material19.Alert,
34743
- {
34744
- severity: "info",
34745
- sx: { mt: { xs: 2.5, md: 4 }, borderRadius: 2, px: { xs: 1.5, sm: 2 }, py: { xs: 1.25, sm: 1.5 } },
34746
- children: [
34747
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material19.Typography, { variant: "body2", sx: { fontWeight: 600, fontSize: { xs: "0.85rem", sm: "0.9rem" } }, children: "Pro Tip:" }),
34748
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_material19.Typography, { 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!" })
34749
- ]
34750
- }
34751
- )
34720
+ )) })
34752
34721
  ] })
34753
34722
  ] });
34754
34723
  const renderCreateEditTab = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_material19.Box, { sx: { p: { xs: 1.5, sm: 2 } }, children: [