@anuma/sdk 5.0.3 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -703,7 +703,7 @@ type LlmapiResponseReasoning = {
703
703
  */
704
704
  summary?: string;
705
705
  };
706
- type LlmapiResponseResponse = {
706
+ type LlmapiResponseResponse$1 = {
707
707
  /**
708
708
  * ClientInjectedTools are tool names the client provided in the original request.
709
709
  */
@@ -1669,6 +1669,30 @@ type LlmapiChatCompletionUsage = OpenaiCompletionUsage & {
1669
1669
  * strategies/completions.ts `buildFinalResponse`. See that TODO for the full
1670
1670
  * deprecation plan.
1671
1671
  */
1672
+ /**
1673
+ * Add the Responses API's terminal-state fields, which the portal's generated
1674
+ * schema does not declare.
1675
+ *
1676
+ * Without them the two transports are asymmetric: a completions consumer reads
1677
+ * `choices[0].finish_reason` and can see a turn cut off at the output ceiling,
1678
+ * while a Responses consumer has no field to read at all — the truncation the
1679
+ * SDK *did* detect (see the normalization in `strategies/responses.ts`) died at
1680
+ * the stream boundary. `runToolLoop` works around this with `terminalState` on
1681
+ * its own result, but a caller holding only a response object cannot (#805).
1682
+ *
1683
+ * These are standard OpenAI Responses fields, so this widens the type toward
1684
+ * the wire rather than inventing shape: they are optional because a
1685
+ * non-streaming direct call returns only what the portal serializes today.
1686
+ * Drop the override once the portal declares them upstream.
1687
+ */
1688
+ type LlmapiResponseResponse = LlmapiResponseResponse$1 & {
1689
+ /** `"completed"` | `"incomplete"` — the turn's own status, not an output item's. */
1690
+ status?: string;
1691
+ /** Present when `status` is `"incomplete"`; `"max_output_tokens"` is a truncation. */
1692
+ incomplete_details?: {
1693
+ reason?: string;
1694
+ };
1695
+ };
1672
1696
  type LlmapiChatCompletionResponse = Omit<LlmapiChatCompletionResponse$1, "usage"> & {
1673
1697
  usage?: LlmapiChatCompletionUsage;
1674
1698
  inference_id?: string;
@@ -2390,6 +2414,21 @@ type StepFinishEvent = {
2390
2414
  inputTokens?: number;
2391
2415
  outputTokens?: number;
2392
2416
  };
2417
+ /**
2418
+ * The round's own finish reason, as the provider sent it — `"length"` means
2419
+ * this round hit the output ceiling.
2420
+ *
2421
+ * Per-round, not per-turn: a round can truncate and the loop still recover on
2422
+ * the next one, which is why the loop does not treat it as an error on its
2423
+ * own (see the truncation guard below). Without it a consumer watching steps
2424
+ * cannot tell a round that said everything it meant to from one that was cut
2425
+ * off mid-argument — they differ only in this field (#805).
2426
+ *
2427
+ * Absent when the provider sent no finish reason. Note that no step event
2428
+ * fires for the round that *ends* a turn, so use {@link RunTerminalState} on
2429
+ * the result for the final round.
2430
+ */
2431
+ finishReason?: string;
2393
2432
  };
2394
2433
  /** Capability header: tells the portal this client can resume a detached stream. Pinned with zeta-chain/ai-portal#1139. */
2395
2434
  declare const STREAM_RESUMABLE_HEADER = "X-Stream-Resumable";
@@ -9260,6 +9299,298 @@ declare function extractAndLinkEntitiesForMemoriesOp(ctx: VaultMemoryOperationsC
9260
9299
  now?: number;
9261
9300
  }): Promise<TopicExtractionRunResult>;
9262
9301
 
9302
+ /**
9303
+ * Post-hoc support verification for extracted memories (#707).
9304
+ *
9305
+ * A stored memory's `confidence` is the extractor's own self-report at
9306
+ * extraction time — clamped to [0,1] and filtered at >= 0.7 (see
9307
+ * `validateCandidates` in autoExtract.ts) — and nothing re-checks it
9308
+ * afterwards. So a hallucinated or mis-attributed fact with confidence 0.9 is
9309
+ * byte-for-byte indistinguishable from a well-grounded one. That was tolerable
9310
+ * while memories only fed recall (a wrong fact meant a bad answer). People
9311
+ * Nearby publishes memory TEXT to public profiles and into digital-twin
9312
+ * prompts, where the same wrong fact is user-visible and attributed to the
9313
+ * user.
9314
+ *
9315
+ * This module asks one question per memory, entailment-style: is this fact
9316
+ * stated or clearly implied by the messages it was extracted from? It reads
9317
+ * the provenance already on the row (`source_chunk_ids`, schema v28) and
9318
+ * WRITES NOTHING — it returns verdicts and the caller decides what to do with
9319
+ * them. #707 is explicit that a failing memory is flagged for user review and
9320
+ * never silently deleted; a pass with no write path cannot violate that.
9321
+ *
9322
+ * WHERE IT MOUNTS. Deliberately NOT inside `setMemoryVisibilityOp`. That op
9323
+ * takes a `VaultMemoryOperationsContext` (database + collection + wallet — no
9324
+ * portal auth, no fetch), runs inside WatermelonDB's serialized writer, and is
9325
+ * also the REVOKE path, which must never be gated on a network call. It is
9326
+ * also not the authority on what is published: its own contract says the
9327
+ * server index is (operations.ts). So verification composes BEFORE it — the
9328
+ * caller verifies, decides, and then calls `setMemoryVisibilityOp` for the
9329
+ * memories it is publishing. The only thing that seam presupposes is "verify
9330
+ * runs before publish"; it assumes nothing about a client publish flow, which
9331
+ * does not exist yet.
9332
+ *
9333
+ * FOUR OUTCOMES, NOT TWO. "Could not be verified" is not the same claim as
9334
+ * "failed verification", and neither is "the verifier itself was unavailable".
9335
+ * Collapsing them would let a broken judge, a deleted conversation, or a
9336
+ * manually-written memory all read as "unsupported" — i.e. would surface a
9337
+ * scary review flag for something that was never even in question. The three
9338
+ * ways provenance can be unusable are kept distinct and are all decided
9339
+ * LOCALLY, before any content leaves the device:
9340
+ *
9341
+ * 1. `not-auto-extracted` — `source` is manual/capsule/legacy-null, so this
9342
+ * device's extractor did not write the row and there is no local chat
9343
+ * turn it was derived from. Entailment against local history is
9344
+ * inapplicable, not merely unavailable. Note the narrower claim: only
9345
+ * `manual` is reliably the user's own words. `source` records how the
9346
+ * LOCAL row was created, and a `capsule` import can carry content that
9347
+ * was auto-extracted somewhere else — its chunk ids could not resolve
9348
+ * here either way, but it is not "the user wrote this", so UI copy must
9349
+ * not say so. Nothing about these memories is sent to the portal.
9350
+ * 2. `no-provenance` — auto-extracted but `sourceChunkIds` is null/empty: the
9351
+ * H4 case where extraction found no usable source ids and no fallback
9352
+ * message either (retain.ts only writes the column when the array is
9353
+ * non-empty). Not pre-v28 rows: v28 added `source` and `source_chunk_ids`
9354
+ * in the same migration and nothing backfills `source`, so a legacy row
9355
+ * has no label to be auto-extracted BY and lands in bucket 1 instead.
9356
+ * 3. `sources-missing` — the ids are there but none of them resolve. Chat
9357
+ * messages are hard-deleted (`destroyPermanently`), so provenance
9358
+ * routinely outlives the evidence; the same bucket also catches a client
9359
+ * whose message ids were never chat-row ids, since the extraction
9360
+ * pipeline stores whatever ids the caller passed to `processTurn`.
9361
+ *
9362
+ * A source read that FAILS is none of those three. It is transient, so it goes
9363
+ * to `unchecked`/`sources-unavailable` alongside the judge being down —
9364
+ * "sources are gone" and "the database was locked for a second" must not land
9365
+ * a user in the same place, since only one of them is worth retrying.
9366
+ *
9367
+ * PARTIAL resolution is not a further failure: the memory is verified against
9368
+ * the sources that survive, and `droppedSourceCount` reports the rest so a
9369
+ * caller can caveat the verdict.
9370
+ *
9371
+ * KNOWN SOURCE OF FALSE FLAGS. Extraction's H4 fallback attributes a candidate
9372
+ * with missing/mangled source ids to the last user message in the window and
9373
+ * persists no marker that it did so (autoExtract.ts). A genuine fact whose
9374
+ * evidence lives in some other message will therefore come back `unsupported`,
9375
+ * and post-hoc there is no way to tell that apart from a real miss. The verdict
9376
+ * is still literally true — the fact is not supported by its recorded
9377
+ * provenance — and #707's flag-for-review semantics absorb it. Evidence
9378
+ * truncation (see `maxEvidenceChars`) can do the same thing on very long source
9379
+ * messages. Both cost a review tap; neither can delete anything.
9380
+ *
9381
+ * SECURITY. This is a NEW portal egress surface for memory content, and unlike
9382
+ * the injection classifier it also sends raw CONVERSATION text as evidence, so
9383
+ * it is strictly wider — treat enabling it as such. Mitigations, in order:
9384
+ * - Nothing is sent for a memory that can be bucketed locally (above), so a
9385
+ * manual or imported memory never leaves the device on this path at all.
9386
+ * - Content is PII-redacted with the same redactor class as the extraction
9387
+ * and injection-classifier paths, and redaction here is OPT-OUT rather
9388
+ * than opt-in. Those paths inherit `extract.piiRedaction` from the caller
9389
+ * that runs them; this one has no such parent, so defaulting it off would
9390
+ * mean the SDK's widest memory egress ships raw whenever a client forgets
9391
+ * a flag. One shared instance per call, so a value redacted in the fact
9392
+ * gets the SAME placeholder in the evidence and entailment still lines up.
9393
+ * - The response is item numbers only, so nothing needs de-anonymizing.
9394
+ * - Judge injection: both slots carry text an attacker can reach — evidence
9395
+ * is raw user conversation, and a fact is whatever the extractor wrote
9396
+ * about a poisoned turn — so the framing is built so content cannot forge
9397
+ * either of the two things the prompt reasons over. STRUCTURE: facts
9398
+ * collapse to one line and every evidence line is indented, which leaves
9399
+ * the left margin — item headers, the MESSAGES: label, the truncation note,
9400
+ * our own framing lines — unreachable from content. ATTRIBUTION: the
9401
+ * resolver labels every evidence LINE with its speaker, because "support
9402
+ * must come from the USER's own words" is the prompt's load-bearing rule and
9403
+ * one label per MESSAGE would let a line break inside an assistant turn
9404
+ * render a forged `user:` line byte-identically to a real one. That second
9405
+ * invariant lives in `VerificationSources` rather than here: this module
9406
+ * indents text it cannot attribute, so a custom resolver owns its half.
9407
+ * Both halves treat a lone `\r` as a break (see `LINE_BREAK`), since the
9408
+ * question is what can start a VISUAL line, not what `split("\n")` sees.
9409
+ * Beyond structure, persuasion remains possible, and the output shape bounds
9410
+ * the blast radius both ways: a swayed "supported" leaves us exactly where
9411
+ * we are today with no verification at all, and a swayed "unsupported" costs
9412
+ * a review tap. Neither can write, publish, or delete.
9413
+ */
9414
+
9415
+ /**
9416
+ * The row fields verification reads. A `StoredVaultMemory` satisfies this
9417
+ * structurally, so callers pass their rows straight through; deriving it with
9418
+ * `Pick` keeps the field names and types tied to the row rather than
9419
+ * re-declared next to it.
9420
+ * @public
9421
+ */
9422
+ type MemoryToVerify = Pick<StoredVaultMemory, "uniqueId" | "content" | "source" | "sourceChunkIds">;
9423
+ /**
9424
+ * Why a memory could not be checked against its sources at all. Distinct from
9425
+ * a failed check — see this module's header.
9426
+ * @public
9427
+ */
9428
+ type UnverifiableReason =
9429
+ /** `source` is not "auto-extracted" — written by hand or imported, so no
9430
+ * local chat turn produced it and entailment does not apply. NOT a claim
9431
+ * that the user authored the text: an imported capsule may hold content
9432
+ * extracted elsewhere (see this module's header). */
9433
+ "not-auto-extracted"
9434
+ /** Auto-extracted but the row carries no source ids. */
9435
+ | "no-provenance"
9436
+ /** Source ids are recorded but none of them resolve any more. */
9437
+ | "sources-missing";
9438
+ /**
9439
+ * Why a memory that COULD have been checked wasn't. Never conflate with
9440
+ * `unsupported`: this says the verifier didn't run, not that the fact failed.
9441
+ * @public
9442
+ */
9443
+ type UncheckedReason =
9444
+ /** The portal call failed (no auth, network, non-2xx, exhausted retries). */
9445
+ "llm-unavailable"
9446
+ /** The batch exceeded `maxItems`, so this memory was never sent. */
9447
+ | "over-budget"
9448
+ /** At least one source read FAILED (locked DB, adapter error) rather than
9449
+ * coming back empty. Transient, so retryable — deliberately not
9450
+ * `sources-missing`, which claims the evidence is gone for good. */
9451
+ | "sources-unavailable";
9452
+ /**
9453
+ * One memory's verdict.
9454
+ *
9455
+ * Note what `unsupported` claims: the fact is not entailed by the provenance
9456
+ * RECORDED on the row, which is a weaker statement than "the fact is wrong".
9457
+ * Extraction's H4 fallback attributes a candidate with missing ids to the last
9458
+ * user message and persists no marker that it guessed, so a well-grounded fact
9459
+ * whose evidence lives in some other message lands here too, and post-hoc
9460
+ * nothing distinguishes it from a real miss (see this module's header). Review
9461
+ * copy should read as "we could not confirm this", not as an accusation.
9462
+ * @public
9463
+ */
9464
+ type MemoryVerification = {
9465
+ /** The memory's `uniqueId`, so results can be joined back to the input. */
9466
+ uniqueId: string;
9467
+ /** Source ids that resolved to real message text and were sent as evidence. */
9468
+ resolvedSourceCount: number;
9469
+ /** Source ids that produced no evidence — deleted messages, ids that were
9470
+ * never chat rows, or (on `sources-unavailable`) reads that failed. Adds up
9471
+ * with `resolvedSourceCount` to the memory's distinct source ids on every
9472
+ * status where resolution actually ran, and the status says which kind of
9473
+ * not-resolving happened. Both are 0 on the two statuses decided before any
9474
+ * read — `not-auto-extracted` and `no-provenance` — including for a
9475
+ * `not-auto-extracted` row that does carry ids (an import's ids belong to
9476
+ * another device, so they are never resolved here): 0/0 there means "we did
9477
+ * not look", not "the row had no sources". Non-zero alongside
9478
+ * `supported`/`unsupported` means the verdict rests on partial evidence. */
9479
+ droppedSourceCount: number;
9480
+ } & ({
9481
+ status: "supported" | "unsupported";
9482
+ } | {
9483
+ status: "unverifiable";
9484
+ reason: UnverifiableReason;
9485
+ } | {
9486
+ status: "unchecked";
9487
+ reason: UncheckedReason;
9488
+ });
9489
+ /**
9490
+ * How verification turns a stored source id into text to judge against.
9491
+ * Injected rather than assumed so this module stays storage-agnostic (and
9492
+ * testable without a database) — {@link createMessageSourceResolver} is the
9493
+ * default wiring over the chat store.
9494
+ * @public
9495
+ */
9496
+ interface VerificationSources {
9497
+ /**
9498
+ * Resolve one `sourceChunkIds` entry.
9499
+ *
9500
+ * Return null only when the id DEFINITIVELY resolves to nothing — the
9501
+ * message was deleted, or the id was never a message. That is a permanent
9502
+ * fact about the provenance and produces `unverifiable`/`sources-missing`.
9503
+ *
9504
+ * THROW when the read itself failed (locked database, adapter error, network
9505
+ * store). That is transient and produces `unchecked`/`sources-unavailable`,
9506
+ * so the caller can retry instead of telling a user their evidence is gone.
9507
+ * Verification catches the throw per id; it never propagates.
9508
+ *
9509
+ * An implementation that labels speakers — as
9510
+ * {@link createMessageSourceResolver} does, because the verifier weighs the
9511
+ * user's words differently from the assistant's — must label EVERY line of a
9512
+ * multi-line message, counting a lone `\r` as a break the way verification's
9513
+ * indentation does. Verification indents evidence but cannot see roles, so a
9514
+ * single leading label lets a break in the body forge a second speaker.
9515
+ */
9516
+ getSourceText(chunkId: string): Promise<string | null>;
9517
+ }
9518
+ /**
9519
+ * Auth + tuning for {@link verifyMemoriesForPublish}. Auth is the dual pattern
9520
+ * — one of `apiKey` / `getToken` is required at runtime (see
9521
+ * {@link PortalLlmAuth}); without it nothing is verified.
9522
+ * @public
9523
+ */
9524
+ interface VerifyMemoriesForPublishOptions extends PortalLlmAuth {
9525
+ baseUrl?: string;
9526
+ model?: string;
9527
+ /** Override fetch (tests). */
9528
+ fetchFn?: typeof fetch;
9529
+ /** Max portal attempts on a TRANSIENT failure. Default 2. */
9530
+ maxAttempts?: number;
9531
+ /** Absolute wall-clock budget across attempts. Default 20s. */
9532
+ totalTimeoutMs?: number;
9533
+ /** Backoff before each retry (ms). Tests pass `() => 0`. */
9534
+ backoffMs?: (attempt: number) => number;
9535
+ /**
9536
+ * PII redaction for the outbound fact + evidence.
9537
+ *
9538
+ * OPT-OUT: defaults to ON (a fresh per-call redactor) when omitted, the same
9539
+ * posture as the LLM decay classifier. This is a standalone entry point — there
9540
+ * is no `extract.piiRedaction` upstream of it to inherit from the way the
9541
+ * injection classifier and consolidation inherit theirs — so an off-by-
9542
+ * default switch would mean the widest memory egress in the SDK (fact text
9543
+ * PLUS raw conversation) shipping raw unless a client remembered a flag.
9544
+ * Pass `false` to deliberately disable it.
9545
+ *
9546
+ * Pass a shared {@link PiiRedactor} to keep placeholder numbering consistent
9547
+ * with other calls in the same session. Either way ONE instance covers a
9548
+ * whole call, so the same value redacts to the same placeholder in the fact
9549
+ * and in the evidence — with two instances entailment would break on every
9550
+ * redacted value.
9551
+ */
9552
+ piiRedaction?: boolean | PiiRedactor;
9553
+ /** Max memories verified in one call; the rest come back `unchecked`
9554
+ * (`over-budget`). Default 20. */
9555
+ maxItems?: number;
9556
+ /** Per-memory cap on joined evidence characters. Default 2000. */
9557
+ maxEvidenceChars?: number;
9558
+ }
9559
+ /**
9560
+ * Verify each memory against the messages it was extracted from, in input
9561
+ * order. Makes at most ONE portal call, and none at all when every memory can
9562
+ * be bucketed locally.
9563
+ *
9564
+ * Writes nothing and publishes nothing — the caller reads the verdicts,
9565
+ * decides (per #707: flag the failures for user review, never delete), and
9566
+ * calls `setMemoryVisibilityOp` for whatever it goes on to publish.
9567
+ *
9568
+ * @public
9569
+ */
9570
+ declare function verifyMemoriesForPublish(memories: readonly MemoryToVerify[], sources: VerificationSources, options: VerifyMemoriesForPublishOptions): Promise<MemoryVerification[]>;
9571
+ /**
9572
+ * Default {@link VerificationSources} over the chat store: resolves a source id
9573
+ * to its message text, role-prefixed per LINE so the verifier can apply the same
9574
+ * "the USER must have said it" rule the extractor does without the message body
9575
+ * being able to forge a speaker. Decryption is the ops layer's job — pass the
9576
+ * same `StorageOperationsContext` the rest of the chat reads go through.
9577
+ *
9578
+ * Returns null for an id that no longer resolves, which is the common case
9579
+ * rather than an error: messages are hard-deleted, and the ids on a memory are
9580
+ * whatever the client handed `processTurn`, which the SDK never required to be
9581
+ * chat rows.
9582
+ *
9583
+ * Storage failures are deliberately NOT swallowed here. `getMessageOp` already
9584
+ * separates the two — null for "not found", a throw for a locked DB or adapter
9585
+ * failure — and flattening that would report a broken read as permanently
9586
+ * missing evidence. The throw propagates into verification, which catches it
9587
+ * per id and returns `unchecked`/`sources-unavailable`; nothing reaches the
9588
+ * caller as an exception.
9589
+ *
9590
+ * @public
9591
+ */
9592
+ declare function createMessageSourceResolver(ctx: StorageOperationsContext): VerificationSources;
9593
+
9263
9594
  /**
9264
9595
  * Text Chunking Utilities
9265
9596
  *
@@ -14634,4 +14965,4 @@ declare function renderAnumaTree(node: AnumaNode): React.ReactElement | null;
14634
14965
  */
14635
14966
  declare function renderAnumaJsx(jsx: string): React.ReactElement | null;
14636
14967
 
14637
- 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, 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 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 MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MessageChunk, type MessageFeedback, 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 PlatformStorage, type PortalLlmAuth, 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 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, 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 TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, 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 VaultSaveOperation, type VaultSearchResult, 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, createPlatformCursorStore, createProjectOp, createRecallTool, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, eagerEmbedContent, embedAllMessages, embedMessage, 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, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isCalendarCallback, isDriveCallback, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, mediaToStored, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, 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, walk, webPlatformStorage, writeEncryptedFile };
14968
+ 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, 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 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 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 PlatformStorage, type PortalLlmAuth, 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 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, 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 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 VaultSaveOperation, type VaultSearchResult, 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, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, eagerEmbedContent, embedAllMessages, embedMessage, 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, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isCalendarCallback, isDriveCallback, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, mediaToStored, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, 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 };