@anuma/sdk 6.20.0 → 6.21.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/dist/expo/{chunk-7HRJOHW4.mjs → chunk-CIMZZ7GQ.mjs} +59 -12
- package/dist/expo/index.cjs +58 -11
- package/dist/expo/index.d.mts +64 -2
- package/dist/expo/index.d.ts +64 -2
- package/dist/expo/index.mjs +1 -1
- package/dist/expo/{recall-SCMH2R24.mjs → recall-FQQGE6A2.mjs} +1 -1
- package/dist/react/{chunk-M53NXLZS.mjs → chunk-JRVAUZHM.mjs} +59 -12
- package/dist/react/index.cjs +58 -11
- package/dist/react/index.d.mts +64 -2
- package/dist/react/index.d.ts +64 -2
- package/dist/react/index.mjs +1 -1
- package/dist/react/{recall-B3M4BWQ2.mjs → recall-7Q3V337H.mjs} +1 -1
- package/dist/server/{chunk-X5EZQFGR.mjs → chunk-4DSDATYG.mjs} +59 -12
- package/dist/server/index.cjs +58 -11
- package/dist/server/index.d.mts +64 -2
- package/dist/server/index.d.ts +64 -2
- package/dist/server/index.mjs +1 -1
- package/dist/server/{recall-M3KBKU74.mjs → recall-HA4UX4BB.mjs} +1 -1
- package/dist/telemetry/index.cjs +20 -0
- package/dist/telemetry/index.d.mts +63 -1
- package/dist/telemetry/index.d.ts +63 -1
- package/dist/telemetry/index.mjs +20 -0
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -7110,7 +7110,25 @@ type RecallDegradation =
|
|
|
7110
7110
|
* failing back to the single-query path, or a row batch failing while other
|
|
7111
7111
|
* rows keep usable vectors) — those are logged, not reported, so this stays a
|
|
7112
7112
|
* reliable outage signal rather than a general embedding-error counter. */
|
|
7113
|
-
| "embeddings-unavailable"
|
|
7113
|
+
| "embeddings-unavailable"
|
|
7114
|
+
/** The W5 graph (entity) side lane threw and was dropped. Auxiliary, so recall
|
|
7115
|
+
* still returned — but its RRF signal is missing from the ranking, and until
|
|
7116
|
+
* this existed the drop was a log line and nothing else. */
|
|
7117
|
+
| "graph-lane-failed"
|
|
7118
|
+
/** The W6 temporal side lane threw and was dropped. Same posture as the graph
|
|
7119
|
+
* lane: recall still returned, ranked without the temporal signal. */
|
|
7120
|
+
| "temporal-lane-failed";
|
|
7121
|
+
/**
|
|
7122
|
+
* Why a recall returned nothing. `""` when it returned something, so the field
|
|
7123
|
+
* is always present and groupable rather than being absent on the healthy path.
|
|
7124
|
+
*
|
|
7125
|
+
* The four are different problems: an empty query is a caller bug, no-lanes is a
|
|
7126
|
+
* context wiring bug (the requested kinds have no store), vault-empty is a new
|
|
7127
|
+
* user, and no-candidates is the only one that is about retrieval quality. They
|
|
7128
|
+
* were previously indistinguishable from outside — every one reported
|
|
7129
|
+
* `candidateCount: 0`.
|
|
7130
|
+
*/
|
|
7131
|
+
type RecallEmptyReason = "" | "empty-query" | "no-lanes" | "vault-empty" | "no-candidates";
|
|
7114
7132
|
/**
|
|
7115
7133
|
* Per-call recall observability payload (see {@link RecallOptions.onDiagnostics}).
|
|
7116
7134
|
* All timings are wall-clock milliseconds. Lane counts are post-dedupe,
|
|
@@ -7161,6 +7179,50 @@ interface RecallDiagnostics {
|
|
|
7161
7179
|
factCount: number;
|
|
7162
7180
|
/** Chunks the chunk lane returned (post-dedupe, pre-fusion). */
|
|
7163
7181
|
chunkCount: number;
|
|
7182
|
+
/**
|
|
7183
|
+
* Memories actually RETURNED — `memories.length` after fusion, cross-lane
|
|
7184
|
+
* dedup and the `limit` slice.
|
|
7185
|
+
*
|
|
7186
|
+
* `candidateCount` is what was considered; this is what the caller got, and
|
|
7187
|
+
* the two are routinely far apart (the fact lane pulls `limit * 2` when fusing).
|
|
7188
|
+
* Every consumer that wanted "how many memories did this turn actually get"
|
|
7189
|
+
* was reading `candidateCount` and overcounting.
|
|
7190
|
+
*/
|
|
7191
|
+
admittedCount: number;
|
|
7192
|
+
/** Highest score among the returned memories; -1 when none were returned. */
|
|
7193
|
+
topScore: number;
|
|
7194
|
+
/** Lowest score among the returned memories; -1 when none were returned. */
|
|
7195
|
+
lowestAdmittedScore: number;
|
|
7196
|
+
/**
|
|
7197
|
+
* The similarity floor the lane that produced these scores actually applied:
|
|
7198
|
+
* the fact lane's when it RETURNED results, otherwise the chunk lane's, and
|
|
7199
|
+
* **-1 when neither ran** (empty query, unwired context). Gated on results
|
|
7200
|
+
* rather than on the lane running, because a fact lane that ran and came
|
|
7201
|
+
* back empty filtered none of the scores in the payload — reporting its
|
|
7202
|
+
* 0.1 default against chunks that cleared 0.5 corrupted the telemetry.
|
|
7203
|
+
* When NOTHING was admitted, the floor a lane did apply is still reported:
|
|
7204
|
+
* "searched at this floor, found nothing" is the useful reading.
|
|
7205
|
+
*
|
|
7206
|
+
* Per-lane rather than one constant because the two defaults differ (0.1 fact
|
|
7207
|
+
* / 0.5 chunk), so a single seeded value reported a floor that a chunk-only
|
|
7208
|
+
* recall never applied. Reported next to the scores because the scores alone
|
|
7209
|
+
* cannot say what they cleared.
|
|
7210
|
+
*/
|
|
7211
|
+
minScoreApplied: number;
|
|
7212
|
+
/**
|
|
7213
|
+
* Whether the `limit` cut an ELIGIBLE result — recorded at the cut, not
|
|
7214
|
+
* derived from `candidateCount > limit`. In the fused path `candidateCount`
|
|
7215
|
+
* counts before provenance suppression, so a recall whose suppressed chunks
|
|
7216
|
+
* brought it under the limit would otherwise report a truncation that never
|
|
7217
|
+
* happened.
|
|
7218
|
+
*/
|
|
7219
|
+
truncated: boolean;
|
|
7220
|
+
/** Memory ids the W5 graph (entity) side lane contributed to the fusion. */
|
|
7221
|
+
graphLaneCount: number;
|
|
7222
|
+
/** Memory ids the W6 temporal side lane contributed to the fusion. */
|
|
7223
|
+
temporalLaneCount: number;
|
|
7224
|
+
/** Why nothing came back — see {@link RecallEmptyReason}. `""` when something did. */
|
|
7225
|
+
emptyReason: RecallEmptyReason;
|
|
7164
7226
|
/** Wall-clock phase timings (ms). */
|
|
7165
7227
|
timings: {
|
|
7166
7228
|
/** Whole `recall()` call. */
|
|
@@ -16039,4 +16101,4 @@ declare function renderAnumaTree(node: AnumaNode): React.ReactElement | null;
|
|
|
16039
16101
|
*/
|
|
16040
16102
|
declare function renderAnumaJsx(jsx: string): React.ReactElement | null;
|
|
16041
16103
|
|
|
16042
|
-
export { Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, DEFAULT_CONVERSATIONS_FOLDER as BACKUP_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as BACKUP_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, ChartCard, type ChartCardProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Conversation as ChatConversation, Message as ChatMessage, type ChatRole, type ChatStorageAdapter, type ChatStorageObservable, type ChunkSearchResult, type ChunkVectorCache, type ChunkingOptions, type CircleProps, type ClientToolsFilterFn, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type ConversationQueryOptions, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateEntityOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateSavedToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_BACKUP_FOLDER, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_CONVERSATIONS_FOLDER as DEFAULT_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as DEFAULT_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_DROPBOX_FOLDER, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_BACKUP_FOLDER as DEFAULT_ICLOUD_BACKUP_FOLDER, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DeckProps, type DisplayToolMigrations, type DropboxAuthContextValue, DropboxAuthProvider, type DropboxAuthProviderProps, type DropboxExportResult, type DropboxImportResult, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GoogleDriveAuthContextValue, GoogleDriveAuthProvider, type GoogleDriveAuthProviderProps, type GoogleDriveExportResult, type GoogleDriveImportResult, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, type ManualFactType, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryToVerify, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type SignMessageFn, type SignMessageOptions, type SlideProps, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredAppFile, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredEntity, type StoredFileWithContext, type StoredMedia, Media as StoredMediaModel, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, ModelPreference as StoredModelPreferenceModel, type StoredProject, type StoredSavedTool, type StoredTopic, type StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type TextProps, type ThemeAttr, type ToolCallArgumentsDeltaEvent, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSkipReason, type TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateSavedToolOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseBackupOptions, type UseBackupResult, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseDropboxBackupOptions, type UseDropboxBackupResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, type UseGoogleDriveBackupOptions, type UseGoogleDriveBackupResult, type UseICloudBackupOptions, type UseICloudBackupResult, type UseModelsResult, type UseOCRResult, type UsePdfResult, type UsePhoneCallsOptions, type UsePhoneCallsResult, type UseProjectsOptions, type UseProjectsResult, type UseSettingsOptions, type UseSettingsResult, type UseSubscriptionOptions, type UseSubscriptionResult, type UseToolsOptions, type UseToolsResult, type UseVoiceOptions, type UseVoiceResult, type UseWalletBindingOptions, type UseWalletBindingResult, VAULT_SIZE_HOP_CAP, type VaultCandidateKey, type VaultEmbeddingCache, type VaultFolderOperationsContext, type VaultMemoryOperationsContext, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, type VoiceRecording, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearCalendarToken, clearConversationMemoriesOp, clearDriveToken, clearToken as clearDropboxToken, clearEncryptionKey, clearGithubToken, clearGoogleDriveToken, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, fileExists, findById, findMatchingTools, findParentOfId, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearCalendarPendingMessage, getAndClearCalendarReturnUrl, getAndClearDrivePendingMessage, getAndClearDriveReturnUrl, getAndClearGithubPendingMessage, getAndClearGithubReturnUrl, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getCalendarAccessToken, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getDriveAccessToken, getEncryptionKey, getEntitiesByMemoryIdsOp, getGithubAccessToken, getGoogleDriveStoredToken, getId, getImagesOp, getLogger, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesByEntityNamesOp, getMemoriesNeedingTopicExtractionOp, getNotionAccessToken, getNotionMCPUrl, getNumberAttr, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getSavedToolByIdOp, getServerTools, getStringAttr, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserUploadedMediaOp, getValidCalendarToken, getValidDriveToken, getValidGithubToken, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleCalendarCallback, handleDriveCallback, handleGithubCallback, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasCalendarCredentials, hasDriveCredentials, hasDropboxCredentials, hasEncryptionKey, hasGithubCredentials, hasGoogleDriveCredentials, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isCalendarCallback, isDegradedTopicSkip, isDriveCallback, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, maskScopedEmbeddingCache, mediaToStored, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reflect, refreshCalendarToken, refreshDriveToken, refreshEncryptionKeyIfMatches, refreshGithubToken, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeCalendarToken, revokeDriveToken, revokeGithubToken, revokeNotionAccess, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRefreshTools, stampTopicsExtractedAtOp, startGithubAuth, startNotionAuth, storeCalendarPendingMessage, storeCalendarReturnUrl, storeCalendarToken, storeDrivePendingMessage, storeDriveReturnUrl, storeDriveToken, storeGithubPendingMessage, storeGithubReturnUrl, storeGithubToken, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useDropboxAuth, useDropboxBackup, useEncryption, useExportPdf, useFiles, useGoogleDriveAuth, useGoogleDriveBackup, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, verifyMemoriesForPublish, walk, webPlatformStorage, writeEncryptedFile };
|
|
16104
|
+
export { Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, DEFAULT_CONVERSATIONS_FOLDER as BACKUP_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as BACKUP_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, ChartCard, type ChartCardProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Conversation as ChatConversation, Message as ChatMessage, type ChatRole, type ChatStorageAdapter, type ChatStorageObservable, type ChunkSearchResult, type ChunkVectorCache, type ChunkingOptions, type CircleProps, type ClientToolsFilterFn, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type ConversationQueryOptions, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateEntityOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateSavedToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_BACKUP_FOLDER, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_CONVERSATIONS_FOLDER as DEFAULT_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as DEFAULT_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_DROPBOX_FOLDER, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_BACKUP_FOLDER as DEFAULT_ICLOUD_BACKUP_FOLDER, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DeckProps, type DisplayToolMigrations, type DropboxAuthContextValue, DropboxAuthProvider, type DropboxAuthProviderProps, type DropboxExportResult, type DropboxImportResult, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GoogleDriveAuthContextValue, GoogleDriveAuthProvider, type GoogleDriveAuthProviderProps, type GoogleDriveExportResult, type GoogleDriveImportResult, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, type ManualFactType, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryToVerify, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type SignMessageFn, type SignMessageOptions, type SlideProps, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredAppFile, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredEntity, type StoredFileWithContext, type StoredMedia, Media as StoredMediaModel, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, ModelPreference as StoredModelPreferenceModel, type StoredProject, type StoredSavedTool, type StoredTopic, type StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type TextProps, type ThemeAttr, type ToolCallArgumentsDeltaEvent, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSkipReason, type TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateSavedToolOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseBackupOptions, type UseBackupResult, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseDropboxBackupOptions, type UseDropboxBackupResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, type UseGoogleDriveBackupOptions, type UseGoogleDriveBackupResult, type UseICloudBackupOptions, type UseICloudBackupResult, type UseModelsResult, type UseOCRResult, type UsePdfResult, type UsePhoneCallsOptions, type UsePhoneCallsResult, type UseProjectsOptions, type UseProjectsResult, type UseSettingsOptions, type UseSettingsResult, type UseSubscriptionOptions, type UseSubscriptionResult, type UseToolsOptions, type UseToolsResult, type UseVoiceOptions, type UseVoiceResult, type UseWalletBindingOptions, type UseWalletBindingResult, VAULT_SIZE_HOP_CAP, type VaultCandidateKey, type VaultEmbeddingCache, type VaultFolderOperationsContext, type VaultMemoryOperationsContext, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, type VoiceRecording, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearCalendarToken, clearConversationMemoriesOp, clearDriveToken, clearToken as clearDropboxToken, clearEncryptionKey, clearGithubToken, clearGoogleDriveToken, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, fileExists, findById, findMatchingTools, findParentOfId, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearCalendarPendingMessage, getAndClearCalendarReturnUrl, getAndClearDrivePendingMessage, getAndClearDriveReturnUrl, getAndClearGithubPendingMessage, getAndClearGithubReturnUrl, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getCalendarAccessToken, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getDriveAccessToken, getEncryptionKey, getEntitiesByMemoryIdsOp, getGithubAccessToken, getGoogleDriveStoredToken, getId, getImagesOp, getLogger, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesByEntityNamesOp, getMemoriesNeedingTopicExtractionOp, getNotionAccessToken, getNotionMCPUrl, getNumberAttr, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getSavedToolByIdOp, getServerTools, getStringAttr, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserUploadedMediaOp, getValidCalendarToken, getValidDriveToken, getValidGithubToken, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleCalendarCallback, handleDriveCallback, handleGithubCallback, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasCalendarCredentials, hasDriveCredentials, hasDropboxCredentials, hasEncryptionKey, hasGithubCredentials, hasGoogleDriveCredentials, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isCalendarCallback, isDegradedTopicSkip, isDriveCallback, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, maskScopedEmbeddingCache, mediaToStored, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reflect, refreshCalendarToken, refreshDriveToken, refreshEncryptionKeyIfMatches, refreshGithubToken, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeCalendarToken, revokeDriveToken, revokeGithubToken, revokeNotionAccess, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRefreshTools, stampTopicsExtractedAtOp, startGithubAuth, startNotionAuth, storeCalendarPendingMessage, storeCalendarReturnUrl, storeCalendarToken, storeDrivePendingMessage, storeDriveReturnUrl, storeDriveToken, storeGithubPendingMessage, storeGithubReturnUrl, storeGithubToken, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useDropboxAuth, useDropboxBackup, useEncryption, useExportPdf, useFiles, useGoogleDriveAuth, useGoogleDriveBackup, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, verifyMemoriesForPublish, walk, webPlatformStorage, writeEncryptedFile };
|
package/dist/react/index.mjs
CHANGED
|
@@ -20927,7 +20927,7 @@ function createMemoryVaultSearchTool(vaultCtx, embeddingOptions, cache, searchOp
|
|
|
20927
20927
|
subQueries = decomp.subQueries;
|
|
20928
20928
|
}
|
|
20929
20929
|
}
|
|
20930
|
-
const { recall: recall2 } = await import("./recall-
|
|
20930
|
+
const { recall: recall2 } = await import("./recall-HA4UX4BB.mjs");
|
|
20931
20931
|
let recallDegraded = [];
|
|
20932
20932
|
const result = await recall2(
|
|
20933
20933
|
query,
|
|
@@ -21518,7 +21518,22 @@ async function recall(query, ctx, options = {}) {
|
|
|
21518
21518
|
let factLaneRankedOnCosine = false;
|
|
21519
21519
|
let decryptLastRan;
|
|
21520
21520
|
let vaultRowsDecrypted;
|
|
21521
|
-
|
|
21521
|
+
let graphLaneCount = 0;
|
|
21522
|
+
let temporalLaneCount = 0;
|
|
21523
|
+
let graphLaneFailed = false;
|
|
21524
|
+
let temporalLaneFailed = false;
|
|
21525
|
+
let hitLimit = false;
|
|
21526
|
+
let factFloor = -1;
|
|
21527
|
+
let chunkFloor = -1;
|
|
21528
|
+
const emptyReasonFor = (admitted, laneRan) => {
|
|
21529
|
+
if (admitted > 0) return "";
|
|
21530
|
+
if (!query || typeof query !== "string" || query.trim().length === 0) return "empty-query";
|
|
21531
|
+
if (!laneRan) return "no-lanes";
|
|
21532
|
+
const chunkLaneCouldAnswer = types.includes("chunk") && !!ctx.storageCtx;
|
|
21533
|
+
if (vaultSize === 0 && !chunkLaneCouldAnswer) return "vault-empty";
|
|
21534
|
+
return "no-candidates";
|
|
21535
|
+
};
|
|
21536
|
+
const emitDiagnostics = (candidateCount, admitted) => {
|
|
21522
21537
|
const cb = options.onDiagnostics;
|
|
21523
21538
|
if (!cb) return;
|
|
21524
21539
|
const degraded = [];
|
|
@@ -21529,6 +21544,11 @@ async function recall(query, ctx, options = {}) {
|
|
|
21529
21544
|
degraded.push("decompose-moved");
|
|
21530
21545
|
}
|
|
21531
21546
|
if (embeddingsUnavailable) degraded.push("embeddings-unavailable");
|
|
21547
|
+
if (graphLaneFailed) degraded.push("graph-lane-failed");
|
|
21548
|
+
if (temporalLaneFailed) degraded.push("temporal-lane-failed");
|
|
21549
|
+
const laneRan = types.includes("fact") && !!ctx.vaultCtx && !!ctx.vaultCache || types.includes("chunk") && !!ctx.storageCtx;
|
|
21550
|
+
const scores = admitted.map((m) => m.score);
|
|
21551
|
+
const minScoreApplied = factResults.length > 0 ? factFloor : chunkResults.length > 0 ? chunkFloor : factFloor >= 0 ? factFloor : chunkFloor;
|
|
21532
21552
|
const diagnostics = {
|
|
21533
21553
|
usedBudget,
|
|
21534
21554
|
reranked: didRerank,
|
|
@@ -21539,6 +21559,14 @@ async function recall(query, ctx, options = {}) {
|
|
|
21539
21559
|
...vaultRowsEmbedded !== void 0 && { vaultRowsEmbedded },
|
|
21540
21560
|
factCount: factResults.length,
|
|
21541
21561
|
chunkCount: chunkResults.length,
|
|
21562
|
+
admittedCount: admitted.length,
|
|
21563
|
+
topScore: scores.length > 0 ? Math.max(...scores) : -1,
|
|
21564
|
+
lowestAdmittedScore: scores.length > 0 ? Math.min(...scores) : -1,
|
|
21565
|
+
minScoreApplied,
|
|
21566
|
+
truncated: hitLimit,
|
|
21567
|
+
graphLaneCount,
|
|
21568
|
+
temporalLaneCount,
|
|
21569
|
+
emptyReason: emptyReasonFor(admitted.length, laneRan),
|
|
21542
21570
|
timings: {
|
|
21543
21571
|
total: nowMs2() - t0,
|
|
21544
21572
|
prep: prepMs,
|
|
@@ -21556,7 +21584,7 @@ async function recall(query, ctx, options = {}) {
|
|
|
21556
21584
|
}
|
|
21557
21585
|
};
|
|
21558
21586
|
if (!query || typeof query !== "string" || query.trim().length === 0) {
|
|
21559
|
-
emitDiagnostics(0);
|
|
21587
|
+
emitDiagnostics(0, []);
|
|
21560
21588
|
return { memories: [], usedBudget, reranked: false, candidateCount: 0 };
|
|
21561
21589
|
}
|
|
21562
21590
|
const needsChunkEmbedding = types.includes("chunk") && ctx.storageCtx;
|
|
@@ -21590,6 +21618,7 @@ async function recall(query, ctx, options = {}) {
|
|
|
21590
21618
|
// empty ranking instead (mirrors safeCountVault's fail-soft posture).
|
|
21591
21619
|
safeLane(
|
|
21592
21620
|
"graph",
|
|
21621
|
+
() => graphLaneFailed = true,
|
|
21593
21622
|
() => buildGraphLaneRanking(query, ctx, flags.traverse, {
|
|
21594
21623
|
...options.maxHops !== void 0 && { maxHops: options.maxHops },
|
|
21595
21624
|
...options.entityFanout !== void 0 && { entityFanout: options.entityFanout },
|
|
@@ -21598,12 +21627,19 @@ async function recall(query, ctx, options = {}) {
|
|
|
21598
21627
|
...graphRefiner && { refineNeighbors: graphRefiner }
|
|
21599
21628
|
})
|
|
21600
21629
|
),
|
|
21601
|
-
wantsTemporal ? safeLane(
|
|
21630
|
+
wantsTemporal ? safeLane(
|
|
21631
|
+
"temporal",
|
|
21632
|
+
() => temporalLaneFailed = true,
|
|
21633
|
+
() => buildTemporalLaneRanking(query, ctx.vaultCtx, options.now)
|
|
21634
|
+
) : Promise.resolve([])
|
|
21602
21635
|
]);
|
|
21603
21636
|
prepMs = nowMs2() - prepStart;
|
|
21637
|
+
graphLaneCount = entityRanking.length;
|
|
21638
|
+
temporalLaneCount = temporalRanking.length;
|
|
21604
21639
|
if (types.includes("fact") && ctx.vaultCtx && ctx.vaultCache) {
|
|
21605
21640
|
const factStart = nowMs2();
|
|
21606
21641
|
const vaultMinScore = options.minScore ?? DEFAULT_FACT_MIN_SCORE;
|
|
21642
|
+
factFloor = vaultMinScore;
|
|
21607
21643
|
const {
|
|
21608
21644
|
results,
|
|
21609
21645
|
vaultSize: size,
|
|
@@ -21683,6 +21719,7 @@ async function recall(query, ctx, options = {}) {
|
|
|
21683
21719
|
if (types.includes("chunk") && ctx.storageCtx && queryEmbedding) {
|
|
21684
21720
|
const chunkStart = nowMs2();
|
|
21685
21721
|
const chunkMinScore = options.minScore ?? DEFAULT_CHUNK_MIN_SCORE;
|
|
21722
|
+
chunkFloor = chunkMinScore;
|
|
21686
21723
|
const results = await searchChunksOp(ctx.storageCtx, queryEmbedding, {
|
|
21687
21724
|
limit: types.includes("fact") ? Math.max(limit * 2, 16) : limit,
|
|
21688
21725
|
minSimilarity: chunkMinScore,
|
|
@@ -21709,9 +21746,11 @@ async function recall(query, ctx, options = {}) {
|
|
|
21709
21746
|
memories2.sort((a, b) => b.score - a.score);
|
|
21710
21747
|
const candidateCount = factResults.length + chunkResults.length;
|
|
21711
21748
|
fuseMs = nowMs2() - fuseStart;
|
|
21712
|
-
|
|
21749
|
+
const admitted = memories2.slice(0, limit);
|
|
21750
|
+
hitLimit = memories2.length > limit;
|
|
21751
|
+
emitDiagnostics(candidateCount, admitted);
|
|
21713
21752
|
return {
|
|
21714
|
-
memories:
|
|
21753
|
+
memories: admitted,
|
|
21715
21754
|
usedBudget,
|
|
21716
21755
|
reranked: didRerank,
|
|
21717
21756
|
candidateCount,
|
|
@@ -21741,12 +21780,16 @@ async function recall(query, ctx, options = {}) {
|
|
|
21741
21780
|
const ordered = [...byId.values()].sort((a, b) => b.score - a.score);
|
|
21742
21781
|
const selectWith = (suppressed2) => {
|
|
21743
21782
|
const out = [];
|
|
21783
|
+
let cut = false;
|
|
21744
21784
|
for (const m of ordered) {
|
|
21745
|
-
if (out.length >= limit) break;
|
|
21746
21785
|
if (m.kind === "chunk" && m.messageId && suppressed2.has(m.messageId)) continue;
|
|
21786
|
+
if (out.length >= limit) {
|
|
21787
|
+
cut = true;
|
|
21788
|
+
break;
|
|
21789
|
+
}
|
|
21747
21790
|
out.push(m);
|
|
21748
21791
|
}
|
|
21749
|
-
return out;
|
|
21792
|
+
return { out, cut };
|
|
21750
21793
|
};
|
|
21751
21794
|
const provenanceOf = (selected) => {
|
|
21752
21795
|
const s = /* @__PURE__ */ new Set();
|
|
@@ -21756,15 +21799,18 @@ async function recall(query, ctx, options = {}) {
|
|
|
21756
21799
|
return s;
|
|
21757
21800
|
};
|
|
21758
21801
|
let suppressed = /* @__PURE__ */ new Set();
|
|
21759
|
-
let
|
|
21802
|
+
let selection = selectWith(suppressed);
|
|
21803
|
+
let memories = selection.out;
|
|
21760
21804
|
for (let i = 0; i < ordered.length; i++) {
|
|
21761
21805
|
const next = provenanceOf(memories);
|
|
21762
21806
|
if (next.size === suppressed.size && [...next].every((id) => suppressed.has(id))) break;
|
|
21763
21807
|
suppressed = next;
|
|
21764
|
-
|
|
21808
|
+
selection = selectWith(suppressed);
|
|
21809
|
+
memories = selection.out;
|
|
21765
21810
|
}
|
|
21811
|
+
hitLimit = selection.cut;
|
|
21766
21812
|
fuseMs = nowMs2() - fuseStart;
|
|
21767
|
-
emitDiagnostics(byId.size);
|
|
21813
|
+
emitDiagnostics(byId.size, memories);
|
|
21768
21814
|
return {
|
|
21769
21815
|
memories,
|
|
21770
21816
|
usedBudget,
|
|
@@ -21848,10 +21894,11 @@ async function safeCountVault(ctx) {
|
|
|
21848
21894
|
return void 0;
|
|
21849
21895
|
}
|
|
21850
21896
|
}
|
|
21851
|
-
async function safeLane(label, run) {
|
|
21897
|
+
async function safeLane(label, onFailure, run) {
|
|
21852
21898
|
try {
|
|
21853
21899
|
return await run();
|
|
21854
21900
|
} catch (err) {
|
|
21901
|
+
onFailure();
|
|
21855
21902
|
getLogger().warn(
|
|
21856
21903
|
`[memory/recall] ${label} lane failed; continuing without it: ${err instanceof Error ? err.message : String(err)}`
|
|
21857
21904
|
);
|
package/dist/server/index.cjs
CHANGED
|
@@ -21668,7 +21668,22 @@ async function recall(query, ctx, options = {}) {
|
|
|
21668
21668
|
let factLaneRankedOnCosine = false;
|
|
21669
21669
|
let decryptLastRan;
|
|
21670
21670
|
let vaultRowsDecrypted;
|
|
21671
|
-
|
|
21671
|
+
let graphLaneCount = 0;
|
|
21672
|
+
let temporalLaneCount = 0;
|
|
21673
|
+
let graphLaneFailed = false;
|
|
21674
|
+
let temporalLaneFailed = false;
|
|
21675
|
+
let hitLimit = false;
|
|
21676
|
+
let factFloor = -1;
|
|
21677
|
+
let chunkFloor = -1;
|
|
21678
|
+
const emptyReasonFor = (admitted, laneRan) => {
|
|
21679
|
+
if (admitted > 0) return "";
|
|
21680
|
+
if (!query || typeof query !== "string" || query.trim().length === 0) return "empty-query";
|
|
21681
|
+
if (!laneRan) return "no-lanes";
|
|
21682
|
+
const chunkLaneCouldAnswer = types.includes("chunk") && !!ctx.storageCtx;
|
|
21683
|
+
if (vaultSize === 0 && !chunkLaneCouldAnswer) return "vault-empty";
|
|
21684
|
+
return "no-candidates";
|
|
21685
|
+
};
|
|
21686
|
+
const emitDiagnostics = (candidateCount, admitted) => {
|
|
21672
21687
|
const cb = options.onDiagnostics;
|
|
21673
21688
|
if (!cb) return;
|
|
21674
21689
|
const degraded = [];
|
|
@@ -21679,6 +21694,11 @@ async function recall(query, ctx, options = {}) {
|
|
|
21679
21694
|
degraded.push("decompose-moved");
|
|
21680
21695
|
}
|
|
21681
21696
|
if (embeddingsUnavailable) degraded.push("embeddings-unavailable");
|
|
21697
|
+
if (graphLaneFailed) degraded.push("graph-lane-failed");
|
|
21698
|
+
if (temporalLaneFailed) degraded.push("temporal-lane-failed");
|
|
21699
|
+
const laneRan = types.includes("fact") && !!ctx.vaultCtx && !!ctx.vaultCache || types.includes("chunk") && !!ctx.storageCtx;
|
|
21700
|
+
const scores = admitted.map((m) => m.score);
|
|
21701
|
+
const minScoreApplied = factResults.length > 0 ? factFloor : chunkResults.length > 0 ? chunkFloor : factFloor >= 0 ? factFloor : chunkFloor;
|
|
21682
21702
|
const diagnostics = {
|
|
21683
21703
|
usedBudget,
|
|
21684
21704
|
reranked: didRerank,
|
|
@@ -21689,6 +21709,14 @@ async function recall(query, ctx, options = {}) {
|
|
|
21689
21709
|
...vaultRowsEmbedded !== void 0 && { vaultRowsEmbedded },
|
|
21690
21710
|
factCount: factResults.length,
|
|
21691
21711
|
chunkCount: chunkResults.length,
|
|
21712
|
+
admittedCount: admitted.length,
|
|
21713
|
+
topScore: scores.length > 0 ? Math.max(...scores) : -1,
|
|
21714
|
+
lowestAdmittedScore: scores.length > 0 ? Math.min(...scores) : -1,
|
|
21715
|
+
minScoreApplied,
|
|
21716
|
+
truncated: hitLimit,
|
|
21717
|
+
graphLaneCount,
|
|
21718
|
+
temporalLaneCount,
|
|
21719
|
+
emptyReason: emptyReasonFor(admitted.length, laneRan),
|
|
21692
21720
|
timings: {
|
|
21693
21721
|
total: nowMs() - t0,
|
|
21694
21722
|
prep: prepMs,
|
|
@@ -21706,7 +21734,7 @@ async function recall(query, ctx, options = {}) {
|
|
|
21706
21734
|
}
|
|
21707
21735
|
};
|
|
21708
21736
|
if (!query || typeof query !== "string" || query.trim().length === 0) {
|
|
21709
|
-
emitDiagnostics(0);
|
|
21737
|
+
emitDiagnostics(0, []);
|
|
21710
21738
|
return { memories: [], usedBudget, reranked: false, candidateCount: 0 };
|
|
21711
21739
|
}
|
|
21712
21740
|
const needsChunkEmbedding = types.includes("chunk") && ctx.storageCtx;
|
|
@@ -21740,6 +21768,7 @@ async function recall(query, ctx, options = {}) {
|
|
|
21740
21768
|
// empty ranking instead (mirrors safeCountVault's fail-soft posture).
|
|
21741
21769
|
safeLane(
|
|
21742
21770
|
"graph",
|
|
21771
|
+
() => graphLaneFailed = true,
|
|
21743
21772
|
() => buildGraphLaneRanking(query, ctx, flags.traverse, {
|
|
21744
21773
|
...options.maxHops !== void 0 && { maxHops: options.maxHops },
|
|
21745
21774
|
...options.entityFanout !== void 0 && { entityFanout: options.entityFanout },
|
|
@@ -21748,12 +21777,19 @@ async function recall(query, ctx, options = {}) {
|
|
|
21748
21777
|
...graphRefiner && { refineNeighbors: graphRefiner }
|
|
21749
21778
|
})
|
|
21750
21779
|
),
|
|
21751
|
-
wantsTemporal ? safeLane(
|
|
21780
|
+
wantsTemporal ? safeLane(
|
|
21781
|
+
"temporal",
|
|
21782
|
+
() => temporalLaneFailed = true,
|
|
21783
|
+
() => buildTemporalLaneRanking(query, ctx.vaultCtx, options.now)
|
|
21784
|
+
) : Promise.resolve([])
|
|
21752
21785
|
]);
|
|
21753
21786
|
prepMs = nowMs() - prepStart;
|
|
21787
|
+
graphLaneCount = entityRanking.length;
|
|
21788
|
+
temporalLaneCount = temporalRanking.length;
|
|
21754
21789
|
if (types.includes("fact") && ctx.vaultCtx && ctx.vaultCache) {
|
|
21755
21790
|
const factStart = nowMs();
|
|
21756
21791
|
const vaultMinScore = options.minScore ?? DEFAULT_FACT_MIN_SCORE;
|
|
21792
|
+
factFloor = vaultMinScore;
|
|
21757
21793
|
const {
|
|
21758
21794
|
results,
|
|
21759
21795
|
vaultSize: size,
|
|
@@ -21833,6 +21869,7 @@ async function recall(query, ctx, options = {}) {
|
|
|
21833
21869
|
if (types.includes("chunk") && ctx.storageCtx && queryEmbedding) {
|
|
21834
21870
|
const chunkStart = nowMs();
|
|
21835
21871
|
const chunkMinScore = options.minScore ?? DEFAULT_CHUNK_MIN_SCORE;
|
|
21872
|
+
chunkFloor = chunkMinScore;
|
|
21836
21873
|
const results = await searchChunksOp(ctx.storageCtx, queryEmbedding, {
|
|
21837
21874
|
limit: types.includes("fact") ? Math.max(limit * 2, 16) : limit,
|
|
21838
21875
|
minSimilarity: chunkMinScore,
|
|
@@ -21859,9 +21896,11 @@ async function recall(query, ctx, options = {}) {
|
|
|
21859
21896
|
memories2.sort((a, b) => b.score - a.score);
|
|
21860
21897
|
const candidateCount = factResults.length + chunkResults.length;
|
|
21861
21898
|
fuseMs = nowMs() - fuseStart;
|
|
21862
|
-
|
|
21899
|
+
const admitted = memories2.slice(0, limit);
|
|
21900
|
+
hitLimit = memories2.length > limit;
|
|
21901
|
+
emitDiagnostics(candidateCount, admitted);
|
|
21863
21902
|
return {
|
|
21864
|
-
memories:
|
|
21903
|
+
memories: admitted,
|
|
21865
21904
|
usedBudget,
|
|
21866
21905
|
reranked: didRerank,
|
|
21867
21906
|
candidateCount,
|
|
@@ -21891,12 +21930,16 @@ async function recall(query, ctx, options = {}) {
|
|
|
21891
21930
|
const ordered = [...byId.values()].sort((a, b) => b.score - a.score);
|
|
21892
21931
|
const selectWith = (suppressed2) => {
|
|
21893
21932
|
const out = [];
|
|
21933
|
+
let cut = false;
|
|
21894
21934
|
for (const m of ordered) {
|
|
21895
|
-
if (out.length >= limit) break;
|
|
21896
21935
|
if (m.kind === "chunk" && m.messageId && suppressed2.has(m.messageId)) continue;
|
|
21936
|
+
if (out.length >= limit) {
|
|
21937
|
+
cut = true;
|
|
21938
|
+
break;
|
|
21939
|
+
}
|
|
21897
21940
|
out.push(m);
|
|
21898
21941
|
}
|
|
21899
|
-
return out;
|
|
21942
|
+
return { out, cut };
|
|
21900
21943
|
};
|
|
21901
21944
|
const provenanceOf = (selected) => {
|
|
21902
21945
|
const s = /* @__PURE__ */ new Set();
|
|
@@ -21906,15 +21949,18 @@ async function recall(query, ctx, options = {}) {
|
|
|
21906
21949
|
return s;
|
|
21907
21950
|
};
|
|
21908
21951
|
let suppressed = /* @__PURE__ */ new Set();
|
|
21909
|
-
let
|
|
21952
|
+
let selection = selectWith(suppressed);
|
|
21953
|
+
let memories = selection.out;
|
|
21910
21954
|
for (let i = 0; i < ordered.length; i++) {
|
|
21911
21955
|
const next = provenanceOf(memories);
|
|
21912
21956
|
if (next.size === suppressed.size && [...next].every((id) => suppressed.has(id))) break;
|
|
21913
21957
|
suppressed = next;
|
|
21914
|
-
|
|
21958
|
+
selection = selectWith(suppressed);
|
|
21959
|
+
memories = selection.out;
|
|
21915
21960
|
}
|
|
21961
|
+
hitLimit = selection.cut;
|
|
21916
21962
|
fuseMs = nowMs() - fuseStart;
|
|
21917
|
-
emitDiagnostics(byId.size);
|
|
21963
|
+
emitDiagnostics(byId.size, memories);
|
|
21918
21964
|
return {
|
|
21919
21965
|
memories,
|
|
21920
21966
|
usedBudget,
|
|
@@ -21998,10 +22044,11 @@ async function safeCountVault(ctx) {
|
|
|
21998
22044
|
return void 0;
|
|
21999
22045
|
}
|
|
22000
22046
|
}
|
|
22001
|
-
async function safeLane(label, run) {
|
|
22047
|
+
async function safeLane(label, onFailure, run) {
|
|
22002
22048
|
try {
|
|
22003
22049
|
return await run();
|
|
22004
22050
|
} catch (err) {
|
|
22051
|
+
onFailure();
|
|
22005
22052
|
getLogger().warn(
|
|
22006
22053
|
`[memory/recall] ${label} lane failed; continuing without it: ${err instanceof Error ? err.message : String(err)}`
|
|
22007
22054
|
);
|
package/dist/server/index.d.mts
CHANGED
|
@@ -5696,7 +5696,25 @@ type RecallDegradation =
|
|
|
5696
5696
|
* failing back to the single-query path, or a row batch failing while other
|
|
5697
5697
|
* rows keep usable vectors) — those are logged, not reported, so this stays a
|
|
5698
5698
|
* reliable outage signal rather than a general embedding-error counter. */
|
|
5699
|
-
| "embeddings-unavailable"
|
|
5699
|
+
| "embeddings-unavailable"
|
|
5700
|
+
/** The W5 graph (entity) side lane threw and was dropped. Auxiliary, so recall
|
|
5701
|
+
* still returned — but its RRF signal is missing from the ranking, and until
|
|
5702
|
+
* this existed the drop was a log line and nothing else. */
|
|
5703
|
+
| "graph-lane-failed"
|
|
5704
|
+
/** The W6 temporal side lane threw and was dropped. Same posture as the graph
|
|
5705
|
+
* lane: recall still returned, ranked without the temporal signal. */
|
|
5706
|
+
| "temporal-lane-failed";
|
|
5707
|
+
/**
|
|
5708
|
+
* Why a recall returned nothing. `""` when it returned something, so the field
|
|
5709
|
+
* is always present and groupable rather than being absent on the healthy path.
|
|
5710
|
+
*
|
|
5711
|
+
* The four are different problems: an empty query is a caller bug, no-lanes is a
|
|
5712
|
+
* context wiring bug (the requested kinds have no store), vault-empty is a new
|
|
5713
|
+
* user, and no-candidates is the only one that is about retrieval quality. They
|
|
5714
|
+
* were previously indistinguishable from outside — every one reported
|
|
5715
|
+
* `candidateCount: 0`.
|
|
5716
|
+
*/
|
|
5717
|
+
type RecallEmptyReason = "" | "empty-query" | "no-lanes" | "vault-empty" | "no-candidates";
|
|
5700
5718
|
/**
|
|
5701
5719
|
* Per-call recall observability payload (see {@link RecallOptions.onDiagnostics}).
|
|
5702
5720
|
* All timings are wall-clock milliseconds. Lane counts are post-dedupe,
|
|
@@ -5747,6 +5765,50 @@ interface RecallDiagnostics {
|
|
|
5747
5765
|
factCount: number;
|
|
5748
5766
|
/** Chunks the chunk lane returned (post-dedupe, pre-fusion). */
|
|
5749
5767
|
chunkCount: number;
|
|
5768
|
+
/**
|
|
5769
|
+
* Memories actually RETURNED — `memories.length` after fusion, cross-lane
|
|
5770
|
+
* dedup and the `limit` slice.
|
|
5771
|
+
*
|
|
5772
|
+
* `candidateCount` is what was considered; this is what the caller got, and
|
|
5773
|
+
* the two are routinely far apart (the fact lane pulls `limit * 2` when fusing).
|
|
5774
|
+
* Every consumer that wanted "how many memories did this turn actually get"
|
|
5775
|
+
* was reading `candidateCount` and overcounting.
|
|
5776
|
+
*/
|
|
5777
|
+
admittedCount: number;
|
|
5778
|
+
/** Highest score among the returned memories; -1 when none were returned. */
|
|
5779
|
+
topScore: number;
|
|
5780
|
+
/** Lowest score among the returned memories; -1 when none were returned. */
|
|
5781
|
+
lowestAdmittedScore: number;
|
|
5782
|
+
/**
|
|
5783
|
+
* The similarity floor the lane that produced these scores actually applied:
|
|
5784
|
+
* the fact lane's when it RETURNED results, otherwise the chunk lane's, and
|
|
5785
|
+
* **-1 when neither ran** (empty query, unwired context). Gated on results
|
|
5786
|
+
* rather than on the lane running, because a fact lane that ran and came
|
|
5787
|
+
* back empty filtered none of the scores in the payload — reporting its
|
|
5788
|
+
* 0.1 default against chunks that cleared 0.5 corrupted the telemetry.
|
|
5789
|
+
* When NOTHING was admitted, the floor a lane did apply is still reported:
|
|
5790
|
+
* "searched at this floor, found nothing" is the useful reading.
|
|
5791
|
+
*
|
|
5792
|
+
* Per-lane rather than one constant because the two defaults differ (0.1 fact
|
|
5793
|
+
* / 0.5 chunk), so a single seeded value reported a floor that a chunk-only
|
|
5794
|
+
* recall never applied. Reported next to the scores because the scores alone
|
|
5795
|
+
* cannot say what they cleared.
|
|
5796
|
+
*/
|
|
5797
|
+
minScoreApplied: number;
|
|
5798
|
+
/**
|
|
5799
|
+
* Whether the `limit` cut an ELIGIBLE result — recorded at the cut, not
|
|
5800
|
+
* derived from `candidateCount > limit`. In the fused path `candidateCount`
|
|
5801
|
+
* counts before provenance suppression, so a recall whose suppressed chunks
|
|
5802
|
+
* brought it under the limit would otherwise report a truncation that never
|
|
5803
|
+
* happened.
|
|
5804
|
+
*/
|
|
5805
|
+
truncated: boolean;
|
|
5806
|
+
/** Memory ids the W5 graph (entity) side lane contributed to the fusion. */
|
|
5807
|
+
graphLaneCount: number;
|
|
5808
|
+
/** Memory ids the W6 temporal side lane contributed to the fusion. */
|
|
5809
|
+
temporalLaneCount: number;
|
|
5810
|
+
/** Why nothing came back — see {@link RecallEmptyReason}. `""` when something did. */
|
|
5811
|
+
emptyReason: RecallEmptyReason;
|
|
5750
5812
|
/** Wall-clock phase timings (ms). */
|
|
5751
5813
|
timings: {
|
|
5752
5814
|
/** Whole `recall()` call. */
|
|
@@ -10841,4 +10903,4 @@ declare function sanitizeQuotes(s: string): string;
|
|
|
10841
10903
|
declare function renderTemplate(value: string | null | undefined, template: string): string | null;
|
|
10842
10904
|
declare function buildSystemPrompt(ctx: PromptContext, options?: BuildPromptOptions): BuildPromptResult;
|
|
10843
10905
|
|
|
10844
|
-
export { type AnalyzeStyleOptions, type AnalyzeStyleResult, type ApiResponse, type ApiType, type AutoExecutedToolResult, type AutoExtractMessage, type AutoExtractor, type Budget, type BuildPromptOptions, type BuildPromptResult, type CachedChunkVectors, type CachedServerTools, type ChatCompletionUsage, type ChatRole, type ChunkSearchResult, type ChunkVectorCache, type ChunkingOptions, type ConnectorGuidance, type ConnectorGuidanceInput, type ConsolidationAction, type ConsolidationFallbackReason, Conversation, ConversationSummary, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateUserPreferenceOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_ANALYSIS_PROMPT, DEFAULT_ANALYZE_AFTER_MESSAGES, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_DOCUMENT_PATTERN, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MAX_INPUT_MESSAGES, DEFAULT_MAX_PROFILE_LENGTH, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_MIN_MESSAGES, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_PROMPT_TEMPLATES, DEFAULT_REFRESH_EVERY_MESSAGES, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_SUMMARY_MIN_WINDOW_MESSAGES, DEFAULT_SUMMARY_MODEL, DEFAULT_SUMMARY_TOKEN_THRESHOLD, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, ENTITY_FANOUT, type EmbeddedWalletSignerFn, EncryptionKeyMissingError, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, type FactType, type FileMetadata, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GraphTraversalOptions, HARD_DELETE_WINDOW_MS, INFERENCE_ID_HEADER, type InjectionClassifierOptions, type InjectionReason, type LazyStoredConversation, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type LlmTokenUsage, MAX_HOPS, MAX_MESSAGES_PER_SUMMARIZATION, MEDIUM_TTL_MS, Media, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryToVerify, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, Message, type MessageChunk, type MessageFeedback, type MessageOrigin, type ModelCallEndEvent, type ModelCallStartEvent, ModelPreference, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, PdfProcessor, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PgClientLike, type PgPoolLike, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, PostgreSQLAdapter, type PostgreSQLAdapterOptions, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, Project, type ProjectOperationsContext, type PromptContext, type PromptPreProcessor, type PromptPreProcessorContext, type PromptSection, type PromptTemplates, type PublishedPhotoMemory, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type ReflectOptions, type ReflectResult, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, type RunEndEvent, type RunErrorEvent, type RunHooks, type RunStartEvent, type RunTerminalState, type RunToolLoopOptions, type RunToolLoopResult, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, STREAM_RESUMABLE_HEADER, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenResult, type ScreenedCandidate, type SearchSource, type SelectServerToolsForPromptOptions, type ServerTool, type ServerToolCallEvent, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type SettingsStorageOperationsContext, type SignMessageFn, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredConversation, type StoredConversationSummary, type StoredFileWithContext, type StoredMedia, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, type StoredProject, type StoredUserPreference, type StoredVaultMemory, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type StreamingTransport, type StreamingTransportOptions, type StreamingTransportResult, type StyleAnalysisSchedule, type SynthesizeProfileOptions, TOOL_CATALOG, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type ToolConfig, type ToolExecutor, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type ToolUseEndEvent, type ToolUseStartEvent, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSkipReason, type TurnCompleteEvent, type TurnSkippedEvent, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateUserPreferenceOptions, type UpdateVaultMemoryOptions, UserPreference, type UserPreferencesStorageOperationsContext, VAULT_SIZE_HOP_CAP, type VaultEmbeddingCache, VaultMemory, type VaultMemoryOperationsContext, type VaultMemoryVisibility, type VaultSaveOperation, type VaultSearchResult, type VerificationSources, type VerifyMemoriesForPublishOptions, WalletPoller, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, WordProcessor, ZipProcessor, type ZipProcessorOptions, activatedToolSetNames, analyzeStyle, archiveVaultMemoryOp, backfillMemoryTopicsOp, buildConnectorGuidance, buildDeniedToolsRider, buildSystemPrompt, capHopsForDensity, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, cleanupConversationSummary, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearEncryptionKey, clearKeyPair, clearLazyTitleCache, clearMessagesOp, clearServerToolsCache, composeHooks, createAutoExtractor, createChunkVectorCache, createConversationOp, createCryptoPricePreProcessor, createDecaySweeper, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageOp, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createServerToolsFilter, createStockPricePreProcessor, createSummaryContext, createVaultEmbeddingCache, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllVaultMemoriesForUserOp, deleteConversationOp, deleteConversationSummaryOp, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteModelPreferenceOp, deleteProjectOp, deleteUserPreferenceOp, deleteVaultMemoryOp, eagerEmbedContent, embedAllMessages, embedMessage, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, estimateMessagesTokens, estimateTokens, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, findMatchingTools, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllFilesOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAudioOp, getCachedServerTools, getConversationOp, getConversationSummaryOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getEncryptionKey, getImagesOp, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesNeedingTopicExtractionOp, getMessageOp, getMessagesOp, getModelPreferenceOp, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getServerTools, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserPreferenceOp, getUserUploadedMediaOp, getVaultMemoryOp, getVideosOp, hardDeleteDecayedOp, hardDeleteMediaOp, hasEncryptionKey, hasKeyPair, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, isDegradedTopicSkip, isRerankerAvailable, isSupportedFile, isSupportedMediaType, makeSyntheticStoredConversation, makeSyntheticStoredMessage, maybeSummarizeHistory, mediaToStored, migrateFromModelPreferencesOp, onKeyAvailable, parseMedia, preEmbedVaultMemories, preprocessFiles, progressiveSummarize, projectToStored, queueManager, rankProfileCandidates, recall, reflect, refreshEncryptionKeyIfMatches, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, renderTemplate, requestEncryptionKey, requestKeyPair, restoreVaultMemoryOp, resumeStream, retain, runToolLoop, sanitizeQuotes, schemaToCreateSQL, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serverPlatformStorage, setMemoryVisibilityOp, setModelPreferenceOp, setUserPreferenceOp, shouldAnalyzeStyle, shouldChunkMessage, shouldRefreshTools, splitMessagesAtThreshold, stampTopicsExtractedAtOp, streamCancelPath, streamReplayPath, summarizeObservationTrends, summaryToSystemMessage, supersedeVaultMemoryOp, synthesizeProfile, toolSetSystemPrompts, traverseGraphLane, ttlForType, updateConversationProjectOp, updateConversationTitleOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageChunksOp, updateMessageEmbeddingOp, updateMessageErrorOp, updateMessageFeedbackOp, updateModelsOp, updatePersonalityOp, updateProfileOp, updateProjectNameOp, updateProjectOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, upsertConversationSummaryOp, upsertMessageOp, verifyMemoriesForPublish };
|
|
10906
|
+
export { type AnalyzeStyleOptions, type AnalyzeStyleResult, type ApiResponse, type ApiType, type AutoExecutedToolResult, type AutoExtractMessage, type AutoExtractor, type Budget, type BuildPromptOptions, type BuildPromptResult, type CachedChunkVectors, type CachedServerTools, type ChatCompletionUsage, type ChatRole, type ChunkSearchResult, type ChunkVectorCache, type ChunkingOptions, type ConnectorGuidance, type ConnectorGuidanceInput, type ConsolidationAction, type ConsolidationFallbackReason, Conversation, ConversationSummary, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateUserPreferenceOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_ANALYSIS_PROMPT, DEFAULT_ANALYZE_AFTER_MESSAGES, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_DOCUMENT_PATTERN, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MAX_INPUT_MESSAGES, DEFAULT_MAX_PROFILE_LENGTH, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_MIN_MESSAGES, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_PROMPT_TEMPLATES, DEFAULT_REFRESH_EVERY_MESSAGES, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_SUMMARY_MIN_WINDOW_MESSAGES, DEFAULT_SUMMARY_MODEL, DEFAULT_SUMMARY_TOKEN_THRESHOLD, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, ENTITY_FANOUT, type EmbeddedWalletSignerFn, EncryptionKeyMissingError, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, type FactType, type FileMetadata, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GraphTraversalOptions, HARD_DELETE_WINDOW_MS, INFERENCE_ID_HEADER, type InjectionClassifierOptions, type InjectionReason, type LazyStoredConversation, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type LlmTokenUsage, MAX_HOPS, MAX_MESSAGES_PER_SUMMARIZATION, MEDIUM_TTL_MS, Media, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryToVerify, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, Message, type MessageChunk, type MessageFeedback, type MessageOrigin, type ModelCallEndEvent, type ModelCallStartEvent, ModelPreference, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, PdfProcessor, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PgClientLike, type PgPoolLike, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, PostgreSQLAdapter, type PostgreSQLAdapterOptions, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, Project, type ProjectOperationsContext, type PromptContext, type PromptPreProcessor, type PromptPreProcessorContext, type PromptSection, type PromptTemplates, type PublishedPhotoMemory, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type ReflectOptions, type ReflectResult, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, type RunEndEvent, type RunErrorEvent, type RunHooks, type RunStartEvent, type RunTerminalState, type RunToolLoopOptions, type RunToolLoopResult, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, STREAM_RESUMABLE_HEADER, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenResult, type ScreenedCandidate, type SearchSource, type SelectServerToolsForPromptOptions, type ServerTool, type ServerToolCallEvent, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type SettingsStorageOperationsContext, type SignMessageFn, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredConversation, type StoredConversationSummary, type StoredFileWithContext, type StoredMedia, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, type StoredProject, type StoredUserPreference, type StoredVaultMemory, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type StreamingTransport, type StreamingTransportOptions, type StreamingTransportResult, type StyleAnalysisSchedule, type SynthesizeProfileOptions, TOOL_CATALOG, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type ToolConfig, type ToolExecutor, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type ToolUseEndEvent, type ToolUseStartEvent, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSkipReason, type TurnCompleteEvent, type TurnSkippedEvent, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateUserPreferenceOptions, type UpdateVaultMemoryOptions, UserPreference, type UserPreferencesStorageOperationsContext, VAULT_SIZE_HOP_CAP, type VaultEmbeddingCache, VaultMemory, type VaultMemoryOperationsContext, type VaultMemoryVisibility, type VaultSaveOperation, type VaultSearchResult, type VerificationSources, type VerifyMemoriesForPublishOptions, WalletPoller, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, WordProcessor, ZipProcessor, type ZipProcessorOptions, activatedToolSetNames, analyzeStyle, archiveVaultMemoryOp, backfillMemoryTopicsOp, buildConnectorGuidance, buildDeniedToolsRider, buildSystemPrompt, capHopsForDensity, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, cleanupConversationSummary, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearEncryptionKey, clearKeyPair, clearLazyTitleCache, clearMessagesOp, clearServerToolsCache, composeHooks, createAutoExtractor, createChunkVectorCache, createConversationOp, createCryptoPricePreProcessor, createDecaySweeper, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageOp, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createServerToolsFilter, createStockPricePreProcessor, createSummaryContext, createVaultEmbeddingCache, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllVaultMemoriesForUserOp, deleteConversationOp, deleteConversationSummaryOp, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteModelPreferenceOp, deleteProjectOp, deleteUserPreferenceOp, deleteVaultMemoryOp, eagerEmbedContent, embedAllMessages, embedMessage, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, estimateMessagesTokens, estimateTokens, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, findMatchingTools, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllFilesOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAudioOp, getCachedServerTools, getConversationOp, getConversationSummaryOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getEncryptionKey, getImagesOp, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesNeedingTopicExtractionOp, getMessageOp, getMessagesOp, getModelPreferenceOp, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getServerTools, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserPreferenceOp, getUserUploadedMediaOp, getVaultMemoryOp, getVideosOp, hardDeleteDecayedOp, hardDeleteMediaOp, hasEncryptionKey, hasKeyPair, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, isDegradedTopicSkip, isRerankerAvailable, isSupportedFile, isSupportedMediaType, makeSyntheticStoredConversation, makeSyntheticStoredMessage, maybeSummarizeHistory, mediaToStored, migrateFromModelPreferencesOp, onKeyAvailable, parseMedia, preEmbedVaultMemories, preprocessFiles, progressiveSummarize, projectToStored, queueManager, rankProfileCandidates, recall, reflect, refreshEncryptionKeyIfMatches, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, renderTemplate, requestEncryptionKey, requestKeyPair, restoreVaultMemoryOp, resumeStream, retain, runToolLoop, sanitizeQuotes, schemaToCreateSQL, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serverPlatformStorage, setMemoryVisibilityOp, setModelPreferenceOp, setUserPreferenceOp, shouldAnalyzeStyle, shouldChunkMessage, shouldRefreshTools, splitMessagesAtThreshold, stampTopicsExtractedAtOp, streamCancelPath, streamReplayPath, summarizeObservationTrends, summaryToSystemMessage, supersedeVaultMemoryOp, synthesizeProfile, toolSetSystemPrompts, traverseGraphLane, ttlForType, updateConversationProjectOp, updateConversationTitleOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageChunksOp, updateMessageEmbeddingOp, updateMessageErrorOp, updateMessageFeedbackOp, updateModelsOp, updatePersonalityOp, updateProfileOp, updateProjectNameOp, updateProjectOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, upsertConversationSummaryOp, upsertMessageOp, verifyMemoriesForPublish };
|