@anuma/sdk 2.3.1 → 2.4.1

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.
@@ -3873,6 +3873,37 @@ declare function searchMessagesOp(ctx: StorageOperationsContext, queryVector: nu
3873
3873
  minSimilarity?: number;
3874
3874
  conversationId?: string;
3875
3875
  }): Promise<StoredMessageWithSimilarity[]>;
3876
+ /**
3877
+ * Decrypted, model-native chunk vectors for one message, cached across recall
3878
+ * calls so the chunk lane doesn't re-decrypt + re-JSON.parse every message's
3879
+ * embeddings on every query. Keyed by message id; `version` is the message's
3880
+ * `updated_at` at cache time, so a re-embed (which bumps `updated_at`) misses
3881
+ * and repopulates. Vectors are stored Float32 — model-native precision, half
3882
+ * the RAM of float64 `number[]` — mirroring the vault embedding cache (#705).
3883
+ * Content text is deliberately NOT cached (see searchChunksOp): it isn't
3884
+ * needed for scoring, and keeping decrypted content out of the cache preserves
3885
+ * the SDK's data-at-rest posture.
3886
+ */
3887
+ interface CachedChunkVectors {
3888
+ /** Message `updated_at` (ms) at cache time — the invalidation token. */
3889
+ version: number;
3890
+ /**
3891
+ * Per-chunk embedding vectors, index-aligned with the message's decrypted
3892
+ * `chunks` array (empty-vector chunks kept as zero-length placeholders so
3893
+ * indices stay aligned). Empty when the message has only a whole-message
3894
+ * `fallback` vector.
3895
+ */
3896
+ chunks: Float32Array[];
3897
+ /** Whole-message vector when the message was embedded without chunking. */
3898
+ fallback?: Float32Array;
3899
+ }
3900
+ /**
3901
+ * Cache consumed by {@link searchChunksOp}, keyed by message id. A plain `Map`
3902
+ * (satisfied by the LRU from `createChunkVectorCache`) — mirrors
3903
+ * `VaultEmbeddingCache` so consumers get the same `clear()`/`delete()`
3904
+ * ergonomics on an encryption-key reset.
3905
+ */
3906
+ type ChunkVectorCache = Map<string, CachedChunkVectors>;
3876
3907
  /**
3877
3908
  * Search through message chunks for fine-grained semantic search.
3878
3909
  * Returns the matching chunk text along with the parent message.
@@ -3890,6 +3921,13 @@ declare function searchChunksOp(ctx: StorageOperationsContext, queryVector: numb
3890
3921
  * messages are re-embedded out-of-band by `chunkAndEmbedAllMessages`.
3891
3922
  */
3892
3923
  embeddingModel?: string;
3924
+ /**
3925
+ * Optional decrypted-vector cache. When provided, the per-query decrypt +
3926
+ * JSON.parse of every message's chunk vectors is skipped on warm entries
3927
+ * (validated by `updated_at`), which is the dominant cost of the chunk
3928
+ * lane. Omit for the legacy always-decrypt behavior.
3929
+ */
3930
+ chunkCache?: ChunkVectorCache;
3893
3931
  }): Promise<ChunkSearchResult[]>;
3894
3932
  /**
3895
3933
  * Get all files from all conversations, sorted by creation date (newest first).
@@ -5710,6 +5748,14 @@ interface RecallOptions {
5710
5748
  * resolves windows in 2026 and never overlaps stored event_time.
5711
5749
  */
5712
5750
  now?: number;
5751
+ /**
5752
+ * Best-effort observability hook. Called once per `recall()` with per-lane
5753
+ * timings, lane counts, and soft-degradation signals — the raw material for
5754
+ * tuning latency/quality and for wiring recall telemetry to PostHog. Invoked
5755
+ * synchronously just before `recall()` returns; a throwing callback is
5756
+ * swallowed (diagnostics must never break retrieval). Off unless provided.
5757
+ */
5758
+ onDiagnostics?: (diagnostics: RecallDiagnostics) => void;
5713
5759
  /** Number of candidates fed to the cross-encoder rerank stage. Default: 30. */
5714
5760
  rerankTopN?: number;
5715
5761
  /** Multiplicative cross-encoder blend weight. Default: 0.1. */
@@ -5740,6 +5786,12 @@ interface RecallContext {
5740
5786
  embeddingOptions: EmbeddingOptions;
5741
5787
  /** Vault embedding LRU cache. */
5742
5788
  vaultCache?: VaultEmbeddingCache;
5789
+ /**
5790
+ * Optional chunk-vector LRU cache. When provided, the chunk lane skips the
5791
+ * per-query decrypt + JSON.parse of every message's chunk vectors on warm
5792
+ * entries. Build via `createChunkVectorCache`. Omit for legacy behavior.
5793
+ */
5794
+ chunkCache?: ChunkVectorCache;
5743
5795
  /**
5744
5796
  * Optional — when provided, recall extracts entities from the query
5745
5797
  * and adds a graph lane to the RRF fusion (memories sharing entities
@@ -5759,6 +5811,48 @@ interface RecallResult {
5759
5811
  /** Diagnostic: total memories in the vault when fact lane was queried. */
5760
5812
  vaultSize?: number;
5761
5813
  }
