@burtson-labs/bandit-engine 2.0.65 → 2.0.67

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.
Files changed (41) hide show
  1. package/dist/chat-5XCDDPTK.mjs +16 -0
  2. package/dist/chat-provider.js +4 -0
  3. package/dist/chat-provider.js.map +1 -1
  4. package/dist/chat-provider.mjs +5 -5
  5. package/dist/{chunk-EUBVBTB3.mjs → chunk-4D7245ZO.mjs} +55 -30
  6. package/dist/chunk-4D7245ZO.mjs.map +1 -0
  7. package/dist/{chunk-7EPFQDJW.mjs → chunk-5UD7EJ23.mjs} +24 -13
  8. package/dist/chunk-5UD7EJ23.mjs.map +1 -0
  9. package/dist/{chunk-FXFTA5PZ.mjs → chunk-6DY7W4NK.mjs} +3 -3
  10. package/dist/{chunk-VTC6AIWY.mjs → chunk-6ITUH375.mjs} +3 -3
  11. package/dist/{chunk-D55E6ZDV.mjs → chunk-HHMGNCBS.mjs} +5 -5
  12. package/dist/{chunk-6QTTNYF2.mjs → chunk-IDZEEONG.mjs} +2 -2
  13. package/dist/{chunk-HKQSZALO.mjs → chunk-JURUEF52.mjs} +4 -4
  14. package/dist/{chunk-IPMTNREZ.mjs → chunk-LWHSOEPR.mjs} +6 -2
  15. package/dist/{chunk-IPMTNREZ.mjs.map → chunk-LWHSOEPR.mjs.map} +1 -1
  16. package/dist/{chunk-O44AP4XI.mjs → chunk-RI4LBQ3Q.mjs} +53 -9
  17. package/dist/chunk-RI4LBQ3Q.mjs.map +1 -0
  18. package/dist/{chunk-O7M4OPZU.mjs → chunk-U633CJBV.mjs} +2 -2
  19. package/dist/index.js +121 -37
  20. package/dist/index.js.map +1 -1
  21. package/dist/index.mjs +10 -10
  22. package/dist/management/management.js +120 -36
  23. package/dist/management/management.js.map +1 -1
  24. package/dist/management/management.mjs +8 -8
  25. package/dist/modals/chat-modal/chat-modal.js +4 -0
  26. package/dist/modals/chat-modal/chat-modal.js.map +1 -1
  27. package/dist/modals/chat-modal/chat-modal.mjs +4 -4
  28. package/dist/{modelStore-FBPBG7TI.mjs → modelStore-KCJPXFKO.mjs} +2 -2
  29. package/package.json +1 -1
  30. package/dist/chat-57M4OXFX.mjs +0 -16
  31. package/dist/chunk-7EPFQDJW.mjs.map +0 -1
  32. package/dist/chunk-EUBVBTB3.mjs.map +0 -1
  33. package/dist/chunk-O44AP4XI.mjs.map +0 -1
  34. /package/dist/{chat-57M4OXFX.mjs.map → chat-5XCDDPTK.mjs.map} +0 -0
  35. /package/dist/{chunk-FXFTA5PZ.mjs.map → chunk-6DY7W4NK.mjs.map} +0 -0
  36. /package/dist/{chunk-VTC6AIWY.mjs.map → chunk-6ITUH375.mjs.map} +0 -0
  37. /package/dist/{chunk-D55E6ZDV.mjs.map → chunk-HHMGNCBS.mjs.map} +0 -0
  38. /package/dist/{chunk-6QTTNYF2.mjs.map → chunk-IDZEEONG.mjs.map} +0 -0
  39. /package/dist/{chunk-HKQSZALO.mjs.map → chunk-JURUEF52.mjs.map} +0 -0
  40. /package/dist/{chunk-O7M4OPZU.mjs.map → chunk-U633CJBV.mjs.map} +0 -0
  41. /package/dist/{modelStore-FBPBG7TI.mjs.map → modelStore-KCJPXFKO.mjs.map} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  StreamingMarkdown_default
