@anuma/sdk 6.19.1 → 6.20.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.
@@ -17683,6 +17683,7 @@ async function retain(content, ctx, options = {}) {
17683
17683
  const threshold = options.autoMergeThreshold ?? DEFAULT_AUTO_MERGE_THRESHOLD;
17684
17684
  const resolvedScope = options.scope ?? DEFAULT_SCOPE;
17685
17685
  let supersedeTargetIds = [];
17686
+ let consolidationDecidedCreate = false;
17686
17687
  let supersedeContent;
17687
17688
  let prepared;
17688
17689
  if (enableAutoMerge) {
@@ -17710,8 +17711,12 @@ async function retain(content, ctx, options = {}) {
17710
17711
  const outcome = await tryConsolidate(trimmed, ctx, options, prepared);
17711
17712
  if (outcome) {
17712
17713
  if ("done" in outcome) return outcome.done;
17713
- supersedeTargetIds = outcome.supersede;
17714
- supersedeContent = outcome.content;
17714
+ if ("create" in outcome) {
17715
+ consolidationDecidedCreate = true;
17716
+ } else {
17717
+ supersedeTargetIds = outcome.supersede;
17718
+ supersedeContent = outcome.content;
17719
+ }
17715
17720
  }
17716
17721
  }
17717
17722
  if (supersedeTargetIds.length === 0) {
@@ -17761,7 +17766,14 @@ async function retain(content, ctx, options = {}) {
17761
17766
  action: "merge",
17762
17767
  memoryId: targetId,
17763
17768
  targetId,
17764
- proofCount: updated.proofCount ?? (existing.proofCount ?? 1) + 1
17769
+ proofCount: updated.proofCount ?? (existing.proofCount ?? 1) + 1,
17770
+ similarity: matches[0].similarity,
17771
+ // Stage 1 may have run and explicitly said `create`, and Stage 2
17772
+ // then found a strict-cosine match anyway. Reporting the decision
17773
+ // here is what makes that DISAGREEMENT visible — without it the
17774
+ // model's create silently vanished from the distribution whenever
17775
+ // the cosine stage won.
17776
+ ...consolidationDecidedCreate && { consolidation: "create" }
17765
17777
  };
17766
17778
  }
17767
17779
  await assertMergeTargetGoneOrThrow(ctx, targetId);
@@ -17774,12 +17786,18 @@ async function retain(content, ctx, options = {}) {
17774
17786
  const embedding = reusableQueryEmbedding ?? await generateEmbedding(contentToWrite, ctx.embeddingOptions);
17775
17787
  const embeddingModel = ctx.embeddingOptions.model ?? DEFAULT_API_EMBEDDING_MODEL;
17776
17788
  if (options.respectTombstones) {
17777
- const tombstoneId = await findTombstoneMatch(embedding, embeddingModel, resolvedScope, ctx, {
17789
+ const tombstone = await findTombstoneMatch(embedding, embeddingModel, resolvedScope, ctx, {
17778
17790
  threshold,
17779
17791
  folderId: options.folderId
17780
17792
  });
17781
- if (tombstoneId) {
17782
- return { action: "suppressed", memoryId: tombstoneId, tombstoneId, proofCount: 0 };
17793
+ if (tombstone) {
17794
+ return {
17795
+ action: "suppressed",
17796
+ memoryId: tombstone.id,
17797
+ tombstoneId: tombstone.id,
17798
+ proofCount: 0,
17799
+ similarity: tombstone.similarity
17800
+ };
17783
17801
  }
17784
17802
  }
17785
17803
  const createOpts = {
@@ -17846,7 +17864,8 @@ async function retain(content, ctx, options = {}) {
17846
17864
  action: "supersede",
17847
17865
  memoryId: created2.uniqueId,
17848
17866
  targetId: primaryTargetId,
17849
- proofCount: 1
17867
+ proofCount: 1,
17868
+ consolidation: "supersede"
17850
17869
  };
17851
17870
  }
17852
17871
  notifyConsolidationFallback(
@@ -17860,7 +17879,8 @@ async function retain(content, ctx, options = {}) {
17860
17879
  return {
17861
17880
  action: "create",
17862
17881
  memoryId: created.uniqueId,
17863
- proofCount: 1
17882
+ proofCount: 1,
17883
+ ...consolidationDecidedCreate && { consolidation: "create" }
17864
17884
  };
17865
17885
  }
17866
17886
  function unionStrings(a, b) {
@@ -17890,7 +17910,7 @@ async function findTombstoneMatch(embedding, embeddingModel, scope, ctx, opts) {
17890
17910
  bestId = row.uniqueId;
17891
17911
  }
17892
17912
  }
17893
- return bestId;
17913
+ return bestId === null ? null : { id: bestId, similarity: bestSim };
17894
17914
  }
17895
17915
  function pickEventTimeUpdate(existing, incoming) {
17896
17916
  if (incoming === void 0 || incoming === null) return void 0;
@@ -17932,7 +17952,7 @@ async function tryConsolidate(trimmed, ctx, options, prepared) {
17932
17952
  }));
17933
17953
  const { consolidateMemory: doConsolidate } = await Promise.resolve().then(() => (init_consolidate(), consolidate_exports));
17934
17954
  const decision = await doConsolidate(trimmed, candidates, consolidateOptions);
17935
- if (decision.action === "create") return null;
17955
+ if (decision.action === "create") return decision.fallbackReason ? null : { create: true };
17936
17956
  if (decision.action === "supersede" && decision.content) {
17937
17957
  const requestedIds = decision.targetIds?.length ? decision.targetIds : decision.targetId ? [decision.targetId] : [];
17938
17958
  if (requestedIds.length === 0) return null;
@@ -17991,7 +18011,8 @@ async function tryConsolidate(trimmed, ctx, options, prepared) {
17991
18011
  action: "merge",
17992
18012
  memoryId: decision.targetId,
17993
18013
  targetId: decision.targetId,
17994
- proofCount: updated.proofCount ?? (existing.proofCount ?? 1) + 1
18014
+ proofCount: updated.proofCount ?? (existing.proofCount ?? 1) + 1,
18015
+ consolidation: "noop"
17995
18016
  }
17996
18017
  };
17997
18018
  }
@@ -18044,7 +18065,8 @@ async function tryConsolidate(trimmed, ctx, options, prepared) {
18044
18065
  action: "update",
18045
18066
  memoryId: decision.targetId,
18046
18067
  targetId: decision.targetId,
18047
- proofCount: updated.proofCount ?? (existing.proofCount ?? 1) + 1
18068
+ proofCount: updated.proofCount ?? (existing.proofCount ?? 1) + 1,
18069
+ consolidation: "update"
18048
18070
  }
18049
18071
  };
18050
18072
  }
@@ -18186,6 +18208,11 @@ Extract durable user facts.`,
18186
18208
  fallbackSourceId,
18187
18209
  options.userIdentity ?? []
18188
18210
  );
18211
+ const rawCandidates = parsed.candidates;
18212
+ options.onCandidatesParsed?.({
18213
+ rawCount: Array.isArray(rawCandidates) ? rawCandidates.length : 0,
18214
+ validCount: candidates.length
18215
+ });
18189
18216
  if (!redactor) return candidates;
18190
18217
  const restored = restoreCandidates(candidates, redactor, options.userIdentity ?? []);
18191
18218
  if (candidates.length > 0 && restored.length === 0) {
@@ -18222,8 +18249,12 @@ async function extractAndRetain(messages, retainCtx, options) {
18222
18249
  let exhaustedEmpty = false;
18223
18250
  let exhaustedFailure;
18224
18251
  let droppedAfterRedaction = false;
18252
+ let rawCandidateCount = 0;
18253
+ let validCandidateCount = 0;
18225
18254
  const callerOnExhaustedEmpty = options.extract.onExhaustedEmpty;
18226
18255
  const callerOnCandidatesDropped = options.extract.onCandidatesDropped;
18256
+ const callerOnCandidatesParsed = options.extract.onCandidatesParsed;
18257
+ const tExtract = Date.now();
18227
18258
  const candidates = await extractFacts(messages, {
18228
18259
  ...options.extract,
18229
18260
  onExhaustedEmpty: (failure) => {
@@ -18234,8 +18265,14 @@ async function extractAndRetain(messages, retainCtx, options) {
18234
18265
  onCandidatesDropped: () => {
18235
18266
  droppedAfterRedaction = true;
18236
18267
  callerOnCandidatesDropped?.();
18268
+ },
18269
+ onCandidatesParsed: (stats) => {
18270
+ rawCandidateCount = stats.rawCount;
18271
+ validCandidateCount = stats.validCount;
18272
+ callerOnCandidatesParsed?.(stats);
18237
18273
  }
18238
18274
  });
18275
+ const extractMs = Date.now() - tExtract;
18239
18276
  const filtered = candidates.filter((c) => c.confidence >= minConfidence);
18240
18277
  const log = getLogger();
18241
18278
  const screened = screenCandidatesForInjection(filtered);
@@ -18283,6 +18320,7 @@ async function extractAndRetain(messages, retainCtx, options) {
18283
18320
  const results = [];
18284
18321
  const quarantinedInfo = [];
18285
18322
  let failedWrites = 0;
18323
+ const tRetain = Date.now();
18286
18324
  for (const { candidate, isQuarantined, reason, signature } of toRetain) {
18287
18325
  try {
18288
18326
  const result = await retain(candidate.content, retainCtx, {
@@ -18349,6 +18387,21 @@ async function extractAndRetain(messages, retainCtx, options) {
18349
18387
  failedCount: failedWrites,
18350
18388
  outcome,
18351
18389
  quarantined: quarantinedInfo,
18390
+ funnel: {
18391
+ rawCandidateCount,
18392
+ validCandidateCount,
18393
+ afterRedactionCount: candidates.length,
18394
+ aboveConfidenceCount: filtered.length,
18395
+ // The PERSISTED quarantines (`quarantinedInfo`), not the screened list: a
18396
+ // screened candidate whose retain() throws is counted in `failedCount`,
18397
+ // and counting it here too would double it and break the identity below.
18398
+ // This also keeps the count equal to `quarantined.length` on the result.
18399
+ quarantinedCount: quarantinedInfo.length,
18400
+ retainedCount: results.length,
18401
+ failedCount: failedWrites
18402
+ },
18403
+ timings: { extractMs, retainMs: Date.now() - tRetain },
18404
+ model: options.extract.model ?? DEFAULT_EXTRACTION_MODEL,
18352
18405
  // Only meaningful alongside `outcome: "empty-after-retry"`. Returned as well
18353
18406
  // as pushed through the callback so a consumer that only inspects the result
18354
18407
  // (rather than wiring a hook) can still report WHY.
@@ -18604,27 +18657,23 @@ function createAutoExtractor(options) {
18604
18657
  const t0 = Date.now();
18605
18658
  void (async () => {
18606
18659
  try {
18607
- const { candidates, results, failedCount, outcome, failure } = await extractAndRetain(
18608
- window2,
18609
- retainCtx,
18610
- {
18611
- extract,
18612
- ...options.minConfidence !== void 0 && { minConfidence: options.minConfidence },
18613
- ...options.entityCtx !== void 0 && { entityCtx: options.entityCtx },
18614
- ...options.scope !== void 0 && { scope: options.scope },
18615
- ...options.folderId !== void 0 && { folderId: options.folderId },
18616
- ...consolidateOptions !== void 0 && { consolidateOptions },
18617
- ...injectionClassifierOptions !== void 0 && {
18618
- injectionClassifier: injectionClassifierOptions
18619
- },
18620
- ...options.onCandidateFailed && {
18621
- onCandidateFailed: (candidate, error) => options.onCandidateFailed?.({ candidate, error, conversationId })
18622
- },
18623
- ...options.onMemoryQuarantined && {
18624
- onQuarantined: (info) => options.onMemoryQuarantined?.({ ...info, conversationId })
18625
- }
18660
+ const { candidates, results, failedCount, outcome, failure, funnel, timings, model } = await extractAndRetain(window2, retainCtx, {
18661
+ extract,
18662
+ ...options.minConfidence !== void 0 && { minConfidence: options.minConfidence },
18663
+ ...options.entityCtx !== void 0 && { entityCtx: options.entityCtx },
18664
+ ...options.scope !== void 0 && { scope: options.scope },
18665
+ ...options.folderId !== void 0 && { folderId: options.folderId },
18666
+ ...consolidateOptions !== void 0 && { consolidateOptions },
18667
+ ...injectionClassifierOptions !== void 0 && {
18668
+ injectionClassifier: injectionClassifierOptions
18669
+ },
18670
+ ...options.onCandidateFailed && {
18671
+ onCandidateFailed: (candidate, error) => options.onCandidateFailed?.({ candidate, error, conversationId })
18672
+ },
18673
+ ...options.onMemoryQuarantined && {
18674
+ onQuarantined: (info) => options.onMemoryQuarantined?.({ ...info, conversationId })
18626
18675
  }
18627
- );
18676
+ });
18628
18677
  if (outcome !== "empty-after-retry") {
18629
18678
  const advancedTo = window2[window2.length - 1].id;
18630
18679
  stateFor(conversationId).watermark = advancedTo;
@@ -18645,6 +18694,9 @@ function createAutoExtractor(options) {
18645
18694
  durationMs: Date.now() - t0,
18646
18695
  conversationId,
18647
18696
  outcome,
18697
+ funnel,
18698
+ timings,
18699
+ model,
18648
18700
  // Only set alongside `outcome: "empty-after-retry"`. Spread so the key
18649
18701
  // is absent rather than explicitly undefined on a healthy turn —
18650
18702
  // analytics backends store an explicit undefined as a real value.
@@ -7209,6 +7209,15 @@ interface RecallDiagnostics {
7209
7209
  degraded: RecallDegradation[];
7210
7210
  }
7211
7211
  type RetainAction = "create" | "merge" | "update" | "skip" | "suppressed" | "supersede";
7212
+ /**
7213
+ * The consolidation LLM's decision for a candidate, when it made one. Reported
7214
+ * on {@link RetainResult.consolidation} so a host can tell an LLM `noop` (the
7215
+ * fact already exists) from a cosine auto-merge — both arrive as
7216
+ * `action: "merge"` — and can read how often the model reaches for `supersede`
7217
+ * or `update` versus `create`. A degraded fallback create (LLM error, bad
7218
+ * response) carries no decision; `onFallback` reports those.
7219
+ */
7220
+ type ConsolidationAction = "create" | "update" | "noop" | "supersede";
7212
7221
  type RetainSource = "manual" | "auto-extracted" | "capsule";
7213
7222
  /**
7214
7223
  * Why a retain returned "create" instead of applying a consolidation decision.
@@ -7348,6 +7357,33 @@ interface RetainResult {
7348
7357
  tombstoneId?: string;
7349
7358
  /** Updated proof_count after this write. 0 when nothing was written (suppressed). */
7350
7359
  proofCount: number;
7360
+ /**
7361
+ * How close the write was to the threshold that allowed it. Absent on the
7362
+ * actions that have no such score (`create`, `update`, `supersede`, `skip`).
7363
+ *
7364
+ * The two paths report DIFFERENT things and a dashboard has to know which:
7365
+ *
7366
+ * - `suppressed` — an exact cosine against the tombstone, computed in
7367
+ * `findTombstoneMatch`.
7368
+ * - `merge` — the RANKER's score for the target, not a pure cosine. The
7369
+ * cosine is what cleared `minSimilarity`, but the supersession pass may
7370
+ * then adjust it (`oldScore - delta` / `newScore + delta`) before this
7371
+ * value is read, and can in principle reorder the winner. Read it as
7372
+ * "the score the merge was chosen on", within the supersession delta of
7373
+ * the cosine — not as the raw pairwise similarity.
7374
+ */
7375
+ similarity?: number;
7376
+ /**
7377
+ * What the consolidation LLM decided for this candidate, when consolidation
7378
+ * ran — see {@link ConsolidationAction}.
7379
+ *
7380
+ * Reported for the DECISION, not for what the write ended up doing, so the
7381
+ * two can disagree and be read as such: a `merge` carrying
7382
+ * `consolidation: "create"` is the model saying "new fact" and the strict
7383
+ * cosine stage merging anyway. Absent when consolidation did not run, and
7384
+ * absent on a degraded fallback create (`onFallback` owns that signal).
7385
+ */
7386
+ consolidation?: ConsolidationAction;
7351
7387
  }
7352
7388
 
7353
7389
  /**
@@ -7574,6 +7610,61 @@ interface ExtractFactsOptions extends PortalLlmAuth {
7574
7610
  * callers may leave it unset.
7575
7611
  */
7576
7612
  onAttempt?: (attempt: PortalLlmAttempt) => void;
7613
+ /**
7614
+ * Fired once per successful completion with how many candidates the model
7615
+ * emitted (`rawCount`) and how many survived {@link validateCandidates}
7616
+ * (`validCount`) — the non-string / empty / over-cap / low-signal / bad-
7617
+ * confidence drops that until now were a bare `continue` nobody counted.
7618
+ *
7619
+ * Without it a `no-facts` turn cannot be split into "the model found nothing"
7620
+ * and "the model found things we threw away", which is the difference between
7621
+ * a prompt problem and a validator problem. Counts only; never content.
7622
+ */
7623
+ onCandidatesParsed?: (stats: {
7624
+ rawCount: number;
7625
+ validCount: number;
7626
+ }) => void;
7627
+ }
7628
+ /**
7629
+ * Where a turn's candidates went between the model's completion and the vault —
7630
+ * every stage that can drop one, as a count. Returned by {@link extractAndRetain}
7631
+ * and forwarded on `TurnCompleteEvent` so a host can emit it; nothing here is
7632
+ * content.
7633
+ *
7634
+ * Reads as a funnel: `raw ≥ valid ≥ afterRedaction ≥ aboveConfidence`, then
7635
+ * `aboveConfidence = quarantined + retained + failed`.
7636
+ * @public
7637
+ */
7638
+ interface ExtractionFunnel {
7639
+ /** Candidates in the model's completion, before any validation. */
7640
+ rawCandidateCount: number;
7641
+ /** Survivors of {@link validateCandidates} (shape, length, low-signal, confidence-is-a-number). */
7642
+ validCandidateCount: number;
7643
+ /** Survivors of PII de-anonymization (equals `validCandidateCount` when redaction is off). */
7644
+ afterRedactionCount: number;
7645
+ /** Survivors of the `minConfidence` floor — the candidates that reached the injection screen. */
7646
+ aboveConfidenceCount: number;
7647
+ /**
7648
+ * Held for review by the injection screen and SUCCESSFULLY persisted — the
7649
+ * same set as `extractAndRetain`'s `quarantined`. A screened candidate whose
7650
+ * `retain()` threw is in `failedCount` instead, never both.
7651
+ */
7652
+ quarantinedCount: number;
7653
+ /** Written through `retain()` (any disposition). */
7654
+ retainedCount: number;
7655
+ /** `retain()` threw. */
7656
+ failedCount: number;
7657
+ }
7658
+ /**
7659
+ * Wall-clock split of one {@link extractAndRetain} call. The worker's
7660
+ * `durationMs` is the sum plus the screen; these say which half is slow.
7661
+ * @public
7662
+ */
7663
+ interface ExtractionTimings {
7664
+ /** The extraction LLM call, all attempts and backoff included. */
7665
+ extractMs: number;
7666
+ /** The retain loop — embeddings, consolidation LLM calls, writes — over every candidate. */
7667
+ retainMs: number;
7577
7668
  }
7578
7669
  /**
7579
7670
  * Stage 1 — call the LLM to extract candidate facts from the recent
@@ -7691,6 +7782,12 @@ declare function extractAndRetain(messages: AutoExtractMessage[], retainCtx: Ret
7691
7782
  * the give-up, so "extraction is failing" can be reported as *why* it failed.
7692
7783
  */
7693
7784
  failure?: PortalLlmFailure;
7785
+ /** Where the candidates went, stage by stage — see {@link ExtractionFunnel}. */
7786
+ funnel: ExtractionFunnel;
7787
+ /** Extract vs. retain wall-clock — see {@link ExtractionTimings}. */
7788
+ timings: ExtractionTimings;
7789
+ /** The extraction model this call asked for (the resolved default when unset). */
7790
+ model: string;
7694
7791
  }>;
7695
7792
 
7696
7793
  /**
@@ -8662,6 +8759,16 @@ interface TurnCompleteEvent {
8662
8759
  * carries content.
8663
8760
  */
8664
8761
  failure?: PortalLlmFailure;
8762
+ /**
8763
+ * Where the candidates went between the model and the vault, as counts — the
8764
+ * drops before `retain()` that `candidates`/`results` cannot show. See
8765
+ * {@link ExtractionFunnel}.
8766
+ */
8767
+ funnel?: ExtractionFunnel;
8768
+ /** Extract vs. retain wall-clock split of `durationMs`. See {@link ExtractionTimings}. */
8769
+ timings?: ExtractionTimings;
8770
+ /** The extraction model this turn asked for. */
8771
+ model?: string;
8665
8772
  }
8666
8773
  /** @public */
8667
8774
  /**
@@ -15932,4 +16039,4 @@ declare function renderAnumaTree(node: AnumaNode): React.ReactElement | null;
15932
16039
  */
15933
16040
  declare function renderAnumaJsx(jsx: string): React.ReactElement | null;
15934
16041
 
15935
- export { Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, DEFAULT_CONVERSATIONS_FOLDER as BACKUP_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as BACKUP_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, ChartCard, type ChartCardProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Conversation as ChatConversation, Message as ChatMessage, type ChatRole, type ChatStorageAdapter, type ChatStorageObservable, type ChunkSearchResult, type ChunkVectorCache, type ChunkingOptions, type CircleProps, type ClientToolsFilterFn, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type ConversationQueryOptions, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateEntityOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateSavedToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_BACKUP_FOLDER, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_CONVERSATIONS_FOLDER as DEFAULT_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as DEFAULT_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_DROPBOX_FOLDER, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_BACKUP_FOLDER as DEFAULT_ICLOUD_BACKUP_FOLDER, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DeckProps, type DisplayToolMigrations, type DropboxAuthContextValue, DropboxAuthProvider, type DropboxAuthProviderProps, type DropboxExportResult, type DropboxImportResult, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GoogleDriveAuthContextValue, GoogleDriveAuthProvider, type GoogleDriveAuthProviderProps, type GoogleDriveExportResult, type GoogleDriveImportResult, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, type ManualFactType, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryToVerify, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type SignMessageFn, type SignMessageOptions, type SlideProps, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredAppFile, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredEntity, type StoredFileWithContext, type StoredMedia, Media as StoredMediaModel, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, ModelPreference as StoredModelPreferenceModel, type StoredProject, type StoredSavedTool, type StoredTopic, type StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type TextProps, type ThemeAttr, type ToolCallArgumentsDeltaEvent, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSkipReason, type TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateSavedToolOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseBackupOptions, type UseBackupResult, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseDropboxBackupOptions, type UseDropboxBackupResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, type UseGoogleDriveBackupOptions, type UseGoogleDriveBackupResult, type UseICloudBackupOptions, type UseICloudBackupResult, type UseModelsResult, type UseOCRResult, type UsePdfResult, type UsePhoneCallsOptions, type UsePhoneCallsResult, type UseProjectsOptions, type UseProjectsResult, type UseSettingsOptions, type UseSettingsResult, type UseSubscriptionOptions, type UseSubscriptionResult, type UseToolsOptions, type UseToolsResult, type UseVoiceOptions, type UseVoiceResult, type UseWalletBindingOptions, type UseWalletBindingResult, VAULT_SIZE_HOP_CAP, type VaultCandidateKey, type VaultEmbeddingCache, type VaultFolderOperationsContext, type VaultMemoryOperationsContext, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, type VoiceRecording, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearCalendarToken, clearConversationMemoriesOp, clearDriveToken, clearToken as clearDropboxToken, clearEncryptionKey, clearGithubToken, clearGoogleDriveToken, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, fileExists, findById, findMatchingTools, findParentOfId, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearCalendarPendingMessage, getAndClearCalendarReturnUrl, getAndClearDrivePendingMessage, getAndClearDriveReturnUrl, getAndClearGithubPendingMessage, getAndClearGithubReturnUrl, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getCalendarAccessToken, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getDriveAccessToken, getEncryptionKey, getEntitiesByMemoryIdsOp, getGithubAccessToken, getGoogleDriveStoredToken, getId, getImagesOp, getLogger, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesByEntityNamesOp, getMemoriesNeedingTopicExtractionOp, getNotionAccessToken, getNotionMCPUrl, getNumberAttr, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getSavedToolByIdOp, getServerTools, getStringAttr, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserUploadedMediaOp, getValidCalendarToken, getValidDriveToken, getValidGithubToken, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleCalendarCallback, handleDriveCallback, handleGithubCallback, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasCalendarCredentials, hasDriveCredentials, hasDropboxCredentials, hasEncryptionKey, hasGithubCredentials, hasGoogleDriveCredentials, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isCalendarCallback, isDegradedTopicSkip, isDriveCallback, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, maskScopedEmbeddingCache, mediaToStored, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reflect, refreshCalendarToken, refreshDriveToken, refreshEncryptionKeyIfMatches, refreshGithubToken, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeCalendarToken, revokeDriveToken, revokeGithubToken, revokeNotionAccess, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRefreshTools, stampTopicsExtractedAtOp, startGithubAuth, startNotionAuth, storeCalendarPendingMessage, storeCalendarReturnUrl, storeCalendarToken, storeDrivePendingMessage, storeDriveReturnUrl, storeDriveToken, storeGithubPendingMessage, storeGithubReturnUrl, storeGithubToken, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useDropboxAuth, useDropboxBackup, useEncryption, useExportPdf, useFiles, useGoogleDriveAuth, useGoogleDriveBackup, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, verifyMemoriesForPublish, walk, webPlatformStorage, writeEncryptedFile };
16042
+ export { Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, DEFAULT_CONVERSATIONS_FOLDER as BACKUP_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as BACKUP_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, ChartCard, type ChartCardProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Conversation as ChatConversation, Message as ChatMessage, type ChatRole, type ChatStorageAdapter, type ChatStorageObservable, type ChunkSearchResult, type ChunkVectorCache, type ChunkingOptions, type CircleProps, type ClientToolsFilterFn, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type ConversationQueryOptions, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateEntityOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateSavedToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_BACKUP_FOLDER, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_CONVERSATIONS_FOLDER as DEFAULT_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as DEFAULT_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_DROPBOX_FOLDER, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_BACKUP_FOLDER as DEFAULT_ICLOUD_BACKUP_FOLDER, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DeckProps, type DisplayToolMigrations, type DropboxAuthContextValue, DropboxAuthProvider, type DropboxAuthProviderProps, type DropboxExportResult, type DropboxImportResult, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GoogleDriveAuthContextValue, GoogleDriveAuthProvider, type GoogleDriveAuthProviderProps, type GoogleDriveExportResult, type GoogleDriveImportResult, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, type ManualFactType, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryToVerify, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type SignMessageFn, type SignMessageOptions, type SlideProps, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredAppFile, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredEntity, type StoredFileWithContext, type StoredMedia, Media as StoredMediaModel, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, ModelPreference as StoredModelPreferenceModel, type StoredProject, type StoredSavedTool, type StoredTopic, type StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type TextProps, type ThemeAttr, type ToolCallArgumentsDeltaEvent, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSkipReason, type TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateSavedToolOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseBackupOptions, type UseBackupResult, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseDropboxBackupOptions, type UseDropboxBackupResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, type UseGoogleDriveBackupOptions, type UseGoogleDriveBackupResult, type UseICloudBackupOptions, type UseICloudBackupResult, type UseModelsResult, type UseOCRResult, type UsePdfResult, type UsePhoneCallsOptions, type UsePhoneCallsResult, type UseProjectsOptions, type UseProjectsResult, type UseSettingsOptions, type UseSettingsResult, type UseSubscriptionOptions, type UseSubscriptionResult, type UseToolsOptions, type UseToolsResult, type UseVoiceOptions, type UseVoiceResult, type UseWalletBindingOptions, type UseWalletBindingResult, VAULT_SIZE_HOP_CAP, type VaultCandidateKey, type VaultEmbeddingCache, type VaultFolderOperationsContext, type VaultMemoryOperationsContext, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, type VoiceRecording, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearCalendarToken, clearConversationMemoriesOp, clearDriveToken, clearToken as clearDropboxToken, clearEncryptionKey, clearGithubToken, clearGoogleDriveToken, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, fileExists, findById, findMatchingTools, findParentOfId, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearCalendarPendingMessage, getAndClearCalendarReturnUrl, getAndClearDrivePendingMessage, getAndClearDriveReturnUrl, getAndClearGithubPendingMessage, getAndClearGithubReturnUrl, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getCalendarAccessToken, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getDriveAccessToken, getEncryptionKey, getEntitiesByMemoryIdsOp, getGithubAccessToken, getGoogleDriveStoredToken, getId, getImagesOp, getLogger, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesByEntityNamesOp, getMemoriesNeedingTopicExtractionOp, getNotionAccessToken, getNotionMCPUrl, getNumberAttr, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getSavedToolByIdOp, getServerTools, getStringAttr, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserUploadedMediaOp, getValidCalendarToken, getValidDriveToken, getValidGithubToken, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleCalendarCallback, handleDriveCallback, handleGithubCallback, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasCalendarCredentials, hasDriveCredentials, hasDropboxCredentials, hasEncryptionKey, hasGithubCredentials, hasGoogleDriveCredentials, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isCalendarCallback, isDegradedTopicSkip, isDriveCallback, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, maskScopedEmbeddingCache, mediaToStored, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reflect, refreshCalendarToken, refreshDriveToken, refreshEncryptionKeyIfMatches, refreshGithubToken, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeCalendarToken, revokeDriveToken, revokeGithubToken, revokeNotionAccess, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRefreshTools, stampTopicsExtractedAtOp, startGithubAuth, startNotionAuth, storeCalendarPendingMessage, storeCalendarReturnUrl, storeCalendarToken, storeDrivePendingMessage, storeDriveReturnUrl, storeDriveToken, storeGithubPendingMessage, storeGithubReturnUrl, storeGithubToken, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useDropboxAuth, useDropboxBackup, useEncryption, useExportPdf, useFiles, useGoogleDriveAuth, useGoogleDriveBackup, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, verifyMemoriesForPublish, walk, webPlatformStorage, writeEncryptedFile };