@burtson-labs/bandit-engine 2.0.163 → 2.0.165

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 (49) hide show
  1. package/dist/aiProviderStore-M4BVEKUB.mjs +9 -0
  2. package/dist/chat-EMKHB23B.mjs +16 -0
  3. package/dist/chat-provider.js +11 -2
  4. package/dist/chat-provider.js.map +1 -1
  5. package/dist/chat-provider.mjs +7 -7
  6. package/dist/{chunk-TY5VL3SG.mjs → chunk-2EM4ATKI.mjs} +3 -3
  7. package/dist/{chunk-VBHI4TJC.mjs → chunk-6VDL4SLX.mjs} +6 -6
  8. package/dist/{chunk-IZX2J65Q.mjs → chunk-ASWUEAWM.mjs} +2 -2
  9. package/dist/{chunk-J6SWNO7Z.mjs → chunk-FEIDGXVR.mjs} +5 -5
  10. package/dist/{chunk-OCVZVBQQ.mjs → chunk-HNXPDIWC.mjs} +12 -3
  11. package/dist/chunk-HNXPDIWC.mjs.map +1 -0
  12. package/dist/{chunk-CQJGUYRW.mjs → chunk-J6LSSK3G.mjs} +2 -2
  13. package/dist/{chunk-5KBTOCQZ.mjs → chunk-LKGBO5OP.mjs} +4 -4
  14. package/dist/{chunk-O6P37PFR.mjs → chunk-NGGTQVGX.mjs} +4 -4
  15. package/dist/{chunk-URZSIL7X.mjs → chunk-QHGGV4KJ.mjs} +7 -7
  16. package/dist/{chunk-WLNZL6SP.mjs → chunk-RLW4RBIR.mjs} +6 -6
  17. package/dist/{chunk-WLNZL6SP.mjs.map → chunk-RLW4RBIR.mjs.map} +1 -1
  18. package/dist/{chunk-HSGQXL4N.mjs → chunk-RNCASZ2Y.mjs} +11 -11
  19. package/dist/{chunk-F32P7Q5O.mjs → chunk-WSUUW7T2.mjs} +11 -8
  20. package/dist/{chunk-F32P7Q5O.mjs.map → chunk-WSUUW7T2.mjs.map} +1 -1
  21. package/dist/index.d.mts +5 -3
  22. package/dist/index.d.ts +5 -3
  23. package/dist/index.js +15 -3
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.mjs +12 -12
  26. package/dist/management/management.js +15 -3
  27. package/dist/management/management.js.map +1 -1
  28. package/dist/management/management.mjs +10 -10
  29. package/dist/modals/chat-modal/chat-modal.js +12 -3
  30. package/dist/modals/chat-modal/chat-modal.js.map +1 -1
  31. package/dist/modals/chat-modal/chat-modal.mjs +6 -6
  32. package/dist/modelStore-7YYELPF6.mjs +9 -0
  33. package/package.json +1 -1
  34. package/dist/aiProviderStore-PEGSX4PK.mjs +0 -9
  35. package/dist/chat-MRDQ2WRJ.mjs +0 -16
  36. package/dist/chunk-OCVZVBQQ.mjs.map +0 -1
  37. package/dist/modelStore-7XYYDCNC.mjs +0 -9
  38. /package/dist/{aiProviderStore-PEGSX4PK.mjs.map → aiProviderStore-M4BVEKUB.mjs.map} +0 -0
  39. /package/dist/{chat-MRDQ2WRJ.mjs.map → chat-EMKHB23B.mjs.map} +0 -0
  40. /package/dist/{chunk-TY5VL3SG.mjs.map → chunk-2EM4ATKI.mjs.map} +0 -0
  41. /package/dist/{chunk-VBHI4TJC.mjs.map → chunk-6VDL4SLX.mjs.map} +0 -0
  42. /package/dist/{chunk-IZX2J65Q.mjs.map → chunk-ASWUEAWM.mjs.map} +0 -0
  43. /package/dist/{chunk-J6SWNO7Z.mjs.map → chunk-FEIDGXVR.mjs.map} +0 -0
  44. /package/dist/{chunk-CQJGUYRW.mjs.map → chunk-J6LSSK3G.mjs.map} +0 -0
  45. /package/dist/{chunk-5KBTOCQZ.mjs.map → chunk-LKGBO5OP.mjs.map} +0 -0
  46. /package/dist/{chunk-O6P37PFR.mjs.map → chunk-NGGTQVGX.mjs.map} +0 -0
  47. /package/dist/{chunk-URZSIL7X.mjs.map → chunk-QHGGV4KJ.mjs.map} +0 -0
  48. /package/dist/{chunk-HSGQXL4N.mjs.map → chunk-RNCASZ2Y.mjs.map} +0 -0
  49. /package/dist/{modelStore-7XYYDCNC.mjs.map → modelStore-7YYELPF6.mjs.map} +0 -0
