@burtson-labs/bandit-engine 2.0.108 → 2.0.110

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-UVIMO6XT.mjs";
13
+ } from "./chunk-Y54VH63F.mjs";
14
14
  import "./chunk-VR2ZWFTN.mjs";
15
15
  import "./chunk-HAUDGBUS.mjs";
16
16
  import "./chunk-BN3D45E2.mjs";
@@ -36043,17 +36043,8 @@ var PreferencesTab = ({
36043
36043
  children: "Preferences"
36044
36044
  }
36045
36045
  ),
36046
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
36047
- import_material20.Typography,
36048
- {
36049
- variant: "body1",
36050
- color: "text.secondary",
36051
- paragraph: true,
36052
- sx: { opacity: 0.9, fontSize: { xs: "0.95rem", sm: "1rem" }, lineHeight: 1.5 },
36053
- 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."
36054
- }
36055
- ),
36056
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 } }, children: [
36046
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material20.Typography, { variant: "body2", color: "text.secondary", sx: { mb: 1.5 }, children: "Turn features on or off to tune performance for your device." }),
36047
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Paper, { sx: { p: { xs: 1.5, sm: 1.75 }, mb: { xs: 1.5, md: 1.75 }, border: "1px solid", borderColor: "divider", borderRadius: 2 }, children: [
36057
36048
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Box, { children: [
36058
36049
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material20.Typography, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Conversation Starters" }),
36059
36050
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material20.Typography, { variant: "body2", color: "text.secondary", children: "Personalize the suggested prompts on your home screen. Pick the topics you care about \u2014 starters lean toward them (blended with fresh ones each time) instead of generic blanket questions." })
@@ -36096,7 +36087,7 @@ var PreferencesTab = ({
36096
36087
  }
36097
36088
  ) })
36098
36089
  ] }),
36099
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 } }, children: [
36090
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Paper, { sx: { p: { xs: 1.5, sm: 1.75 }, mb: { xs: 1.5, md: 1.75 }, border: "1px solid", borderColor: "divider", borderRadius: 2 }, children: [
36100
36091
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Box, { sx: { display: "flex", flexDirection: { xs: "column", sm: "row" }, justifyContent: "space-between", gap: 2 }, children: [
36101
36092
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Box, { children: [
36102
36093
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material20.Typography, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Conversation & Project Sync" }),
@@ -36208,7 +36199,7 @@ var PreferencesTab = ({
36208
36199
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material20.Typography, { variant: "body2", color: "text.secondary", sx: { display: "flex", alignItems: "center" }, children: "Need media support? Images and large files stay local until retention rules are finalized." })
36209
36200
  ] })
36210
36201
  ] }),
36211
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 } }, children: [
36202
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Paper, { sx: { p: { xs: 1.5, sm: 1.75 }, mb: { xs: 1.5, md: 1.75 }, border: "1px solid", borderColor: "divider", borderRadius: 2 }, children: [
36212
36203
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material20.Typography, { variant: "h6", sx: { mb: 2, fontWeight: 600, color: "text.primary" }, children: "Feature Controls" }),
36213
36204
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Box, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
36214
36205
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Box, { children: [
@@ -36406,7 +36397,7 @@ var PreferencesTab = ({
36406
36397
  )
36407
36398
  ] })
36408
36399
  ] }),