5814
+ /** Soft-degradation signals surfaced via {@link RecallDiagnostics.degraded}. */
5815
+ type RecallDegradation =
5816
+ /** Rerank was requested (budget mid/high) but the cross-encoder didn't run
5817
+ * this call — unavailable (e.g. React Native) or a transient failure. */
5818
+ "rerank-unavailable"
5819
+ /** `budget: 'high'` requested but no `decomposeOptions`, so query
5820
+ * decomposition was skipped and the budget downgraded to mid. */
5821
+ | "decompose-unavailable";
5822
+ /**
5823
+ * Per-call recall observability payload (see {@link RecallOptions.onDiagnostics}).
5824
+ * All timings are wall-clock milliseconds. Lane counts are post-dedupe,
5825
+ * pre-fusion. Intended to be forwarded to a metrics sink (e.g. PostHog).
5826
+ */
5827
+ interface RecallDiagnostics {
5828
+ /** Budget actually executed (may have downgraded from the requested one). */
5829
+ usedBudget: Budget;
5830
+ /** Whether the cross-encoder actually reranked the fact lane this call. */
5831
+ reranked: boolean;
5832
+ /** Total candidates considered before truncation. */
5833
+ candidateCount: number;
5834
+ /** Total vault size when the fact lane ran (absent if it didn't). */
5835
+ vaultSize?: number;
5836
+ /** Facts the fact lane returned (post-dedupe, pre-fusion). */
5837
+ factCount: number;
5838
+ /** Chunks the chunk lane returned (post-dedupe, pre-fusion). */
5839
+ chunkCount: number;
5840
+ /** Wall-clock phase timings (ms). */
5841
+ timings: {
5842
+ /** Whole `recall()` call. */
5843
+ total: number;
5844
+ /** Parallel query-embed + graph/temporal side-lane build. */
5845
+ prep: number;
5846
+ /** Vault fact-lane search (`searchVaultMemoriesWithSize`). */
5847
+ factLane: number;
5848
+ /** Chunk-lane search (`searchChunksOp`). */
5849
+ chunkLane: number;
5850
+ /** Cross-lane RRF fusion + provenance dedup after both lanes. */
5851
+ fuse: number;
5852
+ };
5853
+ /** Soft-degradation signals that fired this call (empty when clean). */
5854
+ degraded: RecallDegradation[];
5855
+ }
5762
5856
  type RetainAction = "create" | "merge" | "update" | "skip" | "suppressed";
5763
5857
  type RetainSource = "manual" | "auto-extracted" | "capsule";
5764
5858
  /** Why the consolidator fell back to "create" instead of a real decision. */
