@burtson-labs/bandit-engine 2.0.168 → 2.1.0
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/CHANGELOG.md +31 -0
- package/LICENSE +189 -31
- package/NOTICE +26 -0
- package/README.md +15 -59
- package/dist/aiProviderStore-DKQCCDWF.mjs +8 -0
- package/dist/aiProviderStore-DKQCCDWF.mjs.map +1 -0
- package/dist/chat-VYZFUECC.mjs +10 -0
- package/dist/chat-VYZFUECC.mjs.map +1 -0
- package/dist/{chunk-GRPTCHFN.mjs → chunk-BJT6KPUG.mjs} +309 -154
- package/dist/chunk-BJT6KPUG.mjs.map +1 -0
- package/dist/{chunk-SZJB5FLZ.mjs → chunk-FCQN3LKT.mjs} +251 -77
- package/dist/chunk-FCQN3LKT.mjs.map +1 -0
- package/dist/chunk-HD4PJNPH.mjs +29034 -0
- package/dist/chunk-HD4PJNPH.mjs.map +1 -0
- package/dist/{chunk-HNXPDIWC.mjs → chunk-NI7BKLC7.mjs} +1 -1
- package/dist/chunk-NI7BKLC7.mjs.map +1 -0
- package/dist/index.d.mts +63 -57
- package/dist/index.d.ts +63 -57
- package/dist/index.js +15415 -7570
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16630 -142
- package/dist/index.mjs.map +1 -1
- package/dist/{memoryUtils-HGCYEUCD.mjs → memoryUtils-UBZ33DNA.mjs} +8 -3
- package/dist/memoryUtils-UBZ33DNA.mjs.map +1 -0
- package/dist/modelStore-SEC34WRM.mjs +8 -0
- package/dist/modelStore-SEC34WRM.mjs.map +1 -0
- package/dist/{public-DJa4Db00.d.mts → public-CKQQDOoy.d.mts} +8 -8
- package/dist/{public-DJa4Db00.d.ts → public-CKQQDOoy.d.ts} +8 -8
- package/dist/public-types.d.mts +1 -1
- package/dist/public-types.d.ts +1 -1
- package/docs/00_intro.md +2 -2
- package/docs/05_contributing.md +2 -2
- package/docs/06_licensing.md +18 -0
- package/docs/07_custom_tools.md +233 -0
- package/docs/README.md +2 -1
- package/package.json +23 -20
- package/dist/aiProviderStore-HY5G4QAK.mjs +0 -8
- package/dist/aiProviderStore-HY5G4QAK.mjs.map +0 -1
- package/dist/chat-7LOFYEWE.mjs +0 -15
- package/dist/chat-7LOFYEWE.mjs.map +0 -1
- package/dist/chat-provider.js +0 -11080
- package/dist/chat-provider.js.map +0 -1
- package/dist/chat-provider.mjs +0 -16
- package/dist/chat-provider.mjs.map +0 -1
- package/dist/chunk-4SXXEGEK.mjs +0 -10690
- package/dist/chunk-4SXXEGEK.mjs.map +0 -1
- package/dist/chunk-62IYSU3I.mjs +0 -7324
- package/dist/chunk-62IYSU3I.mjs.map +0 -1
- package/dist/chunk-CABOLDNR.mjs +0 -216
- package/dist/chunk-CABOLDNR.mjs.map +0 -1
- package/dist/chunk-E5WMDLE3.mjs +0 -390
- package/dist/chunk-E5WMDLE3.mjs.map +0 -1
- package/dist/chunk-GRPTCHFN.mjs.map +0 -1
- package/dist/chunk-HNXPDIWC.mjs.map +0 -1
- package/dist/chunk-JD6C64CT.mjs +0 -516
- package/dist/chunk-JD6C64CT.mjs.map +0 -1
- package/dist/chunk-KAXUI5H7.mjs +0 -6009
- package/dist/chunk-KAXUI5H7.mjs.map +0 -1
- package/dist/chunk-ONQMRE2G.mjs +0 -26
- package/dist/chunk-ONQMRE2G.mjs.map +0 -1
- package/dist/chunk-P4C5IRM5.mjs +0 -39
- package/dist/chunk-P4C5IRM5.mjs.map +0 -1
- package/dist/chunk-QI67R5F6.mjs +0 -194
- package/dist/chunk-QI67R5F6.mjs.map +0 -1
- package/dist/chunk-R3NOM2DG.mjs +0 -2945
- package/dist/chunk-R3NOM2DG.mjs.map +0 -1
- package/dist/chunk-SZJB5FLZ.mjs.map +0 -1
- package/dist/chunk-YGOLNWXJ.mjs +0 -11906
- package/dist/chunk-YGOLNWXJ.mjs.map +0 -1
- package/dist/management/management.js +0 -44454
- package/dist/management/management.js.map +0 -1
- package/dist/management/management.mjs +0 -16
- package/dist/management/management.mjs.map +0 -1
- package/dist/memoryUtils-HGCYEUCD.mjs.map +0 -1
- package/dist/modals/chat-modal/chat-modal.js +0 -19730
- package/dist/modals/chat-modal/chat-modal.js.map +0 -1
- package/dist/modals/chat-modal/chat-modal.mjs +0 -18
- package/dist/modals/chat-modal/chat-modal.mjs.map +0 -1
- package/dist/modelStore-TFNX4GEC.mjs +0 -8
- package/dist/modelStore-TFNX4GEC.mjs.map +0 -1
- package/dist/shared/custom-element.js +0 -73
- package/dist/shared/custom-element.js.map +0 -1
- package/dist/shared/custom-element.mjs +0 -7
- package/dist/shared/custom-element.mjs.map +0 -1
- package/docs/06_busl_licensing.md +0 -25
- package/docs/api_reference/.nojekyll +0 -1
- package/docs/api_reference/assets/bandit-docs.js +0 -462
- package/docs/api_reference/assets/highlight.css +0 -141
- package/docs/api_reference/assets/icons.js +0 -18
- package/docs/api_reference/assets/icons.svg +0 -1
- package/docs/api_reference/assets/main.js +0 -61
- package/docs/api_reference/assets/navigation.js +0 -1
- package/docs/api_reference/assets/search.js +0 -1
- package/docs/api_reference/assets/style.css +0 -1664
- package/docs/api_reference/classes/DebugLogger.html +0 -29
- package/docs/api_reference/classes/FeatureFlagService.html +0 -28
- package/docs/api_reference/classes/NotificationService.html +0 -21
- package/docs/api_reference/classes/StreamingTTSClient.html +0 -19
- package/docs/api_reference/classes/VectorDatabaseService.html +0 -63
- package/docs/api_reference/classes/VectorMigrationService.html +0 -27
- package/docs/api_reference/classes/VoiceService.html +0 -4
- package/docs/api_reference/enums/TTSState.html +0 -6
- package/docs/api_reference/functions/Chat.html +0 -1
- package/docs/api_reference/functions/ChatModal.html +0 -29
- package/docs/api_reference/functions/ChatProvider.html +0 -29
- package/docs/api_reference/functions/FeatureFlagProvider.html +0 -30
- package/docs/api_reference/functions/FeedbackButton.html +0 -29
- package/docs/api_reference/functions/FeedbackModal.html +0 -29
- package/docs/api_reference/functions/InterestsEditor.html +0 -5
- package/docs/api_reference/functions/Management.html +0 -1
- package/docs/api_reference/functions/NotificationProvider.html +0 -29
- package/docs/api_reference/functions/SubscriptionExpiredGuard.html +0 -31
- package/docs/api_reference/functions/SubscriptionExpiredModal.html +0 -31
- package/docs/api_reference/functions/defineCustomElement.html +0 -1
- package/docs/api_reference/functions/getCriticalConfig.html +0 -2
- package/docs/api_reference/functions/getFeatureMatrix.html +0 -1
- package/docs/api_reference/functions/getStreamingTTSClient.html +0 -1
- package/docs/api_reference/functions/getSystemConstants.html +0 -2
- package/docs/api_reference/functions/getTTSState.html +0 -1
- package/docs/api_reference/functions/handleHttpError.html +0 -2
- package/docs/api_reference/functions/handleSubscriptionUpgrade.html +0 -1
- package/docs/api_reference/functions/handleValidationError.html +0 -2
- package/docs/api_reference/functions/initializeCoreSystem.html +0 -2
- package/docs/api_reference/functions/isWorkspaceAdminRole.html +0 -6
- package/docs/api_reference/functions/pauseTTS.html +0 -1
- package/docs/api_reference/functions/previewTierUpgrade.html +0 -1
- package/docs/api_reference/functions/resolveManagementSections.html +0 -2
- package/docs/api_reference/functions/resumeTTS.html +0 -1
- package/docs/api_reference/functions/showInfoNotification.html +0 -2
- package/docs/api_reference/functions/showSuccessNotification.html +0 -2
- package/docs/api_reference/functions/speakWithStreaming.html +0 -1
- package/docs/api_reference/functions/stopTTS.html +0 -1
- package/docs/api_reference/functions/syncSubscriptionWithAPI.html +0 -1
- package/docs/api_reference/functions/updateSubscriptionTier.html +0 -2
- package/docs/api_reference/functions/useFeatureFlag.html +0 -2
- package/docs/api_reference/functions/useFeatureVisibility.html +0 -2
- package/docs/api_reference/functions/useFeatures.html +0 -2
- package/docs/api_reference/functions/useGatewayHealth.html +0 -1
- package/docs/api_reference/functions/useGatewayMemory.html +0 -1
- package/docs/api_reference/functions/useGatewayModels.html +0 -1
- package/docs/api_reference/functions/useGlobalTTS.html +0 -2
- package/docs/api_reference/functions/useManagementAccess.html +0 -2
- package/docs/api_reference/functions/useNotification.html +0 -1
- package/docs/api_reference/functions/useNotificationService.html +0 -6
- package/docs/api_reference/functions/useTTS.html +0 -2
- package/docs/api_reference/functions/useVectorStore.html +0 -13
- package/docs/api_reference/functions/useVoiceStore.html +0 -8
- package/docs/api_reference/functions/useVoices.html +0 -3
- package/docs/api_reference/functions/validateEnvironment.html +0 -2
- package/docs/api_reference/functions/validateSystemIntegrity.html +0 -2
- package/docs/api_reference/index.html +0 -916
- package/docs/api_reference/interfaces/AIChatRequest.html +0 -8
- package/docs/api_reference/interfaces/AIChatResponse.html +0 -3
- package/docs/api_reference/interfaces/AIGenerateRequest.html +0 -5
- package/docs/api_reference/interfaces/AIGenerateResponse.html +0 -3
- package/docs/api_reference/interfaces/AIMessage.html +0 -4
- package/docs/api_reference/interfaces/AIModel.html +0 -6
- package/docs/api_reference/interfaces/AIProviderConfig.html +0 -12
- package/docs/api_reference/interfaces/ChatConfig.html +0 -5
- package/docs/api_reference/interfaces/ChatModalProps.html +0 -7
- package/docs/api_reference/interfaces/CreateMemoryOptions.html +0 -7
- package/docs/api_reference/interfaces/FeatureEvaluation.html +0 -14
- package/docs/api_reference/interfaces/FeatureFlagConfig.html +0 -18
- package/docs/api_reference/interfaces/FeatureFlagContextValue.html +0 -16
- package/docs/api_reference/interfaces/FeatureFlagProviderProps.html +0 -4
- package/docs/api_reference/interfaces/FeedbackButtonProps.html +0 -19
- package/docs/api_reference/interfaces/FeedbackCategories.html +0 -6
- package/docs/api_reference/interfaces/FeedbackModalProps.html +0 -4
- package/docs/api_reference/interfaces/FeedbackPriorities.html +0 -5
- package/docs/api_reference/interfaces/FeedbackRequest.html +0 -12
- package/docs/api_reference/interfaces/FeedbackResponse.html +0 -7
- package/docs/api_reference/interfaces/FileUploadResult.html +0 -4
- package/docs/api_reference/interfaces/GatewayChatRequest.html +0 -13
- package/docs/api_reference/interfaces/GatewayChatResponse.html +0 -7
- package/docs/api_reference/interfaces/GatewayContract.html +0 -4
- package/docs/api_reference/interfaces/GatewayGenerateRequest.html +0 -8
- package/docs/api_reference/interfaces/GatewayGenerateResponse.html +0 -12
- package/docs/api_reference/interfaces/GatewayHealthResponse.html +0 -5
- package/docs/api_reference/interfaces/GatewayMemoryRecord.html +0 -7
- package/docs/api_reference/interfaces/GatewayMemoryResponse.html +0 -4
- package/docs/api_reference/interfaces/GatewayMessage.html +0 -5
- package/docs/api_reference/interfaces/GatewayMessageContent.html +0 -4
- package/docs/api_reference/interfaces/GatewayModel.html +0 -9
- package/docs/api_reference/interfaces/GatewayModelsResponse.html +0 -2
- package/docs/api_reference/interfaces/ManagementAccess.html +0 -5
- package/docs/api_reference/interfaces/ManagementAccessInput.html +0 -5
- package/docs/api_reference/interfaces/ManagementLink.html +0 -7
- package/docs/api_reference/interfaces/ManagementProps.html +0 -22
- package/docs/api_reference/interfaces/ManagementSectionDef.html +0 -10
- package/docs/api_reference/interfaces/MemorySearchFilters.html +0 -5
- package/docs/api_reference/interfaces/MigrationProgress.html +0 -6
- package/docs/api_reference/interfaces/MigrationStatus.html +0 -7
- package/docs/api_reference/interfaces/NotificationConfig.html +0 -5
- package/docs/api_reference/interfaces/NotificationContextType.html +0 -6
- package/docs/api_reference/interfaces/NotificationProviderProps.html +0 -4
- package/docs/api_reference/interfaces/PackageSettings.html +0 -22
- package/docs/api_reference/interfaces/SearchOptions.html +0 -6
- package/docs/api_reference/interfaces/SearchResult.html +0 -5
- package/docs/api_reference/interfaces/SubscriptionExpiredGuardProps.html +0 -7
- package/docs/api_reference/interfaces/SubscriptionExpiredModalProps.html +0 -6
- package/docs/api_reference/interfaces/TTSOptions.html +0 -5
- package/docs/api_reference/interfaces/TTSProgress.html +0 -6
- package/docs/api_reference/interfaces/TrialUsage.html +0 -6
- package/docs/api_reference/interfaces/UploadRequest.html +0 -9
- package/docs/api_reference/interfaces/UseTTSReturn.html +0 -14
- package/docs/api_reference/interfaces/VectorDocument.html +0 -11
- package/docs/api_reference/interfaces/VectorMemory.html +0 -12
- package/docs/api_reference/interfaces/VectorMemoryMetadata.html +0 -7
- package/docs/api_reference/interfaces/VectorStoreStatus.html +0 -7
- package/docs/api_reference/interfaces/VoiceModelsResponse.html +0 -4
- package/docs/api_reference/interfaces/VoiceState.html +0 -12
- package/docs/api_reference/media/02_gateway_api.md +0 -123
- package/docs/api_reference/media/05_cli_quickstart.md +0 -87
- package/docs/api_reference/media/LICENSE +0 -43
- package/docs/api_reference/media/PRE-PUSH-CHECKLIST.md +0 -10
- package/docs/api_reference/media/PROTECTION-NOTICE.md +0 -11
- package/docs/api_reference/media/README.md +0 -58
- package/docs/api_reference/modules.html +0 -136
- package/docs/api_reference/types/FeatureKey.html +0 -2
- package/docs/api_reference/types/FeatureMatrix.html +0 -2
- package/docs/api_reference/types/GatewayQueryOptions.html +0 -1
- package/docs/api_reference/types/LogContext.html +0 -14
- package/docs/api_reference/types/ManagementRequest.html +0 -1
- package/docs/api_reference/types/ManagementSectionId.html +0 -2
- package/docs/api_reference/types/SubscriptionTier.html +0 -2
- package/docs/api_reference/variables/DEFAULT_TIER_FEATURES.html +0 -2
- package/docs/api_reference/variables/FeatureFlagContext.html +0 -1
- package/docs/api_reference/variables/MANAGEMENT_SECTIONS.html +0 -1
- package/docs/api_reference/variables/OSS_DEFAULT_FEATURES.html +0 -2
- package/docs/api_reference/variables/SYSTEM_FLAGS.html +0 -2
- package/docs/api_reference/variables/authenticationService.html +0 -1
- package/docs/api_reference/variables/debugLogger-1.html +0 -1
- package/docs/api_reference/variables/featureFlagService-1.html +0 -2
- package/docs/api_reference/variables/notificationService-1.html +0 -1
- package/docs/api_reference/variables/vectorDatabaseService-1.html +0 -1
- package/docs/api_reference/variables/vectorMigrationService-1.html +0 -1
- package/docs/api_reference/variables/voiceService-1.html +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/services/logging/debugLogger.ts"],"mappings":";AA+BA,IAAM,cAAN,MAAkB;AAAA,EACR;AAAA,EAER,cAAc;AAEZ,SAAK,gBAAgB,KAAK,sBAAsB;AAAA,EAClD;AAAA,EAEQ,wBAAiC;AAGvC,QAAI;AAEF,YAAM,cAAc;AAKpB,UACE,OAAO,WAAW,eAClB,OAAO,YAAY,2BAA2B,aAC9C;AACA,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,eACE,SAAS,SAAS,OAAO,SAAS,QAAQ,KAC1C,SAAS,SAAS,OAAO,SAAS,IAAI;AAAA,MAE1C;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,aACE,OAAO,iBAAiB,eACxB,aAAa,QAAQ,cAAc,MAAM;AAAA,IAE7C,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":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FeatureKey, a as FeatureEvaluation, S as SubscriptionTier, b as FeatureFlagConfig, T as TrialUsage } from './public-
|
|
2
|
-
export { A as AIChatRequest, c as AIChatResponse, d as AIGenerateRequest, e as AIGenerateResponse, f as AIMessage, g as AIModel, h as AIProviderConfig, C as ChatConfig, i as ChatModal, j as ChatModalProps, k as ChatProvider, D as DEFAULT_TIER_FEATURES, l as FeatureMatrix, O as OSS_DEFAULT_FEATURES, P as PackageSettings, V as VoiceModelsResponse, m as VoiceService, v as voiceService } from './public-
|
|
1
|
+
import { F as FeatureKey, a as FeatureEvaluation, S as SubscriptionTier, b as FeatureFlagConfig, T as TrialUsage } from './public-CKQQDOoy.mjs';
|
|
2
|
+
export { A as AIChatRequest, c as AIChatResponse, d as AIGenerateRequest, e as AIGenerateResponse, f as AIMessage, g as AIModel, h as AIProviderConfig, C as ChatConfig, i as ChatModal, j as ChatModalProps, k as ChatProvider, D as DEFAULT_TIER_FEATURES, l as FeatureMatrix, O as OSS_DEFAULT_FEATURES, P as PackageSettings, V as VoiceModelsResponse, m as VoiceService, v as voiceService } from './public-CKQQDOoy.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import React, { ReactNode } from 'react';
|
|
5
5
|
import { Theme } from '@mui/material/styles';
|
|
@@ -363,7 +363,7 @@ interface FeatureFlagContextValue {
|
|
|
363
363
|
/** Check if user is admin */
|
|
364
364
|
isAdmin: () => boolean;
|
|
365
365
|
/** Get current tier */
|
|
366
|
-
getCurrentTier: () => SubscriptionTier |
|
|
366
|
+
getCurrentTier: () => SubscriptionTier | "oss";
|
|
367
367
|
/** Update subscription tier dynamically */
|
|
368
368
|
updateTier: (tier: SubscriptionTier) => void;
|
|
369
369
|
/** Check if we're in OSS mode */
|
|
@@ -481,6 +481,12 @@ declare class FeatureFlagService {
|
|
|
481
481
|
* Notify all subscribers of changes
|
|
482
482
|
*/
|
|
483
483
|
private notifySubscribers;
|
|
484
|
+
/**
|
|
485
|
+
* JSON headers carrying the live session token, when there is one. Goes
|
|
486
|
+
* through the auth service so memory-mode sessions (nothing in Web
|
|
487
|
+
* Storage) and the configured token key are honoured.
|
|
488
|
+
*/
|
|
489
|
+
private requestHeaders;
|
|
484
490
|
/**
|
|
485
491
|
* Update subscription tier and notify components
|
|
486
492
|
*/
|
|
@@ -638,12 +644,12 @@ declare class StreamingTTSClient {
|
|
|
638
644
|
*/
|
|
639
645
|
speakStream(text: string, voice: string, options?: TTSOptions): Observable<void>;
|
|
640
646
|
/**
|
|
641
|
-
|
|
642
|
-
|
|
647
|
+
* Simple streaming implementation - no queues, just direct playback
|
|
648
|
+
*/
|
|
643
649
|
private performSimpleStreaming;
|
|
644
650
|
/**
|
|
645
|
-
|
|
646
|
-
|
|
651
|
+
* Set up audio event listeners
|
|
652
|
+
*/
|
|
647
653
|
private setupAudioListeners;
|
|
648
654
|
/**
|
|
649
655
|
* Stop playback
|
|
@@ -748,7 +754,7 @@ interface FeedbackButtonProps {
|
|
|
748
754
|
/** Custom button text for inline mode */
|
|
749
755
|
buttonText?: string;
|
|
750
756
|
/** Custom size */
|
|
751
|
-
size?:
|
|
757
|
+
size?: "small" | "medium" | "large";
|
|
752
758
|
/** Custom positioning */
|
|
753
759
|
position?: {
|
|
754
760
|
bottom?: number | string;
|
|
@@ -771,8 +777,8 @@ declare const FeedbackModal: React.FC<FeedbackModalProps>;
|
|
|
771
777
|
interface FeedbackRequest {
|
|
772
778
|
title: string;
|
|
773
779
|
description: string;
|
|
774
|
-
category:
|
|
775
|
-
priority:
|
|
780
|
+
category: "bug" | "feature" | "improvement" | "question" | "other";
|
|
781
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
776
782
|
annoyanceLevel?: number;
|
|
777
783
|
images?: string[];
|
|
778
784
|
userAgent?: string;
|
|
@@ -797,7 +803,7 @@ interface FeedbackRequest {
|
|
|
797
803
|
}
|
|
798
804
|
interface FeedbackResponse {
|
|
799
805
|
id: string;
|
|
800
|
-
status:
|
|
806
|
+
status: "submitted" | "acknowledged" | "in-progress" | "resolved" | "rejected";
|
|
801
807
|
message: string;
|
|
802
808
|
ticketNumber?: string;
|
|
803
809
|
estimatedResponse?: string;
|
|
@@ -805,56 +811,56 @@ interface FeedbackResponse {
|
|
|
805
811
|
}
|
|
806
812
|
interface FeedbackCategories {
|
|
807
813
|
bug: {
|
|
808
|
-
label:
|
|
809
|
-
description:
|
|
810
|
-
icon:
|
|
811
|
-
color:
|
|
814
|
+
label: "Bug Report";
|
|
815
|
+
description: "Something isn't working as expected";
|
|
816
|
+
icon: "BugReport";
|
|
817
|
+
color: "#f44336";
|
|
812
818
|
};
|
|
813
819
|
feature: {
|
|
814
|
-
label:
|
|
815
|
-
description:
|
|
816
|
-
icon:
|
|
817
|
-
color:
|
|
820
|
+
label: "Feature Request";
|
|
821
|
+
description: "Suggest a new feature or enhancement";
|
|
822
|
+
icon: "Lightbulb";
|
|
823
|
+
color: "#2196f3";
|
|
818
824
|
};
|
|
819
825
|
improvement: {
|
|
820
|
-
label:
|
|
821
|
-
description:
|
|
822
|
-
icon:
|
|
823
|
-
color:
|
|
826
|
+
label: "Improvement";
|
|
827
|
+
description: "Suggest improvements to existing features";
|
|
828
|
+
icon: "TrendingUp";
|
|
829
|
+
color: "#ff9800";
|
|
824
830
|
};
|
|
825
831
|
question: {
|
|
826
|
-
label:
|
|
827
|
-
description:
|
|
828
|
-
icon:
|
|
829
|
-
color:
|
|
832
|
+
label: "Question";
|
|
833
|
+
description: "Ask a question about usage or functionality";
|
|
834
|
+
icon: "Help";
|
|
835
|
+
color: "#9c27b0";
|
|
830
836
|
};
|
|
831
837
|
other: {
|
|
832
|
-
label:
|
|
833
|
-
description:
|
|
834
|
-
icon:
|
|
835
|
-
color:
|
|
838
|
+
label: "Other";
|
|
839
|
+
description: "General feedback or other topics";
|
|
840
|
+
icon: "Message";
|
|
841
|
+
color: "#607d8b";
|
|
836
842
|
};
|
|
837
843
|
}
|
|
838
844
|
interface FeedbackPriorities {
|
|
839
845
|
low: {
|
|
840
|
-
label:
|
|
841
|
-
description:
|
|
842
|
-
color:
|
|
846
|
+
label: "Low";
|
|
847
|
+
description: "Minor issue, can wait";
|
|
848
|
+
color: "#4caf50";
|
|
843
849
|
};
|
|
844
850
|
medium: {
|
|
845
|
-
label:
|
|
846
|
-
description:
|
|
847
|
-
color:
|
|
851
|
+
label: "Medium";
|
|
852
|
+
description: "Normal priority";
|
|
853
|
+
color: "#ff9800";
|
|
848
854
|
};
|
|
849
855
|
high: {
|
|
850
|
-
label:
|
|
851
|
-
description:
|
|
852
|
-
color:
|
|
856
|
+
label: "High";
|
|
857
|
+
description: "Important, needs attention soon";
|
|
858
|
+
color: "#f44336";
|
|
853
859
|
};
|
|
854
860
|
critical: {
|
|
855
|
-
label:
|
|
856
|
-
description:
|
|
857
|
-
color:
|
|
861
|
+
label: "Critical";
|
|
862
|
+
description: "Urgent, blocks usage";
|
|
863
|
+
color: "#d32f2f";
|
|
858
864
|
};
|
|
859
865
|
}
|
|
860
866
|
|
|
@@ -863,8 +869,8 @@ interface NotificationConfig {
|
|
|
863
869
|
severity?: AlertColor;
|
|
864
870
|
duration?: number;
|
|
865
871
|
anchorOrigin?: {
|
|
866
|
-
vertical:
|
|
867
|
-
horizontal:
|
|
872
|
+
vertical: "top" | "bottom";
|
|
873
|
+
horizontal: "left" | "center" | "right";
|
|
868
874
|
};
|
|
869
875
|
}
|
|
870
876
|
interface NotificationContextType {
|
|
@@ -879,8 +885,8 @@ interface NotificationProviderProps {
|
|
|
879
885
|
children: ReactNode;
|
|
880
886
|
defaultDuration?: number;
|
|
881
887
|
defaultPosition?: {
|
|
882
|
-
vertical:
|
|
883
|
-
horizontal:
|
|
888
|
+
vertical: "top" | "bottom";
|
|
889
|
+
horizontal: "left" | "center" | "right";
|
|
884
890
|
};
|
|
885
891
|
}
|
|
886
892
|
declare const NotificationProvider: React.FC<NotificationProviderProps>;
|
|
@@ -897,7 +903,7 @@ declare class NotificationService {
|
|
|
897
903
|
/**
|
|
898
904
|
* Show a generic notification
|
|
899
905
|
*/
|
|
900
|
-
show(message: string, severity?:
|
|
906
|
+
show(message: string, severity?: "success" | "error" | "warning" | "info"): void;
|
|
901
907
|
/**
|
|
902
908
|
* Show an error notification
|
|
903
909
|
*/
|
|
@@ -1023,7 +1029,7 @@ declare function getCriticalConfig(): {
|
|
|
1023
1029
|
* accept documents, code and data), and the page reports how many it hid so the UI can offer
|
|
1024
1030
|
* "All workspace files".
|
|
1025
1031
|
*/
|
|
1026
|
-
type KnowledgeFileScope =
|
|
1032
|
+
type KnowledgeFileScope = "knowledge" | "all";
|
|
1027
1033
|
type RawFileRecord = Record<string, unknown>;
|
|
1028
1034
|
interface KnowledgeFilePage {
|
|
1029
1035
|
files: RawFileRecord[];
|
|
@@ -1048,7 +1054,7 @@ interface VectorMemory {
|
|
|
1048
1054
|
score?: number;
|
|
1049
1055
|
uploadedBy: string;
|
|
1050
1056
|
uploadedAt: string;
|
|
1051
|
-
source?:
|
|
1057
|
+
source?: "auto" | "user";
|
|
1052
1058
|
pinned?: boolean;
|
|
1053
1059
|
lastReferencedAt?: string;
|
|
1054
1060
|
metadata?: VectorMemoryMetadata;
|
|
@@ -1072,7 +1078,7 @@ interface VectorDocument {
|
|
|
1072
1078
|
uploadedAt: string;
|
|
1073
1079
|
isUserContent: boolean;
|
|
1074
1080
|
isTeamContent: boolean;
|
|
1075
|
-
contentSource:
|
|
1081
|
+
contentSource: "user" | "team";
|
|
1076
1082
|
/** File size in bytes, when the listing reports it. */
|
|
1077
1083
|
size?: number;
|
|
1078
1084
|
bucket?: string;
|
|
@@ -1090,13 +1096,13 @@ interface SearchResult {
|
|
|
1090
1096
|
interface MemorySearchFilters {
|
|
1091
1097
|
includePinned?: boolean;
|
|
1092
1098
|
topics?: string[];
|
|
1093
|
-
source?: Array<
|
|
1099
|
+
source?: Array<"auto" | "user">;
|
|
1094
1100
|
tags?: string[];
|
|
1095
1101
|
}
|
|
1096
1102
|
interface CreateMemoryOptions {
|
|
1097
1103
|
title?: string;
|
|
1098
1104
|
tags?: string[];
|
|
1099
|
-
source?:
|
|
1105
|
+
source?: "auto" | "user";
|
|
1100
1106
|
pinned?: boolean;
|
|
1101
1107
|
metadata?: VectorMemoryMetadata;
|
|
1102
1108
|
lastReferencedAt?: string;
|
|
@@ -1197,7 +1203,7 @@ declare class VectorDatabaseService {
|
|
|
1197
1203
|
content: string;
|
|
1198
1204
|
title?: string;
|
|
1199
1205
|
tags?: string[];
|
|
1200
|
-
}>, mode?:
|
|
1206
|
+
}>, mode?: "append" | "replace" | "smartDedupe", clearExisting?: boolean): Promise<{
|
|
1201
1207
|
success: boolean;
|
|
1202
1208
|
message: string;
|
|
1203
1209
|
results: Array<{
|
|
@@ -1227,7 +1233,7 @@ declare class VectorDatabaseService {
|
|
|
1227
1233
|
title?: string;
|
|
1228
1234
|
tags?: string[];
|
|
1229
1235
|
}>, options?: {
|
|
1230
|
-
mode?:
|
|
1236
|
+
mode?: "append" | "replace" | "smartDedupe";
|
|
1231
1237
|
clearExisting?: boolean;
|
|
1232
1238
|
chunkSize?: number;
|
|
1233
1239
|
onProgress?: (current: number, total: number, message: string) => void;
|
|
@@ -1335,7 +1341,7 @@ interface MigrationStatus {
|
|
|
1335
1341
|
totalTime: number;
|
|
1336
1342
|
}
|
|
1337
1343
|
interface MigrationProgress {
|
|
1338
|
-
phase:
|
|
1344
|
+
phase: "memories" | "documents" | "cleanup" | "complete";
|
|
1339
1345
|
current: number;
|
|
1340
1346
|
total: number;
|
|
1341
1347
|
currentItem?: string;
|
|
@@ -1451,7 +1457,7 @@ interface SearchOptions {
|
|
|
1451
1457
|
filters?: MemorySearchFilters;
|
|
1452
1458
|
}
|
|
1453
1459
|
/** One page of Knowledge documents, ready for the Knowledge view. */
|
|
1454
|
-
interface KnowledgeDocumentPage extends Omit<KnowledgeFilePage,
|
|
1460
|
+
interface KnowledgeDocumentPage extends Omit<KnowledgeFilePage, "files"> {
|
|
1455
1461
|
documents: VectorDocument[];
|
|
1456
1462
|
}
|
|
1457
1463
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FeatureKey, a as FeatureEvaluation, S as SubscriptionTier, b as FeatureFlagConfig, T as TrialUsage } from './public-
|
|
2
|
-
export { A as AIChatRequest, c as AIChatResponse, d as AIGenerateRequest, e as AIGenerateResponse, f as AIMessage, g as AIModel, h as AIProviderConfig, C as ChatConfig, i as ChatModal, j as ChatModalProps, k as ChatProvider, D as DEFAULT_TIER_FEATURES, l as FeatureMatrix, O as OSS_DEFAULT_FEATURES, P as PackageSettings, V as VoiceModelsResponse, m as VoiceService, v as voiceService } from './public-
|
|
1
|
+
import { F as FeatureKey, a as FeatureEvaluation, S as SubscriptionTier, b as FeatureFlagConfig, T as TrialUsage } from './public-CKQQDOoy.js';
|
|
2
|
+
export { A as AIChatRequest, c as AIChatResponse, d as AIGenerateRequest, e as AIGenerateResponse, f as AIMessage, g as AIModel, h as AIProviderConfig, C as ChatConfig, i as ChatModal, j as ChatModalProps, k as ChatProvider, D as DEFAULT_TIER_FEATURES, l as FeatureMatrix, O as OSS_DEFAULT_FEATURES, P as PackageSettings, V as VoiceModelsResponse, m as VoiceService, v as voiceService } from './public-CKQQDOoy.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import React, { ReactNode } from 'react';
|
|
5
5
|
import { Theme } from '@mui/material/styles';
|
|
@@ -363,7 +363,7 @@ interface FeatureFlagContextValue {
|
|
|
363
363
|
/** Check if user is admin */
|
|
364
364
|
isAdmin: () => boolean;
|
|
365
365
|
/** Get current tier */
|
|
366
|
-
getCurrentTier: () => SubscriptionTier |
|
|
366
|
+
getCurrentTier: () => SubscriptionTier | "oss";
|
|
367
367
|
/** Update subscription tier dynamically */
|
|
368
368
|
updateTier: (tier: SubscriptionTier) => void;
|
|
369
369
|
/** Check if we're in OSS mode */
|
|
@@ -481,6 +481,12 @@ declare class FeatureFlagService {
|
|
|
481
481
|
* Notify all subscribers of changes
|
|
482
482
|
*/
|
|
483
483
|
private notifySubscribers;
|
|
484
|
+
/**
|
|
485
|
+
* JSON headers carrying the live session token, when there is one. Goes
|
|
486
|
+
* through the auth service so memory-mode sessions (nothing in Web
|
|
487
|
+
* Storage) and the configured token key are honoured.
|
|
488
|
+
*/
|
|
489
|
+
private requestHeaders;
|
|
484
490
|
/**
|
|
485
491
|
* Update subscription tier and notify components
|
|
486
492
|
*/
|
|
@@ -638,12 +644,12 @@ declare class StreamingTTSClient {
|
|
|
638
644
|
*/
|
|
639
645
|
speakStream(text: string, voice: string, options?: TTSOptions): Observable<void>;
|
|
640
646
|
/**
|
|
641
|
-
|
|
642
|
-
|
|
647
|
+
* Simple streaming implementation - no queues, just direct playback
|
|
648
|
+
*/
|
|
643
649
|
private performSimpleStreaming;
|
|
644
650
|
/**
|
|
645
|
-
|
|
646
|
-
|
|
651
|
+
* Set up audio event listeners
|
|
652
|
+
*/
|
|
647
653
|
private setupAudioListeners;
|
|
648
654
|
/**
|
|
649
655
|
* Stop playback
|
|
@@ -748,7 +754,7 @@ interface FeedbackButtonProps {
|
|
|
748
754
|
/** Custom button text for inline mode */
|
|
749
755
|
buttonText?: string;
|
|
750
756
|
/** Custom size */
|
|
751
|
-
size?:
|
|
757
|
+
size?: "small" | "medium" | "large";
|
|
752
758
|
/** Custom positioning */
|
|
753
759
|
position?: {
|
|
754
760
|
bottom?: number | string;
|
|
@@ -771,8 +777,8 @@ declare const FeedbackModal: React.FC<FeedbackModalProps>;
|
|
|
771
777
|
interface FeedbackRequest {
|
|
772
778
|
title: string;
|
|
773
779
|
description: string;
|
|
774
|
-
category:
|
|
775
|
-
priority:
|
|
780
|
+
category: "bug" | "feature" | "improvement" | "question" | "other";
|
|
781
|
+
priority: "low" | "medium" | "high" | "critical";
|
|
776
782
|
annoyanceLevel?: number;
|
|
777
783
|
images?: string[];
|
|
778
784
|
userAgent?: string;
|
|
@@ -797,7 +803,7 @@ interface FeedbackRequest {
|
|
|
797
803
|
}
|
|
798
804
|
interface FeedbackResponse {
|
|
799
805
|
id: string;
|
|
800
|
-
status:
|
|
806
|
+
status: "submitted" | "acknowledged" | "in-progress" | "resolved" | "rejected";
|
|
801
807
|
message: string;
|
|
802
808
|
ticketNumber?: string;
|
|
803
809
|
estimatedResponse?: string;
|
|
@@ -805,56 +811,56 @@ interface FeedbackResponse {
|
|
|
805
811
|
}
|
|
806
812
|
interface FeedbackCategories {
|
|
807
813
|
bug: {
|
|
808
|
-
label:
|
|
809
|
-
description:
|
|
810
|
-
icon:
|
|
811
|
-
color:
|
|
814
|
+
label: "Bug Report";
|
|
815
|
+
description: "Something isn't working as expected";
|
|
816
|
+
icon: "BugReport";
|
|
817
|
+
color: "#f44336";
|
|
812
818
|
};
|
|
813
819
|
feature: {
|
|
814
|
-
label:
|
|
815
|
-
description:
|
|
816
|
-
icon:
|
|
817
|
-
color:
|
|
820
|
+
label: "Feature Request";
|
|
821
|
+
description: "Suggest a new feature or enhancement";
|
|
822
|
+
icon: "Lightbulb";
|
|
823
|
+
color: "#2196f3";
|
|
818
824
|
};
|
|
819
825
|
improvement: {
|
|
820
|
-
label:
|
|
821
|
-
description:
|
|
822
|
-
icon:
|
|
823
|
-
color:
|
|
826
|
+
label: "Improvement";
|
|
827
|
+
description: "Suggest improvements to existing features";
|
|
828
|
+
icon: "TrendingUp";
|
|
829
|
+
color: "#ff9800";
|
|
824
830
|
};
|
|
825
831
|
question: {
|
|
826
|
-
label:
|
|
827
|
-
description:
|
|
828
|
-
icon:
|
|
829
|
-
color:
|
|
832
|
+
label: "Question";
|
|
833
|
+
description: "Ask a question about usage or functionality";
|
|
834
|
+
icon: "Help";
|
|
835
|
+
color: "#9c27b0";
|
|
830
836
|
};
|
|
831
837
|
other: {
|
|
832
|
-
label:
|
|
833
|
-
description:
|
|
834
|
-
icon:
|
|
835
|
-
color:
|
|
838
|
+
label: "Other";
|
|
839
|
+
description: "General feedback or other topics";
|
|
840
|
+
icon: "Message";
|
|
841
|
+
color: "#607d8b";
|
|
836
842
|
};
|
|
837
843
|
}
|
|
838
844
|
interface FeedbackPriorities {
|
|
839
845
|
low: {
|
|
840
|
-
label:
|
|
841
|
-
description:
|
|
842
|
-
color:
|
|
846
|
+
label: "Low";
|
|
847
|
+
description: "Minor issue, can wait";
|
|
848
|
+
color: "#4caf50";
|
|
843
849
|
};
|
|
844
850
|
medium: {
|
|
845
|
-
label:
|
|
846
|
-
description:
|
|
847
|
-
color:
|
|
851
|
+
label: "Medium";
|
|
852
|
+
description: "Normal priority";
|
|
853
|
+
color: "#ff9800";
|
|
848
854
|
};
|
|
849
855
|
high: {
|
|
850
|
-
label:
|
|
851
|
-
description:
|
|
852
|
-
color:
|
|
856
|
+
label: "High";
|
|
857
|
+
description: "Important, needs attention soon";
|
|
858
|
+
color: "#f44336";
|
|
853
859
|
};
|
|
854
860
|
critical: {
|
|
855
|
-
label:
|
|
856
|
-
description:
|
|
857
|
-
color:
|
|
861
|
+
label: "Critical";
|
|
862
|
+
description: "Urgent, blocks usage";
|
|
863
|
+
color: "#d32f2f";
|
|
858
864
|
};
|
|
859
865
|
}
|
|
860
866
|
|
|
@@ -863,8 +869,8 @@ interface NotificationConfig {
|
|
|
863
869
|
severity?: AlertColor;
|
|
864
870
|
duration?: number;
|
|
865
871
|
anchorOrigin?: {
|
|
866
|
-
vertical:
|
|
867
|
-
horizontal:
|
|
872
|
+
vertical: "top" | "bottom";
|
|
873
|
+
horizontal: "left" | "center" | "right";
|
|
868
874
|
};
|
|
869
875
|
}
|
|
870
876
|
interface NotificationContextType {
|
|
@@ -879,8 +885,8 @@ interface NotificationProviderProps {
|
|
|
879
885
|
children: ReactNode;
|
|
880
886
|
defaultDuration?: number;
|
|
881
887
|
defaultPosition?: {
|
|
882
|
-
vertical:
|
|
883
|
-
horizontal:
|
|
888
|
+
vertical: "top" | "bottom";
|
|
889
|
+
horizontal: "left" | "center" | "right";
|
|
884
890
|
};
|
|
885
891
|
}
|
|
886
892
|
declare const NotificationProvider: React.FC<NotificationProviderProps>;
|
|
@@ -897,7 +903,7 @@ declare class NotificationService {
|
|
|
897
903
|
/**
|
|
898
904
|
* Show a generic notification
|
|
899
905
|
*/
|
|
900
|
-
show(message: string, severity?:
|
|
906
|
+
show(message: string, severity?: "success" | "error" | "warning" | "info"): void;
|
|
901
907
|
/**
|
|
902
908
|
* Show an error notification
|
|
903
909
|
*/
|
|
@@ -1023,7 +1029,7 @@ declare function getCriticalConfig(): {
|
|
|
1023
1029
|
* accept documents, code and data), and the page reports how many it hid so the UI can offer
|
|
1024
1030
|
* "All workspace files".
|
|
1025
1031
|
*/
|
|
1026
|
-
type KnowledgeFileScope =
|
|
1032
|
+
type KnowledgeFileScope = "knowledge" | "all";
|
|
1027
1033
|
type RawFileRecord = Record<string, unknown>;
|
|
1028
1034
|
interface KnowledgeFilePage {
|
|
1029
1035
|
files: RawFileRecord[];
|
|
@@ -1048,7 +1054,7 @@ interface VectorMemory {
|
|
|
1048
1054
|
score?: number;
|
|
1049
1055
|
uploadedBy: string;
|
|
1050
1056
|
uploadedAt: string;
|
|
1051
|
-
source?:
|
|
1057
|
+
source?: "auto" | "user";
|
|
1052
1058
|
pinned?: boolean;
|
|
1053
1059
|
lastReferencedAt?: string;
|
|
1054
1060
|
metadata?: VectorMemoryMetadata;
|
|
@@ -1072,7 +1078,7 @@ interface VectorDocument {
|
|
|
1072
1078
|
uploadedAt: string;
|
|
1073
1079
|
isUserContent: boolean;
|
|
1074
1080
|
isTeamContent: boolean;
|
|
1075
|
-
contentSource:
|
|
1081
|
+
contentSource: "user" | "team";
|
|
1076
1082
|
/** File size in bytes, when the listing reports it. */
|
|
1077
1083
|
size?: number;
|
|
1078
1084
|
bucket?: string;
|
|
@@ -1090,13 +1096,13 @@ interface SearchResult {
|
|
|
1090
1096
|
interface MemorySearchFilters {
|
|
1091
1097
|
includePinned?: boolean;
|
|
1092
1098
|
topics?: string[];
|
|
1093
|
-
source?: Array<
|
|
1099
|
+
source?: Array<"auto" | "user">;
|
|
1094
1100
|
tags?: string[];
|
|
1095
1101
|
}
|
|
1096
1102
|
interface CreateMemoryOptions {
|
|
1097
1103
|
title?: string;
|
|
1098
1104
|
tags?: string[];
|
|
1099
|
-
source?:
|
|
1105
|
+
source?: "auto" | "user";
|
|
1100
1106
|
pinned?: boolean;
|
|
1101
1107
|
metadata?: VectorMemoryMetadata;
|
|
1102
1108
|
lastReferencedAt?: string;
|
|
@@ -1197,7 +1203,7 @@ declare class VectorDatabaseService {
|
|
|
1197
1203
|
content: string;
|
|
1198
1204
|
title?: string;
|
|
1199
1205
|
tags?: string[];
|
|
1200
|
-
}>, mode?:
|
|
1206
|
+
}>, mode?: "append" | "replace" | "smartDedupe", clearExisting?: boolean): Promise<{
|
|
1201
1207
|
success: boolean;
|
|
1202
1208
|
message: string;
|
|
1203
1209
|
results: Array<{
|
|
@@ -1227,7 +1233,7 @@ declare class VectorDatabaseService {
|
|
|
1227
1233
|
title?: string;
|
|
1228
1234
|
tags?: string[];
|
|
1229
1235
|
}>, options?: {
|
|
1230
|
-
mode?:
|
|
1236
|
+
mode?: "append" | "replace" | "smartDedupe";
|
|
1231
1237
|
clearExisting?: boolean;
|
|
1232
1238
|
chunkSize?: number;
|
|
1233
1239
|
onProgress?: (current: number, total: number, message: string) => void;
|
|
@@ -1335,7 +1341,7 @@ interface MigrationStatus {
|
|
|
1335
1341
|
totalTime: number;
|
|
1336
1342
|
}
|
|
1337
1343
|
interface MigrationProgress {
|
|
1338
|
-
phase:
|
|
1344
|
+
phase: "memories" | "documents" | "cleanup" | "complete";
|
|
1339
1345
|
current: number;
|
|
1340
1346
|
total: number;
|
|
1341
1347
|
currentItem?: string;
|
|
@@ -1451,7 +1457,7 @@ interface SearchOptions {
|
|
|
1451
1457
|
filters?: MemorySearchFilters;
|
|
1452
1458
|
}
|
|
1453
1459
|
/** One page of Knowledge documents, ready for the Knowledge view. */
|
|
1454
|
-
interface KnowledgeDocumentPage extends Omit<KnowledgeFilePage,
|
|
1460
|
+
interface KnowledgeDocumentPage extends Omit<KnowledgeFilePage, "files"> {
|
|
1455
1461
|
documents: VectorDocument[];
|
|
1456
1462
|
}
|
|
1457
1463
|
/**
|