@burtson-labs/bandit-engine 2.0.164 → 2.0.166

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 (59) hide show
  1. package/README.md +4 -1
  2. package/dist/aiProviderStore-HY5G4QAK.mjs +8 -0
  3. package/dist/chat-RCMZYACB.mjs +15 -0
  4. package/dist/chat-provider.js +186 -111
  5. package/dist/chat-provider.js.map +1 -1
  6. package/dist/chat-provider.mjs +7 -8
  7. package/dist/{chunk-J6SWNO7Z.mjs → chunk-33OSALGS.mjs} +25 -7
  8. package/dist/{chunk-J6SWNO7Z.mjs.map → chunk-33OSALGS.mjs.map} +1 -1
  9. package/dist/{chunk-5KBTOCQZ.mjs → chunk-6KRAPGXE.mjs} +13 -85
  10. package/dist/chunk-6KRAPGXE.mjs.map +1 -0
  11. package/dist/{chunk-VBHI4TJC.mjs → chunk-75OBTJPN.mjs} +6 -6
  12. package/dist/{chunk-URZSIL7X.mjs → chunk-A6W6XIDD.mjs} +7 -7
  13. package/dist/{chunk-CQJGUYRW.mjs → chunk-GRPTCHFN.mjs} +150 -42
  14. package/dist/chunk-GRPTCHFN.mjs.map +1 -0
  15. package/dist/{chunk-OCVZVBQQ.mjs → chunk-HNXPDIWC.mjs} +12 -3
  16. package/dist/chunk-HNXPDIWC.mjs.map +1 -0
  17. package/dist/{chunk-IZX2J65Q.mjs → chunk-IB2LPSQQ.mjs} +2 -2
  18. package/dist/{chunk-PNQRS5EN.mjs → chunk-M4DWPNZZ.mjs} +11 -11
  19. package/dist/{chunk-O6P37PFR.mjs → chunk-MM3NRLVR.mjs} +4 -4
  20. package/dist/{chunk-WLNZL6SP.mjs → chunk-Q2DINRIU.mjs} +6 -6
  21. package/dist/{chunk-WLNZL6SP.mjs.map → chunk-Q2DINRIU.mjs.map} +1 -1
  22. package/dist/{chunk-JYBQAKSZ.mjs → chunk-WSZE3DDJ.mjs} +8 -8
  23. package/dist/{chunk-TY5VL3SG.mjs → chunk-YH5YWK4K.mjs} +3 -3
  24. package/dist/index.d.mts +97 -4
  25. package/dist/index.d.ts +97 -4
  26. package/dist/index.js +200 -133
  27. package/dist/index.js.map +1 -1
  28. package/dist/index.mjs +22 -21
  29. package/dist/index.mjs.map +1 -1
  30. package/dist/management/management.js +171 -123
  31. package/dist/management/management.js.map +1 -1
  32. package/dist/management/management.mjs +10 -11
  33. package/dist/{memoryUtils-2FVXDSS6.mjs → memoryUtils-HGCYEUCD.mjs} +1 -3
  34. package/dist/{memoryUtils-2FVXDSS6.mjs.map → memoryUtils-HGCYEUCD.mjs.map} +1 -1
  35. package/dist/modals/chat-modal/chat-modal.js +161 -33
  36. package/dist/modals/chat-modal/chat-modal.js.map +1 -1
  37. package/dist/modals/chat-modal/chat-modal.mjs +6 -7
  38. package/dist/modelStore-F6JQUXGG.mjs +8 -0
  39. package/dist/shared/custom-element.mjs +0 -1
  40. package/docs/03_provider_integration.md +5 -2
  41. package/package.json +1 -1
  42. package/dist/aiProviderStore-PEGSX4PK.mjs +0 -9
  43. package/dist/chat-OSAVW6L2.mjs +0 -16
  44. package/dist/chunk-5KBTOCQZ.mjs.map +0 -1
  45. package/dist/chunk-BJTO5JO5.mjs +0 -11
  46. package/dist/chunk-CQJGUYRW.mjs.map +0 -1
  47. package/dist/chunk-OCVZVBQQ.mjs.map +0 -1
  48. package/dist/modelStore-7XYYDCNC.mjs +0 -9
  49. package/dist/modelStore-7XYYDCNC.mjs.map +0 -1
  50. /package/dist/{aiProviderStore-PEGSX4PK.mjs.map → aiProviderStore-HY5G4QAK.mjs.map} +0 -0
  51. /package/dist/{chat-OSAVW6L2.mjs.map → chat-RCMZYACB.mjs.map} +0 -0
  52. /package/dist/{chunk-VBHI4TJC.mjs.map → chunk-75OBTJPN.mjs.map} +0 -0
  53. /package/dist/{chunk-URZSIL7X.mjs.map → chunk-A6W6XIDD.mjs.map} +0 -0
  54. /package/dist/{chunk-IZX2J65Q.mjs.map → chunk-IB2LPSQQ.mjs.map} +0 -0
  55. /package/dist/{chunk-PNQRS5EN.mjs.map → chunk-M4DWPNZZ.mjs.map} +0 -0
  56. /package/dist/{chunk-O6P37PFR.mjs.map → chunk-MM3NRLVR.mjs.map} +0 -0
  57. /package/dist/{chunk-JYBQAKSZ.mjs.map → chunk-WSZE3DDJ.mjs.map} +0 -0
  58. /package/dist/{chunk-TY5VL3SG.mjs.map → chunk-YH5YWK4K.mjs.map} +0 -0
  59. /package/dist/{chunk-BJTO5JO5.mjs.map → modelStore-F6JQUXGG.mjs.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  markdownSanitizeSchema,
7
7
  maybeHandleFileLinkClick,
8
8
  renderLowlightChildren
9
- } from "./chunk-WLNZL6SP.mjs";
9
+ } from "./chunk-Q2DINRIU.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-IZX2J65Q.mjs.map
516
+ //# sourceMappingURL=chunk-IB2LPSQQ.mjs.map
@@ -2,10 +2,10 @@ import {
2
2
  StreamingMarkdown_default,
3
3
  isNativeShell,
4
4
  isStandalonePwa
5
- } from "./chunk-IZX2J65Q.mjs";
5
+ } from "./chunk-IB2LPSQQ.mjs";
6
6
  import {
7
7
  aiProviderInitService
8
- } from "./chunk-5KBTOCQZ.mjs";
8
+ } from "./chunk-6KRAPGXE.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-O6P37PFR.mjs";
16
+ } from "./chunk-MM3NRLVR.mjs";
17
17
  import {
18
18
  chat_modal_default
19
- } from "./chunk-VBHI4TJC.mjs";
19
+ } from "./chunk-75OBTJPN.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-WLNZL6SP.mjs";
94
+ } from "./chunk-Q2DINRIU.mjs";
95
95
  import {
96
96
  TOPICS,
97
97
  brandingService_default,
@@ -102,24 +102,24 @@ import {
102
102
  useFeatures,
103
103
  useKnowledgeStore2 as useKnowledgeStore,
104
104
  useVectorStore
105
- } from "./chunk-J6SWNO7Z.mjs";
105
+ } from "./chunk-33OSALGS.mjs";
106
106
  import {
107
107
  indexedDBService_default,
108
108
  models,
109
109
  useModelStore,
110
110
  usePackageSettingsStore,
111
111
  usePreferencesStore
112
- } from "./chunk-TY5VL3SG.mjs";
112
+ } from "./chunk-YH5YWK4K.mjs";
113
113
  import {
114
114
  AIProviderFactory,
115
115
  GatewayService,
116
116
  authenticationService,
117
117
  useAIProviderStore,
118
118
  useAuthenticationStore
119
- } from "./chunk-CQJGUYRW.mjs";
119
+ } from "./chunk-GRPTCHFN.mjs";
120
120
  import {
121
121
  debugLogger
122
- } from "./chunk-OCVZVBQQ.mjs";
122
+ } from "./chunk-HNXPDIWC.mjs";
123
123
 
