@burtson-labs/bandit-engine 2.0.166 → 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.
Files changed (43) hide show
  1. package/dist/chat-6N5B7A7F.mjs +15 -0
  2. package/dist/chat-provider.js.map +1 -1
  3. package/dist/chat-provider.mjs +5 -5
  4. package/dist/{chunk-33OSALGS.mjs → chunk-46OGYEME.mjs} +2 -2
  5. package/dist/{chunk-IB2LPSQQ.mjs → chunk-5BZWJQ5O.mjs} +2 -2
  6. package/dist/{chunk-6KRAPGXE.mjs → chunk-CABOLDNR.mjs} +2 -2
  7. package/dist/{chunk-MM3NRLVR.mjs → chunk-E5WMDLE3.mjs} +2 -2
  8. package/dist/{chunk-Q2DINRIU.mjs → chunk-KDIL5WUL.mjs} +3 -3
  9. package/dist/{chunk-75OBTJPN.mjs → chunk-N4BQ6HKL.mjs} +4 -4
  10. package/dist/{chunk-M4DWPNZZ.mjs → chunk-PK3LFBGC.mjs} +9 -9
  11. package/dist/{chunk-WSZE3DDJ.mjs → chunk-SHYNXDRO.mjs} +9 -6
  12. package/dist/chunk-SHYNXDRO.mjs.map +1 -0
  13. package/dist/{chunk-YH5YWK4K.mjs → chunk-SZJB5FLZ.mjs} +2 -2
  14. package/dist/{chunk-YH5YWK4K.mjs.map → chunk-SZJB5FLZ.mjs.map} +1 -1
  15. package/dist/{chunk-A6W6XIDD.mjs → chunk-US4TG745.mjs} +5 -5
  16. package/dist/index.d.mts +2 -2
  17. package/dist/index.d.ts +2 -2
  18. package/dist/index.js +3 -0
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.mjs +10 -10
  21. package/dist/management/management.js +3 -0
  22. package/dist/management/management.js.map +1 -1
  23. package/dist/management/management.mjs +8 -8
  24. package/dist/modals/chat-modal/chat-modal.js.map +1 -1
  25. package/dist/modals/chat-modal/chat-modal.mjs +4 -4
  26. package/dist/{modelStore-F6JQUXGG.mjs → modelStore-TFNX4GEC.mjs} +2 -2
  27. package/dist/{public-0EYmtpGD.d.ts → public-DJa4Db00.d.mts} +9 -0
  28. package/dist/{public-0EYmtpGD.d.mts → public-DJa4Db00.d.ts} +9 -0
  29. package/dist/public-types.d.mts +1 -1
  30. package/dist/public-types.d.ts +1 -1
  31. package/package.json +1 -1
  32. package/dist/chat-RCMZYACB.mjs +0 -15
  33. package/dist/chunk-WSZE3DDJ.mjs.map +0 -1
  34. /package/dist/{chat-RCMZYACB.mjs.map → chat-6N5B7A7F.mjs.map} +0 -0
  35. /package/dist/{chunk-33OSALGS.mjs.map → chunk-46OGYEME.mjs.map} +0 -0
  36. /package/dist/{chunk-IB2LPSQQ.mjs.map → chunk-5BZWJQ5O.mjs.map} +0 -0
  37. /package/dist/{chunk-6KRAPGXE.mjs.map → chunk-CABOLDNR.mjs.map} +0 -0
  38. /package/dist/{chunk-MM3NRLVR.mjs.map → chunk-E5WMDLE3.mjs.map} +0 -0
  39. /package/dist/{chunk-Q2DINRIU.mjs.map → chunk-KDIL5WUL.mjs.map} +0 -0
  40. /package/dist/{chunk-75OBTJPN.mjs.map → chunk-N4BQ6HKL.mjs.map} +0 -0
  41. /package/dist/{chunk-M4DWPNZZ.mjs.map → chunk-PK3LFBGC.mjs.map} +0 -0
  42. /package/dist/{chunk-A6W6XIDD.mjs.map → chunk-US4TG745.mjs.map} +0 -0
  43. /package/dist/{modelStore-F6JQUXGG.mjs.map → modelStore-TFNX4GEC.mjs.map} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ChatProvider,
3
3
  chat_provider_default