@@ -2,10 +2,10 @@ import {
2
2
  StreamingMarkdown_default,
3
3
  isNativeShell,
4
4
  isStandalonePwa
5
- } from "./chunk-IZX2J65Q.mjs";
5
+ } from "./chunk-ASWUEAWM.mjs";
6
6
  import {
7
7
  aiProviderInitService
8
- } from "./chunk-5KBTOCQZ.mjs";
8
+ } from "./chunk-LKGBO5OP.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-NGGTQVGX.mjs";
17
17
  import {
18
18
  chat_modal_default
19
- } from "./chunk-VBHI4TJC.mjs";
19
+ } from "./chunk-6VDL4SLX.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-RLW4RBIR.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-FEIDGXVR.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-2EM4ATKI.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-J6LSSK3G.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-MRDQ2WRJ.mjs");
9519
+ var preloadChatPage = () => import("./chat-EMKHB23B.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-HSGQXL4N.mjs.map
10575
+ //# sourceMappingURL=chunk-RNCASZ2Y.mjs.map
@@ -5,10 +5,10 @@ import {
5
5
  StreamingMarkdown_default,
6
6
  isNativeShell,
7
7
  isStandalonePwa
8
- } from "./chunk-IZX2J65Q.mjs";
8
+ } from "./chunk-ASWUEAWM.mjs";
9
9
  import {
10
10
  useMCPToolsStore
11
- } from "./chunk-O6P37PFR.mjs";
11
+ } from "./chunk-NGGTQVGX.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-WLNZL6SP.mjs";
50
+ } from "./chunk-RLW4RBIR.mjs";
51
51
  import {
52
52
  brandingService_default,
53
53
  detectMessageMood,
@@ -68,22 +68,22 @@ import {
68
68
  useMemoryStore,
69
69
  useProjectStore,
70
70
  useVectorStore
71
- } from "./chunk-J6SWNO7Z.mjs";
71
+ } from "./chunk-FEIDGXVR.mjs";
72
72
  import {
73
73
  indexedDBService_default,
74
74
  useModelStore,
75
75
  usePackageSettingsStore,
76
76
  usePreferencesStore
77
- } from "./chunk-TY5VL3SG.mjs";
77
+ } from "./chunk-2EM4ATKI.mjs";
78
78
  import {
79
79
  authenticationService,
80
80
  readPersistedToken,
81
81
  useAIProviderStore,
82
82
  useAuthenticationStore
83
- } from "./chunk-CQJGUYRW.mjs";
83
+ } from "./chunk-J6LSSK3G.mjs";
84
84
  import {
85
85
  debugLogger
86
- } from "./chunk-OCVZVBQQ.mjs";
86
+ } from "./chunk-HNXPDIWC.mjs";
87
87
 
88
88
  // src/chat/chat.tsx
89
89
  import { useCallback as useCallback6, useEffect as useEffect17, useLayoutEffect, useRef as useRef16, useState as useState19 } from "react";
@@ -2704,6 +2704,9 @@ function resolveTelemetryConfig(opts) {
2704
2704
  if (!hasAuth && opts.banditApiKey) {
2705
2705
  headers["Authorization"] = `Bearer ${opts.banditApiKey}`;
2706
2706
  }
2707
+ if (!hasAuth && !opts.banditApiKey && /^https:\/\/otlp\.burtson\.ai$/i.test(endpoint)) {
2708
+ return null;
2709
+ }
2707
2710
  const mode = opts.telemetry.mode ?? "metrics+traces";
2708
2711
  return { endpoint, headers, mode, serviceName: opts.telemetry.serviceName ?? "bandit-web" };
2709
2712
  }
@@ -11897,4 +11900,4 @@ export {
11897
11900
  IS_STORE_BUILD,
11898
11901
  chat_default
11899
11902
  };
11900
- //# sourceMappingURL=chunk-F32P7Q5O.mjs.map
11903
+ //# sourceMappingURL=chunk-WSUUW7T2.mjs.map