124
124
  // src/management/management.tsx
125
125
  import { useState as useState15, useEffect as useEffect14, useCallback as useCallback9, useMemo as useMemo7 } from "react";
@@ -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-OSAVW6L2.mjs");
9519
+ var preloadChatPage = () => import("./chat-RCMZYACB.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-PNQRS5EN.mjs.map
10575
+ //# sourceMappingURL=chunk-M4DWPNZZ.mjs.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  indexedDBService_default,
3
3
  usePackageSettingsStore
4
- } from "./chunk-TY5VL3SG.mjs";
4
+ } from "./chunk-YH5YWK4K.mjs";
5
5
  import {
6
6
  authenticationService
7
- } from "./chunk-CQJGUYRW.mjs";
7
+ } from "./chunk-GRPTCHFN.mjs";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-OCVZVBQQ.mjs";
10
+ } from "./chunk-HNXPDIWC.mjs";
11
11
 
12
12
  // src/store/mcpToolsStore.ts
13
13
  import { create } from "zustand";
@@ -387,4 +387,4 @@ export {
387
387
  discoverMcpTools,
388
388
  useMCPToolsStore
389
389
  };
390
- //# sourceMappingURL=chunk-O6P37PFR.mjs.map
390
+ //# sourceMappingURL=chunk-MM3NRLVR.mjs.map
@@ -6,19 +6,19 @@ import {
6
6
  useMemoryStore,
7
7
  useNotification,
8
8
  useVectorStore
9
- } from "./chunk-J6SWNO7Z.mjs";
9
+ } from "./chunk-33OSALGS.mjs";
10
10
  import {
11
11
  useModelStore,
12
12
  usePackageSettingsStore,
13
13
  usePreferencesStore
14
- } from "./chunk-TY5VL3SG.mjs";
14
+ } from "./chunk-YH5YWK4K.mjs";
15
15
  import {
16
16
  GatewayService,
17
17
  authenticationService
18
- } from "./chunk-CQJGUYRW.mjs";
18
+ } from "./chunk-GRPTCHFN.mjs";
19
19
  import {
20
20
  debugLogger
21
- } from "./chunk-OCVZVBQQ.mjs";
21
+ } from "./chunk-HNXPDIWC.mjs";
22
22
 
23
23
  // src/chat/chat-tokens.tsx
24
24
  import React from "react";
@@ -495,7 +495,7 @@ var VoiceService = class _VoiceService {
495
495
  }
496
496
  const token = authenticationService.getToken();
497
497
  if (!token) {
498
- debugLogger.warn("No JWT token available - skipping voice models fetch");
498
+ debugLogger.info("No JWT token available - skipping voice models fetch");
499
499
  const emptyModels = {
500
500
  models: [],
501
501
  defaultModel: "",
@@ -7320,4 +7320,4 @@ export {
7320
7320
  TenantPreview,
7321
7321
  useNotificationService
7322
7322
  };
7323
- //# sourceMappingURL=chunk-WLNZL6SP.mjs.map
7323
+ //# sourceMappingURL=chunk-Q2DINRIU.mjs.map