36409
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 } }, children: [
36400
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Paper, { sx: { p: { xs: 1.5, sm: 1.75 }, mb: { xs: 1.5, md: 1.75 }, border: "1px solid", borderColor: "divider", borderRadius: 2 }, children: [
36410
36401
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material20.Typography, { variant: "h6", sx: { mb: 2, fontWeight: 600, color: "text.primary" }, children: "Backup & Restore" }),
36411
36402
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_material20.Typography, { variant: "body2", color: "text.secondary", paragraph: true, children: "Export your preferences to save your settings, or import previously saved preferences. You can also reset to default values." }),
36412
36403
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_material20.Box, { sx: { display: "flex", flexDirection: { xs: "column", sm: "row" }, gap: 2, alignItems: "center" }, children: [
@@ -42554,7 +42545,7 @@ var ProviderTab = () => {
42554
42545
  }
42555
42546
  };
42556
42547
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_material29.Box, { sx: { p: { xs: 1.5, sm: 2.5, md: 3 } }, children: [
42557
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_material29.Box, { sx: { mb: { xs: 2.5, md: 3 } }, children: [
42548
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_material29.Box, { sx: { mb: { xs: 1.5, md: 2 } }, children: [
42558
42549
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
42559
42550
  import_material29.Typography,
42560
42551
  {
@@ -42563,18 +42554,9 @@ var ProviderTab = () => {
42563
42554
  children: "AI Provider Configuration"
42564
42555
  }
42565
42556
  ),
42566
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
42567
- import_material29.Typography,
42568
- {
42569
- variant: "body1",
42570
- color: "text.secondary",
42571
- paragraph: true,
42572
- sx: { opacity: 0.9, fontSize: { xs: "0.95rem", sm: "1rem" }, lineHeight: 1.5 },
42573
- children: "Configure your AI provider for chat, generation, and model services. This determines which backend service powers your AI interactions."
42574
- }
42575
- ),
42576
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_material29.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 }, bgcolor: "background.paper", border: "1px solid", borderColor: "divider" }, children: [
42577
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material29.Typography, { variant: "h6", sx: { mb: 2, fontWeight: 600, color: "text.primary" }, children: "Current Provider" }),
42557
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material29.Typography, { variant: "body2", color: "text.secondary", sx: { mb: 1.5 }, children: "Choose the backend that powers your AI." }),
42558
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_material29.Paper, { 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: [
42559
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material29.Typography, { variant: "overline", sx: { fontWeight: 700, color: "text.secondary", letterSpacing: 0.6, display: "block", mb: 1 }, children: "Current Provider" }),
42578
42560
  currentProvider ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_material29.Box, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
42579
42561
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
42580
42562
  import_material29.Chip,
@@ -42587,7 +42569,7 @@ var ProviderTab = () => {
42587
42569
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material29.Typography, { variant: "body2", color: "text.secondary", children: currentProviderConfig?.baseUrl || currentProviderConfig?.gatewayUrl || "No URL configured" })
42588
42570
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material29.Chip, { label: "No Provider Configured", color: "warning" })
42589
42571
  ] }),
42590
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_material29.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 }, bgcolor: "background.paper", border: "1px solid", borderColor: "divider" }, children: [
42572
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_material29.Paper, { 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: [
42591
42573
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
42592
42574
  import_material29.Box,
42593
42575
  {
@@ -42597,7 +42579,7 @@ var ProviderTab = () => {
42597
42579
  alignItems: { xs: "flex-start", sm: "center" },
42598
42580
  justifyContent: "space-between",
42599
42581
  gap: { xs: 1, sm: 2 },
42600
- mb: 3
42582
+ mb: 2
42601
42583
  },
42602
42584
  children: [
42603
42585
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material29.Typography, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Provider Configuration" }),
@@ -42886,10 +42868,7 @@ var ProviderTab = () => {
42886
42868
  ] })
42887
42869
  ] })
42888
42870
  ] }),
42889
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_material29.Paper, { sx: { p: 3, bgcolor: "info.main", color: "info.contrastText", borderRadius: 2 }, children: [
42890
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material29.Typography, { variant: "h6", sx: { mb: 1, fontWeight: 600, color: "text.primary" }, children: "Gateway Provider Recommended" }),
42891
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material29.Typography, { 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." })
42892
- ] })
42871
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material29.Typography, { 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." })
42893
42872
  ] }),
42894
42873
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
42895
42874
  import_material29.Snackbar,
@@ -44348,8 +44327,8 @@ var Management = () => {
44348
44327
  MuiCardContent: {
44349
44328
  styleOverrides: {
44350
44329
  root: {
44351
- padding: 16,
44352
- "&:last-child": { paddingBottom: 16 }
44330
+ padding: 12,
44331
+ "&:last-child": { paddingBottom: 12 }
44353
44332
  }
44354
44333
  }
44355
44334
  },
@@ -44357,6 +44336,9 @@ var Management = () => {
44357
44336
  styleOverrides: {
44358
44337
  root: { borderRadius: 12 }
44359
44338
  }
44339
+ },
44340
+ MuiTextField: {
44341
+ defaultProps: { size: "small" }
44360
44342
  }
44361
44343
  }
44362
44344
  });