3
- } from "./chunk-O7M4OPZU.mjs";
3
+ } from "./chunk-U633CJBV.mjs";
4
4
  import {
5
5
  aiProviderInitService
6
- } from "./chunk-VTC6AIWY.mjs";
6
+ } from "./chunk-6ITUH375.mjs";
7
7
  import {
8
8
  useMCPToolsStore
9
- } from "./chunk-6QTTNYF2.mjs";
9
+ } from "./chunk-IDZEEONG.mjs";
10
10
  import {
11
11
  chat_modal_default
12
- } from "./chunk-HKQSZALO.mjs";
12
+ } from "./chunk-JURUEF52.mjs";
13
13
  import {
14
14
  AddIcon,
15
15
  ArchiveIcon,
@@ -80,8 +80,9 @@ import {
80
80
  predefinedThemes,
81
81
  useNotificationService,
82
82
  useVoiceStore
83
- } from "./chunk-FXFTA5PZ.mjs";
83
+ } from "./chunk-6DY7W4NK.mjs";
84
84
  import {
85
+ TOPICS,
85
86
  authenticationService,
86
87
  brandingService_default,
87
88
  detectTransparency,
@@ -93,14 +94,14 @@ import {
93
94
  useFeatures,
94
95
  useKnowledgeStore2 as useKnowledgeStore,
95
96
  useVectorStore
96
- } from "./chunk-EUBVBTB3.mjs";
97
+ } from "./chunk-4D7245ZO.mjs";
97
98
  import {
98
99
  indexedDBService_default,
99
100
  models,
100
101
  useModelStore,
101
102
  usePackageSettingsStore,
102
103
  usePreferencesStore
103
- } from "./chunk-IPMTNREZ.mjs";
104
+ } from "./chunk-LWHSOEPR.mjs";
104
105
  import {
105
106
  AIProviderFactory,
106
107
  GatewayService,
@@ -2588,6 +2589,49 @@ var PreferencesTab = ({
2588
2589
  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."
2589
2590
  }
2590
2591
  ),
2592
+ /* @__PURE__ */ jsxs3(Paper2, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 } }, children: [
2593
+ /* @__PURE__ */ jsxs3(Box3, { children: [
2594
+ /* @__PURE__ */ jsx3(Typography3, { variant: "h6", sx: { fontWeight: 600, color: "text.primary" }, children: "Conversation Starters" }),
2595
+ /* @__PURE__ */ jsx3(Typography3, { 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." })
2596
+ ] }),
2597
+ /* @__PURE__ */ jsx3(Box3, { sx: { mt: 2, display: "flex", flexWrap: "wrap", gap: 1 }, children: TOPICS.map((topic) => {
2598
+ const selected = (preferences.interests ?? []).includes(topic);
2599
+ return /* @__PURE__ */ jsx3(
2600
+ Chip2,
2601
+ {
2602
+ label: topic,
2603
+ size: "small",
2604
+ color: selected ? "primary" : "default",
2605
+ variant: selected ? "filled" : "outlined",
2606
+ onClick: () => {
2607
+ const current = preferences.interests ?? [];
2608
+ const next = selected ? current.filter((t) => t !== topic) : [...current, topic];
2609
+ updatePreference("interests", next);
2610
+ },
2611
+ sx: { textTransform: "capitalize" }
2612
+ },
2613
+ topic
2614
+ );
2615
+ }) }),
2616
+ /* @__PURE__ */ jsx3(Box3, { sx: { mt: 2.5 }, children: /* @__PURE__ */ jsx3(
2617
+ FormControlLabel,
2618
+ {
2619
+ control: /* @__PURE__ */ jsx3(
2620
+ Switch,
2621
+ {
2622
+ checked: !!preferences.useKnowledgeForStarters,
2623
+ onChange: (e) => updatePreference("useKnowledgeForStarters", e.target.checked),
2624
+ color: "primary"
2625
+ }
2626
+ ),
2627
+ label: /* @__PURE__ */ jsxs3(Box3, { textAlign: "left", children: [
2628
+ /* @__PURE__ */ jsx3(Typography3, { variant: "body1", sx: { fontWeight: 600, color: "text.primary" }, children: "Use my knowledge documents" }),
2629
+ /* @__PURE__ */ jsx3(Typography3, { variant: "body2", color: "text.secondary", children: "Let some starters reference the documents in your library." })
2630
+ ] }),
2631
+ sx: { alignSelf: "flex-start", ml: 0 }
2632
+ }
2633
+ ) })
2634
+ ] }),
2591
2635
  /* @__PURE__ */ jsxs3(Paper2, { sx: { p: { xs: 1.75, sm: 2.5 }, mb: { xs: 2, md: 3 } }, children: [
2592
2636
  /* @__PURE__ */ jsxs3(Box3, { sx: { display: "flex", flexDirection: { xs: "column", sm: "row" }, justifyContent: "space-between", gap: 2 }, children: [
2593
2637
  /* @__PURE__ */ jsxs3(Box3, { children: [
@@ -9459,7 +9503,7 @@ var MCPToolsTabV2_default = MCPToolsTabV2;
9459
9503
 
9460
9504
  // src/management/management.tsx
9461
9505
  import { jsx as jsx13, jsxs as jsxs13 } from "react/jsx-runtime";
9462
- var preloadChatPage = () => import("./chat-57M4OXFX.mjs");
9506
+ var preloadChatPage = () => import("./chat-5XCDDPTK.mjs");
9463
9507
  var buildCapabilitiesUrl = (gatewayApiUrl) => {
9464
9508
  const trimmed = gatewayApiUrl.replace(/\/$/, "");
9465
9509
  if (trimmed.endsWith("/api")) {
@@ -10804,4 +10848,4 @@ export {
10804
10848
  useGatewayMemory,
10805
10849
  management_default
10806
10850
  };
10807
- //# sourceMappingURL=chunk-O44AP4XI.mjs.map
10851
+ //# sourceMappingURL=chunk-RI4LBQ3Q.mjs.map