@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
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IS_STORE_BUILD,
|
|
3
3
|
chat_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WSUUW7T2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
chat_provider_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QHGGV4KJ.mjs";
|
|
8
8
|
import "./chunk-ONQMRE2G.mjs";
|
|
9
9
|
import {
|
|
10
10
|
MANAGEMENT_SECTIONS,
|
|
@@ -15,17 +15,17 @@ import {
|
|
|
15
15
|
useGatewayMemory,
|
|
16
16
|
useGatewayModels,
|
|
17
17
|
useManagementAccess
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-RNCASZ2Y.mjs";
|
|
19
|
+
import "./chunk-ASWUEAWM.mjs";
|
|
20
|
+
import "./chunk-LKGBO5OP.mjs";
|
|
21
|
+
import "./chunk-NGGTQVGX.mjs";
|
|
22
22
|
import {
|
|
23
23
|
defineCustomElement
|
|
24
24
|
} from "./chunk-P4C5IRM5.mjs";
|
|
25
25
|
import {
|
|
26
26
|
FeedbackButton,
|
|
27
27
|
chat_modal_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6VDL4SLX.mjs";
|
|
29
29
|
import {
|
|
30
30
|
FeedbackModal,
|
|
31
31
|
StreamingTTSClient,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
useTTS,
|
|
43
43
|
useVoiceStore,
|
|
44
44
|
voiceService
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-RLW4RBIR.mjs";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_TIER_FEATURES,
|
|
48
48
|
FeatureFlagContext,
|
|
@@ -61,19 +61,19 @@ import {
|
|
|
61
61
|
useVectorStore,
|
|
62
62
|
vectorDatabaseService,
|
|
63
63
|
vectorMigrationService
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-FEIDGXVR.mjs";
|
|
65
65
|
import {
|
|
66
66
|
usePackageSettingsStore,
|
|
67
67
|
usePreferencesStore
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-2EM4ATKI.mjs";
|
|
69
69
|
import {
|
|
70
70
|
authenticationService,
|
|
71
71
|
useAuthenticationStore
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-J6LSSK3G.mjs";
|
|
73
73
|
import {
|
|
74
74
|
DebugLogger,
|
|
75
75
|
debugLogger
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-HNXPDIWC.mjs";
|
|
77
77
|
import "./chunk-BJTO5JO5.mjs";
|
|
78
78
|
|
|
79
79
|
// src/management/components/InterestsEditor.tsx
|
|
@@ -270,11 +270,20 @@ var init_debugLogger = __esm({
|
|
|
270
270
|
*/
|
|
271
271
|
debug(message, context) {
|
|
272
272
|
}
|
|
273
|
+
verboseEnabled() {
|
|
274
|
+
if (this.isDevelopment) return true;
|
|
275
|
+
try {
|
|
276
|
+
return typeof localStorage !== "undefined" && localStorage.getItem("bandit:debug") === "1";
|
|
277
|
+
} catch {
|
|
278
|
+
return false;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
273
281
|
/**
|
|
274
|
-
* Info logs - shown in
|
|
275
|
-
*
|
|
282
|
+
* Info logs - shown in development, or in production when localStorage
|
|
283
|
+
* `bandit:debug` is "1"
|
|
276
284
|
*/
|
|
277
285
|
info(message, context) {
|
|
286
|
+
if (!this.verboseEnabled()) return;
|
|
278
287
|
const prefix = this.isDevelopment ? "\u2139\uFE0F [INFO]" : "[INFO]";
|
|
279
288
|
if (context) {
|
|
280
289
|
console.info(`${prefix} ${message}`, context);
|
|
@@ -11762,7 +11771,7 @@ var init_voiceService = __esm({
|
|
|
11762
11771
|
}
|
|
11763
11772
|
const token = authenticationService.getToken();
|
|
11764
11773
|
if (!token) {
|
|
11765
|
-
debugLogger.
|
|
11774
|
+
debugLogger.info("No JWT token available - skipping voice models fetch");
|
|
11766
11775
|
const emptyModels = {
|
|
11767
11776
|
models: [],
|
|
11768
11777
|
defaultModel: "",
|
|
@@ -21318,6 +21327,9 @@ function resolveTelemetryConfig(opts) {
|
|
|
21318
21327
|
if (!hasAuth && opts.banditApiKey) {
|
|
21319
21328
|
headers["Authorization"] = `Bearer ${opts.banditApiKey}`;
|
|
21320
21329
|
}
|
|
21330
|
+
if (!hasAuth && !opts.banditApiKey && /^https:\/\/otlp\.burtson\.ai$/i.test(endpoint)) {
|
|
21331
|
+
return null;
|
|
21332
|
+
}
|
|
21321
21333
|
const mode = opts.telemetry.mode ?? "metrics+traces";
|
|
21322
21334
|
return { endpoint, headers, mode, serviceName: opts.telemetry.serviceName ?? "bandit-web" };
|
|
21323
21335
|
}
|