@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/chat-provider.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChatProvider,
|
|
3
3
|
chat_provider_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QHGGV4KJ.mjs";
|
|
5
5
|
import "./chunk-ONQMRE2G.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-LKGBO5OP.mjs";
|
|
7
|
+
import "./chunk-NGGTQVGX.mjs";
|
|
8
|
+
import "./chunk-FEIDGXVR.mjs";
|
|
9
|
+
import "./chunk-2EM4ATKI.mjs";
|
|
10
|
+
import "./chunk-J6LSSK3G.mjs";
|
|
11
|
+
import "./chunk-HNXPDIWC.mjs";
|
|
12
12
|
import "./chunk-BJTO5JO5.mjs";
|
|
13
13
|
export {
|
|
14
14
|
ChatProvider,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
debugLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HNXPDIWC.mjs";
|
|
4
4
|
|
|
5
5
|
// src/store/modelStore.ts
|
|
6
6
|
import { create as create3 } from "zustand";
|
|
@@ -357,7 +357,7 @@ var usePreferencesStore = create2((set, get) => ({
|
|
|
357
357
|
}));
|
|
358
358
|
get().savePreferences();
|
|
359
359
|
if (key === "banditModelsEnabled" && prevValue !== value) {
|
|
360
|
-
import("./modelStore-
|
|
360
|
+
import("./modelStore-7YYELPF6.mjs").then(({ useModelStore: useModelStore2 }) => {
|
|
361
361
|
useModelStore2.getState().handleBanditPersonalitiesPreferenceChange(value);
|
|
362
362
|
});
|
|
363
363
|
}
|
|
@@ -877,4 +877,4 @@ export {
|
|
|
877
877
|
usePreferencesStore,
|
|
878
878
|
useModelStore
|
|
879
879
|
};
|
|
880
|
-
//# sourceMappingURL=chunk-
|
|
880
|
+
//# sourceMappingURL=chunk-2EM4ATKI.mjs.map
|
|
@@ -24,26 +24,26 @@ import {
|
|
|
24
24
|
useNotificationService,
|
|
25
25
|
useTTS,
|
|
26
26
|
useVoiceStore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RLW4RBIR.mjs";
|
|
28
28
|
import {
|
|
29
29
|
brandingService_default,
|
|
30
30
|
toTitleCase,
|
|
31
31
|
useAIQueryStore,
|
|
32
32
|
useConversationStore,
|
|
33
33
|
useMemoryStore
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FEIDGXVR.mjs";
|
|
35
35
|
import {
|
|
36
36
|
indexedDBService_default,
|
|
37
37
|
useModelStore,
|
|
38
38
|
usePackageSettingsStore,
|
|
39
39
|
usePreferencesStore
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-2EM4ATKI.mjs";
|
|
41
41
|
import {
|
|
42
42
|
useAIProviderStore
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-J6LSSK3G.mjs";
|
|
44
44
|
import {
|
|
45
45
|
debugLogger
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HNXPDIWC.mjs";
|
|
47
47
|
|
|
48
48
|
// src/modals/chat-modal/chat-modal.tsx
|
|
49
49
|
import { useEffect as useEffect5, useLayoutEffect, useRef as useRef3, useState as useState7 } from "react";
|
|
@@ -2942,4 +2942,4 @@ export {
|
|
|
2942
2942
|
MAX_WINDOWED_HEIGHT,
|
|
2943
2943
|
chat_modal_default
|
|
2944
2944
|
};
|
|
2945
|
-
//# sourceMappingURL=chunk-
|
|
2945
|
+
//# sourceMappingURL=chunk-6VDL4SLX.mjs.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
markdownSanitizeSchema,
|
|
7
7
|
maybeHandleFileLinkClick,
|
|
8
8
|
renderLowlightChildren
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RLW4RBIR.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-
|
|
516
|
+
//# sourceMappingURL=chunk-ASWUEAWM.mjs.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
indexedDBService_default,
|
|
3
3
|
useModelStore,
|
|
4
4
|
usePackageSettingsStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2EM4ATKI.mjs";
|
|
6
6
|
import {
|
|
7
7
|
authenticationService,
|
|
8
8
|
useAIProviderStore,
|
|
9
9
|
useAuthenticationStore
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J6LSSK3G.mjs";
|
|
11
11
|
import {
|
|
12
12
|
debugLogger
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HNXPDIWC.mjs";
|
|
14
14
|
|
|
15
15
|
// src/store/aiQueryStore.ts
|
|
16
16
|
import { create } from "zustand";
|
|
@@ -4833,7 +4833,7 @@ var useVectorStore = () => {
|
|
|
4833
4833
|
}, []);
|
|
4834
4834
|
const checkProviderCompatibility = useCallback2(async () => {
|
|
4835
4835
|
try {
|
|
4836
|
-
const { useAIProviderStore: useAIProviderStore2 } = await import("./aiProviderStore-
|
|
4836
|
+
const { useAIProviderStore: useAIProviderStore2 } = await import("./aiProviderStore-M4BVEKUB.mjs");
|
|
4837
4837
|
if (!mountedRef.current) return false;
|
|
4838
4838
|
const aiProviderState = useAIProviderStore2.getState();
|
|
4839
4839
|
const provider = aiProviderState.provider;
|
|
@@ -5874,4 +5874,4 @@ export {
|
|
|
5874
5874
|
useNotification,
|
|
5875
5875
|
NotificationProvider
|
|
5876
5876
|
};
|
|
5877
|
-
//# sourceMappingURL=chunk-
|
|
5877
|
+
//# sourceMappingURL=chunk-FEIDGXVR.mjs.map
|
|
@@ -36,11 +36,20 @@ var DebugLogger = class {
|
|
|
36
36
|
*/
|
|
37
37
|
debug(message, context) {
|
|
38
38
|
}
|
|
39
|
+
verboseEnabled() {
|
|
40
|
+
if (this.isDevelopment) return true;
|
|
41
|
+
try {
|
|
42
|
+
return typeof localStorage !== "undefined" && localStorage.getItem("bandit:debug") === "1";
|
|
43
|
+
} catch {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
39
47
|
/**
|
|
40
|
-
* Info logs - shown in
|
|
41
|
-
*
|
|
48
|
+
* Info logs - shown in development, or in production when localStorage
|
|
49
|
+
* `bandit:debug` is "1"
|
|
42
50
|
*/
|
|
43
51
|
info(message, context) {
|
|
52
|
+
if (!this.verboseEnabled()) return;
|
|
44
53
|
const prefix = this.isDevelopment ? "\u2139\uFE0F [INFO]" : "[INFO]";
|
|
45
54
|
if (context) {
|
|
46
55
|
console.info(`${prefix} ${message}`, context);
|
|
@@ -103,4 +112,4 @@ export {
|
|
|
103
112
|
DebugLogger,
|
|
104
113
|
debugLogger
|
|
105
114
|
};
|
|
106
|
-
//# sourceMappingURL=chunk-
|
|
115
|
+
//# sourceMappingURL=chunk-HNXPDIWC.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/services/logging/debugLogger.ts"],"sourcesContent":["/*\n * Copyright (c) 2025 Burtson Labs LLC.\n * SPDX-License-Identifier: BUSL-1.1\n * See LICENSE for the applicable terms.\n */\n\n\n/**\n * 🔍 Bandit Debug Logger Service\n * \n * Centralized logging service that provides environment-aware debug logging.\n * \n * Features:\n * - Production builds: Only warnings and errors are shown; set\n * localStorage `bandit:debug` to \"1\" to see info logs too\n * - Development mode: All logs are shown with clear debug prefixes\n * - Consistent formatting for debugging purposes\n * - Clear indication that logs are for debugging\n * \n * Usage:\n * ```typescript\n * import { debugLogger } from './services/logging/debugLogger';\n * \n * debugLogger.debug('LLM processing', { prompt, response });\n * debugLogger.info('User action completed', { action });\n * debugLogger.warn('Performance warning', { timing });\n * debugLogger.error('Operation failed', { error });\n * ```\n */\n\nexport type LogContext = unknown;\n\nclass DebugLogger {\n private isDevelopment: boolean;\n\n constructor() {\n // Check if we're in development mode using multiple detection methods\n this.isDevelopment = this.detectDevelopmentMode();\n }\n\n private detectDevelopmentMode(): boolean {\n // Check if we're in a development environment\n // This uses a safe approach that works in both ESM and CJS contexts\n try {\n // For browser environments using Vite - check the build-time flag\n const globalFlags = globalThis as typeof globalThis & {\n __VITE_IS_PRODUCTION__?: boolean;\n process?: { env?: { NODE_ENV?: string } };\n };\n\n if (typeof window !== 'undefined' && typeof globalFlags.__VITE_IS_PRODUCTION__ !== 'undefined') {\n return !globalFlags.__VITE_IS_PRODUCTION__;\n }\n \n // For Node.js environments - use try-catch to avoid type errors\n const proc = globalFlags.process;\n if (proc && proc.env) {\n return proc.env.NODE_ENV === 'development';\n }\n \n // For runtime detection, we can also check URL patterns in browser\n if (typeof window !== 'undefined' && window.location) {\n const devHosts = ['localhost', '127.0.0.1'];\n const devPorts = ['5173', '5183']; // common Vite dev ports\n return devHosts.includes(window.location.hostname) ||\n devPorts.includes(window.location.port);\n }\n } catch (e) {\n // If any detection fails, default to development for safety in debug scenarios\n }\n \n // Default to development for safety in debug scenarios\n return true;\n }\n\n /**\n * Set development mode manually (useful for testing or runtime configuration)\n */\n setDevelopmentMode(isDev: boolean): void {\n this.isDevelopment = isDev;\n }\n\n /**\n * Debug logs - only shown in development mode\n * These are obfuscated/hidden in production builds\n * DISABLED to prevent console flooding during chat processing\n */\n debug(message: string, context?: LogContext): void {\n // Debug logging disabled to prevent console flooding\n // Can be re-enabled for specific debugging sessions by uncommenting below:\n // if (this.isDevelopment) {\n // const prefix = '🔍 [DEBUG]';\n // if (context) {\n // console.log(`${prefix} ${message}`, context);\n // } else {\n // console.log(`${prefix} ${message}`);\n // }\n // }\n }\n\n private verboseEnabled(): boolean {\n if (this.isDevelopment) return true;\n try {\n return typeof localStorage !== 'undefined' && localStorage.getItem('bandit:debug') === '1';\n } catch {\n return false;\n }\n }\n\n /**\n * Info logs - shown in development, or in production when localStorage\n * `bandit:debug` is \"1\"\n */\n info(message: string, context?: LogContext): void {\n if (!this.verboseEnabled()) return;\n const prefix = this.isDevelopment ? 'ℹ️ [INFO]' : '[INFO]';\n if (context) {\n console.info(`${prefix} ${message}`, context);\n } else {\n console.info(`${prefix} ${message}`);\n }\n }\n\n /**\n * Warning logs - shown in both development and production\n * Used for non-critical issues that should be noted\n */\n warn(message: string, context?: LogContext): void {\n const prefix = this.isDevelopment ? '⚠️ [WARN]' : '[WARN]';\n if (context) {\n console.warn(`${prefix} ${message}`, context);\n } else {\n console.warn(`${prefix} ${message}`);\n }\n }\n\n /**\n * Error logs - always shown in both development and production\n * Used for critical errors that need attention\n */\n error(message: string, context?: LogContext): void {\n const prefix = this.isDevelopment ? '❌ [ERROR]' : '[ERROR]';\n if (context) {\n console.error(`${prefix} ${message}`, context);\n } else {\n console.error(`${prefix} ${message}`);\n }\n }\n\n /**\n * LLM-specific debug logging for RAG and AI features\n * DISABLED to prevent console flooding during chat processing\n */\n llmDebug(operation: string, data: LogContext): void {\n // LLM debug logging disabled to prevent console flooding\n // Can be re-enabled for specific debugging sessions\n }\n\n /**\n * RAG-specific debug logging for knowledge and document processing\n * DISABLED to prevent console flooding during chat processing\n */\n ragDebug(operation: string, data: LogContext): void {\n // RAG debug logging disabled to prevent console flooding\n // Can be re-enabled for specific debugging sessions\n }\n\n /**\n * Memory-specific debug logging for AI memory features\n * DISABLED to prevent console flooding during chat processing\n */\n memoryDebug(operation: string, data: LogContext): void {\n // Memory debug logging disabled to prevent console flooding\n // Can be re-enabled for specific debugging sessions\n }\n\n /**\n * Table logging for development debugging\n * DISABLED to prevent console flooding during chat processing\n */\n table(data: unknown[], message?: string): void {\n // Table logging disabled to prevent console flooding\n // Can be re-enabled for specific debugging sessions\n }\n}\n\n// Export a singleton instance\nexport const debugLogger = new DebugLogger();\n\n// Export the class for testing purposes\nexport { DebugLogger };\n"],"mappings":";AAgCA,IAAM,cAAN,MAAkB;AAAA,EACR;AAAA,EAER,cAAc;AAEZ,SAAK,gBAAgB,KAAK,sBAAsB;AAAA,EAClD;AAAA,EAEQ,wBAAiC;AAGvC,QAAI;AAEF,YAAM,cAAc;AAKpB,UAAI,OAAO,WAAW,eAAe,OAAO,YAAY,2BAA2B,aAAa;AAC9F,eAAO,CAAC,YAAY;AAAA,MACtB;AAGA,YAAM,OAAO,YAAY;AACzB,UAAI,QAAQ,KAAK,KAAK;AACpB,eAAO,KAAK,IAAI,aAAa;AAAA,MAC/B;AAGA,UAAI,OAAO,WAAW,eAAe,OAAO,UAAU;AACpD,cAAM,WAAW,CAAC,aAAa,WAAW;AAC1C,cAAM,WAAW,CAAC,QAAQ,MAAM;AAChC,eAAO,SAAS,SAAS,OAAO,SAAS,QAAQ,KAC1C,SAAS,SAAS,OAAO,SAAS,IAAI;AAAA,MAC/C;AAAA,IACF,SAAS,GAAG;AAAA,IAEZ;AAGA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA,EAKA,mBAAmB,OAAsB;AACvC,SAAK,gBAAgB;AAAA,EACvB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,SAAiB,SAA4B;AAAA,EAWnD;AAAA,EAEQ,iBAA0B;AAChC,QAAI,KAAK,cAAe,QAAO;AAC/B,QAAI;AACF,aAAO,OAAO,iBAAiB,eAAe,aAAa,QAAQ,cAAc,MAAM;AAAA,IACzF,QAAQ;AACN,aAAO;AAAA,IACT;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAK,SAAiB,SAA4B;AAChD,QAAI,CAAC,KAAK,eAAe,EAAG;AAC5B,UAAM,SAAS,KAAK,gBAAgB,wBAAc;AAClD,QAAI,SAAS;AACX,cAAQ,KAAK,GAAG,MAAM,IAAI,OAAO,IAAI,OAAO;AAAA,IAC9C,OAAO;AACL,cAAQ,KAAK,GAAG,MAAM,IAAI,OAAO,EAAE;AAAA,IACrC;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAK,SAAiB,SAA4B;AAChD,UAAM,SAAS,KAAK,gBAAgB,wBAAc;AAClD,QAAI,SAAS;AACX,cAAQ,KAAK,GAAG,MAAM,IAAI,OAAO,IAAI,OAAO;AAAA,IAC9C,OAAO;AACL,cAAQ,KAAK,GAAG,MAAM,IAAI,OAAO,EAAE;AAAA,IACrC;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,MAAM,SAAiB,SAA4B;AACjD,UAAM,SAAS,KAAK,gBAAgB,mBAAc;AAClD,QAAI,SAAS;AACX,cAAQ,MAAM,GAAG,MAAM,IAAI,OAAO,IAAI,OAAO;AAAA,IAC/C,OAAO;AACL,cAAQ,MAAM,GAAG,MAAM,IAAI,OAAO,EAAE;AAAA,IACtC;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,SAAS,WAAmB,MAAwB;AAAA,EAGpD;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,SAAS,WAAmB,MAAwB;AAAA,EAGpD;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,YAAY,WAAmB,MAAwB;AAAA,EAGvD;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,MAAM,MAAiB,SAAwB;AAAA,EAG/C;AACF;AAGO,IAAM,cAAc,IAAI,YAAY;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
debugLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HNXPDIWC.mjs";
|
|
4
4
|
|
|
5
5
|
// src/store/aiProviderStore.ts
|
|
6
6
|
import { create as create2 } from "zustand";
|
|
@@ -3154,4 +3154,4 @@ export {
|
|
|
3154
3154
|
AIProviderFactory,
|
|
3155
3155
|
useAIProviderStore
|
|
3156
3156
|
};
|
|
3157
|
-
//# sourceMappingURL=chunk-
|
|
3157
|
+
//# sourceMappingURL=chunk-J6LSSK3G.mjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
indexedDBService_default,
|
|
3
3
|
usePackageSettingsStore
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2EM4ATKI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
authenticationService,
|
|
7
7
|
useAIProviderStore
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-J6LSSK3G.mjs";
|
|
9
9
|
import {
|
|
10
10
|
debugLogger
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HNXPDIWC.mjs";
|
|
12
12
|
import {
|
|
13
13
|
__require
|
|
14
14
|
} from "./chunk-BJTO5JO5.mjs";
|
|
@@ -285,4 +285,4 @@ var aiProviderInitService = AIProviderInitService.getInstance();
|
|
|
285
285
|
export {
|
|
286
286
|
aiProviderInitService
|
|
287
287
|
};
|
|
288
|
-
//# sourceMappingURL=chunk-
|
|
288
|
+
//# sourceMappingURL=chunk-LKGBO5OP.mjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
indexedDBService_default,
|
|
3
3
|
usePackageSettingsStore
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2EM4ATKI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
authenticationService
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J6LSSK3G.mjs";
|
|
8
8
|
import {
|
|
9
9
|
debugLogger
|
|
10
|
-
} from "./chunk-
|
|
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-
|
|
390
|
+
//# sourceMappingURL=chunk-NGGTQVGX.mjs.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-ONQMRE2G.mjs";
|
|
4
4
|
import {
|
|
5
5
|
aiProviderInitService
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LKGBO5OP.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useMCPToolsStore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NGGTQVGX.mjs";
|
|
10
10
|
import {
|
|
11
11
|
FeatureFlagProvider,
|
|
12
12
|
NotificationProvider,
|
|
@@ -19,20 +19,20 @@ import {
|
|
|
19
19
|
useKnowledgeStore2,
|
|
20
20
|
useMemoryStore,
|
|
21
21
|
useProjectStore
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FEIDGXVR.mjs";
|
|
23
23
|
import {
|
|
24
24
|
indexedDBService_default,
|
|
25
25
|
useModelStore,
|
|
26
26
|
usePackageSettingsStore,
|
|
27
27
|
usePreferencesStore
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2EM4ATKI.mjs";
|
|
29
29
|
import {
|
|
30
30
|
AUTH_TOKEN_CHANGED_EVENT,
|
|
31
31
|
authenticationService
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-J6LSSK3G.mjs";
|
|
33
33
|
import {
|
|
34
34
|
debugLogger
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HNXPDIWC.mjs";
|
|
36
36
|
|
|
37
37
|
// src/chat-provider.tsx
|
|
38
38
|
import { useEffect, useState } from "react";
|
|
@@ -191,4 +191,4 @@ export {
|
|
|
191
191
|
ChatProvider,
|
|
192
192
|
chat_provider_default
|
|
193
193
|
};
|
|
194
|
-
//# sourceMappingURL=chunk-
|
|
194
|
+
//# sourceMappingURL=chunk-QHGGV4KJ.mjs.map
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
useMemoryStore,
|
|
7
7
|
useNotification,
|
|
8
8
|
useVectorStore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FEIDGXVR.mjs";
|
|
10
10
|
import {
|
|
11
11
|
useModelStore,
|
|
12
12
|
usePackageSettingsStore,
|
|
13
13
|
usePreferencesStore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2EM4ATKI.mjs";
|
|
15
15
|
import {
|
|
16
16
|
GatewayService,
|
|
17
17
|
authenticationService
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J6LSSK3G.mjs";
|
|
19
19
|
import {
|
|
20
20
|
debugLogger
|
|
21
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
7323
|
+
//# sourceMappingURL=chunk-RLW4RBIR.mjs.map
|