@anuma/sdk 6.33.2 → 6.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/expo/index.cjs +1304 -300
- package/dist/expo/index.d.mts +278 -11
- package/dist/expo/index.d.ts +278 -11
- package/dist/expo/index.mjs +1297 -300
- package/dist/index.cjs +18 -6
- package/dist/index.mjs +18 -6
- package/dist/memory/context.d.mts +21 -1
- package/dist/memory/context.d.ts +21 -1
- package/dist/react/index.cjs +1385 -381
- package/dist/react/index.d.mts +311 -11
- package/dist/react/index.d.ts +311 -11
- package/dist/react/index.mjs +1378 -381
- package/dist/server/index.cjs +319 -99
- package/dist/server/index.d.mts +138 -11
- package/dist/server/index.d.ts +138 -11
- package/dist/server/index.mjs +316 -99
- package/dist/telemetry/index.d.mts +3 -4
- package/dist/telemetry/index.d.ts +3 -4
- package/dist/tools/selection/index.cjs +18 -6
- package/dist/tools/selection/index.mjs +18 -6
- package/package.json +1 -1
package/dist/expo/index.d.mts
CHANGED
|
@@ -1490,13 +1490,13 @@ interface EmbeddingOptions {
|
|
|
1490
1490
|
*/
|
|
1491
1491
|
tokenTimeoutMs?: number;
|
|
1492
1492
|
/**
|
|
1493
|
-
* Overall deadline, in ms, for one `generateEmbedding` call — the token read,
|
|
1493
|
+
* Overall deadline, in ms, for one `generateEmbedding` or `generateEmbeddings` call — the token read,
|
|
1494
1494
|
* every retry attempt and the backoff between them. Unset (the default) means
|
|
1495
1495
|
* only the per-attempt deadlines apply, which is right for background/bulk
|
|
1496
1496
|
* embeds. The recall query path sets it (see
|
|
1497
1497
|
* `RecallOptions.queryEmbedTotalTimeoutMs`) so an outage degrades a turn to
|
|
1498
|
-
* BM25 within a few seconds instead of ~4 x `timeoutMs`.
|
|
1499
|
-
*
|
|
1498
|
+
* BM25 within a few seconds instead of ~4 x `timeoutMs`. Batch calls share
|
|
1499
|
+
* one budget across authentication, all chunks, retries and backoff.
|
|
1500
1500
|
*/
|
|
1501
1501
|
totalTimeoutMs?: number;
|
|
1502
1502
|
}
|
|
@@ -4866,8 +4866,10 @@ declare function isEncrypted(value: string): boolean;
|
|
|
4866
4866
|
* budget was in memory and reset on every turn, so one batch that could never
|
|
4867
4867
|
* extract blocked its conversation's extraction forever. Additive, both
|
|
4868
4868
|
* nullable, no backfill: NULL reads as "never failed"
|
|
4869
|
+
* - v48: Added kind, kind_value (encrypted) and level to memory_vault; level is
|
|
4870
|
+
* backfilled from scope where SQL steps run
|
|
4869
4871
|
*/
|
|
4870
|
-
declare const SDK_SCHEMA_VERSION =
|
|
4872
|
+
declare const SDK_SCHEMA_VERSION = 48;
|
|
4871
4873
|
/**
|
|
4872
4874
|
* Combined WatermelonDB schema for all SDK storage modules.
|
|
4873
4875
|
*
|
|
@@ -4956,6 +4958,7 @@ declare const sdkSchema: Readonly<{
|
|
|
4956
4958
|
* - v41 → v42: Added `topics` + `topics_updated_at` columns to memory_vault, making a memory's topics the durable synced record and `entity`/`memory_entity` a device-local index over it (null `topics` = pre-v42, backfilled from the row's current links by the sweep)
|
|
4957
4959
|
* - v42 → v43: Added a composite `(is_deleted, created_at)` index to conversations so the list reads stop temp-sorting (structural only, no data rewritten)
|
|
4958
4960
|
* - v43 → v44: Added `origin` column to history recording which producer synthesised a row, so the embedding sweep can skip never-rendered tool-result dumps (plaintext by design — the sweep has no wallet context; null = legacy, embedded as before)
|
|
4961
|
+
* - v47 → v48: Added `kind`, `kind_value`, `level` to memory_vault; `level` backfilled from `scope` (`shared`/`public` → matching, else private) where SQL steps run
|
|
4959
4962
|
*/
|
|
4960
4963
|
declare const sdkMigrations: Readonly<{
|
|
4961
4964
|
validated: true;
|
|
@@ -5126,6 +5129,12 @@ declare class VaultMemory extends Model {
|
|
|
5126
5129
|
static table: string;
|
|
5127
5130
|
content: string;
|
|
5128
5131
|
scope: string;
|
|
5132
|
+
/** Profile kind, or null for a free-form memory. */
|
|
5133
|
+
kind: string | null;
|
|
5134
|
+
/** Canonical JSON value of a kinded memory, encrypted at rest. */
|
|
5135
|
+
kindValue: string | null;
|
|
5136
|
+
/** private | matching | profile. */
|
|
5137
|
+
level: string | null;
|
|
5129
5138
|
folderId: string | null;
|
|
5130
5139
|
userId: string | null;
|
|
5131
5140
|
embedding: string | null;
|
|
@@ -5742,6 +5751,55 @@ interface VaultSearchResult {
|
|
|
5742
5751
|
* these to suppress the originating chunk in the chunk lane. */
|
|
5743
5752
|
sourceChunkIds?: string[] | null;
|
|
5744
5753
|
}
|
|
5754
|
+
/**
|
|
5755
|
+
* Search + rank in one call. Thin wrapper over {@link prepareVaultCandidates} +
|
|
5756
|
+
* {@link rankPreparedVaultCandidates}; behavior is unchanged.
|
|
5757
|
+
*/
|
|
5758
|
+
declare function searchVaultMemoriesWithSize(query: string, vaultCtx: VaultMemoryOperationsContext, embeddingOptions: EmbeddingOptions, cache: VaultEmbeddingCache, searchOptions?: MemoryVaultSearchOptions): Promise<{
|
|
5759
|
+
results: VaultSearchResult[];
|
|
5760
|
+
vaultSize: number;
|
|
5761
|
+
reranked: boolean;
|
|
5762
|
+
/**
|
|
5763
|
+
* Wall-clock ms this search spent inside the cross-encoder.
|
|
5764
|
+
*
|
|
5765
|
+
* 0 on every path that did not reach the CE, which `reranked` already
|
|
5766
|
+
* distinguishes from "ran and cost nothing". Reported because `factLane`
|
|
5767
|
+
* timing alone could not separate the rerank from the query embed, the vault
|
|
5768
|
+
* read and the fused ranking — see {@link RerankStats}.
|
|
5769
|
+
*/
|
|
5770
|
+
rerankMs: number;
|
|
5771
|
+
hadV2Head: boolean;
|
|
5772
|
+
/** True when this search had no usable cosine lane and ranked on BM25 alone. */
|
|
5773
|
+
embeddingsUnavailable: boolean;
|
|
5774
|
+
/**
|
|
5775
|
+
* True when this search actually scored rows against a real query vector.
|
|
5776
|
+
*
|
|
5777
|
+
* NOT the inverse of `embeddingsUnavailable`. That flag answers "did cosine
|
|
5778
|
+
* break?", and it is `false` on the degenerate returns below — an invalid
|
|
5779
|
+
* query, an empty scope, nothing decryptable — where cosine did not break so
|
|
5780
|
+
* much as never run. A caller asking "can this lane vouch that semantic
|
|
5781
|
+
* ranking happened?" (recall's chunk-lane reconciliation) must not read those
|
|
5782
|
+
* as a healthy cosine pass.
|
|
5783
|
+
*/
|
|
5784
|
+
rankedOnCosine: boolean;
|
|
5785
|
+
/**
|
|
5786
|
+
* Which vault read path ran — projected key scan (`true`) or legacy whole-vault
|
|
5787
|
+
* load (`false`). See {@link PreparedVaultCandidates.decryptLast}.
|
|
5788
|
+
*/
|
|
5789
|
+
decryptLast: boolean;
|
|
5790
|
+
/**
|
|
5791
|
+
* Rows this search paid to decrypt. Read against `vaultSize` — see
|
|
5792
|
+
* {@link PreparedVaultCandidates.rowsDecrypted}.
|
|
5793
|
+
*/
|
|
5794
|
+
rowsDecrypted: number;
|
|
5795
|
+
/**
|
|
5796
|
+
* Wall-clock ms spent embedding the query, and rows the lane had to re-embed
|
|
5797
|
+
* because their stored vector was unusable — see
|
|
5798
|
+
* {@link PreparedVaultCandidates.queryEmbedMs} and `rowsEmbedded`.
|
|
5799
|
+
*/
|
|
5800
|
+
queryEmbedMs: number;
|
|
5801
|
+
rowsEmbedded: number;
|
|
5802
|
+
}>;
|
|
5745
5803
|
/**
|
|
5746
5804
|
* Search vault memories by semantic similarity. Returns structured results
|
|
5747
5805
|
* sorted by descending similarity, filtered by threshold and limit.
|
|
@@ -6006,7 +6064,15 @@ interface RecallOptions {
|
|
|
6006
6064
|
*/
|
|
6007
6065
|
graphRefine?: boolean;
|
|
6008
6066
|
}
|
|
6067
|
+
/** A fact source supplies bounded candidates; recall owns ranking and result handling. */
|
|
6068
|
+
interface RecallFactSource {
|
|
6069
|
+
search: (query: string, options?: MemoryVaultSearchOptions) => ReturnType<typeof searchVaultMemoriesWithSize>;
|
|
6070
|
+
graphRanking: (query: string, traverse: boolean, options: RecallOptions) => Promise<string[]>;
|
|
6071
|
+
temporalRanking: (query: string, now?: number) => Promise<string[]>;
|
|
6072
|
+
}
|
|
6009
6073
|
interface RecallContext {
|
|
6074
|
+
/** Alternative to a WatermelonDB vault for fact-only recall. */
|
|
6075
|
+
factSource?: RecallFactSource;
|
|
6010
6076
|
/** Required when `types` includes 'fact'. */
|
|
6011
6077
|
vaultCtx?: VaultMemoryOperationsContext;
|
|
6012
6078
|
/** Required when `types` includes 'chunk'. */
|
|
@@ -6822,13 +6888,35 @@ declare function extractAndRetain(messages: AutoExtractMessage[], retainCtx: Ret
|
|
|
6822
6888
|
* the fail-safe direction: it un-publishes rather than exposes.
|
|
6823
6889
|
*/
|
|
6824
6890
|
type VaultMemoryVisibility = "private" | "public";
|
|
6891
|
+
/** Profile kinds a vault memory can carry. */
|
|
6892
|
+
declare const MEMORY_KINDS: readonly ["display_name", "birth_date", "bio", "occupation", "interest", "gender", "height_cm", "looking_for", "politics", "religion", "ethnicity", "smoking", "drinking", "exercise", "sexuality", "prompt"];
|
|
6893
|
+
/** One of {@link MEMORY_KINDS}. */
|
|
6894
|
+
type VaultMemoryKind = (typeof MEMORY_KINDS)[number];
|
|
6895
|
+
/** Who a memory reaches. */
|
|
6896
|
+
declare const MEMORY_LEVELS: readonly ["private", "matching", "profile"];
|
|
6897
|
+
/** One of {@link MEMORY_LEVELS}. */
|
|
6898
|
+
type MemoryLevel = (typeof MEMORY_LEVELS)[number];
|
|
6899
|
+
/**
|
|
6900
|
+
* Thrown by vault writes that would store an unknown kind or level, or a profile level without a kind.
|
|
6901
|
+
*
|
|
6902
|
+
* @public
|
|
6903
|
+
*/
|
|
6904
|
+
declare class MemoryLevelError extends Error {
|
|
6905
|
+
constructor(message: string);
|
|
6906
|
+
}
|
|
6825
6907
|
interface StoredVaultMemory {
|
|
6826
6908
|
/** WatermelonDB internal ID */
|
|
6827
6909
|
uniqueId: string;
|
|
6828
6910
|
/** Plain text memory content */
|
|
6829
6911
|
content: string;
|
|
6830
|
-
/** Scope for partitioning memories (e.g., "private", "shared") */
|
|
6912
|
+
/** Scope for partitioning memories (e.g., "private", "shared"). */
|
|
6831
6913
|
scope: string;
|
|
6914
|
+
/** Profile kind ({@link MEMORY_KINDS}) or null for a free-form memory. */
|
|
6915
|
+
kind?: string | null;
|
|
6916
|
+
/** Canonical value of a kinded memory, JSON-encoded (slug, slug[], int, date, text). */
|
|
6917
|
+
kindValue?: string | null;
|
|
6918
|
+
/** Who this memory reaches. */
|
|
6919
|
+
level?: MemoryLevel;
|
|
6832
6920
|
/** Folder ID for organization, null if unfiled */
|
|
6833
6921
|
folderId: string | null;
|
|
6834
6922
|
/** User ID for multi-user server-side scoping, null on client */
|
|
@@ -6970,8 +7058,14 @@ interface PhotoMediaRef {
|
|
|
6970
7058
|
declare function parseMedia(value: unknown): PhotoMediaRef[] | null;
|
|
6971
7059
|
interface CreateVaultMemoryOptions {
|
|
6972
7060
|
content: string;
|
|
6973
|
-
/** Scope for the memory.
|
|
7061
|
+
/** Scope for the memory. */
|
|
6974
7062
|
scope?: string;
|
|
7063
|
+
/** Profile kind, or omit/null for a free-form memory. */
|
|
7064
|
+
kind?: VaultMemoryKind | null;
|
|
7065
|
+
/** Canonical JSON value of a kinded memory. */
|
|
7066
|
+
kindValue?: string | null;
|
|
7067
|
+
/** Who this memory reaches. */
|
|
7068
|
+
level?: MemoryLevel;
|
|
6975
7069
|
/** Folder ID for organization, null or omitted if unfiled */
|
|
6976
7070
|
folderId?: string | null;
|
|
6977
7071
|
/** JSON-stringified embedding vector to persist */
|
|
@@ -7012,8 +7106,19 @@ interface CreateVaultMemoryOptions {
|
|
|
7012
7106
|
}
|
|
7013
7107
|
interface UpdateVaultMemoryOptions {
|
|
7014
7108
|
content: string;
|
|
7015
|
-
/**
|
|
7109
|
+
/** When true, the write is skipped (returns null) if the row carries a profile kind. */
|
|
7110
|
+
freeFormOnly?: boolean;
|
|
7111
|
+
/**
|
|
7112
|
+
* If provided, updates the memory's scope (and the level it implies; a `profile` row keeps
|
|
7113
|
+
* `profile` under `scope: "shared"`).
|
|
7114
|
+
*/
|
|
7016
7115
|
scope?: string;
|
|
7116
|
+
/** If provided, sets the profile kind (null makes the memory free-form). */
|
|
7117
|
+
kind?: VaultMemoryKind | null;
|
|
7118
|
+
/** If provided, sets the canonical JSON value (null clears it). */
|
|
7119
|
+
kindValue?: string | null;
|
|
7120
|
+
/** If provided, sets the level (and dual-writes `scope`). */
|
|
7121
|
+
level?: MemoryLevel;
|
|
7017
7122
|
/** If provided, moves the memory to this folder. */
|
|
7018
7123
|
folderId?: string | null;
|
|
7019
7124
|
/** JSON-stringified embedding vector to persist, or null to clear stale embedding */
|
|
@@ -7153,6 +7258,10 @@ declare function getAllVaultMemoriesOp(ctx: VaultMemoryOperationsContext, option
|
|
|
7153
7258
|
* published set to diff against the server index.
|
|
7154
7259
|
*/
|
|
7155
7260
|
visibility?: VaultMemoryVisibility[];
|
|
7261
|
+
/** Filter by level. */
|
|
7262
|
+
levels?: MemoryLevel[];
|
|
7263
|
+
/** Restrict to these profile kinds. */
|
|
7264
|
+
kinds?: string[];
|
|
7156
7265
|
}): Promise<StoredVaultMemory[]>;
|
|
7157
7266
|
/**
|
|
7158
7267
|
* Return content-free {@link RankableVaultMemory} projections for recall
|
|
@@ -7434,7 +7543,8 @@ interface DecayCandidateRaw {
|
|
|
7434
7543
|
*
|
|
7435
7544
|
* Includes archived AND quarantined rows (so archived→delete transitions and
|
|
7436
7545
|
* aged quarantined rows are seen) but excludes hard-deleted rows — the
|
|
7437
|
-
* `baseVaultConditions` default keeps `is_deleted = false`.
|
|
7546
|
+
* `baseVaultConditions` default keeps `is_deleted = false`. Excludes kinded
|
|
7547
|
+
* (profile) memories, which never decay.
|
|
7438
7548
|
*
|
|
7439
7549
|
* Refuses to run on an unscoped multi-tenant context (see
|
|
7440
7550
|
* {@link assertVaultScopeForSweep}).
|
|
@@ -9141,6 +9251,163 @@ interface LocalMemoryStoreOptions {
|
|
|
9141
9251
|
*/
|
|
9142
9252
|
declare function createLocalMemoryStore(options: LocalMemoryStoreOptions): MemoryStore;
|
|
9143
9253
|
|
|
9254
|
+
/** The nearby private-memory row. Content and kind_value are plaintext ONLY on the device. */
|
|
9255
|
+
interface RemoteMemoryRow {
|
|
9256
|
+
memory_id: string;
|
|
9257
|
+
content: string;
|
|
9258
|
+
scope: string;
|
|
9259
|
+
created_at: number;
|
|
9260
|
+
updated_at: number;
|
|
9261
|
+
is_deleted: boolean;
|
|
9262
|
+
embedding?: number[];
|
|
9263
|
+
embedding_model?: string;
|
|
9264
|
+
kind?: string;
|
|
9265
|
+
kind_value?: string;
|
|
9266
|
+
level?: string;
|
|
9267
|
+
folder_id?: string;
|
|
9268
|
+
source_chunk_ids?: string;
|
|
9269
|
+
proof_count?: number;
|
|
9270
|
+
source?: string;
|
|
9271
|
+
event_time_start?: number;
|
|
9272
|
+
event_time_end?: number;
|
|
9273
|
+
event_time_kind?: string;
|
|
9274
|
+
topics_user_managed?: boolean;
|
|
9275
|
+
topics?: string;
|
|
9276
|
+
topics_updated_at?: number;
|
|
9277
|
+
media?: string;
|
|
9278
|
+
topics_extracted_at?: number;
|
|
9279
|
+
topics_extracted_version?: number;
|
|
9280
|
+
superseded_by?: string;
|
|
9281
|
+
superseded_at?: number;
|
|
9282
|
+
last_observed_at?: number;
|
|
9283
|
+
fact_type?: string;
|
|
9284
|
+
archived_at?: number;
|
|
9285
|
+
trust_tier?: string;
|
|
9286
|
+
visibility?: string;
|
|
9287
|
+
twin_opt_in?: boolean;
|
|
9288
|
+
published_at?: number;
|
|
9289
|
+
geohash?: string;
|
|
9290
|
+
}
|
|
9291
|
+
/** A server snapshot. Pass its version back when writing; device timestamps are not a CAS token. */
|
|
9292
|
+
interface RemoteMemoryRecord {
|
|
9293
|
+
memory: RemoteMemoryRow;
|
|
9294
|
+
version: number;
|
|
9295
|
+
server_updated_at: string;
|
|
9296
|
+
score?: number;
|
|
9297
|
+
}
|
|
9298
|
+
interface RemoteMemoryReadFilters {
|
|
9299
|
+
include_archived?: boolean;
|
|
9300
|
+
include_quarantined?: boolean;
|
|
9301
|
+
include_superseded?: boolean;
|
|
9302
|
+
fact_types?: string[];
|
|
9303
|
+
}
|
|
9304
|
+
interface RemoteMemoryListOptions extends Omit<RemoteMemoryReadFilters, "fact_types"> {
|
|
9305
|
+
include_deleted?: boolean;
|
|
9306
|
+
include_embeddings?: boolean;
|
|
9307
|
+
cursor?: string;
|
|
9308
|
+
limit?: number;
|
|
9309
|
+
signal?: AbortSignal;
|
|
9310
|
+
}
|
|
9311
|
+
interface RemoteMemoryDecodeFailure {
|
|
9312
|
+
memory_id: string;
|
|
9313
|
+
version: number;
|
|
9314
|
+
error: Error;
|
|
9315
|
+
}
|
|
9316
|
+
interface RemoteMemoryPage {
|
|
9317
|
+
items: RemoteMemoryRecord[];
|
|
9318
|
+
failed: RemoteMemoryDecodeFailure[];
|
|
9319
|
+
next_cursor?: string;
|
|
9320
|
+
}
|
|
9321
|
+
interface RemoteMemoryCandidateOptions extends RemoteMemoryReadFilters {
|
|
9322
|
+
scopes?: string[];
|
|
9323
|
+
memory_ids?: string[];
|
|
9324
|
+
embedding_model?: string;
|
|
9325
|
+
strict_model?: boolean;
|
|
9326
|
+
include_deleted?: boolean;
|
|
9327
|
+
deleted_only?: boolean;
|
|
9328
|
+
limit?: number;
|
|
9329
|
+
force_ids?: string[];
|
|
9330
|
+
signal?: AbortSignal;
|
|
9331
|
+
}
|
|
9332
|
+
/**
|
|
9333
|
+
* The caller supplies the canonical account key's field encryption on the device.
|
|
9334
|
+
* These callbacks and authentication credentials never enter a request body.
|
|
9335
|
+
* The encryption format must be the SDK's enc:vN:<hex> field format.
|
|
9336
|
+
*/
|
|
9337
|
+
interface RemoteMemoryPersistenceOptions {
|
|
9338
|
+
baseUrl: string;
|
|
9339
|
+
getToken: () => Promise<string | null>;
|
|
9340
|
+
keyId: string;
|
|
9341
|
+
encrypt: (plaintext: string) => Promise<string>;
|
|
9342
|
+
decrypt: (ciphertext: string) => Promise<string>;
|
|
9343
|
+
fetch?: typeof globalThis.fetch;
|
|
9344
|
+
/** Cancellation for the initial account/key check. Individual operations take their own signal. */
|
|
9345
|
+
signal?: AbortSignal;
|
|
9346
|
+
timeoutMs?: number;
|
|
9347
|
+
}
|
|
9348
|
+
/** HTTP failures remain distinguishable, particularly version_conflict and key_mismatch. */
|
|
9349
|
+
declare class RemoteMemoryError extends Error {
|
|
9350
|
+
readonly status: number;
|
|
9351
|
+
readonly code?: string | undefined;
|
|
9352
|
+
constructor(message: string, status: number, code?: string | undefined);
|
|
9353
|
+
}
|
|
9354
|
+
/**
|
|
9355
|
+
* Remote persistence foundation for MemoryStore, not yet its recall/retain implementation.
|
|
9356
|
+
* Nearby is authoritative: every read reaches it and writes use explicit server versions.
|
|
9357
|
+
* No local database or replica, import/activation, automatic conflict retry or rollback.
|
|
9358
|
+
* Migration must have activated the account under the canonical key before construction.
|
|
9359
|
+
*/
|
|
9360
|
+
interface RemoteMemoryPersistence {
|
|
9361
|
+
get(memoryId: string, signal?: AbortSignal): Promise<RemoteMemoryRecord | null>;
|
|
9362
|
+
/** One stable memory-id page; follow next_cursor to enumerate. Embeddings are opt-in. */
|
|
9363
|
+
list(options?: RemoteMemoryListOptions): Promise<RemoteMemoryPage>;
|
|
9364
|
+
/** Whole-row write. Pass a returned snapshot to avoid GET; a number retains the read-before-write path. Version 0 creates. is_deleted writes a tombstone. */
|
|
9365
|
+
put(memory: RemoteMemoryRow, expectedVersion: number | RemoteMemoryRecord, signal?: AbortSignal): Promise<RemoteMemoryRecord>;
|
|
9366
|
+
/** 1–50 writes in one server transaction; never split or replay a batch. */
|
|
9367
|
+
putMany(writes: {
|
|
9368
|
+
memory: RemoteMemoryRow;
|
|
9369
|
+
expectedVersion: number | RemoteMemoryRecord;
|
|
9370
|
+
}[], signal?: AbortSignal): Promise<RemoteMemoryRecord[]>;
|
|
9371
|
+
/** Candidate window plus counts for distinguishing empty storage from unavailable vectors. */
|
|
9372
|
+
candidateSet(embedding: number[], options?: RemoteMemoryCandidateOptions): Promise<{
|
|
9373
|
+
items: RemoteMemoryRecord[];
|
|
9374
|
+
failed: RemoteMemoryDecodeFailure[];
|
|
9375
|
+
total_count: number;
|
|
9376
|
+
unavailable_count: number;
|
|
9377
|
+
}>;
|
|
9378
|
+
/** Nearby ranks ciphertext using a query vector and metadata; returned winners decrypt on-device. */
|
|
9379
|
+
candidates(embedding: number[], options?: RemoteMemoryCandidateOptions): Promise<{
|
|
9380
|
+
items: RemoteMemoryRecord[];
|
|
9381
|
+
failed: RemoteMemoryDecodeFailure[];
|
|
9382
|
+
}>;
|
|
9383
|
+
}
|
|
9384
|
+
/**
|
|
9385
|
+
* Connect to an already-active account. Encryption/key failures fail closed; a
|
|
9386
|
+
* failed write is never replayed automatically because its outcome may be unknown.
|
|
9387
|
+
* @public
|
|
9388
|
+
*/
|
|
9389
|
+
declare function createRemoteMemoryPersistence(options: RemoteMemoryPersistenceOptions): Promise<RemoteMemoryPersistence>;
|
|
9390
|
+
|
|
9391
|
+
interface RemoteMemoryPipelineOptions {
|
|
9392
|
+
persistence: RemoteMemoryPersistence;
|
|
9393
|
+
embeddingOptions: EmbeddingOptions;
|
|
9394
|
+
/** Server-backed metadata lanes. These callbacks execute on the device. */
|
|
9395
|
+
graphRanking: RecallFactSource["graphRanking"];
|
|
9396
|
+
temporalRanking: RecallFactSource["temporalRanking"];
|
|
9397
|
+
}
|
|
9398
|
+
interface RemoteMemoryPipeline {
|
|
9399
|
+
recall(query: string, options?: MemoryRecallOptions): Promise<RecallResult>;
|
|
9400
|
+
retain(content: string, options?: MemoryRetainOptions): Promise<RetainResult>;
|
|
9401
|
+
}
|
|
9402
|
+
/**
|
|
9403
|
+
* Shared recall/retain on bounded server candidates; this is not a complete
|
|
9404
|
+
* MemoryStore or client cutover. Supply server-backed graph/temporal lanes:
|
|
9405
|
+
* there is deliberately no local-vault fallback. BM25 sees only admitted rows,
|
|
9406
|
+
* so a query-embedding outage fails rather than pretending to search the vault.
|
|
9407
|
+
* @public
|
|
9408
|
+
*/
|
|
9409
|
+
declare function createRemoteMemoryPipeline(options: RemoteMemoryPipelineOptions): RemoteMemoryPipeline;
|
|
9410
|
+
|
|
9144
9411
|
/** Bump when the ProfileDoc / section shape changes incompatibly. */
|
|
9145
9412
|
declare const PROFILE_DOC_VERSION = 1;
|
|
9146
9413
|
/** The facets a profile decomposes into (dating-app-style, per the People
|
|
@@ -9281,8 +9548,8 @@ interface SynthesizeProfileOptions extends PortalLlmAuth {
|
|
|
9281
9548
|
* on memories the user approved for publication. Empty intersection → empty
|
|
9282
9549
|
* section (legitimate no-evidence), not a stale fallback.
|
|
9283
9550
|
*
|
|
9284
|
-
* Pass the user's published set (e.g. `getAllVaultMemoriesOp(ctx, {
|
|
9285
|
-
* ["
|
|
9551
|
+
* Pass the user's published set (e.g. `getAllVaultMemoriesOp(ctx, { levels:
|
|
9552
|
+
* ["matching", "profile"] })`) to keep a published profile derivable only from published
|
|
9286
9553
|
* memories — People Nearby's two-tier model treats `private` memories as never
|
|
9287
9554
|
* leaving the device, and a summary derived from them is a derivative that does.
|
|
9288
9555
|
*
|
|
@@ -10739,4 +11006,4 @@ interface UseChatStorageResult extends BaseUseChatStorageResult {
|
|
|
10739
11006
|
*/
|
|
10740
11007
|
declare function useChatStorage(options: UseChatStorageOptions): UseChatStorageResult;
|
|
10741
11008
|
|
|
10742
|
-
export { type AutoExtractMessage, type AutoExtractor, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, Conversation as ChatConversation, Message as ChatMessage, type ChatRole, type ChunkVectorCache, type ChunkingOptions, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateMessageOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DurableAutoExtractorOptions, ENTITY_FANOUT, type EmbeddedWalletSignerFn, EncryptionKeyMissingError, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, type FactType, type FileMetadata, type FileProcessingReason, type FileProcessingStatus, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GraphTraversalOptions, HARD_DELETE_WINDOW_MS, INFERENCE_ID_HEADER, type InjectionClassifierOptions, type InjectionReason, type LazyStoredConversation, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type LocalMemoryStoreOptions, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, type ManualFactType, type MemoriesNeedingTopicExtraction, type MemoryContextItem, type MemoryContextLane, type MemoryContextOptions, type MemoryContextResult, type MemoryCreate, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, type MemoryExtractedEvent, type MemoryKind, type MemoryListOptions, type MemoryMaintenance, type MemoryQuarantinedEvent, type MemoryRecallOptions, type MemoryRetainOptions, type MemoryStore, type MemorySubscribeOptions, type MemoryToVerify, type MemoryUpdate, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageRedactionResult, type MessageSkeleton, NEVER_TTL_MS, NODE_BUDGET, NOTION_OAUTH_CONFIG, type NeighborRefiner, type NotionAuthUrlParams, type NotionClientRegistration, type NotionExchangeCodeParams, type NotionMcpCaller, type NotionOAuthEndpoints, type NotionPKCEChallenge, type NotionRefreshTokenParams, type NotionTokenResponse, type NowSource, type ObservationTrend, type ObservationTrendInput, PAST_EVENT_GRACE_MS, PII_PATTERNS, PROFILE_DOC_VERSION, type PhotoIngestResult, type PhotoMediaRef, type PiiCategory, type PiiMatch, type PiiPattern, PiiRedactor, type PiiRedactorOptions, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type PromptPreProcessor, type PromptPreProcessorContext, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, QueueManager, type QueueStatus, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type RedactionResult, type ReflectOptions, type ReflectResult, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type ResumeStreamWithStorageResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SHORT_TTL_MS, STREAM_RESUMABLE_HEADER, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenResult, type ScreenedCandidate, type SearchSource, type SendMessageWithStorageArgs, type SendMessageWithStorageDetachedResult, type SendMessageWithStorageResult, type ServerToolsOptions, type ServerToolsResponse, type SignMessageFn, type StockPriceClassification, type StockPricePreProcessorOptions, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredMessage, type StoredMessageWithSimilarity, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type SynthesizeProfileOptions, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSkipReason, type TurnCompleteEvent, type TurnSkippedEvent, type UncheckedReason, type UnverifiableReason, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseModelsOptions, type UseModelsResult, VAULT_SIZE_HOP_CAP, type VaultEmbeddingCache, type VaultEmbeddingExpectation, type VaultFolderOperationsContext, type VaultMemoryOperationsContext, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, WalletPoller, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, addConversationMemoriesOp, archiveVaultMemoryOp, assembleMemoryContext, attachFileContextToLastUserMessage, backfillMemoryTopicsOp, buildAttachedFilesText, buildNotionAuthUrl, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearConversationMemoriesOp, clearEncryptionKey, clearLazyTitleCache, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createLlmDecayClassifier, createLlmNeighborRefiner, createLocalMemoryStore, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createNotionProxyTools, createNotionTools, createPlatformCursorStore, createRecallTool, createStockPricePreProcessor, createStreamingDeAnonymizer, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, deleteAllVaultMemoriesForUserOp, deleteMessageOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, deriveKeyFromSignatureBytes, discoverNotionOAuthEndpoints, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, ensureDefaultFoldersOp, exchangeNotionCode, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, formatFileProcessingNotes, generateConversationId, generateEmbedding, generateEmbeddings, generateNotionPKCE, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getCachedServerTools, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getLogger, getMemoriesNeedingTopicExtractionOp, getServerTools, getUnfiledVaultMemoriesOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, hardDeleteDecayedOp, hasEncryptionKey, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, isAttachedFilesText, isDegradedTopicSkip, isEncrypted, isPiiRedactor, isRerankerAvailable, maskScopedEmbeddingCache, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseMedia, preEmbedVaultMemories, quantizeEmbedding, queueManager, rankProfileCandidates, recall, reflect, refreshEncryptionKeyIfMatches, refreshNotionAccessToken, registerNotionClient, relinkMemoryTopicsOp, requestEncryptionKey, resolvePiiRedactor, restoreVaultMemoryOp, resumeStream, retain, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchVaultMemories, seedEncryptionKeys, setLogger, setMemoryVisibilityOp, shouldChunkMessage, shouldRecallMemory, stampTopicsExtractedAtOp, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, traverseGraphLane, ttlForType, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, upsertMessageOp, useChat, useChatStorage, useCredits, useEncryption, useModels, verifyMemoriesForPublish, xhrTransport };
|
|
11009
|
+
export { type AutoExtractMessage, type AutoExtractor, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, Conversation as ChatConversation, Message as ChatMessage, type ChatRole, type ChunkVectorCache, type ChunkingOptions, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateMessageOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DurableAutoExtractorOptions, ENTITY_FANOUT, type EmbeddedWalletSignerFn, EncryptionKeyMissingError, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, type FactType, type FileMetadata, type FileProcessingReason, type FileProcessingStatus, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GraphTraversalOptions, HARD_DELETE_WINDOW_MS, INFERENCE_ID_HEADER, type InjectionClassifierOptions, type InjectionReason, type LazyStoredConversation, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type LocalMemoryStoreOptions, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, MEMORY_KINDS, MEMORY_LEVELS, type ManualFactType, type MemoriesNeedingTopicExtraction, type MemoryContextItem, type MemoryContextLane, type MemoryContextOptions, type MemoryContextResult, type MemoryCreate, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, type MemoryExtractedEvent, type MemoryKind, type MemoryLevel, MemoryLevelError, type MemoryListOptions, type MemoryMaintenance, type MemoryQuarantinedEvent, type MemoryRecallOptions, type MemoryRetainOptions, type MemoryStore, type MemorySubscribeOptions, type MemoryToVerify, type MemoryUpdate, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageRedactionResult, type MessageSkeleton, NEVER_TTL_MS, NODE_BUDGET, NOTION_OAUTH_CONFIG, type NeighborRefiner, type NotionAuthUrlParams, type NotionClientRegistration, type NotionExchangeCodeParams, type NotionMcpCaller, type NotionOAuthEndpoints, type NotionPKCEChallenge, type NotionRefreshTokenParams, type NotionTokenResponse, type NowSource, type ObservationTrend, type ObservationTrendInput, PAST_EVENT_GRACE_MS, PII_PATTERNS, PROFILE_DOC_VERSION, type PhotoIngestResult, type PhotoMediaRef, type PiiCategory, type PiiMatch, type PiiPattern, PiiRedactor, type PiiRedactorOptions, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type PromptPreProcessor, type PromptPreProcessorContext, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, QueueManager, type QueueStatus, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type RedactionResult, type ReflectOptions, type ReflectResult, type RemoteMemoryCandidateOptions, type RemoteMemoryDecodeFailure, RemoteMemoryError, type RemoteMemoryListOptions, type RemoteMemoryPage, type RemoteMemoryPersistence, type RemoteMemoryPersistenceOptions, type RemoteMemoryPipeline, type RemoteMemoryPipelineOptions, type RemoteMemoryReadFilters, type RemoteMemoryRecord, type RemoteMemoryRow, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ResumeStreamOptions, type ResumeStreamResult, type ResumeStreamWithStorageResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SHORT_TTL_MS, STREAM_RESUMABLE_HEADER, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenResult, type ScreenedCandidate, type SearchSource, type SendMessageWithStorageArgs, type SendMessageWithStorageDetachedResult, type SendMessageWithStorageResult, type ServerToolsOptions, type ServerToolsResponse, type SignMessageFn, type StockPriceClassification, type StockPricePreProcessorOptions, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredMessage, type StoredMessageWithSimilarity, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type StreamSmoothingConfig, type SynthesizeProfileOptions, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSkipReason, type TurnCompleteEvent, type TurnSkippedEvent, type UncheckedReason, type UnverifiableReason, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseModelsOptions, type UseModelsResult, VAULT_SIZE_HOP_CAP, type VaultEmbeddingCache, type VaultEmbeddingExpectation, type VaultFolderOperationsContext, type VaultMemoryKind, type VaultMemoryOperationsContext, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, WalletPoller, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, addConversationMemoriesOp, archiveVaultMemoryOp, assembleMemoryContext, attachFileContextToLastUserMessage, backfillMemoryTopicsOp, buildAttachedFilesText, buildNotionAuthUrl, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearConversationMemoriesOp, clearEncryptionKey, clearLazyTitleCache, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createLlmDecayClassifier, createLlmNeighborRefiner, createLocalMemoryStore, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createNotionProxyTools, createNotionTools, createPlatformCursorStore, createRecallTool, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createStockPricePreProcessor, createStreamingDeAnonymizer, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, deleteAllVaultMemoriesForUserOp, deleteMessageOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, deriveKeyFromSignatureBytes, discoverNotionOAuthEndpoints, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, ensureDefaultFoldersOp, exchangeNotionCode, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, formatFileProcessingNotes, generateConversationId, generateEmbedding, generateEmbeddings, generateNotionPKCE, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getCachedServerTools, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getLogger, getMemoriesNeedingTopicExtractionOp, getServerTools, getUnfiledVaultMemoriesOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, hardDeleteDecayedOp, hasEncryptionKey, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, isAttachedFilesText, isDegradedTopicSkip, isEncrypted, isPiiRedactor, isRerankerAvailable, maskScopedEmbeddingCache, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseMedia, preEmbedVaultMemories, quantizeEmbedding, queueManager, rankProfileCandidates, recall, reflect, refreshEncryptionKeyIfMatches, refreshNotionAccessToken, registerNotionClient, relinkMemoryTopicsOp, requestEncryptionKey, resolvePiiRedactor, restoreVaultMemoryOp, resumeStream, retain, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchVaultMemories, seedEncryptionKeys, setLogger, setMemoryVisibilityOp, shouldChunkMessage, shouldRecallMemory, stampTopicsExtractedAtOp, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, traverseGraphLane, ttlForType, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, upsertMessageOp, useChat, useChatStorage, useCredits, useEncryption, useModels, verifyMemoriesForPublish, xhrTransport };
|