@anuma/sdk 11.3.5 → 11.4.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.
@@ -2798,7 +2798,7 @@ type ApiType = "auto" | "responses" | "completions";
2798
2798
  */
2799
2799
  type ApiResponse = LlmapiResponseResponse | LlmapiChatCompletionResponse;
2800
2800
 
2801
- type ChatRecordKind = "conversation" | "message" | "summary" | "project" | "memory_links" | "setting";
2801
+ type ChatRecordKind = "conversation" | "message" | "summary" | "project" | "memory_links" | "setting" | "app_file" | "saved_tool";
2802
2802
  type ChatJson = null | boolean | number | string | ChatJson[] | {
2803
2803
  [key: string]: ChatJson;
2804
2804
  };
@@ -2932,6 +2932,8 @@ interface ChatStore {
2932
2932
  }): Promise<ChatChanges>;
2933
2933
  search(embedding: readonly number[], options?: ChatSearchOptions): Promise<ChatSearchHit[]>;
2934
2934
  deleteAll(signal?: AbortSignal): Promise<number>;
2935
+ /** A keyed hash vault cannot reproduce, for record ids derived from private names. */
2936
+ sealedId?(value: string): Promise<string>;
2935
2937
  attachments: ChatAttachments;
2936
2938
  }
2937
2939
  interface RemoteChatStoreOptions {
@@ -2940,6 +2942,7 @@ interface RemoteChatStoreOptions {
2940
2942
  keyId: string;
2941
2943
  encrypt: (plaintext: string) => Promise<string>;
2942
2944
  decrypt: (ciphertext: string) => Promise<string>;
2945
+ hashTopic?: (normalized: string) => Promise<string>;
2943
2946
  fetch?: typeof globalThis.fetch;
2944
2947
  timeoutMs?: number;
2945
2948
  signal?: AbortSignal;
@@ -9466,6 +9469,54 @@ declare function markAnumaRead(store: ChatStore, sortKey: number, options?: {
9466
9469
  /** Counts Anuma turns the user has not read: assistant turns above both the read marker and the user's latest message. */
9467
9470
  declare function countUnreadAnumaTurns(messages: readonly Pick<StoredMessage, "messageId" | "role" | "anuma" | "uniqueId">[], lastReadSortKey: number): number;
9468
9471
 
9472
+ interface AppFile$1 {
9473
+ conversationId: string;
9474
+ path: string;
9475
+ content: string;
9476
+ version: number;
9477
+ createdAt: number;
9478
+ updatedAt: number;
9479
+ }
9480
+ interface SavedToolData {
9481
+ name: string;
9482
+ displayName: string;
9483
+ description: string;
9484
+ parameters: string;
9485
+ html: string;
9486
+ conversationId: string | null;
9487
+ }
9488
+ interface SavedTool$1 extends SavedToolData {
9489
+ id: string;
9490
+ version: number;
9491
+ createdAt: number;
9492
+ updatedAt: number;
9493
+ }
9494
+ /** The vault record id of a conversation's file: a keyed hash, so vault cannot tell the path. */
9495
+ declare function appFileId(store: Pick<ChatStore, "sealedId">, conversationId: string, path: string): Promise<string>;
9496
+ /** Every live file of one conversation. */
9497
+ declare function listAppFiles(store: ChatStore, conversationId: string, signal?: AbortSignal): Promise<AppFile$1[]>;
9498
+ interface AppFileIndex {
9499
+ /** Every live file of every conversation, fetching only what changed since the last call. */
9500
+ list(signal?: AbortSignal): Promise<AppFile$1[]>;
9501
+ }
9502
+ /** Keeps every app file of the account current from the changes feed. */
9503
+ declare function createAppFileIndex(store: ChatStore): AppFileIndex;
9504
+ /** Every live file of every conversation, read from the changes feed. */
9505
+ declare function listEveryAppFile(store: ChatStore, signal?: AbortSignal): Promise<AppFile$1[]>;
9506
+ /** One conversation file, or null when vault holds none at that path. */
9507
+ declare function getAppFile(store: ChatStore, conversationId: string, path: string, signal?: AbortSignal): Promise<AppFile$1 | null>;
9508
+ /** Creates or replaces a conversation file; the last save of a path wins across devices. */
9509
+ declare function saveAppFile(store: ChatStore, file: {
9510
+ conversationId: string;
9511
+ path: string;
9512
+ content: string;
9513
+ }, signal?: AbortSignal): Promise<AppFile$1>;
9514
+ declare function deleteAppFile(store: ChatStore, conversationId: string, path: string, signal?: AbortSignal): Promise<void>;
9515
+ declare function loadSavedTools(store: ChatStore, signal?: AbortSignal): Promise<SavedTool$1[]>;
9516
+ /** Creates or replaces a saved tool; the last save wins across devices. */
9517
+ declare function saveSavedTool(store: ChatStore, id: string, tool: SavedToolData, signal?: AbortSignal): Promise<SavedTool$1>;
9518
+ declare function deleteSavedTool(store: ChatStore, id: string, signal?: AbortSignal): Promise<void>;
9519
+
9469
9520
  interface ChatMigrationOptions {
9470
9521
  /** The device's local chat database. */
9471
9522
  database: Database;
@@ -9513,6 +9564,20 @@ declare function migrateChatsToRemote(options: ChatMigrationOptions): Promise<Ch
9513
9564
  /** Connect to owner-scoped server storage using the account's canonical device-held cipher. */
9514
9565
  declare function createRemoteChatStore(options: RemoteChatStoreOptions): Promise<ChatStore>;
9515
9566
 
9567
+ interface AppFileSeedResult {
9568
+ appFiles: number;
9569
+ savedTools: number;
9570
+ /** Files of conversations vault does not hold, left on the device. */
9571
+ orphaned: number;
9572
+ /** Files too large for one vault record, left on the device. */
9573
+ tooLarge: number;
9574
+ }
9575
+ /**
9576
+ * Uploads this device's app files and saved tools that vault lacks or holds an older edit of,
9577
+ * keeping each one's own edit time so the newest copy across devices wins.
9578
+ */
9579
+ declare function seedAppFilesToVault(database: Database, store: ChatStore, signal?: AbortSignal): Promise<AppFileSeedResult>;
9580
+
9516
9581
  interface Setting {
9517
9582
  section: string;
9518
9583
  data: {
@@ -16514,4 +16579,4 @@ type UseWalletBindingResult = {
16514
16579
  */
16515
16580
  declare function useWalletBinding(options?: UseWalletBindingOptions): UseWalletBindingResult;
16516
16581
 
16517
- export { ANUMA_CONVERSATION_ID, type ActiveStream, Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, type AnumaTurn, type AnumaTurnOrigin, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, 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, type ChatAccount, type ChatAccountState, type ChatAttachment, type ChatAttachments, type ChatBackend, type ChatBackendFactory, type ChatBackendSigner, type ChatCacheStorage, type ChatChanges, type ChatChunkSearchOptions, Conversation as ChatConversation, type ChatImport, type ChatJson, type ChatListOptions, Message as ChatMessage, type ChatMigrationOptions, type ChatMigrationProgress, type ChatMigrationResult, type ChatMigrationSkip, type ChatOutboxLocks, type ChatOutboxStorage, type ChatPage, type ChatPresignedUrl, type ChatRecord, type ChatRecordKind, type ChatRef, type ChatRevision, type ChatRole, type ChatSearchHit, type ChatSearchOptions, type ChatSnapshot, type ChatStorageAdapter, type ChatStorageObservable, type ChatStore, ChatStoreError, type ChatWrite, type ChunkSearchResult, type ChunkSearchStats, 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 CreateSelectPaymentWalletToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CreateWalletPaymentToolOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, 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 DurableAutoExtractorOptions, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, type EmbeddingRepairOptions, type EmbeddingRepairResult, 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 ExtractionMessageSource, type ExtractionSourceMessage, type ExtractionSourceStatus, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessingReason, type FileProcessingStatus, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, INTERNAL_FLOW_MARKER, type IconProps, type ImageProps, type InboxDeliveryResult, type InboxItem, type InboxPlaintext, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type LocalMemoryStoreOptions, type LocalMessageAttachment, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, MEMORY_KINDS, MEMORY_LEVELS, type ManualFactType, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type MemoryContextItem, type MemoryContextLane, type MemoryContextOptions, type MemoryContextResult, type MemoryCounts, type MemoryCreate, type MemoryDecay, type MemoryDecaySweeperOptions, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, MemoryKeyError, type MemoryKeyRing, type MemoryKind, type MemoryLevel, MemoryLevelError, type MemoryListOptions, type MemoryMaintenance, type MemoryMigrationOptions, type MemoryMigrationProgress, type MemoryMigrationResult, type MemoryMigrationSkip, type MemoryQuarantinedEvent, type MemoryRecallOptions, type MemoryRetainOptions, type MemoryStore, type MemorySubscribeOptions, type MemoryToVerify, type MemoryTopic, type MemoryTopicBacklog, type MemoryTopicMaintenance, type MemoryUpdate, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageAttachmentMigrationOptions, type MessageAttachmentMigrationResult, 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 PaymentWallet, 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 RecallTelemetryCallbacks, type RecallToolCallbacks, type RecallToolOptions, type RecallTruncation, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, type RemoteChatStoreOptions, type RemoteMemoryCandidateOptions, type RemoteMemoryDecodeFailure, RemoteMemoryError, type RemoteMemoryListOptions, type RemoteMemoryMetadataPage, type RemoteMemoryMetadataRecord, type RemoteMemoryPage, RemoteMemoryPartialCreateError, type RemoteMemoryPersistence, type RemoteMemoryPersistenceOptions, type RemoteMemoryPipeline, type RemoteMemoryPipelineOptions, type RemoteMemoryQueryOptions, type RemoteMemoryQueryPage, type RemoteMemoryReadFilters, type RemoteMemoryRecord, type RemoteMemoryRow, type RemoteMemoryStoreOptions, type RemoteMemoryTopic, type RemoteMemoryWorkKind, type RemoteMemoryWorkLease, type RemoteMemoryWorkPersistence, type RemoteTopicPersistence, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ReservationReceipt, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SELECT_PAYMENT_WALLET_TOOL_NAME, 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 SelectPaymentWalletResult, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type Setting, 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 StreamMeta, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TOPIC_SALIENCE_WEIGHTS, 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 TopicExtractionBatchDiagnostics, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSalience, 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 UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, 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 VaultAttachmentCache, type VaultAttachmentJournal, type VaultAttachmentOwner, type VaultAttachmentRef, type VaultAttachmentUploadOptions, type VaultAttachments, type VaultAttachmentsOptions, type VaultCandidateKey, type VaultChatActivity, type VaultChatBackend, type VaultChatBackendOptions, type VaultChatEvent, type VaultEmbeddingCache, type VaultEmbeddingExpectation, type VaultFolderOperationsContext, type VaultInbox, type VaultMemoryKind, type VaultMemoryOperationsContext, type VaultMemoryProjection, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, type VoiceRecording, WALLET_PAYMENT_TOOL_NAME, type WalletPaymentOutcome, type WalletPaymentPassenger, type WalletPaymentRequest, type WalletPaymentResult, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, type WriteFailureReason, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, anumaLastReadSortKey, anumaTurnContent, appFileToStored, archiveVaultMemoryOp, assembleMemoryContext, attachFileContextToLastUserMessage, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, buildAttachedFilesText, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearConversationMemoriesOp, clearEncryptionKey, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearModelsCache, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, countUnreadAnumaTurns, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createLocalMemoryStore, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createRemoteChatStore, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createRemoteMemoryStore, createSavedToolOp, createSelectPaymentWalletTool, createServerToolsFilter, createStockPricePreProcessor, createVaultAttachments, createVaultChatBackend, createVaultEmbeddingCache, createVaultFolderOp, createVaultInbox, createVaultMemoriesBatchOp, createVaultMemoryOp, createWalletPaymentTool, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, decryptMessageEmbeddingFields, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteMessageOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, deriveKeyFromSignatureBytes, deriveMemoryKeyRing, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, encryptToolCallEventsOp, ensureAnumaConversation, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportInboxPublicKey, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, extractMCPImageUrls, extractReservationReceipts, fileExists, findById, findMatchingTools, findParentOfId, formatFileProcessingNotes, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getEncryptionKey, getEntitiesByMemoryIdsOp, 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, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasEncryptionKey, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isAttachedFilesText, isDegradedTopicSkip, isEncrypted, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, listActiveStreams, loadSettings, localChatBackend, markAnumaRead, maskScopedEmbeddingCache, maxVaultAttachmentBytes, mediaToStored, memoryCipher, migrateChatsToRemote, migrateDisplayResult, migrateMemoriesToRemote, migrateMessageAttachments, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, openInboxItem, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, primaryTopic, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readAnumaTurn, readEncryptedFile, recall, reencryptMemoryField, reflect, refreshEncryptionKeyIfMatches, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeNotionAccess, saveSetting, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, sealLegacyMessageEmbeddingsOp, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRecallMemory, shouldRefreshTools, stampTopicsExtractedAtOp, startNotionAuth, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, topicWeight, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useEncryption, useExportPdf, useFiles, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, vaultAttachmentRefs, vaultChatBackend, verifyMemoriesForPublish, walk, webPlatformStorage, withActiveToolSetServerTools, withInternalFlowMarker, writeEncryptedFile };
16582
+ export { ANUMA_CONVERSATION_ID, type ActiveStream, Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, type AnumaTurn, type AnumaTurnOrigin, type AppFile$1 as AppFile, type AppFileIndex, AppFile as AppFileModel, type AppFileOperationsContext, type AppFileSeedResult, type AttrValue, type AutoExtractMessage, type AutoExtractor, 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, type ChatAccount, type ChatAccountState, type ChatAttachment, type ChatAttachments, type ChatBackend, type ChatBackendFactory, type ChatBackendSigner, type ChatCacheStorage, type ChatChanges, type ChatChunkSearchOptions, Conversation as ChatConversation, type ChatImport, type ChatJson, type ChatListOptions, Message as ChatMessage, type ChatMigrationOptions, type ChatMigrationProgress, type ChatMigrationResult, type ChatMigrationSkip, type ChatOutboxLocks, type ChatOutboxStorage, type ChatPage, type ChatPresignedUrl, type ChatRecord, type ChatRecordKind, type ChatRef, type ChatRevision, type ChatRole, type ChatSearchHit, type ChatSearchOptions, type ChatSnapshot, type ChatStorageAdapter, type ChatStorageObservable, type ChatStore, ChatStoreError, type ChatWrite, type ChunkSearchResult, type ChunkSearchStats, 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 CreateSelectPaymentWalletToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CreateWalletPaymentToolOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, 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 DurableAutoExtractorOptions, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, type EmbeddingRepairOptions, type EmbeddingRepairResult, 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 ExtractionMessageSource, type ExtractionSourceMessage, type ExtractionSourceStatus, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessingReason, type FileProcessingStatus, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, INTERNAL_FLOW_MARKER, type IconProps, type ImageProps, type InboxDeliveryResult, type InboxItem, type InboxPlaintext, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type LocalMemoryStoreOptions, type LocalMessageAttachment, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, MEMORY_KINDS, MEMORY_LEVELS, type ManualFactType, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type MemoryContextItem, type MemoryContextLane, type MemoryContextOptions, type MemoryContextResult, type MemoryCounts, type MemoryCreate, type MemoryDecay, type MemoryDecaySweeperOptions, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, MemoryKeyError, type MemoryKeyRing, type MemoryKind, type MemoryLevel, MemoryLevelError, type MemoryListOptions, type MemoryMaintenance, type MemoryMigrationOptions, type MemoryMigrationProgress, type MemoryMigrationResult, type MemoryMigrationSkip, type MemoryQuarantinedEvent, type MemoryRecallOptions, type MemoryRetainOptions, type MemoryStore, type MemorySubscribeOptions, type MemoryToVerify, type MemoryTopic, type MemoryTopicBacklog, type MemoryTopicMaintenance, type MemoryUpdate, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageAttachmentMigrationOptions, type MessageAttachmentMigrationResult, 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 PaymentWallet, 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 RecallTelemetryCallbacks, type RecallToolCallbacks, type RecallToolOptions, type RecallTruncation, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, type RemoteChatStoreOptions, type RemoteMemoryCandidateOptions, type RemoteMemoryDecodeFailure, RemoteMemoryError, type RemoteMemoryListOptions, type RemoteMemoryMetadataPage, type RemoteMemoryMetadataRecord, type RemoteMemoryPage, RemoteMemoryPartialCreateError, type RemoteMemoryPersistence, type RemoteMemoryPersistenceOptions, type RemoteMemoryPipeline, type RemoteMemoryPipelineOptions, type RemoteMemoryQueryOptions, type RemoteMemoryQueryPage, type RemoteMemoryReadFilters, type RemoteMemoryRecord, type RemoteMemoryRow, type RemoteMemoryStoreOptions, type RemoteMemoryTopic, type RemoteMemoryWorkKind, type RemoteMemoryWorkLease, type RemoteMemoryWorkPersistence, type RemoteTopicPersistence, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ReservationReceipt, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SELECT_PAYMENT_WALLET_TOOL_NAME, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, type SavedTool$1 as SavedTool, type SavedToolData, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectPaymentWalletResult, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type Setting, 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 StreamMeta, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TOPIC_SALIENCE_WEIGHTS, 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 TopicExtractionBatchDiagnostics, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSalience, 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 UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, 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 VaultAttachmentCache, type VaultAttachmentJournal, type VaultAttachmentOwner, type VaultAttachmentRef, type VaultAttachmentUploadOptions, type VaultAttachments, type VaultAttachmentsOptions, type VaultCandidateKey, type VaultChatActivity, type VaultChatBackend, type VaultChatBackendOptions, type VaultChatEvent, type VaultEmbeddingCache, type VaultEmbeddingExpectation, type VaultFolderOperationsContext, type VaultInbox, type VaultMemoryKind, type VaultMemoryOperationsContext, type VaultMemoryProjection, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, type VoiceRecording, WALLET_PAYMENT_TOOL_NAME, type WalletPaymentOutcome, type WalletPaymentPassenger, type WalletPaymentRequest, type WalletPaymentResult, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, type WriteFailureReason, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, anumaLastReadSortKey, anumaTurnContent, appFileId, appFileToStored, archiveVaultMemoryOp, assembleMemoryContext, attachFileContextToLastUserMessage, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, buildAttachedFilesText, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearConversationMemoriesOp, clearEncryptionKey, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearModelsCache, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, countUnreadAnumaTurns, createAppFileIndex, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createLocalMemoryStore, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createRemoteChatStore, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createRemoteMemoryStore, createSavedToolOp, createSelectPaymentWalletTool, createServerToolsFilter, createStockPricePreProcessor, createVaultAttachments, createVaultChatBackend, createVaultEmbeddingCache, createVaultFolderOp, createVaultInbox, createVaultMemoriesBatchOp, createVaultMemoryOp, createWalletPaymentTool, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, decryptMessageEmbeddingFields, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFile, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteMessageOp, deleteProjectOp, deleteSavedTool, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, deriveKeyFromSignatureBytes, deriveMemoryKeyRing, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, encryptToolCallEventsOp, ensureAnumaConversation, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportInboxPublicKey, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, extractMCPImageUrls, extractReservationReceipts, fileExists, findById, findMatchingTools, findParentOfId, formatFileProcessingNotes, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFile, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getEncryptionKey, getEntitiesByMemoryIdsOp, 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, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasEncryptionKey, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isAttachedFilesText, isDegradedTopicSkip, isEncrypted, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, listActiveStreams, listAppFiles, listEveryAppFile, loadSavedTools, loadSettings, localChatBackend, markAnumaRead, maskScopedEmbeddingCache, maxVaultAttachmentBytes, mediaToStored, memoryCipher, migrateChatsToRemote, migrateDisplayResult, migrateMemoriesToRemote, migrateMessageAttachments, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, openInboxItem, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, primaryTopic, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readAnumaTurn, readEncryptedFile, recall, reencryptMemoryField, reflect, refreshEncryptionKeyIfMatches, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeNotionAccess, saveAppFile, saveSavedTool, saveSetting, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, sealLegacyMessageEmbeddingsOp, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedAppFilesToVault, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRecallMemory, shouldRefreshTools, stampTopicsExtractedAtOp, startNotionAuth, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, topicWeight, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useEncryption, useExportPdf, useFiles, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, vaultAttachmentRefs, vaultChatBackend, verifyMemoriesForPublish, walk, webPlatformStorage, withActiveToolSetServerTools, withInternalFlowMarker, writeEncryptedFile };
@@ -12363,6 +12363,168 @@ function countUnreadAnumaTurns(messages, lastReadSortKey) {
12363
12363
  return turns.size;
12364
12364
  }
12365
12365
 
12366
+ // src/utils/paths.ts
12367
+ function normalizePath(p) {
12368
+ return p.replace(/^\/+/, "").replace(/\/\/+/g, "/").split("/").reduce((acc, seg) => {
12369
+ if (seg === "..") acc.pop();
12370
+ else if (seg !== ".") acc.push(seg);
12371
+ return acc;
12372
+ }, []).join("/");
12373
+ }
12374
+
12375
+ // src/lib/chatStore/appFiles.ts
12376
+ var maxSaveAttempts = 3;
12377
+ async function appFileId(store, conversationId, path) {
12378
+ if (!store.sealedId) throw new Error("App file ids need a chat store that seals ids");
12379
+ return store.sealedId(`app_file\0${conversationId}\0${normalizePath(path)}`);
12380
+ }
12381
+ async function putLatest(store, target, next, signal) {
12382
+ for (let attempt = 1; ; attempt++) {
12383
+ const current = await store.get(target.kind, target.id, signal);
12384
+ if (next.isDeleted && (!current || current.record.isDeleted)) return current;
12385
+ const now = Date.now();
12386
+ try {
12387
+ const [saved] = await store.putMany(
12388
+ [
12389
+ {
12390
+ record: {
12391
+ ...target,
12392
+ sortKey: 0,
12393
+ createdAt: current?.record.createdAt ?? now,
12394
+ updatedAt: Math.max(now, (current?.record.updatedAt ?? 0) + 1),
12395
+ isDeleted: next.isDeleted,
12396
+ data: next.isDeleted ? {} : next.data
12397
+ },
12398
+ expectedVersion: current?.version ?? 0
12399
+ }
12400
+ ],
12401
+ signal
12402
+ );
12403
+ return saved;
12404
+ } catch (error) {
12405
+ if (!(error instanceof ChatStoreError) || error.code !== "version_conflict" || attempt >= maxSaveAttempts)
12406
+ throw error;
12407
+ }
12408
+ }
12409
+ }
12410
+ async function listAll(store, kind, conversationId, signal) {
12411
+ const out = [];
12412
+ let cursor;
12413
+ do {
12414
+ const page = await store.list({ kind, conversationId, limit: 100, cursor, signal });
12415
+ out.push(...page.items.filter((item) => !item.record.isDeleted));
12416
+ cursor = page.nextCursor;
12417
+ } while (cursor);
12418
+ return out;
12419
+ }
12420
+ function toAppFile(snapshot) {
12421
+ const { path, content } = snapshot.record.data;
12422
+ if (typeof path !== "string" || typeof content !== "string") return null;
12423
+ return {
12424
+ conversationId: snapshot.record.conversationId,
12425
+ path,
12426
+ content,
12427
+ version: snapshot.version,
12428
+ createdAt: snapshot.record.createdAt,
12429
+ updatedAt: snapshot.record.updatedAt
12430
+ };
12431
+ }
12432
+ function toSavedTool(snapshot) {
12433
+ const d = snapshot.record.data;
12434
+ if (typeof d.name !== "string" || typeof d.displayName !== "string" || typeof d.description !== "string" || typeof d.parameters !== "string" || typeof d.html !== "string" || d.conversationId !== null && typeof d.conversationId !== "string")
12435
+ return null;
12436
+ return {
12437
+ id: snapshot.record.id,
12438
+ name: d.name,
12439
+ displayName: d.displayName,
12440
+ description: d.description,
12441
+ parameters: d.parameters,
12442
+ html: d.html,
12443
+ conversationId: d.conversationId,
12444
+ version: snapshot.version,
12445
+ createdAt: snapshot.record.createdAt,
12446
+ updatedAt: snapshot.record.updatedAt
12447
+ };
12448
+ }
12449
+ async function listAppFiles(store, conversationId, signal) {
12450
+ const items = await listAll(store, "app_file", conversationId, signal);
12451
+ return items.map(toAppFile).filter((file) => file !== null);
12452
+ }
12453
+ function createAppFileIndex(store) {
12454
+ const latest = /* @__PURE__ */ new Map();
12455
+ let cursor;
12456
+ let queue = Promise.resolve();
12457
+ const catchUp = async (signal) => {
12458
+ for (; ; ) {
12459
+ const page = await store.changes(cursor, { kinds: ["app_file"], limit: 200, signal });
12460
+ for (const item of page.items) latest.set(item.record.id, item);
12461
+ cursor = page.nextCursor ?? page.changesCursor;
12462
+ if (!page.nextCursor) break;
12463
+ }
12464
+ return [...latest.values()].filter((item) => !item.record.isDeleted).map(toAppFile).filter((file) => file !== null);
12465
+ };
12466
+ return {
12467
+ list(signal) {
12468
+ const next = queue.then(() => catchUp(signal));
12469
+ queue = next.catch(() => void 0);
12470
+ return next;
12471
+ }
12472
+ };
12473
+ }
12474
+ function listEveryAppFile(store, signal) {
12475
+ return createAppFileIndex(store).list(signal);
12476
+ }
12477
+ async function getAppFile(store, conversationId, path, signal) {
12478
+ const snapshot = await store.get(
12479
+ "app_file",
12480
+ await appFileId(store, conversationId, path),
12481
+ signal
12482
+ );
12483
+ return snapshot && !snapshot.record.isDeleted ? toAppFile(snapshot) : null;
12484
+ }
12485
+ async function saveAppFile(store, file, signal) {
12486
+ const saved = await putLatest(
12487
+ store,
12488
+ {
12489
+ kind: "app_file",
12490
+ id: await appFileId(store, file.conversationId, file.path),
12491
+ conversationId: file.conversationId
12492
+ },
12493
+ { data: { path: normalizePath(file.path), content: file.content }, isDeleted: false },
12494
+ signal
12495
+ );
12496
+ return toAppFile(saved);
12497
+ }
12498
+ async function deleteAppFile(store, conversationId, path, signal) {
12499
+ await putLatest(
12500
+ store,
12501
+ { kind: "app_file", id: await appFileId(store, conversationId, path), conversationId },
12502
+ { data: {}, isDeleted: true },
12503
+ signal
12504
+ );
12505
+ }
12506
+ async function loadSavedTools(store, signal) {
12507
+ const items = await listAll(store, "saved_tool", void 0, signal);
12508
+ return items.map(toSavedTool).filter((tool) => tool !== null);
12509
+ }
12510
+ async function saveSavedTool(store, id2, tool, signal) {
12511
+ const saved = await putLatest(
12512
+ store,
12513
+ { kind: "saved_tool", id: id2, conversationId: "" },
12514
+ { data: { ...tool }, isDeleted: false },
12515
+ signal
12516
+ );
12517
+ return toSavedTool(saved);
12518
+ }
12519
+ async function deleteSavedTool(store, id2, signal) {
12520
+ await putLatest(
12521
+ store,
12522
+ { kind: "saved_tool", id: id2, conversationId: "" },
12523
+ { data: {}, isDeleted: true },
12524
+ signal
12525
+ );
12526
+ }
12527
+
12366
12528
  // src/lib/db/chat/summaryOperations.ts
12367
12529
  import { Q as Q4 } from "@nozbe/watermelondb";
12368
12530
  function createSummaryContext(database, encryption = {}) {
@@ -12565,7 +12727,16 @@ function batches(records) {
12565
12727
  }
12566
12728
 
12567
12729
  // src/lib/chatStore/remote.ts
12568
- var kinds = /* @__PURE__ */ new Set(["conversation", "message", "summary", "project", "memory_links", "setting"]);
12730
+ var kinds = /* @__PURE__ */ new Set([
12731
+ "conversation",
12732
+ "message",
12733
+ "summary",
12734
+ "project",
12735
+ "memory_links",
12736
+ "setting",
12737
+ "app_file",
12738
+ "saved_tool"
12739
+ ]);
12569
12740
  var cipherPattern = /^enc:v\d+:(?:[0-9a-f]{2}){28,}$/i;
12570
12741
  var maxPayload = 2 * 1024 * 1024;
12571
12742
  var storedDims2 = 1536;
@@ -12625,7 +12796,7 @@ function validRecord(value) {
12625
12796
  return root ? value.conversationId === "" : id(value.conversationId);
12626
12797
  }
12627
12798
  function rootKind(kind) {
12628
- return kind === "conversation" || kind === "project" || kind === "setting";
12799
+ return kind === "conversation" || kind === "project" || kind === "setting" || kind === "saved_tool";
12629
12800
  }
12630
12801
  function embeddings(write) {
12631
12802
  if (write.embeddings === void 0) return true;
@@ -12706,6 +12877,7 @@ async function createRemoteChatStore(options) {
12706
12877
  const keyId = options.keyId;
12707
12878
  const encrypt = options.encrypt;
12708
12879
  const decrypt = options.decrypt;
12880
+ const hashTopic = options.hashTopic;
12709
12881
  const nearby = createNearbyRequest({ ...options }, "/api/private-chats");
12710
12882
  const request = async (...args) => {
12711
12883
  try {
@@ -12756,7 +12928,9 @@ async function createRemoteChatStore(options) {
12756
12928
  JSON.stringify({ schema: 1, account_id: accountId, key_id: keyId, record: record3 })
12757
12929
  );
12758
12930
  signal?.throwIfAborted();
12759
- if (!cipherPattern.test(payload) || payload.length > maxPayload) invalid();
12931
+ if (!cipherPattern.test(payload)) invalid();
12932
+ if (payload.length > maxPayload)
12933
+ throw new ChatStoreError("Encrypted chat record is too large", 413, "record_too_large");
12760
12934
  return payload;
12761
12935
  };
12762
12936
  const capture = (items, max, signal) => {
@@ -13037,6 +13211,7 @@ async function createRemoteChatStore(options) {
13037
13211
  if (!object(value) || !integer(value.deleted)) invalid();
13038
13212
  return value.deleted;
13039
13213
  },
13214
+ ...hashTopic ? { sealedId: (value) => hashTopic(`record-id\0${value}`) } : {},
13040
13215
  attachments: {
13041
13216
  async create(sizeBytes, signal) {
13042
13217
  if (!integer(sizeBytes, 1) || sizeBytes > maxAttachmentBytes) invalid();
@@ -13403,8 +13578,87 @@ async function migrateChatsToRemote(options) {
13403
13578
  return passes(false);
13404
13579
  }
13405
13580
 
13581
+ // src/lib/chatStore/seedAppFiles.ts
13582
+ var maxSeedAttempts = 3;
13583
+ async function rawRows(database, table) {
13584
+ const rows = await database.get(table).query().fetch();
13585
+ return rows.map((row) => row._raw);
13586
+ }
13587
+ async function seedRecord(store, target, device, signal) {
13588
+ for (let attempt = 1; ; attempt++) {
13589
+ const current = await store.get(target.kind, target.id, signal);
13590
+ if (current && (current.record.isDeleted || current.record.updatedAt >= device.updatedAt))
13591
+ return false;
13592
+ try {
13593
+ await store.putMany(
13594
+ [
13595
+ {
13596
+ record: {
13597
+ ...target,
13598
+ sortKey: 0,
13599
+ createdAt: current?.record.createdAt ?? device.createdAt,
13600
+ updatedAt: device.updatedAt,
13601
+ isDeleted: false,
13602
+ data: device.data
13603
+ },
13604
+ expectedVersion: current?.version ?? 0
13605
+ }
13606
+ ],
13607
+ signal
13608
+ );
13609
+ return true;
13610
+ } catch (error) {
13611
+ if (!(error instanceof ChatStoreError) || error.code !== "version_conflict" || attempt >= maxSeedAttempts)
13612
+ throw error;
13613
+ }
13614
+ }
13615
+ }
13616
+ function leftOnDevice(error, result) {
13617
+ if (!(error instanceof ChatStoreError)) return false;
13618
+ if (error.code === "conversation_not_found") result.orphaned++;
13619
+ else if (error.code === "record_too_large") result.tooLarge++;
13620
+ else return false;
13621
+ return true;
13622
+ }
13623
+ async function seedAppFilesToVault(database, store, signal) {
13624
+ const result = { appFiles: 0, savedTools: 0, orphaned: 0, tooLarge: 0 };
13625
+ for (const file of await rawRows(database, "app_files")) {
13626
+ try {
13627
+ const target = {
13628
+ kind: "app_file",
13629
+ id: await appFileId(store, file.conversation_id, file.path),
13630
+ conversationId: file.conversation_id
13631
+ };
13632
+ const data = { path: normalizePath(file.path), content: file.content };
13633
+ const device = { data, createdAt: file.created_at, updatedAt: file.updated_at };
13634
+ if (await seedRecord(store, target, device, signal)) result.appFiles++;
13635
+ } catch (error) {
13636
+ if (!leftOnDevice(error, result)) throw error;
13637
+ }
13638
+ }
13639
+ for (const tool of await rawRows(database, "saved_tools")) {
13640
+ if (tool.is_deleted) continue;
13641
+ try {
13642
+ const data = {
13643
+ name: tool.name,
13644
+ displayName: tool.display_name,
13645
+ description: tool.description,
13646
+ parameters: tool.parameters,
13647
+ html: tool.html,
13648
+ conversationId: tool.conversation_id || null
13649
+ };
13650
+ const target = { kind: "saved_tool", id: tool.id, conversationId: "" };
13651
+ const device = { data, createdAt: tool.created_at, updatedAt: tool.updated_at };
13652
+ if (await seedRecord(store, target, device, signal)) result.savedTools++;
13653
+ } catch (error) {
13654
+ if (!leftOnDevice(error, result)) throw error;
13655
+ }
13656
+ }
13657
+ return result;
13658
+ }
13659
+
13406
13660
  // src/lib/chatStore/settings.ts
13407
- var maxSaveAttempts = 3;
13661
+ var maxSaveAttempts2 = 3;
13408
13662
  function toSetting(snapshot) {
13409
13663
  if (snapshot.record.isDeleted) return null;
13410
13664
  return {
@@ -13453,7 +13707,7 @@ async function saveSetting(store, section, data, signal) {
13453
13707
  );
13454
13708
  return toSetting(saved);
13455
13709
  } catch (error) {
13456
- if (!(error instanceof ChatStoreError) || error.code !== "version_conflict" || attempt >= maxSaveAttempts)
13710
+ if (!(error instanceof ChatStoreError) || error.code !== "version_conflict" || attempt >= maxSaveAttempts2)
13457
13711
  throw error;
13458
13712
  }
13459
13713
  }
@@ -14279,12 +14533,15 @@ function createVaultChatBackend(options) {
14279
14533
  emit({ type: "vector_quota" });
14280
14534
  return "retry";
14281
14535
  }
14282
- if (error.code === "private_chat_storage_limit_reached" || error.code === "invalid_record" || error.status === 400) {
14536
+ if (error.code === "private_chat_storage_limit_reached" || error.code === "invalid_record" || error.code === "record_too_large" || error.status === 400) {
14283
14537
  if (batch.length > 1) {
14284
14538
  isolate = batch.length;
14285
14539
  return "retry";
14286
14540
  }
14287
- drop(batch[0], error.status === 413 ? "storage_quota" : "invalid");
14541
+ drop(
14542
+ batch[0],
14543
+ error.code === "private_chat_storage_limit_reached" ? "storage_quota" : "invalid"
14544
+ );
14288
14545
  return "retry";
14289
14546
  }
14290
14547
  if (error.status === 429) return backoff(error.retryAfterMs, true);
@@ -15055,17 +15312,6 @@ __decorateClass([
15055
15312
 
15056
15313
  // src/lib/db/appFiles/operations.ts
15057
15314
  import { Q as Q5 } from "@nozbe/watermelondb";
15058
-
15059
- // src/utils/paths.ts
15060
- function normalizePath(p) {
15061
- return p.replace(/^\/+/, "").replace(/\/\/+/g, "/").split("/").reduce((acc, seg) => {
15062
- if (seg === "..") acc.pop();
15063
- else if (seg !== ".") acc.push(seg);
15064
- return acc;
15065
- }, []).join("/");
15066
- }
15067
-
15068
- // src/lib/db/appFiles/operations.ts
15069
15315
  function appFileToStored(file) {
15070
15316
  return {
15071
15317
  uniqueId: file.id,
@@ -42495,6 +42741,7 @@ export {
42495
42741
  addConversationMemoriesOp,
42496
42742
  anumaLastReadSortKey,
42497
42743
  anumaTurnContent,
42744
+ appFileId,
42498
42745
  appFileToStored,
42499
42746
  archiveVaultMemoryOp,
42500
42747
  assembleMemoryContext,
@@ -42535,6 +42782,7 @@ export {
42535
42782
  conversationMemoryToStored,
42536
42783
  cosineInt8,
42537
42784
  countUnreadAnumaTurns,
42785
+ createAppFileIndex,
42538
42786
  createAutoExtractor,
42539
42787
  createChunkVectorCache,
42540
42788
  createCryptoPricePreProcessor,
@@ -42582,6 +42830,7 @@ export {
42582
42830
  defaultServerToolsFilter,
42583
42831
  deleteAllAppFilesOp,
42584
42832
  deleteAllVaultMemoriesForUserOp,
42833
+ deleteAppFile,
42585
42834
  deleteAppFileOp,
42586
42835
  deleteEncryptedFile,
42587
42836
  deleteMediaByConversationOp,
@@ -42589,6 +42838,7 @@ export {
42589
42838
  deleteMediaOp,
42590
42839
  deleteMessageOp,
42591
42840
  deleteProjectOp,
42841
+ deleteSavedTool,
42592
42842
  deleteSavedToolOp,
42593
42843
  deleteVaultFolderOp,
42594
42844
  deleteVaultMemoryOp,
@@ -42635,6 +42885,7 @@ export {
42635
42885
  getAllVaultMemoryContentsOp,
42636
42886
  getAndClearNotionPendingMessage,
42637
42887
  getAndClearNotionReturnUrl,
42888
+ getAppFile,
42638
42889
  getAppFileMapOp,
42639
42890
  getAppFileOp,
42640
42891
  getAppFilesOp,
@@ -42713,6 +42964,9 @@ export {
42713
42964
  isSupportedMediaType,
42714
42965
  linkMemoryEntitiesOp,
42715
42966
  listActiveStreams,
42967
+ listAppFiles,
42968
+ listEveryAppFile,
42969
+ loadSavedTools,
42716
42970
  loadSettings,
42717
42971
  localChatBackend,
42718
42972
  markAnumaRead,
@@ -42764,6 +43018,8 @@ export {
42764
43018
  resumeStream,
42765
43019
  retain,
42766
43020
  revokeNotionAccess,
43021
+ saveAppFile,
43022
+ saveSavedTool,
42767
43023
  saveSetting,
42768
43024
  savedToolToStored,
42769
43025
  scoreProfileSalience,
@@ -42776,6 +43032,7 @@ export {
42776
43032
  searchMediaOp,
42777
43033
  searchMessagesOp,
42778
43034
  searchVaultMemories,
43035
+ seedAppFilesToVault,
42779
43036
  seedEncryptionKeys,
42780
43037
  selectServerToolsForPrompt,
42781
43038
  serializeJsx,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anuma/sdk",
3
- "version": "11.3.5",
3
+ "version": "11.4.0",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",