@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.
- package/dist/aiProviderStore-M4BVEKUB.mjs +9 -0
- package/dist/chat-EMKHB23B.mjs +16 -0
- package/dist/chat-provider.js +11 -2
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +7 -7
- package/dist/{chunk-TY5VL3SG.mjs → chunk-2EM4ATKI.mjs} +3 -3
- package/dist/{chunk-VBHI4TJC.mjs → chunk-6VDL4SLX.mjs} +6 -6
- package/dist/{chunk-IZX2J65Q.mjs → chunk-ASWUEAWM.mjs} +2 -2
- package/dist/{chunk-J6SWNO7Z.mjs → chunk-FEIDGXVR.mjs} +5 -5
- package/dist/{chunk-OCVZVBQQ.mjs → chunk-HNXPDIWC.mjs} +12 -3
- package/dist/chunk-HNXPDIWC.mjs.map +1 -0
- package/dist/{chunk-CQJGUYRW.mjs → chunk-J6LSSK3G.mjs} +2 -2
- package/dist/{chunk-5KBTOCQZ.mjs → chunk-LKGBO5OP.mjs} +4 -4
- package/dist/{chunk-O6P37PFR.mjs → chunk-NGGTQVGX.mjs} +4 -4
- package/dist/{chunk-URZSIL7X.mjs → chunk-QHGGV4KJ.mjs} +7 -7
- package/dist/{chunk-WLNZL6SP.mjs → chunk-RLW4RBIR.mjs} +6 -6
- package/dist/{chunk-WLNZL6SP.mjs.map → chunk-RLW4RBIR.mjs.map} +1 -1
- package/dist/{chunk-HSGQXL4N.mjs → chunk-RNCASZ2Y.mjs} +11 -11
- package/dist/{chunk-F32P7Q5O.mjs → chunk-WSUUW7T2.mjs} +11 -8
- package/dist/{chunk-F32P7Q5O.mjs.map → chunk-WSUUW7T2.mjs.map} +1 -1
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +15 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/management/management.js +15 -3
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +10 -10
- package/dist/modals/chat-modal/chat-modal.js +12 -3
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +6 -6
- package/dist/modelStore-7YYELPF6.mjs +9 -0
- package/package.json +1 -1
- package/dist/aiProviderStore-PEGSX4PK.mjs +0 -9
- package/dist/chat-MRDQ2WRJ.mjs +0 -16
- package/dist/chunk-OCVZVBQQ.mjs.map +0 -1
- package/dist/modelStore-7XYYDCNC.mjs +0 -9
- /package/dist/{aiProviderStore-PEGSX4PK.mjs.map → aiProviderStore-M4BVEKUB.mjs.map} +0 -0
- /package/dist/{chat-MRDQ2WRJ.mjs.map → chat-EMKHB23B.mjs.map} +0 -0
- /package/dist/{chunk-TY5VL3SG.mjs.map → chunk-2EM4ATKI.mjs.map} +0 -0
- /package/dist/{chunk-VBHI4TJC.mjs.map → chunk-6VDL4SLX.mjs.map} +0 -0
- /package/dist/{chunk-IZX2J65Q.mjs.map → chunk-ASWUEAWM.mjs.map} +0 -0
- /package/dist/{chunk-J6SWNO7Z.mjs.map → chunk-FEIDGXVR.mjs.map} +0 -0
- /package/dist/{chunk-CQJGUYRW.mjs.map → chunk-J6LSSK3G.mjs.map} +0 -0
- /package/dist/{chunk-5KBTOCQZ.mjs.map → chunk-LKGBO5OP.mjs.map} +0 -0
- /package/dist/{chunk-O6P37PFR.mjs.map → chunk-NGGTQVGX.mjs.map} +0 -0
- /package/dist/{chunk-URZSIL7X.mjs.map → chunk-QHGGV4KJ.mjs.map} +0 -0
- /package/dist/{chunk-HSGQXL4N.mjs.map → chunk-RNCASZ2Y.mjs.map} +0 -0
- /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-
|
|
5
|
+
} from "./chunk-ASWUEAWM.mjs";
|
|
6
6
|
import {
|
|
7
7
|
aiProviderInitService
|
|
8
|
-
} from "./chunk-
|
|
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-
|
|
16
|
+
} from "./chunk-NGGTQVGX.mjs";
|
|
17
17
|
import {
|
|
18
18
|
chat_modal_default
|
|
19
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
119
|
+
} from "./chunk-J6LSSK3G.mjs";
|
|
120
120
|
import {
|
|
121
121
|
debugLogger
|
|
122
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
10575
|
+
//# sourceMappingURL=chunk-RNCASZ2Y.mjs.map
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
StreamingMarkdown_default,
|
|
6
6
|
isNativeShell,
|
|
7
7
|
isStandalonePwa
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ASWUEAWM.mjs";
|
|
9
9
|
import {
|
|
10
10
|
useMCPToolsStore
|
|
11
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
71
|
+
} from "./chunk-FEIDGXVR.mjs";
|
|
72
72
|
import {
|
|
73
73
|
indexedDBService_default,
|
|
74
74
|
useModelStore,
|
|
75
75
|
usePackageSettingsStore,
|
|
76
76
|
usePreferencesStore
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-2EM4ATKI.mjs";
|
|
78
78
|
import {
|
|
79
79
|
authenticationService,
|
|
80
80
|
readPersistedToken,
|
|
81
81
|
useAIProviderStore,
|
|
82
82
|
useAuthenticationStore
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-J6LSSK3G.mjs";
|
|
84
84
|
import {
|
|
85
85
|
debugLogger
|
|
86
|
-
} from "./chunk-
|
|
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-
|
|
11903
|
+
//# sourceMappingURL=chunk-WSUUW7T2.mjs.map
|