@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.js CHANGED
@@ -35262,10 +35262,10 @@ var PersonalitiesTab = ({
35262
35262
  display: "flex",
35263
35263
  alignItems: "center",
35264
35264
  justifyContent: "center",
35265
- minWidth: { xs: "42px", sm: "48px" },
35266
- height: { xs: "42px", sm: "48px" },
35265
+ minWidth: { xs: "36px", sm: "38px" },
35266
+ height: { xs: "36px", sm: "38px" },
35267
35267
  boxShadow: "0 4px 12px rgba(25,118,210,0.25)"
35268
- }, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(RocketLaunchOutlinedIcon, { sx: { fontSize: { xs: "1.3rem", sm: "1.5rem" }, color: "common.white" } }) }),
35268
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(RocketLaunchOutlinedIcon, { sx: { fontSize: { xs: "1.15rem", sm: "1.25rem" }, color: "common.white" } }) }),
35269
35269
  /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material40.Box, { sx: { textAlign: { xs: "left", md: "initial" }, flex: 1 }, children: [
35270
35270
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
35271
35271
  import_material40.Typography,
@@ -35278,7 +35278,7 @@ var PersonalitiesTab = ({
35278
35278
  WebkitBackgroundClip: "text",
35279
35279
  WebkitTextFillColor: "transparent",
35280
35280
  mb: { xs: 0.25, sm: 0.5 },
35281
- fontSize: { xs: "1.35rem", sm: "1.75rem" }
35281
+ fontSize: { xs: "1.2rem", sm: "1.35rem" }
35282
35282
  },
35283
35283
  children: "Quick Start Templates"
35284
35284
  }
@@ -35309,7 +35309,7 @@ var PersonalitiesTab = ({
35309
35309
  }
35310
35310
  )
35311
35311
  ] }),
35312
- isMobile ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
35312
+ isMobile && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
35313
35313
  import_material40.Box,
35314
35314
  {
35315
35315
  sx: {
@@ -35336,32 +35336,12 @@ var PersonalitiesTab = ({
35336
35336
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material40.Collapse, { in: showTemplateHelp, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material40.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." }) })
35337
35337
  ]
35338
35338
  }
35339
- ) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
35340
- import_material40.Alert,
35341
- {
35342
- severity: "info",
35343
- sx: {
35344
- mb: { xs: 2.5, md: 4 },
35345
- borderRadius: 2,
35346
- border: "1px solid rgba(25, 118, 210, 0.2)",
35347
- background: "linear-gradient(135deg, rgba(25, 118, 210, 0.05) 0%, rgba(66, 165, 245, 0.05) 100%)",
35348
- px: { xs: 1.5, sm: 2 },
35349
- py: { xs: 1.25, sm: 1.5 },
35350
- "& .MuiAlert-icon": {
35351
- color: "primary.main"
35352
- }
35353
- },
35354
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material40.Box, { sx: { display: "flex", flexDirection: "column", gap: 0.5 }, children: [
35355
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material40.Typography, { variant: "body2", sx: { fontWeight: 600, color: "primary.main", fontSize: { xs: "0.85rem", sm: "0.9rem" } }, children: "Choose a template to get started instantly" }),
35356
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material40.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." })
35357
- ] })
35358
- }
35359
35339
  ),
35360
35340
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
35361
35341
  import_material40.Card,
