@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.js CHANGED
@@ -36980,17 +36980,8 @@ var PreferencesTab = ({
36980
36980
  children: "Preferences"
36981
36981
  }
36982
36982
  ),
36983
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
36984
- import_material41.Typography,
36985
- {
36986
- variant: "body1",
36987
- color: "text.secondary",
36988
- paragraph: true,
36989
- sx: { opacity: 0.9, fontSize: { xs: "0.95rem", sm: "1rem" }, lineHeight: 1.5 },
36990
- 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."
36991
- }
36992
- ),
36993
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 } }, children: [
36983
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material41.Typography, { variant: "body2", color: "text.secondary", sx: { mb: 1.5 }, children: "Turn features on or off to tune performance for your device." }),
36984
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Paper, { sx: { p: { xs: 1.5, sm: 1.75 }, mb: { xs: 1.5, md: 1.75 }, border: "1px solid", borderColor: "divider", borderRadius: 2 }, children: [
36994
36985
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Box, { children: [
36995
36986
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material41.Typography, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Conversation Starters" }),
36996
36987
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material41.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." })
@@ -37033,7 +37024,7 @@ var PreferencesTab = ({
37033
37024
  }
37034
37025
  ) })
37035
37026
  ] }),
37036
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 } }, children: [
37027
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Paper, { sx: { p: { xs: 1.5, sm: 1.75 }, mb: { xs: 1.5, md: 1.75 }, border: "1px solid", borderColor: "divider", borderRadius: 2 }, children: [
37037
37028
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Box, { sx: { display: "flex", flexDirection: { xs: "column", sm: "row" }, justifyContent: "space-between", gap: 2 }, children: [
37038
37029
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Box, { children: [
37039
37030
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material41.Typography, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Conversation & Project Sync" }),
@@ -37145,7 +37136,7 @@ var PreferencesTab = ({
37145
37136
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material41.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." })
37146
37137
  ] })
37147
37138
  ] }),
37148
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 } }, children: [
37139
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Paper, { sx: { p: { xs: 1.5, sm: 1.75 }, mb: { xs: 1.5, md: 1.75 }, border: "1px solid", borderColor: "divider", borderRadius: 2 }, children: [
37149
37140
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material41.Typography, { variant: "h6", sx: { mb: 2, fontWeight: 600, color: "text.primary" }, children: "Feature Controls" }),
37150
37141
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Box, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
37151
37142
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Box, { children: [
@@ -37343,7 +37334,7 @@ var PreferencesTab = ({
37343
37334
  )
37344
37335
  ] })
37345
37336
  ] }),
37346
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 } }, children: [
37337
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Paper, { sx: { p: { xs: 1.5, sm: 1.75 }, mb: { xs: 1.5, md: 1.75 }, border: "1px solid", borderColor: "divider", borderRadius: 2 }, children: [
37347
37338
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material41.Typography, { variant: "h6", sx: { mb: 2, fontWeight: 600, color: "text.primary" }, children: "Backup & Restore" }),
37348
37339
  /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material41.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." }),
37349
37340
  /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_material41.Box, { sx: { display: "flex", flexDirection: { xs: "column", sm: "row" }, gap: 2, alignItems: "center" }, children: [
@@ -43214,7 +43205,7 @@ var ProviderTab = () => {
43214
43205
  }
43215
43206
  };
43216
43207
  return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_material49.Box, { sx: { p: { xs: 1.5, sm: 2.5, md: 3 } }, children: [
43217
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_material49.Box, { sx: { mb: { xs: 2.5, md: 3 } }, children: [
43208
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_material49.Box, { sx: { mb: { xs: 1.5, md: 2 } }, children: [
43218
43209
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
43219
43210
  import_material49.Typography,
43220
43211
  {
@@ -43223,18 +43214,9 @@ var ProviderTab = () => {
43223
43214
  children: "AI Provider Configuration"
43224
43215
  }
43225
43216
  ),
43226
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
43227
- import_material49.Typography,
43228
- {
43229
- variant: "body1",
43230
- color: "text.secondary",
43231
- paragraph: true,
43232
- sx: { opacity: 0.9, fontSize: { xs: "0.95rem", sm: "1rem" }, lineHeight: 1.5 },
43233
- children: "Configure your AI provider for chat, generation, and model services. This determines which backend service powers your AI interactions."
43234
- }
43235
- ),
43236
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_material49.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 }, bgcolor: "background.paper", border: "1px solid", borderColor: "divider" }, children: [
43237
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.Typography, { variant: "h6", sx: { mb: 2, fontWeight: 600, color: "text.primary" }, children: "Current Provider" }),
43217
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.Typography, { variant: "body2", color: "text.secondary", sx: { mb: 1.5 }, children: "Choose the backend that powers your AI." }),
43218
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_material49.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: [
43219
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.Typography, { variant: "overline", sx: { fontWeight: 700, color: "text.secondary", letterSpacing: 0.6, display: "block", mb: 1 }, children: "Current Provider" }),
43238
43220
  currentProvider ? /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_material49.Box, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
43239
43221
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
43240
43222
  import_material49.Chip,
@@ -43247,7 +43229,7 @@ var ProviderTab = () => {
43247
43229
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.Typography, { variant: "body2", color: "text.secondary", children: currentProviderConfig?.baseUrl || currentProviderConfig?.gatewayUrl || "No URL configured" })
43248
43230
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.Chip, { label: "No Provider Configured", color: "warning" })
43249
43231
  ] }),
43250
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_material49.Paper, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 }, bgcolor: "background.paper", border: "1px solid", borderColor: "divider" }, children: [
43232
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_material49.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: [
43251
43233
  /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
43252
43234
  import_material49.Box,
43253
43235
  {
@@ -43257,7 +43239,7 @@ var ProviderTab = () => {
43257
43239
  alignItems: { xs: "flex-start", sm: "center" },
43258
43240
  justifyContent: "space-between",
43259
43241
  gap: { xs: 1, sm: 2 },
43260
- mb: 3
43242
+ mb: 2
43261
43243
  },
43262
43244
  children: [
43263
43245
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.Typography, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Provider Configuration" }),
@@ -43546,10 +43528,7 @@ var ProviderTab = () => {
43546
43528
  ] })
43547
43529
  ] })
43548
43530
  ] }),
43549
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_material49.Paper, { sx: { p: 3, bgcolor: "info.main", color: "info.contrastText", borderRadius: 2 }, children: [
43550
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.Typography, { variant: "h6", sx: { mb: 1, fontWeight: 600, color: "text.primary" }, children: "Gateway Provider Recommended" }),
43551
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.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." })
43552
- ] })
43531
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_material49.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." })
43553
43532
  ] }),
43554
43533
  /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
43555
43534
  import_material49.Snackbar,
@@ -45008,8 +44987,8 @@ var Management = () => {
45008
44987
  MuiCardContent: {
45009
44988
  styleOverrides: {
45010
44989
  root: {
45011
- padding: 16,
45012
- "&:last-child": { paddingBottom: 16 }
44990
+ padding: 12,
44991
+ "&:last-child": { paddingBottom: 12 }
45013
44992
  }
45014
44993
  }
45015
44994
  },
@@ -45017,6 +44996,9 @@ var Management = () => {
45017
44996
  styleOverrides: {
45018
44997
  root: { borderRadius: 12 }
45019
44998
  }
44999
+ },
45000
+ MuiTextField: {
45001
+ defaultProps: { size: "small" }
45020
45002
  }
45021
45003
  }
45022
45004
  });