4
- } from "./chunk-A6W6XIDD.mjs";
4
+ } from "./chunk-US4TG745.mjs";
5
5
  import "./chunk-ONQMRE2G.mjs";
6
- import "./chunk-6KRAPGXE.mjs";
7
- import "./chunk-MM3NRLVR.mjs";
8
- import "./chunk-33OSALGS.mjs";
9
- import "./chunk-YH5YWK4K.mjs";
6
+ import "./chunk-CABOLDNR.mjs";
7
+ import "./chunk-E5WMDLE3.mjs";
8
+ import "./chunk-46OGYEME.mjs";
9
+ import "./chunk-SZJB5FLZ.mjs";
10
10
  import "./chunk-GRPTCHFN.mjs";
11
11
  import "./chunk-HNXPDIWC.mjs";
12
12
  export {
@@ -2,7 +2,7 @@ import {
2
2
  indexedDBService_default,
3
3
  useModelStore,
4
4
  usePackageSettingsStore
5
- } from "./chunk-YH5YWK4K.mjs";
5
+ } from "./chunk-SZJB5FLZ.mjs";
6
6
  import {
7
7
  AUTH_TOKEN_CHANGED_EVENT,
8
8
  TOKEN_KEY,
@@ -5892,4 +5892,4 @@ export {
5892
5892
  useNotification,
5893
5893
  NotificationProvider
5894
5894
  };
5895
- //# sourceMappingURL=chunk-33OSALGS.mjs.map
5895
+ //# sourceMappingURL=chunk-46OGYEME.mjs.map
@@ -6,7 +6,7 @@ import {
6
6
  markdownSanitizeSchema,
7
7
  maybeHandleFileLinkClick,
8
8
  renderLowlightChildren
9
- } from "./chunk-Q2DINRIU.mjs";
9
+ } from "./chunk-KDIL5WUL.mjs";
10
10
 
11
11
  // src/components/StreamingMarkdown.tsx
12
12
  import React, { useEffect, useMemo, useRef, useState } from "react";
@@ -513,4 +513,4 @@ export {
513
513
  isNativeShell,
514
514
  isStandalonePwa
515
515
  };
516
- //# sourceMappingURL=chunk-IB2LPSQQ.mjs.map
516
+ //# sourceMappingURL=chunk-5BZWJQ5O.mjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  indexedDBService_default,
3
3
  usePackageSettingsStore
4
- } from "./chunk-YH5YWK4K.mjs";
4
+ } from "./chunk-SZJB5FLZ.mjs";
5
5
  import {
6
6
  authenticationService,
7
7
  useAIProviderStore
@@ -213,4 +213,4 @@ var aiProviderInitService = AIProviderInitService.getInstance();
213
213
  export {
214
214
  aiProviderInitService
215
215
  };
216
- //# sourceMappingURL=chunk-6KRAPGXE.mjs.map
216
+ //# sourceMappingURL=chunk-CABOLDNR.mjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  indexedDBService_default,
3
3
  usePackageSettingsStore
4
- } from "./chunk-YH5YWK4K.mjs";
4
+ } from "./chunk-SZJB5FLZ.mjs";
5
5
  import {
6
6
  authenticationService
7
7
  } from "./chunk-GRPTCHFN.mjs";
@@ -387,4 +387,4 @@ export {
387
387
  discoverMcpTools,
388
388
  useMCPToolsStore
389
389
  };
