@burtson-labs/bandit-engine 2.0.165 → 2.0.167
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/README.md +4 -1
- package/dist/aiProviderStore-HY5G4QAK.mjs +8 -0
- package/dist/chat-6N5B7A7F.mjs +15 -0
- package/dist/chat-provider.js +175 -109
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +6 -7
- package/dist/{chunk-FEIDGXVR.mjs → chunk-46OGYEME.mjs} +24 -6
- package/dist/{chunk-FEIDGXVR.mjs.map → chunk-46OGYEME.mjs.map} +1 -1
- package/dist/{chunk-ASWUEAWM.mjs → chunk-5BZWJQ5O.mjs} +2 -2
- package/dist/{chunk-LKGBO5OP.mjs → chunk-CABOLDNR.mjs} +12 -84
- package/dist/chunk-CABOLDNR.mjs.map +1 -0
- package/dist/{chunk-NGGTQVGX.mjs → chunk-E5WMDLE3.mjs} +3 -3
- package/dist/{chunk-J6LSSK3G.mjs → chunk-GRPTCHFN.mjs} +149 -41
- package/dist/chunk-GRPTCHFN.mjs.map +1 -0
- package/dist/{chunk-RLW4RBIR.mjs → chunk-KDIL5WUL.mjs} +4 -4
- package/dist/{chunk-6VDL4SLX.mjs → chunk-N4BQ6HKL.mjs} +5 -5
- package/dist/{chunk-RNCASZ2Y.mjs → chunk-PK3LFBGC.mjs} +10 -10
- package/dist/{chunk-WSUUW7T2.mjs → chunk-SHYNXDRO.mjs} +10 -7
- package/dist/chunk-SHYNXDRO.mjs.map +1 -0
- package/dist/{chunk-2EM4ATKI.mjs → chunk-SZJB5FLZ.mjs} +2 -2
- package/dist/{chunk-2EM4ATKI.mjs.map → chunk-SZJB5FLZ.mjs.map} +1 -1
- package/dist/{chunk-QHGGV4KJ.mjs → chunk-US4TG745.mjs} +6 -6
- package/dist/index.d.mts +94 -3
- package/dist/index.d.ts +94 -3
- package/dist/index.js +191 -130
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -20
- package/dist/index.mjs.map +1 -1
- package/dist/management/management.js +162 -120
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +9 -10
- package/dist/{memoryUtils-2FVXDSS6.mjs → memoryUtils-HGCYEUCD.mjs} +1 -3
- package/dist/{memoryUtils-2FVXDSS6.mjs.map → memoryUtils-HGCYEUCD.mjs.map} +1 -1
- package/dist/modals/chat-modal/chat-modal.js +149 -30
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +5 -6
- package/dist/modelStore-TFNX4GEC.mjs +8 -0
- package/dist/{public-0EYmtpGD.d.mts → public-DJa4Db00.d.mts} +9 -0
- package/dist/{public-0EYmtpGD.d.ts → public-DJa4Db00.d.ts} +9 -0
- package/dist/public-types.d.mts +1 -1
- package/dist/public-types.d.ts +1 -1
- package/dist/shared/custom-element.mjs +0 -1
- package/docs/03_provider_integration.md +5 -2
- package/package.json +1 -1
- package/dist/aiProviderStore-M4BVEKUB.mjs +0 -9
- package/dist/chat-EMKHB23B.mjs +0 -16
- package/dist/chunk-BJTO5JO5.mjs +0 -11
- package/dist/chunk-J6LSSK3G.mjs.map +0 -1
- package/dist/chunk-LKGBO5OP.mjs.map +0 -1
- package/dist/chunk-WSUUW7T2.mjs.map +0 -1
- package/dist/modelStore-7YYELPF6.mjs +0 -9
- package/dist/modelStore-7YYELPF6.mjs.map +0 -1
- /package/dist/{aiProviderStore-M4BVEKUB.mjs.map → aiProviderStore-HY5G4QAK.mjs.map} +0 -0
- /package/dist/{chat-EMKHB23B.mjs.map → chat-6N5B7A7F.mjs.map} +0 -0
- /package/dist/{chunk-ASWUEAWM.mjs.map → chunk-5BZWJQ5O.mjs.map} +0 -0
- /package/dist/{chunk-NGGTQVGX.mjs.map → chunk-E5WMDLE3.mjs.map} +0 -0
- /package/dist/{chunk-RLW4RBIR.mjs.map → chunk-KDIL5WUL.mjs.map} +0 -0
- /package/dist/{chunk-6VDL4SLX.mjs.map → chunk-N4BQ6HKL.mjs.map} +0 -0
- /package/dist/{chunk-RNCASZ2Y.mjs.map → chunk-PK3LFBGC.mjs.map} +0 -0
- /package/dist/{chunk-QHGGV4KJ.mjs.map → chunk-US4TG745.mjs.map} +0 -0
- /package/dist/{chunk-BJTO5JO5.mjs.map → modelStore-TFNX4GEC.mjs.map} +0 -0
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
StreamingMarkdown_default,
|
|
3
3
|
isNativeShell,
|
|
4
4
|
isStandalonePwa
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5BZWJQ5O.mjs";
|
|
6
6
|
import {
|
|
7
7
|
aiProviderInitService
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CABOLDNR.mjs";
|
|
9
9
|
import {
|
|
10
10
|
addMcpServer,
|
|
11
11
|
deleteMcpServer,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
listMcpServers,
|
|
14
14
|
updateMcpServer,
|
|
15
15
|
useMCPToolsStore
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E5WMDLE3.mjs";
|
|
17
17
|
import {
|
|
18
18
|
chat_modal_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-N4BQ6HKL.mjs";
|
|
20
20
|
import {
|
|
21
21
|
AlertCircle,
|
|
22
22
|
AlertTriangle,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
themeSkinIds,
|
|
92
92
|
useNotificationService,
|
|
93
93
|
useVoiceStore
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-KDIL5WUL.mjs";
|
|
95
95
|
import {
|
|
96
96
|
TOPICS,
|
|
97
97
|
brandingService_default,
|
|
@@ -102,21 +102,21 @@ import {
|
|
|
102
102
|
useFeatures,
|
|
103
103
|
useKnowledgeStore2 as useKnowledgeStore,
|
|
104
104
|
useVectorStore
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-46OGYEME.mjs";
|
|
106
106
|
import {
|
|
107
107
|
indexedDBService_default,
|
|
108
108
|
models,
|
|
109
109
|
useModelStore,
|
|
110
110
|
usePackageSettingsStore,
|
|
111
111
|
usePreferencesStore
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-SZJB5FLZ.mjs";
|
|
113
113
|
import {
|
|
114
114
|
AIProviderFactory,
|
|
115
115
|
GatewayService,
|
|
116
116
|
authenticationService,
|
|
117
117
|
useAIProviderStore,
|
|
118
118
|
useAuthenticationStore
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-GRPTCHFN.mjs";
|
|
120
120
|
import {
|
|
121
121
|
debugLogger
|
|
122
122
|
} from "./chunk-HNXPDIWC.mjs";
|
|
@@ -9516,7 +9516,7 @@ function useManagementAccess() {
|
|
|
9516
9516
|
|
|
9517
9517
|
// src/management/management.tsx
|
|
9518
9518
|
import { jsx as jsx17, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
9519
|
-
var preloadChatPage = () => import("./chat-
|
|
9519
|
+
var preloadChatPage = () => import("./chat-6N5B7A7F.mjs");
|
|
9520
9520
|
var buildCapabilitiesUrl = (gatewayApiUrl) => {
|
|
9521
9521
|
const trimmed = gatewayApiUrl.replace(/\/$/, "");
|
|
9522
9522
|
if (trimmed.endsWith("/api")) {
|
|
@@ -10572,4 +10572,4 @@ export {
|
|
|
10572
10572
|
useManagementAccess,
|
|
10573
10573
|
management_default
|
|
10574
10574
|
};
|
|
10575
|
-
//# sourceMappingURL=chunk-
|
|
10575
|
+
//# sourceMappingURL=chunk-PK3LFBGC.mjs.map
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
StreamingMarkdown_default,
|
|
6
6
|
isNativeShell,
|
|
7
7
|
isStandalonePwa
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5BZWJQ5O.mjs";
|
|
9
9
|
import {
|
|
10
10
|
useMCPToolsStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-E5WMDLE3.mjs";
|
|
12
12
|
import {
|
|
13
13
|
ArrowDown,
|
|
14
14
|
ArrowUp,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
useNotificationService,
|
|
48
48
|
useTTS,
|
|
49
49
|
useVoiceStore
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KDIL5WUL.mjs";
|
|
51
51
|
import {
|
|
52
52
|
brandingService_default,
|
|
53
53
|
detectMessageMood,
|
|
@@ -68,19 +68,19 @@ import {
|
|
|
68
68
|
useMemoryStore,
|
|
69
69
|
useProjectStore,
|
|
70
70
|
useVectorStore
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-46OGYEME.mjs";
|
|
72
72
|
import {
|
|
73
73
|
indexedDBService_default,
|
|
74
74
|
useModelStore,
|
|
75
75
|
usePackageSettingsStore,
|
|
76
76
|
usePreferencesStore
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-SZJB5FLZ.mjs";
|
|
78
78
|
import {
|
|
79
79
|
authenticationService,
|
|
80
80
|
readPersistedToken,
|
|
81
81
|
useAIProviderStore,
|
|
82
82
|
useAuthenticationStore
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-GRPTCHFN.mjs";
|
|
84
84
|
import {
|
|
85
85
|
debugLogger
|
|
86
86
|
} from "./chunk-HNXPDIWC.mjs";
|
|
@@ -9328,6 +9328,7 @@ var ChatAppBar = ({
|
|
|
9328
9328
|
const { conversations, currentId, createNewConversation, toggleIncognito, _hasHydrated } = useConversationStore();
|
|
9329
9329
|
const { preferences } = usePreferencesStore();
|
|
9330
9330
|
const { settings: packageSettings } = usePackageSettingsStore();
|
|
9331
|
+
const HostNav = packageSettings?.components?.ProductNav;
|
|
9331
9332
|
const isPlaygroundRoute = typeof window !== "undefined" && window.location.pathname.includes("/playground");
|
|
9332
9333
|
const isPlaygroundMode2 = Boolean(packageSettings?.playgroundMode) || (packageSettings?.gatewayApiUrl ?? "").toLowerCase().startsWith("playground://") || typeof window !== "undefined" && window.location.pathname.startsWith("/playground");
|
|
9333
9334
|
const { syncEnabled, setSyncEnabled } = useConversationSyncStore((state) => ({
|
|
@@ -9466,6 +9467,7 @@ var ChatAppBar = ({
|
|
|
9466
9467
|
]
|
|
9467
9468
|
}
|
|
9468
9469
|
),
|
|
9470
|
+
HostNav && /* @__PURE__ */ jsx19(Box17, { sx: { minWidth: 0, mx: 1, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ jsx19(HostNav, { compact: true }) }),
|
|
9469
9471
|
/* @__PURE__ */ jsxs16(Box17, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
9470
9472
|
canShowNewConversationButton && !isIncognitoActive && /* @__PURE__ */ jsx19(
|
|
9471
9473
|
IconButton11,
|
|
@@ -9584,6 +9586,7 @@ var ChatAppBar = ({
|
|
|
9584
9586
|
]
|
|
9585
9587
|
}
|
|
9586
9588
|
),
|
|
9589
|
+
!isMobile && HostNav && /* @__PURE__ */ jsx19(Box17, { sx: { minWidth: 0, mx: 2, display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ jsx19(HostNav, {}) }),
|
|
9587
9590
|
!isMobile && /* @__PURE__ */ jsxs16(
|
|
9588
9591
|
Box17,
|
|
9589
9592
|
{
|
|
@@ -11900,4 +11903,4 @@ export {
|
|
|
11900
11903
|
IS_STORE_BUILD,
|
|
11901
11904
|
chat_default
|
|
11902
11905
|
};
|
|
11903
|
-
//# sourceMappingURL=chunk-
|
|
11906
|
+
//# sourceMappingURL=chunk-SHYNXDRO.mjs.map
|