@@ -6109,15 +6203,32 @@ declare function extractAndRetain(messages: AutoExtractMessage[], retainCtx: Ret
6109
6203
  * newest (superset) message list re-covers any superseded turn. Turns for
6110
6204
  * different conversations queue independently and never displace each other.
6111
6205
  *
6112
- * Watermark + window: the worker keeps an in-memory, per-conversation
6113
- * watermark of the last message it extracted through. Each run sends every
6114
- * message *after* that watermark (plus a small overlap for coreference,
6115
- * capped at `maxWindowSize`) rather than a fixed trailing slice — so facts
6116
- * stated in turns that arrived during a busy window are still examined instead
6117
- * of scrolling out of a last-N window. The watermark is session-scoped (in
6118
- * memory); it does NOT survive process death, so an extraction killed mid-flight
6119
- * by app backgrounding is not replayed in a later session. Durable cross-process
6120
- * replay would require a persisted watermark (out of scope here).
6206
+ * Watermark + window: the worker keeps a per-conversation watermark of the
6207
+ * last message it extracted through. Each run sends every message *after* that
6208
+ * watermark (plus a small overlap for coreference, capped at `maxWindowSize`)
6209
+ * rather than a fixed trailing slice — so facts stated in turns that arrived
6210
+ * during a busy window are still examined instead of scrolling out of a last-N
6211
+ * window.
6212
+ *
6213
+ * Durability: the in-memory watermark alone does NOT survive process death, so
6214
+ * a session killed after messages accumulate but before extraction would, on
6215
+ * the next launch, fall back to a trailing-window guess and could skip the
6216
+ * un-extracted tail. Pass a {@link ExtractionCursorStore} (`cursorStore`) to
6217
+ * persist the watermark per conversation — it is hydrated synchronously the
6218
+ * first time a conversation is touched, and written through on every *contiguous*
6219
+ * advance (never on a trailing-slice guess, which could jump the durable cursor
6220
+ * past an un-extracted gap), so a later session resumes exactly after the last
6221
+ * extracted message. The primary guarantee is single-session resume across
6222
+ * process death.
6223
+ *
6224
+ * Concurrent sessions sharing one store (web `localStorage`, mobile MMKV) are
6225
+ * best-effort, NOT exclusive: two sessions can each hydrate the same cursor
6226
+ * before either advances it and briefly re-extract the same turn (retain()'s
6227
+ * dedup/consolidation absorbs the duplicate — wasteful, not corrupting). The
6228
+ * durable write is last-writer-wins with a regression guard (it won't move the
6229
+ * cursor backwards when the currently-stored id is ahead within the same turn's
6230
+ * messages), but it does not serialize writers. Omit `cursorStore` for the
6231
+ * legacy in-memory-only behavior.
6121
6232
  *
6122
6233
  * Memory Studio panel subscribes by passing `onMemoryExtracted` and/or
6123
6234
  * `onTurnComplete` callbacks. The Studio uses `onMemoryExtracted` to
@@ -6165,6 +6276,37 @@ interface TurnCompleteEvent {
6165
6276
  outcome: ExtractOutcome;
6166
6277
  }
6167
6278
  /** @public */
6279
+ /**
6280
+ * Durable per-conversation extraction cursor. Synchronous by contract (both
6281
+ * SDK platform stores — web `localStorage`, mobile MMKV — are sync), so the
6282
+ * worker can hydrate the watermark inline without changing its fire-and-forget
6283
+ * control flow. Implementations should be best-effort; the worker guards every
6284
+ * call, so a throwing store degrades to in-memory-only rather than breaking
6285
+ * extraction.
6286
+ *
6287
+ * @public
6288
+ */
6289
+ interface ExtractionCursorStore {
6290
+ /** Last message id extracted through for `conversationId`, or undefined. */
6291
+ get(conversationId: string): string | undefined;
6292
+ /** Persist the last-extracted message id for `conversationId`. */
6293
+ set(conversationId: string, messageId: string): void;
6294
+ }
6295
+ /** Minimal synchronous key/value surface — satisfied by the SDK's
6296
+ * `PlatformStorage` (web `localStorage`, mobile MMKV). */
6297
+ interface SyncKeyValueStore {
6298
+ getItem(key: string): string | null;
6299
+ setItem(key: string, value: string): void;
6300
+ }
6301
+ /**
6302
+ * Build an {@link ExtractionCursorStore} over a synchronous key/value store
6303
+ * (e.g. the SDK's `PlatformStorage`). Keys are namespaced by `keyPrefix`.
6304
+ * Reads/writes are guarded so a store that throws (quota, private mode) can't
6305
+ * break extraction — the watermark just falls back to in-memory.
6306
+ *
6307
+ * @public
6308
+ */
6309
+ declare function createPlatformCursorStore(storage: SyncKeyValueStore, keyPrefix?: string): ExtractionCursorStore;
6168
6310
  interface CreateAutoExtractorOptions {
6169
6311
  retainCtx: RetainContext;
6170
6312
  extract: ExtractFactsOptions;
@@ -6195,6 +6337,15 @@ interface CreateAutoExtractorOptions {
6195
6337
  * sessions in RAM-constrained hosts. Default 200.
6196
6338
  */
6197
6339
  maxTrackedConversations?: number;
6340
+ /**
6341
+ * Durable per-conversation watermark store. When provided, the watermark is
6342
+ * hydrated from it the first time each conversation is touched and written
6343
+ * through on every advance, so extraction resumes exactly after the last
6344
+ * extracted message across process restarts (and, with a process-shared
6345
+ * store, across concurrent sessions). Build via {@link createPlatformCursorStore}.
6346
+ * Omit for in-memory-only (legacy) behavior.
6347
+ */
6348
+ cursorStore?: ExtractionCursorStore;
6198
6349
  /**
6199
6350
  * Entity / memory_entity write context — when provided, each retained
6200
6351
  * candidate's `entities[]` is persisted via `linkMemoryEntitiesOp`,
@@ -6270,6 +6421,24 @@ interface AutoExtractor {
6270
6421
  */
6271
6422
  declare function createAutoExtractor(options: CreateAutoExtractorOptions): AutoExtractor;
6272
6423
 
6424
+ /**
6425
+ * Default entry cap for the chunk-vector cache. Entries are keyed by message
6426
+ * id, so this bounds how many messages' decrypted chunk vectors stay resident.
6427
+ * Matches the vault cache default (#705).
6428
+ */
6429
+ declare const DEFAULT_CHUNK_CACHE_SIZE = 5000;
6430
+ /**
6431
+ * Create a {@link ChunkVectorCache} backed by an LRU. Pass the returned cache
6432
+ * into `recall()` (via `RecallContext.chunkCache`) so the chunk lane skips the
6433
+ * per-query decrypt + JSON.parse of every message's chunk vectors on warm
6434
+ * entries. Stale entries self-invalidate on `updated_at` mismatch, so no
6435
+ * explicit invalidation is required beyond clearing it on an encryption-key
6436
+ * reset (wallet switch), mirroring the vault embedding cache.
6437
+ *
6438
+ * @public
6439
+ */
6440
+ declare function createChunkVectorCache(maxSize?: number): ChunkVectorCache;
6441
+
6273
6442
  /**
6274
6443
  * Unified Recall API — single retrieval surface above vault + engine.
6275
6444
  *
@@ -6422,6 +6591,46 @@ interface ReflectResult {
6422
6591
  */
6423
6592
  declare function reflect(query: string, ctx: RecallContext, options: ReflectOptions): Promise<ReflectResult>;
6424
6593
 
6594
+ /**
6595
+ * Cross-encoder reranker — local inference via @huggingface/transformers.
6596
+ *
6597
+ * Mirrors Hindsight's default reranker (`cross-encoder/ms-marco-MiniLM-L-6-v2`)
6598
+ * for parity with their reference pipeline. Runs fully on-device — no API
6599
+ * key, no network call, works offline. Model file ~25MB; lazy-loaded and
6600
+ * cached for the lifetime of the process.
6601
+ *
6602
+ * Implementation note: transformers.js v3 doesn't expose a "text-ranking"
6603
+ * pipeline, so we drive the cross-encoder directly via the tokenizer +
6604
+ * sequence-classification model. The model outputs a single relevance
6605
+ * logit per (query, doc) pair; we sigmoid it into [0, 1].
6606
+ */
6607
+ /**
6608
+ * Thrown when the cross-encoder cannot run because its optional peer
6609
+ * dependency (`@huggingface/transformers`) isn't installed — the expected
6610
+ * state on React Native, where the package isn't part of the bundle. Callers
6611
+ * treat this as "reranker unavailable, degrade to the fused ranking" rather
6612
+ * than a transient error worth warning about on every recall.
6613
+ *
6614
+ * @public
6615
+ */
6616
+ declare class RerankerUnavailableError extends Error {
6617
+ /** The underlying import failure, kept for debugging. */
6618
+ readonly reason: unknown;
6619
+ constructor(reason: unknown);
6620
+ }
6621
+ /**
6622
+ * Whether the cross-encoder reranker can run in this environment.
6623
+ *
6624
+ * - `true` — the model loaded successfully at least once.
6625
+ * - `false` — the optional `@huggingface/transformers` dependency is missing
6626
+ * (e.g. React Native); reranking is permanently degraded to the fused
6627
+ * ranking and no further load attempts are made.
6628
+ * - `undefined` — no rerank has been attempted yet, so availability is unknown.
6629
+ *
6630
+ * @public
6631
+ */
6632
+ declare function isRerankerAvailable(): boolean | undefined;
6633
+
6425
6634
  /**
6426
6635
  * Standalone topic (entity) extraction for EXISTING memories.
6427
6636
  *
@@ -7522,4 +7731,4 @@ declare function sanitizeQuotes(s: string): string;
7522
7731
  declare function renderTemplate(value: string | null | undefined, template: string): string | null;
7523
7732
  declare function buildSystemPrompt(ctx: PromptContext, options?: BuildPromptOptions): BuildPromptResult;
7524
7733
 
7525
- export { type AnalyzeStyleOptions, type AnalyzeStyleResult, type ApiResponse, type ApiType, type AutoExecutedToolResult, type AutoExtractMessage, type AutoExtractor, type Budget, type BuildPromptOptions, type BuildPromptResult, type CachedServerTools, type ChatCompletionUsage, type ChatRole, type ChunkSearchResult, type ChunkingOptions, type ConnectorGuidance, type ConnectorGuidanceInput, type ConsolidationFallbackReason, Conversation, ConversationSummary, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_ANALYSIS_PROMPT, DEFAULT_ANALYZE_AFTER_MESSAGES, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DOCUMENT_PATTERN, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_MAX_INPUT_MESSAGES, DEFAULT_MAX_PROFILE_LENGTH, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_MIN_MESSAGES, DEFAULT_PERSONALITY_SETTINGS, 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 EmbeddedWalletSignerFn, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type FactType, type FileMetadata, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, INFERENCE_ID_HEADER, type LazyStoredConversation, type LlmTokenUsage, MAX_MESSAGES_PER_SUMMARIZATION, 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 MemoryVaultSearchOptions, type MemoryVaultToolOptions, Message, type MessageChunk, type MessageFeedback, type ModelCallEndEvent, type ModelCallStartEvent, ModelPreference, type OperationExecutor, type ParsedServerToolsResponse, PdfProcessor, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PgClientLike, type PgPoolLike, type PlatformStorage, type PortalLlmAuth, PostgreSQLAdapter, type PostgreSQLAdapterOptions, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileUpdate, Project, type ProjectOperationsContext, type PromptContext, type PromptPreProcessor, type PromptPreProcessorContext, type PromptSection, type PromptTemplates, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankedMemory, type RecallContext, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type ReflectOptions, type ReflectResult, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, type RunEndEvent, type RunErrorEvent, type RunHooks, type RunStartEvent, type RunToolLoopOptions, type RunToolLoopResult, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SLIDER_CONFIG, STREAM_RESUMABLE_HEADER, type ScoreBreakdown, 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 StoredVaultFolder, type StoredVaultMemory, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type StreamingTransport, type StreamingTransportOptions, type StreamingTransportResult, type StyleAnalysisSchedule, TOOL_CATALOG, TOPIC_EXTRACTION_BATCH_SIZE, type TextChunk, TextProcessor, type ToolConfig, type ToolExecutor, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type ToolUseEndEvent, type ToolUseStartEvent, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TurnCompleteEvent, type TurnSkippedEvent, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, UserPreference, type UserPreferencesStorageOperationsContext, type VaultEmbeddingCache, VaultFolder, type VaultFolderOperationsContext, VaultMemory, type VaultMemoryOperationsContext, type VaultSaveOperation, type VaultSearchResult, WalletPoller, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, WordProcessor, ZipProcessor, type ZipProcessorOptions, activatedToolSetNames, analyzeStyle, buildConnectorGuidance, buildDeniedToolsRider, buildSystemPrompt, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, cleanupConversationSummary, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearEncryptionKey, clearKeyPair, clearLazyTitleCache, clearMessagesOp, clearServerToolsCache, composeHooks, createAutoExtractor, createConversationOp, createCryptoPricePreProcessor, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageOp, createProjectOp, createRecallTool, createServerToolsFilter, createStockPricePreProcessor, createSummaryContext, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllVaultMemoriesForUserOp, deleteConversationOp, deleteConversationSummaryOp, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteModelPreferenceOp, deleteProjectOp, deleteUserPreferenceOp, deleteVaultFolderOp, deleteVaultMemoryOp, eagerEmbedContent, embedAllMessages, embedMessage, encryptData, encryptDataBatch, encryptDataWithKey, ensureDefaultFoldersOp, estimateMessagesTokens, estimateTokens, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, findMatchingTools, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllFilesOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAudioOp, getCachedServerTools, getConversationOp, getConversationSummaryOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsOp, getDocumentsOp, getEncryptionKey, getImagesOp, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesNeedingTopicExtractionOp, getMessagesOp, getModelPreferenceOp, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getServerTools, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserPreferenceOp, getUserUploadedMediaOp, getVaultFolderMemoryCountOp, getVaultMemoryOp, getVideosOp, hardDeleteMediaOp, hasEncryptionKey, hasKeyPair, isSupportedFile, isSupportedMediaType, makeSyntheticStoredConversation, makeSyntheticStoredMessage, maybeSummarizeHistory, mediaToStored, migrateFromModelPreferencesOp, moveMemoriesToFolderOp, onKeyAvailable, preEmbedVaultMemories, preprocessFiles, progressiveSummarize, projectToStored, queueManager, recall, reflect, relinkMisclassifiedVideosOp, renderTemplate, requestEncryptionKey, requestKeyPair, resumeStream, retain, runToolLoop, sanitizeQuotes, schemaToCreateSQL, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, selectServerToolsForPrompt, serverPlatformStorage, setModelPreferenceOp, setUserPreferenceOp, shouldAnalyzeStyle, shouldChunkMessage, shouldRefreshTools, splitMessagesAtThreshold, stampTopicsExtractedAtOp, streamCancelPath, streamReplayPath, summaryToSystemMessage, toolSetSystemPrompts, updateConversationProjectOp, updateConversationTitleOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageChunksOp, updateMessageEmbeddingOp, updateMessageErrorOp, updateMessageFeedbackOp, updateModelsOp, updatePersonalityOp, updateProfileOp, updateProjectNameOp, updateProjectOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, upsertConversationSummaryOp, upsertMessageOp };
7734
+ 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 ConsolidationFallbackReason, Conversation, ConversationSummary, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, 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_DOCUMENT_PATTERN, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_MAX_INPUT_MESSAGES, DEFAULT_MAX_PROFILE_LENGTH, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_MIN_MESSAGES, DEFAULT_PERSONALITY_SETTINGS, 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 EmbeddedWalletSignerFn, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type FactType, type FileMetadata, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, INFERENCE_ID_HEADER, type LazyStoredConversation, type LlmTokenUsage, MAX_MESSAGES_PER_SUMMARIZATION, 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 MemoryVaultSearchOptions, type MemoryVaultToolOptions, Message, type MessageChunk, type MessageFeedback, type ModelCallEndEvent, type ModelCallStartEvent, ModelPreference, type OperationExecutor, type ParsedServerToolsResponse, PdfProcessor, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PgClientLike, type PgPoolLike, type PlatformStorage, type PortalLlmAuth, PostgreSQLAdapter, type PostgreSQLAdapterOptions, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileUpdate, Project, type ProjectOperationsContext, type PromptContext, type PromptPreProcessor, type PromptPreProcessorContext, type PromptSection, type PromptTemplates, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankedMemory, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type ReflectOptions, type ReflectResult, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, type RunEndEvent, type RunErrorEvent, type RunHooks, type RunStartEvent, type RunToolLoopOptions, type RunToolLoopResult, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SLIDER_CONFIG, STREAM_RESUMABLE_HEADER, type ScoreBreakdown, 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 StoredVaultFolder, type StoredVaultMemory, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type StreamingTransport, type StreamingTransportOptions, type StreamingTransportResult, type StyleAnalysisSchedule, TOOL_CATALOG, TOPIC_EXTRACTION_BATCH_SIZE, type TextChunk, TextProcessor, type ToolConfig, type ToolExecutor, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type ToolUseEndEvent, type ToolUseStartEvent, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TurnCompleteEvent, type TurnSkippedEvent, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, UserPreference, type UserPreferencesStorageOperationsContext, type VaultEmbeddingCache, VaultFolder, type VaultFolderOperationsContext, VaultMemory, type VaultMemoryOperationsContext, type VaultSaveOperation, type VaultSearchResult, WalletPoller, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, WordProcessor, ZipProcessor, type ZipProcessorOptions, activatedToolSetNames, analyzeStyle, buildConnectorGuidance, buildDeniedToolsRider, buildSystemPrompt, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, cleanupConversationSummary, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearEncryptionKey, clearKeyPair, clearLazyTitleCache, clearMessagesOp, clearServerToolsCache, composeHooks, createAutoExtractor, createChunkVectorCache, createConversationOp, createCryptoPricePreProcessor, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageOp, createPlatformCursorStore, createProjectOp, createRecallTool, createServerToolsFilter, createStockPricePreProcessor, createSummaryContext, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllVaultMemoriesForUserOp, deleteConversationOp, deleteConversationSummaryOp, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteModelPreferenceOp, deleteProjectOp, deleteUserPreferenceOp, deleteVaultFolderOp, deleteVaultMemoryOp, eagerEmbedContent, embedAllMessages, embedMessage, encryptData, encryptDataBatch, encryptDataWithKey, ensureDefaultFoldersOp, estimateMessagesTokens, estimateTokens, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, findMatchingTools, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllFilesOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAudioOp, getCachedServerTools, getConversationOp, getConversationSummaryOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsOp, getDocumentsOp, getEncryptionKey, getImagesOp, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesNeedingTopicExtractionOp, getMessagesOp, getModelPreferenceOp, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getServerTools, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserPreferenceOp, getUserUploadedMediaOp, getVaultFolderMemoryCountOp, getVaultMemoryOp, getVideosOp, hardDeleteMediaOp, hasEncryptionKey, hasKeyPair, isRerankerAvailable, isSupportedFile, isSupportedMediaType, makeSyntheticStoredConversation, makeSyntheticStoredMessage, maybeSummarizeHistory, mediaToStored, migrateFromModelPreferencesOp, moveMemoriesToFolderOp, onKeyAvailable, preEmbedVaultMemories, preprocessFiles, progressiveSummarize, projectToStored, queueManager, recall, reflect, relinkMisclassifiedVideosOp, renderTemplate, requestEncryptionKey, requestKeyPair, resumeStream, retain, runToolLoop, sanitizeQuotes, schemaToCreateSQL, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, selectServerToolsForPrompt, serverPlatformStorage, setModelPreferenceOp, setUserPreferenceOp, shouldAnalyzeStyle, shouldChunkMessage, shouldRefreshTools, splitMessagesAtThreshold, stampTopicsExtractedAtOp, streamCancelPath, streamReplayPath, summaryToSystemMessage, toolSetSystemPrompts, updateConversationProjectOp, updateConversationTitleOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageChunksOp, updateMessageEmbeddingOp, updateMessageErrorOp, updateMessageFeedbackOp, updateModelsOp, updatePersonalityOp, updateProfileOp, updateProjectNameOp, updateProjectOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, upsertConversationSummaryOp, upsertMessageOp };
@@ -5,6 +5,8 @@ import {
5
5
  DEFAULT_MIN_CHUNK_SIZE,
6
6
  DEFAULT_VAULT_CACHE_SIZE,
7
7
  ENTITY_KINDS,
8
+ LRUCache,
9
+ RerankerUnavailableError,
8
10
  chunkAndEmbedAllMessages,
9
11
  chunkAndEmbedMessage,
10
12
  chunkText,
@@ -60,6 +62,7 @@ import {
60
62
  hasEncryptionKey,
61
63
  hasKeyPair,
62
64
  isEncrypted,
65
+ isRerankerAvailable,
63
66
  linkMemoryEntitiesOp,
64
67
  makeSyntheticStoredConversation,
65
68
  makeSyntheticStoredMessage,
@@ -99,7 +102,7 @@ import {
99
102
  updateVaultMemoryOp,
100
103
  upsertMessageOp,
101
104
  vaultMemoryToStored
102
- } from "./chunk-3AWYZRTS.mjs";
105
+ } from "./chunk-3MLG7SUH.mjs";
103
106
  import {
104
107
  createStreamingDeAnonymizer,
105
108
  resolvePiiRedactor
@@ -5187,6 +5190,23 @@ function parseLocalCalendarDay(year, month, day) {
5187
5190
  }
5188
5191
 
5189
5192
  // src/lib/memory/autoExtractWorker.ts
5193
+ function createPlatformCursorStore(storage, keyPrefix = "anuma:mem:xcursor:") {
5194
+ return {
5195
+ get(conversationId) {
5196
+ try {
5197
+ return storage.getItem(keyPrefix + conversationId) ?? void 0;
5198
+ } catch {
5199
+ return void 0;
5200
+ }
5201
+ },
5202
+ set(conversationId, messageId) {
5203
+ try {
5204
+ storage.setItem(keyPrefix + conversationId, messageId);
5205
+ } catch {
5206
+ }
5207
+ }
5208
+ };
5209
+ }
5190
5210
  var DEFAULT_WINDOW_SIZE = 6;
5191
5211
  var DEFAULT_MAX_WINDOW_SIZE = 20;
5192
5212
  var CONTEXT_OVERLAP = 2;
@@ -5206,12 +5226,24 @@ function createAutoExtractor(options) {
5206
5226
  let inflight = 0;
5207
5227
  let disposed = false;
5208
5228
  const conversations = /* @__PURE__ */ new Map();
5229
+ const cursorStore = options.cursorStore;
5230
+ const hydrate = (state, conversationId) => {
5231
+ if (state.hydrated) return;
5232
+ state.hydrated = true;
5233
+ if (!cursorStore || conversationId === void 0 || state.watermark !== void 0) return;
5234
+ try {
5235
+ const persisted = cursorStore.get(conversationId);
5236
+ if (persisted) state.watermark = persisted;
5237
+ } catch {
5238
+ }
5239
+ };
5209
5240
  const stateFor = (conversationId) => {
5210
5241
  let state = conversations.get(conversationId);
5211
5242
  if (!state) {
5212
5243
  if (conversations.size >= maxTrackedConversations) evictOldestIdle(conversationId);
5213
5244
  state = {};
5214
5245
  conversations.set(conversationId, state);
5246
+ hydrate(state, conversationId);
5215
5247
  }
5216
5248
  return state;
5217
5249
  };
@@ -5224,10 +5256,12 @@ function createAutoExtractor(options) {
5224
5256
  }
5225
5257
  };
5226
5258
  function computeWindow(messages, conversationId) {
5227
- const lastId = conversations.get(conversationId)?.watermark;
5259
+ const lastId = stateFor(conversationId).watermark;
5228
5260
  const idx = lastId === void 0 ? -1 : messages.findIndex((m) => m.id === lastId);
5229
- if (idx === -1) return messages.slice(-windowSize);
5230
- if (idx >= messages.length - 1) return [];
5261
+ if (idx === -1) {
5262
+ return { window: messages.slice(-windowSize), contiguous: messages.length <= windowSize };
5263
+ }
5264
+ if (idx >= messages.length - 1) return { window: [], contiguous: true };
5231
5265
  const start = Math.max(0, idx + 1 - CONTEXT_OVERLAP);
5232
5266
  let window2 = messages.slice(start);
5233
5267
  if (window2.length > maxWindowSize) {
@@ -5236,8 +5270,21 @@ function createAutoExtractor(options) {
5236
5270
  );
5237
5271
  window2 = window2.slice(0, maxWindowSize);
5238
5272
  }
5239
- return window2;
5273
+ return { window: window2, contiguous: true };
5240
5274
  }
5275
+ const persistCursor = (conversationId, messages, advancedToId, contiguous) => {
5276
+ if (!cursorStore || conversationId === void 0 || !contiguous) return;
5277
+ try {
5278
+ const stored = cursorStore.get(conversationId);
5279
+ if (stored && stored !== advancedToId) {
5280
+ const storedIdx = messages.findIndex((m) => m.id === stored);
5281
+ const newIdx = messages.findIndex((m) => m.id === advancedToId);
5282
+ if (storedIdx !== -1 && newIdx !== -1 && storedIdx >= newIdx) return;
5283
+ }
5284
+ cursorStore.set(conversationId, advancedToId);
5285
+ } catch {
5286
+ }
5287
+ };
5241
5288
  const consolidateBaseUrl = options.consolidate?.baseUrl ?? options.extract.baseUrl;
5242
5289
  const consolidateOptions = options.consolidate ? {
5243
5290
  ...options.extract.apiKey !== void 0 && { apiKey: options.extract.apiKey },
@@ -5283,7 +5330,7 @@ function createAutoExtractor(options) {
5283
5330
  return dispatch(messages, conversationId);
5284
5331
  }
5285
5332
  function dispatch(messages, conversationId) {
5286
- const window2 = computeWindow(messages, conversationId);
5333
+ const { window: window2, contiguous } = computeWindow(messages, conversationId);
5287
5334
  if (window2.length === 0) {
5288
5335
  options.onSkipped?.({ reason: "no-new-content", conversationId });
5289
5336
  drainPending();
@@ -5308,7 +5355,9 @@ function createAutoExtractor(options) {
5308
5355
  }
5309
5356
  }
5310
5357
  );
5311
- stateFor(conversationId).watermark = window2[window2.length - 1].id;
5358
+ const advancedTo = window2[window2.length - 1].id;
5359
+ stateFor(conversationId).watermark = advancedTo;
5360
+ persistCursor(conversationId, messages, advancedTo, contiguous);
5312
5361
  for (let i = 0; i < results.length; i++) {
5313
5362
  if (results[i].action === "suppressed") continue;
5314
5363
  options.onMemoryExtracted?.({
@@ -5355,6 +5404,12 @@ function createAutoExtractor(options) {
5355
5404
  };
5356
5405
  }
5357
5406
 
5407
+ // src/lib/memory/chunkVectorCache.ts
5408
+ var DEFAULT_CHUNK_CACHE_SIZE = 5e3;
5409
+ function createChunkVectorCache(maxSize = DEFAULT_CHUNK_CACHE_SIZE) {
5410
+ return new LRUCache(maxSize);
5411
+ }
5412
+
5358
5413
  // src/lib/memory/recallTool.ts
5359
5414
  var RECALL_TOOL_NAME = "recall_memory";
5360
5415
  var RECALL_MAX_LIMIT = 50;
@@ -11273,6 +11328,7 @@ export {
11273
11328
  DEFAULT_ANALYSIS_PROMPT,
11274
11329
  DEFAULT_ANALYZE_AFTER_MESSAGES,
11275
11330
  DEFAULT_CACHE_EXPIRATION_MS,
11331
+ DEFAULT_CHUNK_CACHE_SIZE,
11276
11332
  DEFAULT_CHUNK_OVERLAP,
11277
11333
  DEFAULT_CHUNK_SIZE,
11278
11334
  DEFAULT_DOCUMENT_PATTERN,
@@ -11303,6 +11359,7 @@ export {
11303
11359
  QueueManager,
11304
11360
  RECALL_MAX_LIMIT,
11305
11361
  RECALL_TOOL_NAME,
11362
+ RerankerUnavailableError,
11306
11363
  SDK_SCHEMA_VERSION,
11307
11364
  SERVER_TOOL_DEPENDENCY_SETS,
11308
11365
  SLIDER_CONFIG,
@@ -11344,6 +11401,7 @@ export {
11344
11401
  clearServerToolsCache,
11345
11402
  composeHooks,
11346
11403
  createAutoExtractor,
11404
+ createChunkVectorCache,
11347
11405
  createConversationOp,
11348
11406
  createCryptoPricePreProcessor,
11349
11407
  createMediaBatchOp,
@@ -11352,6 +11410,7 @@ export {
11352
11410
  createMemoryVaultSearchTool,
11353
11411
  createMemoryVaultTool,
11354
11412
  createMessageOp,
11413
+ createPlatformCursorStore,
11355
11414
  createProjectOp,
11356
11415
  createRecallTool,
11357
11416
  createServerToolsFilter,
@@ -11448,6 +11507,7 @@ export {
11448
11507
  hardDeleteMediaOp,
11449
11508
  hasEncryptionKey,
11450
11509
  hasKeyPair,
11510
+ isRerankerAvailable,
11451
11511
  isSupportedFile,
11452
11512
  isSupportedMediaType,
11453
11513
  makeSyntheticStoredConversation,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  recall
3
- } from "./chunk-3AWYZRTS.mjs";
3
+ } from "./chunk-3MLG7SUH.mjs";
4
4
  import "./chunk-AHJT66EO.mjs";
5
5
  import "./chunk-3RPGXXPZ.mjs";
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anuma/sdk",
3
- "version": "2.3.1",
3
+ "version": "2.4.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",