35362
35342
  {
35363
35343
  sx: {
35364
- mb: { xs: 2, md: 2.5 },
35344
+ mb: { xs: 1.5, md: 2 },
35365
35345
  background: "linear-gradient(135deg, #1976d2 0%, #42a5f5 100%)",
35366
35346
  border: "2px solid transparent",
35367
35347
  borderRadius: { xs: 2.25, sm: 3 },
@@ -35398,7 +35378,7 @@ var PersonalitiesTab = ({
35398
35378
  setPersonalityTabIndex(1);
35399
35379
  },
35400
35380
  children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material40.CardContent, { sx: {
35401
- p: { xs: 1.75, sm: 2.5 },
35381
+ p: { xs: 1.5, sm: 1.75 },
35402
35382
  color: "white",
35403
35383
  textAlign: "left",
35404
35384
  position: "relative",
@@ -35415,7 +35395,7 @@ var PersonalitiesTab = ({
35415
35395
  fontSize: 0,
35416
35396
  mb: 0,
35417
35397
  flexShrink: 0
35418
- }, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(AutoAwesomeIcon, { sx: { fontSize: { xs: 28, sm: 34 }, color: "common.white", filter: "drop-shadow(0 4px 12px rgba(0,0,0,0.25))" } }) }),
35398
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(AutoAwesomeIcon, { sx: { fontSize: { xs: 24, sm: 28 }, color: "common.white", filter: "drop-shadow(0 4px 12px rgba(0,0,0,0.25))" } }) }),
35419
35399
  /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material40.Box, { sx: { flex: 1, minWidth: 0 }, children: [
35420
35400
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
35421
35401
  import_material40.Typography,
@@ -35425,7 +35405,7 @@ var PersonalitiesTab = ({
35425
35405
  fontWeight: 700,
35426
35406
  mb: 0.25,
35427
35407
  textShadow: "0 2px 4px rgba(0,0,0,0.2)",
35428
- fontSize: { xs: "1.1rem", sm: "1.25rem" }
35408
+ fontSize: { xs: "1rem", sm: "1.1rem" }
35429
35409
  },
35430
35410
  children: "Create from Scratch"
35431
35411
  }
@@ -35489,7 +35469,7 @@ var PersonalitiesTab = ({
35489
35469
  border: "1px solid",
35490
35470
  borderColor: "rgba(255,255,255,0.1)",
35491
35471
  borderRadius: 3,
35492
- minHeight: { xs: "auto", md: "188px" },
35472
+ minHeight: { xs: "auto", md: "150px" },
35493
35473
  display: "flex",
35494
35474
  flexDirection: "column",
35495
35475
  overflow: "hidden",
@@ -35530,7 +35510,7 @@ var PersonalitiesTab = ({
35530
35510
  },
35531
35511
  onClick: () => handleTemplateSelect(template),
35532
35512
  children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material40.CardContent, { sx: {
35533
- p: { xs: 2, sm: 3 },
35513
+ p: { xs: 1.5, sm: 2 },
35534
35514
  display: "flex",
35535
35515
  flexDirection: "column",
35536
35516
  height: "100%",
@@ -35540,8 +35520,8 @@ var PersonalitiesTab = ({
35540
35520
  /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material40.Box, { sx: {
35541
35521
  display: "flex",
35542
35522
  alignItems: "center",
35543
- mb: { xs: 1.25, md: 2.5 },
35544
- minHeight: { xs: "auto", md: "60px" }
35523
+ mb: { xs: 1, md: 1.5 },
35524
+ minHeight: { xs: "auto", md: "auto" }
35545
35525
  }, children: [
35546
35526
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
35547
35527
  import_material40.Avatar,
@@ -35549,8 +35529,8 @@ var PersonalitiesTab = ({
35549
35529
  src: template.avatar,
35550
35530
  alt: template.name,
35551
35531
  sx: {
35552
- width: { xs: 40, sm: 56, md: 60 },
35553
- height: { xs: 40, sm: 56, md: 60 },
35532
+ width: { xs: 40, sm: 48, md: 52 },
35533
+ height: { xs: 40, sm: 48, md: 52 },
35554
35534
  mr: { xs: 1.2, md: 2 },
35555
35535
  transition: "transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)",
35556
35536
  boxShadow: "0 4px 12px rgba(0,0,0,0.15)",
@@ -35605,11 +35585,11 @@ var PersonalitiesTab = ({
35605
35585
  lineHeight: 1.5,
35606
35586
  fontSize: { xs: "0.82rem", sm: "0.85rem", md: "0.875rem" },
35607
35587
  display: "-webkit-box",
35608
- WebkitLineClamp: { xs: 2, sm: 4 },
35588
+ WebkitLineClamp: { xs: 2, sm: 3 },
35609
35589
  WebkitBoxOrient: "vertical",
35610
35590
  overflow: "hidden",
35611
- mb: { xs: 1.25, md: 2 },
35612
- minHeight: { xs: "auto", md: "84px" }
35591
+ mb: { xs: 1, md: 1.5 },
35592
+ minHeight: { xs: "auto", md: "auto" }
35613
35593
  },
35614
35594
  children: template.description
35615
35595
  }
@@ -35644,18 +35624,7 @@ var PersonalitiesTab = ({
35644
35624
  ] })
35645
35625
  },
35646
35626
  index
35647
- )) }),
35648
- !isMobile && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
35649
- import_material40.Alert,
35650
- {
35651
- severity: "info",
35652
- sx: { mt: { xs: 2.5, md: 4 }, borderRadius: 2, px: { xs: 1.5, sm: 2 }, py: { xs: 1.25, sm: 1.5 } },
35653
- children: [
35654
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material40.Typography, { variant: "body2", sx: { fontWeight: 600, fontSize: { xs: "0.85rem", sm: "0.9rem" } }, children: "Pro Tip:" }),
35655
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material40.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!" })
35656
- ]
35657
- }
35658
- )
35627
+ )) })
35659
35628
  ] })
35660
35629
  ] });
35661
35630
  const renderCreateEditTab = () => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_material40.Box, { sx: { p: { xs: 1.5, sm: 2 } }, children: [