390
- //# sourceMappingURL=chunk-MM3NRLVR.mjs.map
390
+ //# sourceMappingURL=chunk-E5WMDLE3.mjs.map
@@ -6,12 +6,12 @@ import {
6
6
  useMemoryStore,
7
7
  useNotification,
8
8
  useVectorStore
9
- } from "./chunk-33OSALGS.mjs";
9
+ } from "./chunk-46OGYEME.mjs";
10
10
  import {
11
11
  useModelStore,
12
12
  usePackageSettingsStore,
13
13
  usePreferencesStore
14
- } from "./chunk-YH5YWK4K.mjs";
14
+ } from "./chunk-SZJB5FLZ.mjs";
15
15
  import {
16
16
  GatewayService,
17
17
  authenticationService
@@ -7320,4 +7320,4 @@ export {
7320
7320
  TenantPreview,
7321
7321
  useNotificationService
7322
7322
  };
7323
- //# sourceMappingURL=chunk-Q2DINRIU.mjs.map
7323
+ //# sourceMappingURL=chunk-KDIL5WUL.mjs.map
@@ -24,20 +24,20 @@ import {
24
24
  useNotificationService,
25
25
  useTTS,
26
26
  useVoiceStore
27
- } from "./chunk-Q2DINRIU.mjs";
27
+ } from "./chunk-KDIL5WUL.mjs";
28
28
  import {
29
29
  brandingService_default,
30
30
  toTitleCase,
31
31
  useAIQueryStore,
32
32
  useConversationStore,
33
33
  useMemoryStore
34
- } from "./chunk-33OSALGS.mjs";
34
+ } from "./chunk-46OGYEME.mjs";
35
35
  import {
36
36
  indexedDBService_default,
37
37
  useModelStore,
38
38
  usePackageSettingsStore,
39
39
  usePreferencesStore
40
- } from "./chunk-YH5YWK4K.mjs";
40
+ } from "./chunk-SZJB5FLZ.mjs";
41
41
  import {
42
42
  useAIProviderStore
43
43
  } from "./chunk-GRPTCHFN.mjs";
@@ -2942,4 +2942,4 @@ export {
2942
2942
  MAX_WINDOWED_HEIGHT,
2943
2943
  chat_modal_default
2944
2944
  };
2945
- //# sourceMappingURL=chunk-75OBTJPN.mjs.map
2945
+ //# sourceMappingURL=chunk-N4BQ6HKL.mjs.map
@@ -2,10 +2,10 @@ import {
2
2
  StreamingMarkdown_default,
3
3
  isNativeShell,
4
4
  isStandalonePwa
5
- } from "./chunk-IB2LPSQQ.mjs";
5
+ } from "./chunk-5BZWJQ5O.mjs";
6
6
  import {
7
7
  aiProviderInitService
8
- } from "./chunk-6KRAPGXE.mjs";
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-MM3NRLVR.mjs";
16
+ } from "./chunk-E5WMDLE3.mjs";
17
17
  import {
18
18
  chat_modal_default
19
- } from "./chunk-75OBTJPN.mjs";
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-Q2DINRIU.mjs";
94
+ } from "./chunk-KDIL5WUL.mjs";
95
95
  import {
96
96
  TOPICS,
97
97
  brandingService_default,
@@ -102,14 +102,14 @@ import {
102
102
  useFeatures,
103
103
  useKnowledgeStore2 as useKnowledgeStore,
104
104
  useVectorStore
105
- } from "./chunk-33OSALGS.mjs";
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-YH5YWK4K.mjs";
112
+ } from "./chunk-SZJB5FLZ.mjs";
113
113
  import {
114
114
  AIProviderFactory,
115
115
  GatewayService,
@@ -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-RCMZYACB.mjs");
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-M4DWPNZZ.mjs.map
10575
+ //# sourceMappingURL=chunk-PK3LFBGC.mjs.map
@@ -5,10 +5,10 @@ import {
5
5
  StreamingMarkdown_default,
6
6
  isNativeShell,
7
7
  isStandalonePwa
8
- } from "./chunk-IB2LPSQQ.mjs";
8
+ } from "./chunk-5BZWJQ5O.mjs";
9
9
  import {
10
10
  useMCPToolsStore
11
- } from "./chunk-MM3NRLVR.mjs";
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-Q2DINRIU.mjs";
50
+ } from "./chunk-KDIL5WUL.mjs";
51
51
  import {
52
52
  brandingService_default,
53
53
  detectMessageMood,
@@ -68,13 +68,13 @@ import {
68
68
  useMemoryStore,
69
69
  useProjectStore,
70
70
  useVectorStore
71
- } from "./chunk-33OSALGS.mjs";
71
+ } from "./chunk-46OGYEME.mjs";
72
72
  import {
73
73
  indexedDBService_default,
74
74
  useModelStore,
75
75
  usePackageSettingsStore,
76
76
  usePreferencesStore
77
- } from "./chunk-YH5YWK4K.mjs";
77
+ } from "./chunk-SZJB5FLZ.mjs";
78
78
  import {
79
79
  authenticationService,
80
80
  readPersistedToken,
@@ -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-WSZE3DDJ.mjs.map
11906
+ //# sourceMappingURL=chunk-SHYNXDRO.mjs.map