@anuma/sdk 10.7.0 → 10.9.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 +336 -167
- package/dist/expo/index.d.mts +193 -151
- package/dist/expo/index.d.ts +193 -151
- package/dist/expo/index.mjs +321 -159
- package/dist/index.cjs +165 -16
- package/dist/index.d.mts +377 -151
- package/dist/index.d.ts +377 -151
- package/dist/index.mjs +158 -16
- package/dist/react/index.cjs +339 -170
- package/dist/react/index.d.mts +193 -151
- package/dist/react/index.d.ts +193 -151
- package/dist/react/index.mjs +324 -162
- package/dist/server/index.d.mts +20 -0
- package/dist/server/index.d.ts +20 -0
- package/package.json +2 -2
package/dist/expo/index.d.mts
CHANGED
|
@@ -3067,6 +3067,159 @@ declare function createWebSearchPreProcessor(options?: WebSearchPreProcessorOpti
|
|
|
3067
3067
|
*/
|
|
3068
3068
|
declare const xhrTransport: StreamingTransport;
|
|
3069
3069
|
|
|
3070
|
+
type ChatRecordKind = "conversation" | "message" | "summary" | "project" | "memory_links" | "setting";
|
|
3071
|
+
type ChatJson = null | boolean | number | string | ChatJson[] | {
|
|
3072
|
+
[key: string]: ChatJson;
|
|
3073
|
+
};
|
|
3074
|
+
/** Whole-record JSON data is encrypted on the device, including all text, vectors and tool events. */
|
|
3075
|
+
interface ChatRecord {
|
|
3076
|
+
kind: ChatRecordKind;
|
|
3077
|
+
id: string;
|
|
3078
|
+
conversationId: string;
|
|
3079
|
+
sortKey: number;
|
|
3080
|
+
createdAt: number;
|
|
3081
|
+
updatedAt: number;
|
|
3082
|
+
isDeleted: boolean;
|
|
3083
|
+
data: {
|
|
3084
|
+
[key: string]: ChatJson;
|
|
3085
|
+
};
|
|
3086
|
+
}
|
|
3087
|
+
interface ChatSnapshot {
|
|
3088
|
+
record: ChatRecord;
|
|
3089
|
+
version: number;
|
|
3090
|
+
serverUpdatedAt: string;
|
|
3091
|
+
}
|
|
3092
|
+
interface ChatWrite {
|
|
3093
|
+
record: ChatRecord;
|
|
3094
|
+
expectedVersion: number;
|
|
3095
|
+
/** Sent and stored unencrypted so vault can run vector search. */
|
|
3096
|
+
embeddings?: number[][];
|
|
3097
|
+
embeddingModel?: string;
|
|
3098
|
+
}
|
|
3099
|
+
interface ChatRef {
|
|
3100
|
+
kind: ChatRecordKind;
|
|
3101
|
+
id: string;
|
|
3102
|
+
}
|
|
3103
|
+
type ChatAccountState = "none" | "migrating" | "active";
|
|
3104
|
+
interface ChatAccount {
|
|
3105
|
+
keyId: string;
|
|
3106
|
+
state: ChatAccountState;
|
|
3107
|
+
recordCount: number;
|
|
3108
|
+
storageBytes: number;
|
|
3109
|
+
vectorCount: number;
|
|
3110
|
+
/** The newest change; read it before loading history and poll `changes` from it. Absent before the first record. */
|
|
3111
|
+
changesCursor?: string;
|
|
3112
|
+
}
|
|
3113
|
+
interface ChatImport {
|
|
3114
|
+
record: ChatRecord;
|
|
3115
|
+
/** Sent and stored unencrypted so vault can run vector search. */
|
|
3116
|
+
embeddings?: number[][];
|
|
3117
|
+
embeddingModel?: string;
|
|
3118
|
+
}
|
|
3119
|
+
interface ChatRevision {
|
|
3120
|
+
kind: ChatRecordKind;
|
|
3121
|
+
id: string;
|
|
3122
|
+
updatedAt: number;
|
|
3123
|
+
isDeleted: boolean;
|
|
3124
|
+
}
|
|
3125
|
+
interface ChatChanges {
|
|
3126
|
+
items: ChatSnapshot[];
|
|
3127
|
+
nextCursor?: string;
|
|
3128
|
+
changesCursor: string;
|
|
3129
|
+
}
|
|
3130
|
+
interface ChatSearchOptions {
|
|
3131
|
+
limit?: number;
|
|
3132
|
+
kinds?: ("message" | "summary")[];
|
|
3133
|
+
conversationId?: string;
|
|
3134
|
+
excludeConversationId?: string;
|
|
3135
|
+
/** Ranks only vectors from this model; vectors stored without one always count. */
|
|
3136
|
+
embeddingModel?: string;
|
|
3137
|
+
signal?: AbortSignal;
|
|
3138
|
+
}
|
|
3139
|
+
interface ChatSearchHit extends ChatSnapshot {
|
|
3140
|
+
chunk: number;
|
|
3141
|
+
score: number;
|
|
3142
|
+
}
|
|
3143
|
+
interface ChatAttachment {
|
|
3144
|
+
id: string;
|
|
3145
|
+
sizeBytes: number;
|
|
3146
|
+
state: "pending" | "committed";
|
|
3147
|
+
ownerKind?: "message" | "summary";
|
|
3148
|
+
ownerId?: string;
|
|
3149
|
+
createdAt: string;
|
|
3150
|
+
committedAt?: string;
|
|
3151
|
+
}
|
|
3152
|
+
interface ChatPresignedUrl {
|
|
3153
|
+
url: string;
|
|
3154
|
+
method: string;
|
|
3155
|
+
headers: Record<string, string>;
|
|
3156
|
+
expiresAt: string;
|
|
3157
|
+
}
|
|
3158
|
+
interface ChatAttachments {
|
|
3159
|
+
create(sizeBytes: number, signal?: AbortSignal): Promise<{
|
|
3160
|
+
attachment: ChatAttachment;
|
|
3161
|
+
upload: ChatPresignedUrl;
|
|
3162
|
+
}>;
|
|
3163
|
+
commit(attachmentId: string, owner: {
|
|
3164
|
+
kind: "message" | "summary";
|
|
3165
|
+
id: string;
|
|
3166
|
+
}, signal?: AbortSignal): Promise<ChatAttachment>;
|
|
3167
|
+
get(attachmentId: string, signal?: AbortSignal): Promise<{
|
|
3168
|
+
attachment: ChatAttachment;
|
|
3169
|
+
download?: ChatPresignedUrl;
|
|
3170
|
+
} | null>;
|
|
3171
|
+
delete(attachmentId: string, signal?: AbortSignal): Promise<void>;
|
|
3172
|
+
}
|
|
3173
|
+
interface ChatListOptions {
|
|
3174
|
+
kind: ChatRecordKind;
|
|
3175
|
+
conversationId?: string;
|
|
3176
|
+
includeDeleted?: boolean;
|
|
3177
|
+
cursor?: string;
|
|
3178
|
+
limit?: number;
|
|
3179
|
+
signal?: AbortSignal;
|
|
3180
|
+
}
|
|
3181
|
+
interface ChatPage {
|
|
3182
|
+
items: ChatSnapshot[];
|
|
3183
|
+
nextCursor?: string;
|
|
3184
|
+
total?: number;
|
|
3185
|
+
}
|
|
3186
|
+
/** Explicit versions protect edits; ambiguous writes are never replayed automatically. */
|
|
3187
|
+
interface ChatStore {
|
|
3188
|
+
get(kind: ChatRecordKind, id: string, signal?: AbortSignal): Promise<ChatSnapshot | null>;
|
|
3189
|
+
list(options: ChatListOptions): Promise<ChatPage>;
|
|
3190
|
+
putMany(writes: readonly ChatWrite[], signal?: AbortSignal): Promise<ChatSnapshot[]>;
|
|
3191
|
+
getMany(refs: readonly ChatRef[], signal?: AbortSignal): Promise<ChatSnapshot[]>;
|
|
3192
|
+
account(signal?: AbortSignal): Promise<ChatAccount>;
|
|
3193
|
+
importRecords(records: readonly ChatImport[], signal?: AbortSignal): Promise<number>;
|
|
3194
|
+
verify(revisions: readonly ChatRevision[], signal?: AbortSignal): Promise<ChatRef[]>;
|
|
3195
|
+
activate(signal?: AbortSignal): Promise<boolean>;
|
|
3196
|
+
/** Without `kinds`, vault returns every kind except `setting`. */
|
|
3197
|
+
changes(cursor?: string, options?: {
|
|
3198
|
+
limit?: number;
|
|
3199
|
+
kinds?: readonly ChatRecordKind[];
|
|
3200
|
+
signal?: AbortSignal;
|
|
3201
|
+
}): Promise<ChatChanges>;
|
|
3202
|
+
search(embedding: readonly number[], options?: ChatSearchOptions): Promise<ChatSearchHit[]>;
|
|
3203
|
+
deleteAll(signal?: AbortSignal): Promise<number>;
|
|
3204
|
+
attachments: ChatAttachments;
|
|
3205
|
+
}
|
|
3206
|
+
interface RemoteChatStoreOptions {
|
|
3207
|
+
baseUrl: string;
|
|
3208
|
+
getToken: () => Promise<string | null>;
|
|
3209
|
+
keyId: string;
|
|
3210
|
+
encrypt: (plaintext: string) => Promise<string>;
|
|
3211
|
+
decrypt: (ciphertext: string) => Promise<string>;
|
|
3212
|
+
fetch?: typeof globalThis.fetch;
|
|
3213
|
+
timeoutMs?: number;
|
|
3214
|
+
signal?: AbortSignal;
|
|
3215
|
+
}
|
|
3216
|
+
declare class ChatStoreError extends Error {
|
|
3217
|
+
readonly status: number;
|
|
3218
|
+
readonly code?: string | undefined;
|
|
3219
|
+
readonly retryAfterMs?: number | undefined;
|
|
3220
|
+
constructor(message: string, status: number, code?: string | undefined, retryAfterMs?: number | undefined);
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3070
3223
|
declare class VaultMemory extends Model {
|
|
3071
3224
|
static table: string;
|
|
3072
3225
|
content: string;
|
|
@@ -7340,6 +7493,14 @@ type MessageFeedback = "like" | "dislike" | null;
|
|
|
7340
7493
|
* would fail open.
|
|
7341
7494
|
*/
|
|
7342
7495
|
type MessageOrigin = "tool_result" | "chunks_discarded" | "message";
|
|
7496
|
+
/** Why an Anuma 1:1 turn exists: a daily intro or a reply to the user. */
|
|
7497
|
+
type AnumaTurnOrigin = "intro" | "reply";
|
|
7498
|
+
/** One Anuma 1:1 turn: 1-3 ordered bubbles sealed inside the message payload. */
|
|
7499
|
+
interface AnumaTurn {
|
|
7500
|
+
turnId: string;
|
|
7501
|
+
bubbles?: string[];
|
|
7502
|
+
origin?: AnumaTurnOrigin;
|
|
7503
|
+
}
|
|
7343
7504
|
/**
|
|
7344
7505
|
* Metadata for files attached to messages.
|
|
7345
7506
|
*
|
|
@@ -7508,6 +7669,8 @@ interface StoredMessage {
|
|
|
7508
7669
|
toolCallEvents?: LlmapiToolCallEvent[];
|
|
7509
7670
|
/** Provenance for synthetic rows; undefined for typed messages and pre-v44 rows */
|
|
7510
7671
|
origin?: MessageOrigin;
|
|
7672
|
+
/** Anuma 1:1 turn fields; only vault chat backends store them. */
|
|
7673
|
+
anuma?: AnumaTurn;
|
|
7511
7674
|
/**
|
|
7512
7675
|
* Set when `content` could not be decrypted on read (#561).
|
|
7513
7676
|
* The `content` field still holds the original ciphertext — never a
|
|
@@ -7537,6 +7700,10 @@ interface StoredConversation {
|
|
|
7537
7700
|
/** When the conversation was pinned to the top of the list; null/unset = not pinned.
|
|
7538
7701
|
* `null` (not `undefined`) at runtime for unpinned rows — mirrors the model field. */
|
|
7539
7702
|
pinnedAt?: Date | null;
|
|
7703
|
+
/** Per-conversation app state kept with the conversation in vault, keyed by the app; absent on local storage. */
|
|
7704
|
+
context?: {
|
|
7705
|
+
[key: string]: ChatJson;
|
|
7706
|
+
};
|
|
7540
7707
|
}
|
|
7541
7708
|
/**
|
|
7542
7709
|
* Lazy variant of {@link StoredConversation}.
|
|
@@ -7679,6 +7846,8 @@ interface CreateMessageOptions {
|
|
|
7679
7846
|
toolCallEvents?: LlmapiToolCallEvent[];
|
|
7680
7847
|
/** Provenance for synthetic rows; set by the producer, never by user input */
|
|
7681
7848
|
origin?: MessageOrigin;
|
|
7849
|
+
/** Anuma 1:1 turn fields; only vault chat backends store them. */
|
|
7850
|
+
anuma?: AnumaTurn;
|
|
7682
7851
|
/**
|
|
7683
7852
|
* Optional pre-generated unique ID for this message.
|
|
7684
7853
|
* When provided, used as the WatermelonDB record ID instead of auto-generating one.
|
|
@@ -8275,158 +8444,27 @@ interface BaseUseChatStorageResult {
|
|
|
8275
8444
|
}
|
|
8276
8445
|
declare function generateConversationId(): string;
|
|
8277
8446
|
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
isDeleted: boolean;
|
|
8291
|
-
data: {
|
|
8292
|
-
[key: string]: ChatJson;
|
|
8293
|
-
};
|
|
8294
|
-
}
|
|
8295
|
-
interface ChatSnapshot {
|
|
8296
|
-
record: ChatRecord;
|
|
8297
|
-
version: number;
|
|
8298
|
-
serverUpdatedAt: string;
|
|
8299
|
-
}
|
|
8300
|
-
interface ChatWrite {
|
|
8301
|
-
record: ChatRecord;
|
|
8302
|
-
expectedVersion: number;
|
|
8303
|
-
/** Sent and stored unencrypted so vault can run vector search. */
|
|
8304
|
-
embeddings?: number[][];
|
|
8305
|
-
embeddingModel?: string;
|
|
8306
|
-
}
|
|
8307
|
-
interface ChatRef {
|
|
8308
|
-
kind: ChatRecordKind;
|
|
8309
|
-
id: string;
|
|
8310
|
-
}
|
|
8311
|
-
type ChatAccountState = "none" | "migrating" | "active";
|
|
8312
|
-
interface ChatAccount {
|
|
8313
|
-
keyId: string;
|
|
8314
|
-
state: ChatAccountState;
|
|
8315
|
-
recordCount: number;
|
|
8316
|
-
storageBytes: number;
|
|
8317
|
-
vectorCount: number;
|
|
8318
|
-
/** The newest change; read it before loading history and poll `changes` from it. Absent before the first record. */
|
|
8319
|
-
changesCursor?: string;
|
|
8320
|
-
}
|
|
8321
|
-
interface ChatImport {
|
|
8322
|
-
record: ChatRecord;
|
|
8323
|
-
/** Sent and stored unencrypted so vault can run vector search. */
|
|
8324
|
-
embeddings?: number[][];
|
|
8325
|
-
embeddingModel?: string;
|
|
8326
|
-
}
|
|
8327
|
-
interface ChatRevision {
|
|
8328
|
-
kind: ChatRecordKind;
|
|
8329
|
-
id: string;
|
|
8330
|
-
updatedAt: number;
|
|
8331
|
-
isDeleted: boolean;
|
|
8332
|
-
}
|
|
8333
|
-
interface ChatChanges {
|
|
8334
|
-
items: ChatSnapshot[];
|
|
8335
|
-
nextCursor?: string;
|
|
8336
|
-
changesCursor: string;
|
|
8337
|
-
}
|
|
8338
|
-
interface ChatSearchOptions {
|
|
8339
|
-
limit?: number;
|
|
8340
|
-
kinds?: ("message" | "summary")[];
|
|
8341
|
-
conversationId?: string;
|
|
8342
|
-
excludeConversationId?: string;
|
|
8343
|
-
/** Ranks only vectors from this model; vectors stored without one always count. */
|
|
8344
|
-
embeddingModel?: string;
|
|
8345
|
-
signal?: AbortSignal;
|
|
8346
|
-
}
|
|
8347
|
-
interface ChatSearchHit extends ChatSnapshot {
|
|
8348
|
-
chunk: number;
|
|
8349
|
-
score: number;
|
|
8350
|
-
}
|
|
8351
|
-
interface ChatAttachment {
|
|
8352
|
-
id: string;
|
|
8353
|
-
sizeBytes: number;
|
|
8354
|
-
state: "pending" | "committed";
|
|
8355
|
-
ownerKind?: "message" | "summary";
|
|
8356
|
-
ownerId?: string;
|
|
8357
|
-
createdAt: string;
|
|
8358
|
-
committedAt?: string;
|
|
8359
|
-
}
|
|
8360
|
-
interface ChatPresignedUrl {
|
|
8361
|
-
url: string;
|
|
8362
|
-
method: string;
|
|
8363
|
-
headers: Record<string, string>;
|
|
8364
|
-
expiresAt: string;
|
|
8365
|
-
}
|
|
8366
|
-
interface ChatAttachments {
|
|
8367
|
-
create(sizeBytes: number, signal?: AbortSignal): Promise<{
|
|
8368
|
-
attachment: ChatAttachment;
|
|
8369
|
-
upload: ChatPresignedUrl;
|
|
8370
|
-
}>;
|
|
8371
|
-
commit(attachmentId: string, owner: {
|
|
8372
|
-
kind: "message" | "summary";
|
|
8373
|
-
id: string;
|
|
8374
|
-
}, signal?: AbortSignal): Promise<ChatAttachment>;
|
|
8375
|
-
get(attachmentId: string, signal?: AbortSignal): Promise<{
|
|
8376
|
-
attachment: ChatAttachment;
|
|
8377
|
-
download?: ChatPresignedUrl;
|
|
8378
|
-
} | null>;
|
|
8379
|
-
delete(attachmentId: string, signal?: AbortSignal): Promise<void>;
|
|
8380
|
-
}
|
|
8381
|
-
interface ChatListOptions {
|
|
8382
|
-
kind: ChatRecordKind;
|
|
8383
|
-
conversationId?: string;
|
|
8384
|
-
includeDeleted?: boolean;
|
|
8385
|
-
cursor?: string;
|
|
8386
|
-
limit?: number;
|
|
8447
|
+
/** Returns `value` as an {@link AnumaTurn} when it is one, otherwise `undefined`. */
|
|
8448
|
+
declare function readAnumaTurn(value: unknown): AnumaTurn | undefined;
|
|
8449
|
+
|
|
8450
|
+
/** The one vault conversation that holds the user's Anuma 1:1 chat. */
|
|
8451
|
+
declare const ANUMA_CONVERSATION_ID = "anuma-1on1";
|
|
8452
|
+
/** The message text for a turn's bubbles, so readers that ignore bubbles still see every line. */
|
|
8453
|
+
declare function anumaTurnContent(bubbles: readonly string[]): string;
|
|
8454
|
+
/** The highest message sort key the user has read in the Anuma chat; 0 before anything was read. */
|
|
8455
|
+
declare function anumaLastReadSortKey(conversation: ChatRecord | ChatSnapshot | null): number;
|
|
8456
|
+
/** Reads the Anuma conversation, creating it on first use; a device that loses the creation race reads the winner's record. */
|
|
8457
|
+
declare function ensureAnumaConversation(store: ChatStore, options?: {
|
|
8458
|
+
now?: () => number;
|
|
8387
8459
|
signal?: AbortSignal;
|
|
8388
|
-
}
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
total?: number;
|
|
8393
|
-
}
|
|
8394
|
-
/** Explicit versions protect edits; ambiguous writes are never replayed automatically. */
|
|
8395
|
-
interface ChatStore {
|
|
8396
|
-
get(kind: ChatRecordKind, id: string, signal?: AbortSignal): Promise<ChatSnapshot | null>;
|
|
8397
|
-
list(options: ChatListOptions): Promise<ChatPage>;
|
|
8398
|
-
putMany(writes: readonly ChatWrite[], signal?: AbortSignal): Promise<ChatSnapshot[]>;
|
|
8399
|
-
getMany(refs: readonly ChatRef[], signal?: AbortSignal): Promise<ChatSnapshot[]>;
|
|
8400
|
-
account(signal?: AbortSignal): Promise<ChatAccount>;
|
|
8401
|
-
importRecords(records: readonly ChatImport[], signal?: AbortSignal): Promise<number>;
|
|
8402
|
-
verify(revisions: readonly ChatRevision[], signal?: AbortSignal): Promise<ChatRef[]>;
|
|
8403
|
-
activate(signal?: AbortSignal): Promise<boolean>;
|
|
8404
|
-
/** Without `kinds`, vault returns every kind except `setting`. */
|
|
8405
|
-
changes(cursor?: string, options?: {
|
|
8406
|
-
limit?: number;
|
|
8407
|
-
kinds?: readonly ChatRecordKind[];
|
|
8408
|
-
signal?: AbortSignal;
|
|
8409
|
-
}): Promise<ChatChanges>;
|
|
8410
|
-
search(embedding: readonly number[], options?: ChatSearchOptions): Promise<ChatSearchHit[]>;
|
|
8411
|
-
deleteAll(signal?: AbortSignal): Promise<number>;
|
|
8412
|
-
attachments: ChatAttachments;
|
|
8413
|
-
}
|
|
8414
|
-
interface RemoteChatStoreOptions {
|
|
8415
|
-
baseUrl: string;
|
|
8416
|
-
getToken: () => Promise<string | null>;
|
|
8417
|
-
keyId: string;
|
|
8418
|
-
encrypt: (plaintext: string) => Promise<string>;
|
|
8419
|
-
decrypt: (ciphertext: string) => Promise<string>;
|
|
8420
|
-
fetch?: typeof globalThis.fetch;
|
|
8421
|
-
timeoutMs?: number;
|
|
8460
|
+
}): Promise<ChatSnapshot>;
|
|
8461
|
+
/** Moves the read marker up to `sortKey`; it never moves down, and a concurrent write is re-read and re-applied. */
|
|
8462
|
+
declare function markAnumaRead(store: ChatStore, sortKey: number, options?: {
|
|
8463
|
+
now?: () => number;
|
|
8422
8464
|
signal?: AbortSignal;
|
|
8423
|
-
}
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
readonly code?: string | undefined;
|
|
8427
|
-
readonly retryAfterMs?: number | undefined;
|
|
8428
|
-
constructor(message: string, status: number, code?: string | undefined, retryAfterMs?: number | undefined);
|
|
8429
|
-
}
|
|
8465
|
+
}): Promise<ChatSnapshot>;
|
|
8466
|
+
/** Counts Anuma turns the user has not read: assistant turns above both the read marker and the user's latest message. */
|
|
8467
|
+
declare function countUnreadAnumaTurns(messages: readonly Pick<StoredMessage, "messageId" | "role" | "anuma" | "uniqueId">[], lastReadSortKey: number): number;
|
|
8430
8468
|
|
|
8431
8469
|
interface ChatMigrationOptions {
|
|
8432
8470
|
/** The device's local chat database. */
|
|
@@ -8693,6 +8731,10 @@ interface VaultChatBackend extends ChatBackend {
|
|
|
8693
8731
|
conversations: number;
|
|
8694
8732
|
messages: number;
|
|
8695
8733
|
}>;
|
|
8734
|
+
/** Sets keys of a conversation's app context, each saved on its own so devices editing different keys keep both; `null` clears a key. */
|
|
8735
|
+
updateConversationContext(conversationId: string, context: {
|
|
8736
|
+
[key: string]: ChatJson | null;
|
|
8737
|
+
}): Promise<boolean>;
|
|
8696
8738
|
status(): {
|
|
8697
8739
|
pending: number;
|
|
8698
8740
|
stopped?: string;
|
|
@@ -12328,4 +12370,4 @@ interface UseChatStorageResult extends BaseUseChatStorageResult {
|
|
|
12328
12370
|
*/
|
|
12329
12371
|
declare function useChatStorage(options: UseChatStorageOptions): UseChatStorageResult;
|
|
12330
12372
|
|
|
12331
|
-
export { type AutoExtractMessage, type AutoExtractor, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, type ChatAccount, type ChatAccountState, type ChatAttachment, type ChatAttachments, type ChatBackend, type ChatBackendFactory, type ChatBackendSigner, type ChatCacheStorage, type ChatChanges, type ChatChunkSearchOptions, Conversation as ChatConversation, type ChatImport, type ChatJson, type ChatListOptions, Message as ChatMessage, type ChatMigrationOptions, type ChatMigrationProgress, type ChatMigrationResult, type ChatMigrationSkip, type ChatOutboxLocks, type ChatOutboxStorage, type ChatPage, type ChatPresignedUrl, type ChatRecord, type ChatRecordKind, type ChatRef, type ChatRevision, type ChatRole, type ChatSearchHit, type ChatSearchOptions, type ChatSnapshot, type ChatStore, ChatStoreError, type ChatWrite, type ChunkSearchStats, type ChunkVectorCache, type ChunkingOptions, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateMessageOptions, type CreateSelectPaymentWalletToolOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CreateWalletPaymentToolOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_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, type EmbeddingRepairOptions, type EmbeddingRepairResult, EncryptionKeyMissingError, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionMessageSource, type ExtractionSourceMessage, type ExtractionSourceStatus, 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 LocalMessageAttachment, 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 MemoryCounts, type MemoryCreate, type MemoryDecay, type MemoryDecaySweeperOptions, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, type MemoryExtractedEvent, MemoryKeyError, type MemoryKeyRing, type MemoryKind, type MemoryLevel, MemoryLevelError, type MemoryListOptions, type MemoryMaintenance, type MemoryMigrationOptions, type MemoryMigrationProgress, type MemoryMigrationResult, type MemoryMigrationSkip, type MemoryQuarantinedEvent, type MemoryRecallOptions, type MemoryRetainOptions, type MemoryStore, type MemorySubscribeOptions, type MemoryToVerify, type MemoryTopic, type MemoryTopicBacklog, type MemoryTopicMaintenance, type MemoryUpdate, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageAttachmentMigrationOptions, type MessageAttachmentMigrationResult, type 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 PaymentWallet, 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 RecallTelemetryCallbacks, type RecallToolCallbacks, type RecallToolOptions, type RecallTruncation, type RecencyOptions, type RedactionResult, type ReflectOptions, type ReflectResult, type RemoteChatStoreOptions, type RemoteMemoryCandidateOptions, type RemoteMemoryDecodeFailure, RemoteMemoryError, type RemoteMemoryListOptions, type RemoteMemoryMetadataPage, type RemoteMemoryMetadataRecord, type RemoteMemoryPage, RemoteMemoryPartialCreateError, type RemoteMemoryPersistence, type RemoteMemoryPersistenceOptions, type RemoteMemoryPipeline, type RemoteMemoryPipelineOptions, type RemoteMemoryQueryOptions, type RemoteMemoryQueryPage, type RemoteMemoryReadFilters, type RemoteMemoryRecord, type RemoteMemoryRow, type RemoteMemoryStoreOptions, type RemoteMemoryTopic, type RemoteMemoryWorkKind, type RemoteMemoryWorkLease, type RemoteMemoryWorkPersistence, type RemoteTopicPersistence, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ReservationReceipt, type ResumeStreamOptions, type ResumeStreamResult, type ResumeStreamWithStorageResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SELECT_PAYMENT_WALLET_TOOL_NAME, SHORT_TTL_MS, STREAM_RESUMABLE_HEADER, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenResult, type ScreenedCandidate, type SearchSource, type SelectPaymentWalletResult, type SendMessageWithStorageArgs, type SendMessageWithStorageDetachedResult, type SendMessageWithStorageResult, type ServerToolsOptions, type ServerToolsResponse, type Setting, type SignMessageFn, type StockPriceClassification, type StockPricePreProcessorOptions, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredMessage, type StoredMessageWithSimilarity, type StoredTopic, 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, TOPIC_SALIENCE_WEIGHTS, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, type TopicExtractOptions, type TopicExtractionBatchDiagnostics, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSalience, 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 VaultAttachmentCache, type VaultAttachmentJournal, type VaultAttachmentOwner, type VaultAttachmentRef, type VaultAttachmentUploadOptions, type VaultAttachments, type VaultAttachmentsOptions, type VaultChatActivity, type VaultChatBackend, type VaultChatBackendOptions, type VaultChatEvent, type VaultEmbeddingCache, type VaultEmbeddingExpectation, type VaultFolderOperationsContext, type VaultMemoryKind, type VaultMemoryOperationsContext, type VaultMemoryProjection, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, WALLET_PAYMENT_TOOL_NAME, type WalletPaymentOutcome, type WalletPaymentPassenger, type WalletPaymentRequest, type WalletPaymentResult, WalletPoller, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WriteFailureReason, 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, clearModelsCache, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createLlmDecayClassifier, createLlmNeighborRefiner, createLocalMemoryStore, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createNotionProxyTools, createNotionTools, createPlatformCursorStore, createRecallTool, createRemoteChatStore, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createRemoteMemoryStore, createSelectPaymentWalletTool, createStockPricePreProcessor, createStreamingDeAnonymizer, createVaultAttachments, createVaultChatBackend, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWalletPaymentTool, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptMessageEmbeddingFields, deleteAllVaultMemoriesForUserOp, deleteMessageOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, deriveKeyFromSignatureBytes, deriveMemoryKeyRing, discoverNotionOAuthEndpoints, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptToolCallEventsOp, ensureDefaultFoldersOp, exchangeNotionCode, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractReservationReceipts, 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, loadSettings, localChatBackend, maskScopedEmbeddingCache, maxVaultAttachmentBytes, memoryCipher, migrateChatsToRemote, migrateMemoriesToRemote, migrateMessageAttachments, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseMedia, preEmbedVaultMemories, primaryTopic, quantizeEmbedding, queueManager, rankProfileCandidates, recall, reencryptMemoryField, reflect, refreshEncryptionKeyIfMatches, refreshNotionAccessToken, registerNotionClient, relinkMemoryTopicsOp, requestEncryptionKey, resolvePiiRedactor, restoreVaultMemoryOp, resumeStream, retain, saveSetting, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, sealLegacyMessageEmbeddingsOp, searchVaultMemories, seedEncryptionKeys, setLogger, setMemoryVisibilityOp, shouldChunkMessage, shouldRecallMemory, stampTopicsExtractedAtOp, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, topicWeight, traverseGraphLane, ttlForType, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, upsertMessageOp, useChat, useChatStorage, useCredits, useEncryption, useModels, vaultAttachmentRefs, vaultChatBackend, verifyMemoriesForPublish, xhrTransport };
|
|
12373
|
+
export { ANUMA_CONVERSATION_ID, type AnumaTurn, type AnumaTurnOrigin, type AutoExtractMessage, type AutoExtractor, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, type ChatAccount, type ChatAccountState, type ChatAttachment, type ChatAttachments, type ChatBackend, type ChatBackendFactory, type ChatBackendSigner, type ChatCacheStorage, type ChatChanges, type ChatChunkSearchOptions, Conversation as ChatConversation, type ChatImport, type ChatJson, type ChatListOptions, Message as ChatMessage, type ChatMigrationOptions, type ChatMigrationProgress, type ChatMigrationResult, type ChatMigrationSkip, type ChatOutboxLocks, type ChatOutboxStorage, type ChatPage, type ChatPresignedUrl, type ChatRecord, type ChatRecordKind, type ChatRef, type ChatRevision, type ChatRole, type ChatSearchHit, type ChatSearchOptions, type ChatSnapshot, type ChatStore, ChatStoreError, type ChatWrite, type ChunkSearchStats, type ChunkVectorCache, type ChunkingOptions, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateMessageOptions, type CreateSelectPaymentWalletToolOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CreateWalletPaymentToolOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_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, type EmbeddingRepairOptions, type EmbeddingRepairResult, EncryptionKeyMissingError, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionMessageSource, type ExtractionSourceMessage, type ExtractionSourceStatus, 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 LocalMessageAttachment, 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 MemoryCounts, type MemoryCreate, type MemoryDecay, type MemoryDecaySweeperOptions, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, type MemoryExtractedEvent, MemoryKeyError, type MemoryKeyRing, type MemoryKind, type MemoryLevel, MemoryLevelError, type MemoryListOptions, type MemoryMaintenance, type MemoryMigrationOptions, type MemoryMigrationProgress, type MemoryMigrationResult, type MemoryMigrationSkip, type MemoryQuarantinedEvent, type MemoryRecallOptions, type MemoryRetainOptions, type MemoryStore, type MemorySubscribeOptions, type MemoryToVerify, type MemoryTopic, type MemoryTopicBacklog, type MemoryTopicMaintenance, type MemoryUpdate, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MemoryVerification, type MessageAttachmentMigrationOptions, type MessageAttachmentMigrationResult, type 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 PaymentWallet, 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 RecallTelemetryCallbacks, type RecallToolCallbacks, type RecallToolOptions, type RecallTruncation, type RecencyOptions, type RedactionResult, type ReflectOptions, type ReflectResult, type RemoteChatStoreOptions, type RemoteMemoryCandidateOptions, type RemoteMemoryDecodeFailure, RemoteMemoryError, type RemoteMemoryListOptions, type RemoteMemoryMetadataPage, type RemoteMemoryMetadataRecord, type RemoteMemoryPage, RemoteMemoryPartialCreateError, type RemoteMemoryPersistence, type RemoteMemoryPersistenceOptions, type RemoteMemoryPipeline, type RemoteMemoryPipelineOptions, type RemoteMemoryQueryOptions, type RemoteMemoryQueryPage, type RemoteMemoryReadFilters, type RemoteMemoryRecord, type RemoteMemoryRow, type RemoteMemoryStoreOptions, type RemoteMemoryTopic, type RemoteMemoryWorkKind, type RemoteMemoryWorkLease, type RemoteMemoryWorkPersistence, type RemoteTopicPersistence, type RequestEncryptionKeyOptions, RerankerUnavailableError, type ReservationReceipt, type ResumeStreamOptions, type ResumeStreamResult, type ResumeStreamWithStorageResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SELECT_PAYMENT_WALLET_TOOL_NAME, SHORT_TTL_MS, STREAM_RESUMABLE_HEADER, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenResult, type ScreenedCandidate, type SearchSource, type SelectPaymentWalletResult, type SendMessageWithStorageArgs, type SendMessageWithStorageDetachedResult, type SendMessageWithStorageResult, type ServerToolsOptions, type ServerToolsResponse, type Setting, type SignMessageFn, type StockPriceClassification, type StockPricePreProcessorOptions, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredMessage, type StoredMessageWithSimilarity, type StoredTopic, 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, TOPIC_SALIENCE_WEIGHTS, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, type TopicExtractOptions, type TopicExtractionBatchDiagnostics, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSalience, 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 VaultAttachmentCache, type VaultAttachmentJournal, type VaultAttachmentOwner, type VaultAttachmentRef, type VaultAttachmentUploadOptions, type VaultAttachments, type VaultAttachmentsOptions, type VaultChatActivity, type VaultChatBackend, type VaultChatBackendOptions, type VaultChatEvent, type VaultEmbeddingCache, type VaultEmbeddingExpectation, type VaultFolderOperationsContext, type VaultMemoryKind, type VaultMemoryOperationsContext, type VaultMemoryProjection, type VaultMemoryVisibility, type VaultMemoryWriter, type VaultSaveOperation, type VaultSearchResult, type VaultWriteAction, type VaultWriteInput, type VaultWriteOutcome, type VerificationSources, type VerifyMemoriesForPublishOptions, WALLET_PAYMENT_TOOL_NAME, type WalletPaymentOutcome, type WalletPaymentPassenger, type WalletPaymentRequest, type WalletPaymentResult, WalletPoller, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WriteFailureReason, addConversationMemoriesOp, anumaLastReadSortKey, anumaTurnContent, 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, clearModelsCache, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, countUnreadAnumaTurns, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createLlmDecayClassifier, createLlmNeighborRefiner, createLocalMemoryStore, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createNotionProxyTools, createNotionTools, createPlatformCursorStore, createRecallTool, createRemoteChatStore, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createRemoteMemoryStore, createSelectPaymentWalletTool, createStockPricePreProcessor, createStreamingDeAnonymizer, createVaultAttachments, createVaultChatBackend, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWalletPaymentTool, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptMessageEmbeddingFields, deleteAllVaultMemoriesForUserOp, deleteMessageOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, deriveKeyFromSignatureBytes, deriveMemoryKeyRing, discoverNotionOAuthEndpoints, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptToolCallEventsOp, ensureAnumaConversation, ensureDefaultFoldersOp, exchangeNotionCode, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractReservationReceipts, 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, loadSettings, localChatBackend, markAnumaRead, maskScopedEmbeddingCache, maxVaultAttachmentBytes, memoryCipher, migrateChatsToRemote, migrateMemoriesToRemote, migrateMessageAttachments, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseMedia, preEmbedVaultMemories, primaryTopic, quantizeEmbedding, queueManager, rankProfileCandidates, readAnumaTurn, recall, reencryptMemoryField, reflect, refreshEncryptionKeyIfMatches, refreshNotionAccessToken, registerNotionClient, relinkMemoryTopicsOp, requestEncryptionKey, resolvePiiRedactor, restoreVaultMemoryOp, resumeStream, retain, saveSetting, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, sealLegacyMessageEmbeddingsOp, searchVaultMemories, seedEncryptionKeys, setLogger, setMemoryVisibilityOp, shouldChunkMessage, shouldRecallMemory, stampTopicsExtractedAtOp, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, topicWeight, traverseGraphLane, ttlForType, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, upsertMessageOp, useChat, useChatStorage, useCredits, useEncryption, useModels, vaultAttachmentRefs, vaultChatBackend, verifyMemoriesForPublish, xhrTransport };
|