@burtson-labs/bandit-engine 2.0.65 → 2.0.66
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/chat-IWRBVOVP.mjs +16 -0
- package/dist/chat-provider.js +4 -0
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +5 -5
- package/dist/{chunk-EUBVBTB3.mjs → chunk-4D7245ZO.mjs} +55 -30
- package/dist/chunk-4D7245ZO.mjs.map +1 -0
- package/dist/{chunk-FXFTA5PZ.mjs → chunk-6DY7W4NK.mjs} +3 -3
- package/dist/{chunk-VTC6AIWY.mjs → chunk-6ITUH375.mjs} +3 -3
- package/dist/{chunk-O44AP4XI.mjs → chunk-EM2DB6NP.mjs} +53 -9
- package/dist/chunk-EM2DB6NP.mjs.map +1 -0
- package/dist/{chunk-D55E6ZDV.mjs → chunk-HHMGNCBS.mjs} +5 -5
- package/dist/{chunk-6QTTNYF2.mjs → chunk-IDZEEONG.mjs} +2 -2
- package/dist/{chunk-HKQSZALO.mjs → chunk-JURUEF52.mjs} +4 -4
- package/dist/{chunk-IPMTNREZ.mjs → chunk-LWHSOEPR.mjs} +6 -2
- package/dist/{chunk-IPMTNREZ.mjs.map → chunk-LWHSOEPR.mjs.map} +1 -1
- package/dist/{chunk-O7M4OPZU.mjs → chunk-U633CJBV.mjs} +2 -2
- package/dist/{chunk-7EPFQDJW.mjs → chunk-ZYQJVZK2.mjs} +18 -11
- package/dist/{chunk-7EPFQDJW.mjs.map → chunk-ZYQJVZK2.mjs.map} +1 -1
- package/dist/index.js +115 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/management/management.js +114 -34
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +8 -8
- package/dist/modals/chat-modal/chat-modal.js +4 -0
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +4 -4
- package/dist/{modelStore-FBPBG7TI.mjs → modelStore-KCJPXFKO.mjs} +2 -2
- package/package.json +1 -1
- package/dist/chat-57M4OXFX.mjs +0 -16
- package/dist/chunk-EUBVBTB3.mjs.map +0 -1
- package/dist/chunk-O44AP4XI.mjs.map +0 -1
- /package/dist/{chat-57M4OXFX.mjs.map → chat-IWRBVOVP.mjs.map} +0 -0
- /package/dist/{chunk-FXFTA5PZ.mjs.map → chunk-6DY7W4NK.mjs.map} +0 -0
- /package/dist/{chunk-VTC6AIWY.mjs.map → chunk-6ITUH375.mjs.map} +0 -0
- /package/dist/{chunk-D55E6ZDV.mjs.map → chunk-HHMGNCBS.mjs.map} +0 -0
- /package/dist/{chunk-6QTTNYF2.mjs.map → chunk-IDZEEONG.mjs.map} +0 -0
- /package/dist/{chunk-HKQSZALO.mjs.map → chunk-JURUEF52.mjs.map} +0 -0
- /package/dist/{chunk-O7M4OPZU.mjs.map → chunk-U633CJBV.mjs.map} +0 -0
- /package/dist/{modelStore-FBPBG7TI.mjs.map → modelStore-KCJPXFKO.mjs.map} +0 -0
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
useMemoryStore,
|
|
8
8
|
useNotification,
|
|
9
9
|
useVectorStore
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4D7245ZO.mjs";
|
|
11
11
|
import {
|
|
12
12
|
useModelStore,
|
|
13
13
|
usePackageSettingsStore,
|
|
14
14
|
usePreferencesStore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LWHSOEPR.mjs";
|
|
16
16
|
import {
|
|
17
17
|
GatewayService
|
|
18
18
|
} from "./chunk-H3BYFEIE.mjs";
|
|
@@ -9006,4 +9006,4 @@ export {
|
|
|
9006
9006
|
FeedbackButton,
|
|
9007
9007
|
useNotificationService
|
|
9008
9008
|
};
|
|
9009
|
-
//# sourceMappingURL=chunk-
|
|
9009
|
+
//# sourceMappingURL=chunk-6DY7W4NK.mjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
authenticationService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4D7245ZO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
indexedDBService_default,
|
|
6
6
|
usePackageSettingsStore
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LWHSOEPR.mjs";
|
|
8
8
|
import {
|
|
9
9
|
useAIProviderStore
|
|
10
10
|
} from "./chunk-H3BYFEIE.mjs";
|
|
@@ -287,4 +287,4 @@ var aiProviderInitService = AIProviderInitService.getInstance();
|
|
|
287
287
|
export {
|
|
288
288
|
aiProviderInitService
|
|
289
289
|
};
|
|
290
|
-
//# sourceMappingURL=chunk-
|
|
290
|
+
//# sourceMappingURL=chunk-6ITUH375.mjs.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StreamingMarkdown_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U633CJBV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
aiProviderInitService
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6ITUH375.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useMCPToolsStore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IDZEEONG.mjs";
|
|
10
10
|
import {
|
|
11
11
|
chat_modal_default
|
|
12
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
9506
|
+
var preloadChatPage = () => import("./chat-IWRBVOVP.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-
|
|
10851
|
+
//# sourceMappingURL=chunk-EM2DB6NP.mjs.map
|