@anuma/sdk 10.4.3 → 10.5.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 +74 -8
- package/dist/expo/index.d.mts +20 -2
- package/dist/expo/index.d.ts +20 -2
- package/dist/expo/index.mjs +72 -8
- package/dist/index.cjs +69 -4
- package/dist/index.d.mts +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.mjs +67 -4
- package/dist/react/index.cjs +129 -47
- package/dist/react/index.d.mts +20 -2
- package/dist/react/index.d.ts +20 -2
- package/dist/react/index.mjs +127 -47
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -1736,6 +1736,7 @@ __export(index_exports, {
|
|
|
1736
1736
|
isSupportedFile: () => isSupportedFile,
|
|
1737
1737
|
isSupportedMediaType: () => isSupportedMediaType,
|
|
1738
1738
|
linkMemoryEntitiesOp: () => linkMemoryEntitiesOp,
|
|
1739
|
+
loadSettings: () => loadSettings,
|
|
1739
1740
|
localChatBackend: () => localChatBackend,
|
|
1740
1741
|
maskScopedEmbeddingCache: () => maskScopedEmbeddingCache,
|
|
1741
1742
|
maxVaultAttachmentBytes: () => maxVaultAttachmentBytes,
|
|
@@ -1783,6 +1784,7 @@ __export(index_exports, {
|
|
|
1783
1784
|
resumeStream: () => resumeStream,
|
|
1784
1785
|
retain: () => retain,
|
|
1785
1786
|
revokeNotionAccess: () => revokeNotionAccess,
|
|
1787
|
+
saveSetting: () => saveSetting,
|
|
1786
1788
|
savedToolToStored: () => savedToolToStored,
|
|
1787
1789
|
scoreProfileSalience: () => scoreProfileSalience,
|
|
1788
1790
|
screenCandidatesForInjection: () => screenCandidatesForInjection,
|
|
@@ -13497,7 +13499,7 @@ var ChatStoreError = class extends Error {
|
|
|
13497
13499
|
};
|
|
13498
13500
|
|
|
13499
13501
|
// src/lib/chatStore/remote.ts
|
|
13500
|
-
var kinds = /* @__PURE__ */ new Set(["conversation", "message", "summary", "project", "memory_links"]);
|
|
13502
|
+
var kinds = /* @__PURE__ */ new Set(["conversation", "message", "summary", "project", "memory_links", "setting"]);
|
|
13501
13503
|
var cipherPattern = /^enc:v\d+:(?:[0-9a-f]{2}){28,}$/i;
|
|
13502
13504
|
var maxPayload = 2 * 1024 * 1024;
|
|
13503
13505
|
var storedDims2 = 1536;
|
|
@@ -13553,9 +13555,12 @@ function validRecord(value) {
|
|
|
13553
13555
|
(key3) => ![...metadata, "data"].includes(key3)
|
|
13554
13556
|
))
|
|
13555
13557
|
return false;
|
|
13556
|
-
const root = value.kind
|
|
13558
|
+
const root = rootKind(value.kind);
|
|
13557
13559
|
return root ? value.conversationId === "" : id(value.conversationId);
|
|
13558
13560
|
}
|
|
13561
|
+
function rootKind(kind) {
|
|
13562
|
+
return kind === "conversation" || kind === "project" || kind === "setting";
|
|
13563
|
+
}
|
|
13559
13564
|
function embeddings(write) {
|
|
13560
13565
|
if (write.embeddings === void 0) return true;
|
|
13561
13566
|
return Array.isArray(write.embeddings) && !write.record.isDeleted && (write.record.kind === "message" || write.record.kind === "summary") && write.embeddings.length <= maxChunksPerRecord && (write.embeddingModel === void 0 || typeof write.embeddingModel === "string" && write.embeddingModel.length <= 256) && Array.from({ length: write.embeddings.length }, (_, i) => i).every(
|
|
@@ -13763,7 +13768,7 @@ async function createRemoteChatStore(options) {
|
|
|
13763
13768
|
async list(query) {
|
|
13764
13769
|
const limit = query.limit ?? 20;
|
|
13765
13770
|
const parent = query.conversationId ?? "";
|
|
13766
|
-
if (!kinds.has(query.kind) || !integer(limit, 1) || query.includeDeleted !== void 0 && typeof query.includeDeleted !== "boolean" || limit > 200 || (query.cursor?.length ?? 0) > 2048 || (query.kind
|
|
13771
|
+
if (!kinds.has(query.kind) || !integer(limit, 1) || query.includeDeleted !== void 0 && typeof query.includeDeleted !== "boolean" || limit > 200 || (query.cursor?.length ?? 0) > 2048 || (rootKind(query.kind) ? parent !== "" : !id(parent)))
|
|
13767
13772
|
invalid();
|
|
13768
13773
|
const params = new URLSearchParams({
|
|
13769
13774
|
account_id: String(accountId),
|
|
@@ -13906,10 +13911,12 @@ async function createRemoteChatStore(options) {
|
|
|
13906
13911
|
},
|
|
13907
13912
|
async changes(cursor, options2) {
|
|
13908
13913
|
const limit = options2?.limit ?? 100;
|
|
13909
|
-
|
|
13914
|
+
const kindsFilter = options2?.kinds;
|
|
13915
|
+
if (!integer(limit, 1) || limit > 200 || cursor !== void 0 && (!text5(cursor) || cursor.length > 2048) || kindsFilter !== void 0 && (!Array.isArray(kindsFilter) || kindsFilter.length === 0 || new Set(kindsFilter).size !== kindsFilter.length || kindsFilter.some((k) => !kinds.has(k))))
|
|
13910
13916
|
invalid();
|
|
13911
13917
|
const params = new URLSearchParams({ account_id: String(accountId), limit: String(limit) });
|
|
13912
13918
|
if (cursor) params.set("cursor", cursor);
|
|
13919
|
+
if (kindsFilter) params.set("kinds", kindsFilter.join(","));
|
|
13913
13920
|
const value = await request(`/changes?${params}`, {}, options2?.signal);
|
|
13914
13921
|
if (!object(value) || !Array.isArray(value.items) || value.items.length > limit || value.next_cursor !== void 0 && !text5(value.next_cursor) || value.changes_cursor !== void 0 && !text5(value.changes_cursor))
|
|
13915
13922
|
invalid();
|
|
@@ -14320,6 +14327,62 @@ async function migrateChatsToRemote(options) {
|
|
|
14320
14327
|
return passes(false);
|
|
14321
14328
|
}
|
|
14322
14329
|
|
|
14330
|
+
// src/lib/chatStore/settings.ts
|
|
14331
|
+
var maxSaveAttempts = 3;
|
|
14332
|
+
function toSetting(snapshot) {
|
|
14333
|
+
if (snapshot.record.isDeleted) return null;
|
|
14334
|
+
return {
|
|
14335
|
+
section: snapshot.record.id,
|
|
14336
|
+
data: snapshot.record.data,
|
|
14337
|
+
version: snapshot.version,
|
|
14338
|
+
createdAt: snapshot.record.createdAt,
|
|
14339
|
+
updatedAt: snapshot.record.updatedAt
|
|
14340
|
+
};
|
|
14341
|
+
}
|
|
14342
|
+
async function loadSettings(store, signal) {
|
|
14343
|
+
const out = /* @__PURE__ */ new Map();
|
|
14344
|
+
let cursor;
|
|
14345
|
+
do {
|
|
14346
|
+
const page = await store.list({ kind: "setting", limit: 100, cursor, signal });
|
|
14347
|
+
for (const item of page.items) {
|
|
14348
|
+
const setting = toSetting(item);
|
|
14349
|
+
if (setting) out.set(setting.section, setting);
|
|
14350
|
+
}
|
|
14351
|
+
cursor = page.nextCursor;
|
|
14352
|
+
} while (cursor);
|
|
14353
|
+
return out;
|
|
14354
|
+
}
|
|
14355
|
+
async function saveSetting(store, section, data, signal) {
|
|
14356
|
+
for (let attempt = 1; ; attempt++) {
|
|
14357
|
+
const current = await store.get("setting", section, signal);
|
|
14358
|
+
const now = Date.now();
|
|
14359
|
+
try {
|
|
14360
|
+
const [saved] = await store.putMany(
|
|
14361
|
+
[
|
|
14362
|
+
{
|
|
14363
|
+
record: {
|
|
14364
|
+
kind: "setting",
|
|
14365
|
+
id: section,
|
|
14366
|
+
conversationId: "",
|
|
14367
|
+
sortKey: 0,
|
|
14368
|
+
createdAt: current?.record.createdAt ?? now,
|
|
14369
|
+
updatedAt: Math.max(now, (current?.record.updatedAt ?? 0) + 1),
|
|
14370
|
+
isDeleted: false,
|
|
14371
|
+
data
|
|
14372
|
+
},
|
|
14373
|
+
expectedVersion: current?.version ?? 0
|
|
14374
|
+
}
|
|
14375
|
+
],
|
|
14376
|
+
signal
|
|
14377
|
+
);
|
|
14378
|
+
return toSetting(saved);
|
|
14379
|
+
} catch (error) {
|
|
14380
|
+
if (!(error instanceof ChatStoreError) || error.code !== "version_conflict" || attempt >= maxSaveAttempts)
|
|
14381
|
+
throw error;
|
|
14382
|
+
}
|
|
14383
|
+
}
|
|
14384
|
+
}
|
|
14385
|
+
|
|
14323
14386
|
// src/lib/chatStore/vaultAttachments.ts
|
|
14324
14387
|
var frameVersion = 1;
|
|
14325
14388
|
var ivBytes = 12;
|
|
@@ -39438,6 +39501,7 @@ function useCredits(options = {}) {
|
|
|
39438
39501
|
const baseUrlRef = (0, import_react8.useRef)(baseUrl);
|
|
39439
39502
|
const onErrorRef = (0, import_react8.useRef)(onError);
|
|
39440
39503
|
const abortControllerRef = (0, import_react8.useRef)(null);
|
|
39504
|
+
const hasFetchedRef = (0, import_react8.useRef)(false);
|
|
39441
39505
|
(0, import_react8.useEffect)(() => {
|
|
39442
39506
|
getTokenRef.current = getToken;
|
|
39443
39507
|
baseUrlRef.current = baseUrl;
|
|
@@ -39445,6 +39509,7 @@ function useCredits(options = {}) {
|
|
|
39445
39509
|
});
|
|
39446
39510
|
(0, import_react8.useEffect)(() => {
|
|
39447
39511
|
return () => {
|
|
39512
|
+
hasFetchedRef.current = false;
|
|
39448
39513
|
if (abortControllerRef.current) {
|
|
39449
39514
|
abortControllerRef.current.abort();
|
|
39450
39515
|
abortControllerRef.current = null;
|
|
@@ -39492,14 +39557,14 @@ function useCredits(options = {}) {
|
|
|
39492
39557
|
headers,
|
|
39493
39558
|
signal
|
|
39494
39559
|
});
|
|
39560
|
+
if (signal.aborted) return;
|
|
39495
39561
|
if (response.error) {
|
|
39496
39562
|
const errorMsg = response.error.error ?? "Failed to fetch credit balance";
|
|
39497
|
-
throw new Error(errorMsg);
|
|
39563
|
+
throw Object.assign(new Error(errorMsg), { cause: response.error });
|
|
39498
39564
|
}
|
|
39499
|
-
if (signal.aborted) return;
|
|
39500
39565
|
setBalance(response.data ?? null);
|
|
39501
39566
|
} catch (err) {
|
|
39502
|
-
if (err instanceof Error && err.name === "AbortError") return;
|
|
39567
|
+
if (signal.aborted || err instanceof Error && err.name === "AbortError") return;
|
|
39503
39568
|
handleError(err);
|
|
39504
39569
|
} finally {
|
|
39505
39570
|
stopLoading();
|
|
@@ -39561,7 +39626,6 @@ function useCredits(options = {}) {
|
|
|
39561
39626
|
},
|
|
39562
39627
|
[getHeaders, handleError, startLoading, stopLoading]
|
|
39563
39628
|
);
|
|
39564
|
-
const hasFetchedRef = (0, import_react8.useRef)(false);
|
|
39565
39629
|
(0, import_react8.useEffect)(() => {
|
|
39566
39630
|
if (autoFetch && !hasFetchedRef.current) {
|
|
39567
39631
|
hasFetchedRef.current = true;
|
|
@@ -41491,6 +41555,8 @@ function useSubscription(options = {}) {
|
|
|
41491
41555
|
const baseUrlRef = (0, import_react20.useRef)(baseUrl);
|
|
41492
41556
|
const onErrorRef = (0, import_react20.useRef)(onError);
|
|
41493
41557
|
const abortControllerRef = (0, import_react20.useRef)(null);
|
|
41558
|
+
const hasFetchedRef = (0, import_react20.useRef)(false);
|
|
41559
|
+
const loadingCountRef = (0, import_react20.useRef)(0);
|
|
41494
41560
|
(0, import_react20.useEffect)(() => {
|
|
41495
41561
|
getTokenRef.current = getToken;
|
|
41496
41562
|
baseUrlRef.current = baseUrl;
|
|
@@ -41498,12 +41564,21 @@ function useSubscription(options = {}) {
|
|
|
41498
41564
|
});
|
|
41499
41565
|
(0, import_react20.useEffect)(() => {
|
|
41500
41566
|
return () => {
|
|
41567
|
+
hasFetchedRef.current = false;
|
|
41501
41568
|
if (abortControllerRef.current) {
|
|
41502
41569
|
abortControllerRef.current.abort();
|
|
41503
41570
|
abortControllerRef.current = null;
|
|
41504
41571
|
}
|
|
41505
41572
|
};
|
|
41506
41573
|
}, []);
|
|
41574
|
+
const startLoading = (0, import_react20.useCallback)(() => {
|
|
41575
|
+
loadingCountRef.current++;
|
|
41576
|
+
setIsLoading(true);
|
|
41577
|
+
}, []);
|
|
41578
|
+
const stopLoading = (0, import_react20.useCallback)(() => {
|
|
41579
|
+
loadingCountRef.current = Math.max(0, loadingCountRef.current - 1);
|
|
41580
|
+
setIsLoading(loadingCountRef.current > 0);
|
|
41581
|
+
}, []);
|
|
41507
41582
|
const getHeaders = (0, import_react20.useCallback)(async () => {
|
|
41508
41583
|
const headers = {};
|
|
41509
41584
|
if (getTokenRef.current) {
|
|
@@ -41527,7 +41602,7 @@ function useSubscription(options = {}) {
|
|
|
41527
41602
|
const abortController = new AbortController();
|
|
41528
41603
|
abortControllerRef.current = abortController;
|
|
41529
41604
|
const signal = abortController.signal;
|
|
41530
|
-
|
|
41605
|
+
startLoading();
|
|
41531
41606
|
setError(null);
|
|
41532
41607
|
try {
|
|
41533
41608
|
const headers = await getHeaders();
|
|
@@ -41537,33 +41612,31 @@ function useSubscription(options = {}) {
|
|
|
41537
41612
|
headers,
|
|
41538
41613
|
signal
|
|
41539
41614
|
});
|
|
41615
|
+
if (signal.aborted) return;
|
|
41540
41616
|
if (response.error) {
|
|
41541
41617
|
const errorMsg = response.error.error ?? "Failed to fetch subscription status";
|
|
41542
|
-
throw new Error(errorMsg);
|
|
41618
|
+
throw Object.assign(new Error(errorMsg), { cause: response.error });
|
|
41543
41619
|
}
|
|
41544
|
-
if (signal.aborted) return;
|
|
41545
41620
|
setStatus(response.data ?? null);
|
|
41546
41621
|
} catch (err) {
|
|
41547
|
-
if (err instanceof Error && err.name === "AbortError") {
|
|
41622
|
+
if (signal.aborted || err instanceof Error && err.name === "AbortError") {
|
|
41548
41623
|
return;
|
|
41549
41624
|
}
|
|
41550
41625
|
handleError(err);
|
|
41551
41626
|
} finally {
|
|
41552
|
-
|
|
41553
|
-
setIsLoading(false);
|
|
41554
|
-
}
|
|
41627
|
+
stopLoading();
|
|
41555
41628
|
if (abortControllerRef.current === abortController) {
|
|
41556
41629
|
abortControllerRef.current = null;
|
|
41557
41630
|
}
|
|
41558
41631
|
}
|
|
41559
|
-
}, [getHeaders, handleError]);
|
|
41632
|
+
}, [getHeaders, handleError, startLoading, stopLoading]);
|
|
41560
41633
|
const refetch = (0, import_react20.useCallback)(async () => {
|
|
41561
41634
|
setStatus(null);
|
|
41562
41635
|
await fetchStatus();
|
|
41563
41636
|
}, [fetchStatus]);
|
|
41564
41637
|
const createCheckoutSession = (0, import_react20.useCallback)(
|
|
41565
41638
|
async (opts) => {
|
|
41566
|
-
|
|
41639
|
+
startLoading();
|
|
41567
41640
|
setError(null);
|
|
41568
41641
|
try {
|
|
41569
41642
|
const headers = await getHeaders();
|
|
@@ -41586,14 +41659,14 @@ function useSubscription(options = {}) {
|
|
|
41586
41659
|
handleError(err);
|
|
41587
41660
|
return null;
|
|
41588
41661
|
} finally {
|
|
41589
|
-
|
|
41662
|
+
stopLoading();
|
|
41590
41663
|
}
|
|
41591
41664
|
},
|
|
41592
|
-
[getHeaders, handleError]
|
|
41665
|
+
[getHeaders, handleError, startLoading, stopLoading]
|
|
41593
41666
|
);
|
|
41594
41667
|
const openCustomerPortal = (0, import_react20.useCallback)(
|
|
41595
41668
|
async (opts) => {
|
|
41596
|
-
|
|
41669
|
+
startLoading();
|
|
41597
41670
|
setError(null);
|
|
41598
41671
|
try {
|
|
41599
41672
|
const headers = await getHeaders();
|
|
@@ -41613,13 +41686,13 @@ function useSubscription(options = {}) {
|
|
|
41613
41686
|
handleError(err);
|
|
41614
41687
|
return null;
|
|
41615
41688
|
} finally {
|
|
41616
|
-
|
|
41689
|
+
stopLoading();
|
|
41617
41690
|
}
|
|
41618
41691
|
},
|
|
41619
|
-
[getHeaders, handleError]
|
|
41692
|
+
[getHeaders, handleError, startLoading, stopLoading]
|
|
41620
41693
|
);
|
|
41621
41694
|
const cancelSubscription = (0, import_react20.useCallback)(async () => {
|
|
41622
|
-
|
|
41695
|
+
startLoading();
|
|
41623
41696
|
setError(null);
|
|
41624
41697
|
try {
|
|
41625
41698
|
const headers = await getHeaders();
|
|
@@ -41637,11 +41710,11 @@ function useSubscription(options = {}) {
|
|
|
41637
41710
|
handleError(err);
|
|
41638
41711
|
return null;
|
|
41639
41712
|
} finally {
|
|
41640
|
-
|
|
41713
|
+
stopLoading();
|
|
41641
41714
|
}
|
|
41642
|
-
}, [getHeaders, handleError, fetchStatus]);
|
|
41715
|
+
}, [getHeaders, handleError, startLoading, stopLoading, fetchStatus]);
|
|
41643
41716
|
const renewSubscription = (0, import_react20.useCallback)(async () => {
|
|
41644
|
-
|
|
41717
|
+
startLoading();
|
|
41645
41718
|
setError(null);
|
|
41646
41719
|
try {
|
|
41647
41720
|
const headers = await getHeaders();
|
|
@@ -41659,10 +41732,9 @@ function useSubscription(options = {}) {
|
|
|
41659
41732
|
handleError(err);
|
|
41660
41733
|
return null;
|
|
41661
41734
|
} finally {
|
|
41662
|
-
|
|
41735
|
+
stopLoading();
|
|
41663
41736
|
}
|
|
41664
|
-
}, [getHeaders, handleError, fetchStatus]);
|
|
41665
|
-
const hasFetchedRef = (0, import_react20.useRef)(false);
|
|
41737
|
+
}, [getHeaders, handleError, startLoading, stopLoading, fetchStatus]);
|
|
41666
41738
|
(0, import_react20.useEffect)(() => {
|
|
41667
41739
|
if (autoFetch && !hasFetchedRef.current) {
|
|
41668
41740
|
hasFetchedRef.current = true;
|
|
@@ -42220,6 +42292,8 @@ function useWalletBinding(options = {}) {
|
|
|
42220
42292
|
const baseUrlRef = (0, import_react24.useRef)(baseUrl);
|
|
42221
42293
|
const onErrorRef = (0, import_react24.useRef)(onError);
|
|
42222
42294
|
const abortControllerRef = (0, import_react24.useRef)(null);
|
|
42295
|
+
const hasFetchedRef = (0, import_react24.useRef)(false);
|
|
42296
|
+
const loadingCountRef = (0, import_react24.useRef)(0);
|
|
42223
42297
|
(0, import_react24.useEffect)(() => {
|
|
42224
42298
|
getTokenRef.current = getToken;
|
|
42225
42299
|
baseUrlRef.current = baseUrl;
|
|
@@ -42227,12 +42301,21 @@ function useWalletBinding(options = {}) {
|
|
|
42227
42301
|
});
|
|
42228
42302
|
(0, import_react24.useEffect)(() => {
|
|
42229
42303
|
return () => {
|
|
42304
|
+
hasFetchedRef.current = false;
|
|
42230
42305
|
if (abortControllerRef.current) {
|
|
42231
42306
|
abortControllerRef.current.abort();
|
|
42232
42307
|
abortControllerRef.current = null;
|
|
42233
42308
|
}
|
|
42234
42309
|
};
|
|
42235
42310
|
}, []);
|
|
42311
|
+
const startLoading = (0, import_react24.useCallback)(() => {
|
|
42312
|
+
loadingCountRef.current++;
|
|
42313
|
+
setIsLoading(true);
|
|
42314
|
+
}, []);
|
|
42315
|
+
const stopLoading = (0, import_react24.useCallback)(() => {
|
|
42316
|
+
loadingCountRef.current = Math.max(0, loadingCountRef.current - 1);
|
|
42317
|
+
setIsLoading(loadingCountRef.current > 0);
|
|
42318
|
+
}, []);
|
|
42236
42319
|
const getHeaders = (0, import_react24.useCallback)(async () => {
|
|
42237
42320
|
const headers = {};
|
|
42238
42321
|
if (getTokenRef.current) {
|
|
@@ -42256,7 +42339,7 @@ function useWalletBinding(options = {}) {
|
|
|
42256
42339
|
const abortController = new AbortController();
|
|
42257
42340
|
abortControllerRef.current = abortController;
|
|
42258
42341
|
const signal = abortController.signal;
|
|
42259
|
-
|
|
42342
|
+
startLoading();
|
|
42260
42343
|
setError(null);
|
|
42261
42344
|
try {
|
|
42262
42345
|
const headers = await getHeaders();
|
|
@@ -42266,34 +42349,32 @@ function useWalletBinding(options = {}) {
|
|
|
42266
42349
|
headers,
|
|
42267
42350
|
signal
|
|
42268
42351
|
});
|
|
42352
|
+
if (signal.aborted) return;
|
|
42269
42353
|
if (response.error) {
|
|
42270
42354
|
const errorMsg = response.error.error ?? "Failed to fetch bound wallets";
|
|
42271
|
-
throw new Error(errorMsg);
|
|
42355
|
+
throw Object.assign(new Error(errorMsg), { cause: response.error });
|
|
42272
42356
|
}
|
|
42273
|
-
if (signal.aborted) return;
|
|
42274
42357
|
setWallets(response.data?.wallets ?? []);
|
|
42275
42358
|
setTotals(response.data?.totals ?? null);
|
|
42276
42359
|
} catch (err) {
|
|
42277
|
-
if (err instanceof Error && err.name === "AbortError") {
|
|
42360
|
+
if (signal.aborted || err instanceof Error && err.name === "AbortError") {
|
|
42278
42361
|
return;
|
|
42279
42362
|
}
|
|
42280
42363
|
handleError(err);
|
|
42281
42364
|
} finally {
|
|
42282
|
-
|
|
42283
|
-
setIsLoading(false);
|
|
42284
|
-
}
|
|
42365
|
+
stopLoading();
|
|
42285
42366
|
if (abortControllerRef.current === abortController) {
|
|
42286
42367
|
abortControllerRef.current = null;
|
|
42287
42368
|
}
|
|
42288
42369
|
}
|
|
42289
|
-
}, [getHeaders, handleError]);
|
|
42370
|
+
}, [getHeaders, handleError, startLoading, stopLoading]);
|
|
42290
42371
|
const refetch = (0, import_react24.useCallback)(async () => {
|
|
42291
42372
|
setWallets([]);
|
|
42292
42373
|
setTotals(null);
|
|
42293
42374
|
await fetchBinding();
|
|
42294
42375
|
}, [fetchBinding]);
|
|
42295
42376
|
const getNonce = (0, import_react24.useCallback)(async () => {
|
|
42296
|
-
|
|
42377
|
+
startLoading();
|
|
42297
42378
|
setError(null);
|
|
42298
42379
|
try {
|
|
42299
42380
|
const headers = await getHeaders();
|
|
@@ -42310,12 +42391,12 @@ function useWalletBinding(options = {}) {
|
|
|
42310
42391
|
handleError(err);
|
|
42311
42392
|
return null;
|
|
42312
42393
|
} finally {
|
|
42313
|
-
|
|
42394
|
+
stopLoading();
|
|
42314
42395
|
}
|
|
42315
|
-
}, [getHeaders, handleError]);
|
|
42396
|
+
}, [getHeaders, handleError, startLoading, stopLoading]);
|
|
42316
42397
|
const bindWallet = (0, import_react24.useCallback)(
|
|
42317
42398
|
async (request) => {
|
|
42318
|
-
|
|
42399
|
+
startLoading();
|
|
42319
42400
|
setError(null);
|
|
42320
42401
|
try {
|
|
42321
42402
|
const headers = await getHeaders();
|
|
@@ -42334,14 +42415,14 @@ function useWalletBinding(options = {}) {
|
|
|
42334
42415
|
handleError(err);
|
|
42335
42416
|
return null;
|
|
42336
42417
|
} finally {
|
|
42337
|
-
|
|
42418
|
+
stopLoading();
|
|
42338
42419
|
}
|
|
42339
42420
|
},
|
|
42340
|
-
[getHeaders, handleError, fetchBinding]
|
|
42421
|
+
[getHeaders, handleError, startLoading, stopLoading, fetchBinding]
|
|
42341
42422
|
);
|
|
42342
42423
|
const unbindWallet = (0, import_react24.useCallback)(
|
|
42343
42424
|
async (address) => {
|
|
42344
|
-
|
|
42425
|
+
startLoading();
|
|
42345
42426
|
setError(null);
|
|
42346
42427
|
try {
|
|
42347
42428
|
const headers = await getHeaders();
|
|
@@ -42360,12 +42441,11 @@ function useWalletBinding(options = {}) {
|
|
|
42360
42441
|
handleError(err);
|
|
42361
42442
|
return false;
|
|
42362
42443
|
} finally {
|
|
42363
|
-
|
|
42444
|
+
stopLoading();
|
|
42364
42445
|
}
|
|
42365
42446
|
},
|
|
42366
|
-
[getHeaders, handleError, fetchBinding]
|
|
42447
|
+
[getHeaders, handleError, startLoading, stopLoading, fetchBinding]
|
|
42367
42448
|
);
|
|
42368
|
-
const hasFetchedRef = (0, import_react24.useRef)(false);
|
|
42369
42449
|
(0, import_react24.useEffect)(() => {
|
|
42370
42450
|
if (autoFetch && !hasFetchedRef.current) {
|
|
42371
42451
|
hasFetchedRef.current = true;
|
|
@@ -42706,6 +42786,7 @@ function useWalletBinding(options = {}) {
|
|
|
42706
42786
|
isSupportedFile,
|
|
42707
42787
|
isSupportedMediaType,
|
|
42708
42788
|
linkMemoryEntitiesOp,
|
|
42789
|
+
loadSettings,
|
|
42709
42790
|
localChatBackend,
|
|
42710
42791
|
maskScopedEmbeddingCache,
|
|
42711
42792
|
maxVaultAttachmentBytes,
|
|
@@ -42753,6 +42834,7 @@ function useWalletBinding(options = {}) {
|
|
|
42753
42834
|
resumeStream,
|
|
42754
42835
|
retain,
|
|
42755
42836
|
revokeNotionAccess,
|
|
42837
|
+
saveSetting,
|
|
42756
42838
|
savedToolToStored,
|
|
42757
42839
|
scoreProfileSalience,
|
|
42758
42840
|
screenCandidatesForInjection,
|
package/dist/react/index.d.mts
CHANGED
|
@@ -9172,7 +9172,7 @@ interface BaseUseChatStorageResult {
|
|
|
9172
9172
|
}
|
|
9173
9173
|
declare function generateConversationId(): string;
|
|
9174
9174
|
|
|
9175
|
-
type ChatRecordKind = "conversation" | "message" | "summary" | "project" | "memory_links";
|
|
9175
|
+
type ChatRecordKind = "conversation" | "message" | "summary" | "project" | "memory_links" | "setting";
|
|
9176
9176
|
type ChatJson = null | boolean | number | string | ChatJson[] | {
|
|
9177
9177
|
[key: string]: ChatJson;
|
|
9178
9178
|
};
|
|
@@ -9298,8 +9298,10 @@ interface ChatStore {
|
|
|
9298
9298
|
importRecords(records: readonly ChatImport[], signal?: AbortSignal): Promise<number>;
|
|
9299
9299
|
verify(revisions: readonly ChatRevision[], signal?: AbortSignal): Promise<ChatRef[]>;
|
|
9300
9300
|
activate(signal?: AbortSignal): Promise<boolean>;
|
|
9301
|
+
/** Without `kinds`, vault returns every kind except `setting`. */
|
|
9301
9302
|
changes(cursor?: string, options?: {
|
|
9302
9303
|
limit?: number;
|
|
9304
|
+
kinds?: readonly ChatRecordKind[];
|
|
9303
9305
|
signal?: AbortSignal;
|
|
9304
9306
|
}): Promise<ChatChanges>;
|
|
9305
9307
|
search(embedding: readonly number[], options?: ChatSearchOptions): Promise<ChatSearchHit[]>;
|
|
@@ -9370,6 +9372,22 @@ declare function migrateChatsToRemote(options: ChatMigrationOptions): Promise<Ch
|
|
|
9370
9372
|
/** Connect to owner-scoped server storage using the account's canonical device-held cipher. */
|
|
9371
9373
|
declare function createRemoteChatStore(options: RemoteChatStoreOptions): Promise<ChatStore>;
|
|
9372
9374
|
|
|
9375
|
+
interface Setting {
|
|
9376
|
+
section: string;
|
|
9377
|
+
data: {
|
|
9378
|
+
[key: string]: ChatJson;
|
|
9379
|
+
};
|
|
9380
|
+
version: number;
|
|
9381
|
+
createdAt: number;
|
|
9382
|
+
updatedAt: number;
|
|
9383
|
+
}
|
|
9384
|
+
/** Every stored settings section, keyed by section name. */
|
|
9385
|
+
declare function loadSettings(store: ChatStore, signal?: AbortSignal): Promise<Map<string, Setting>>;
|
|
9386
|
+
/** Replaces one section with `data`; the last save of a section wins across devices. */
|
|
9387
|
+
declare function saveSetting(store: ChatStore, section: string, data: {
|
|
9388
|
+
[key: string]: ChatJson;
|
|
9389
|
+
}, signal?: AbortSignal): Promise<Setting>;
|
|
9390
|
+
|
|
9373
9391
|
/**
|
|
9374
9392
|
* AES-GCM keys derived from one wallet signature over `SIGN_MESSAGE`.
|
|
9375
9393
|
* @public
|
|
@@ -16295,4 +16313,4 @@ type UseWalletBindingResult = {
|
|
|
16295
16313
|
*/
|
|
16296
16314
|
declare function useWalletBinding(options?: UseWalletBindingOptions): UseWalletBindingResult;
|
|
16297
16315
|
|
|
16298
|
-
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_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, ChartCard, type ChartCardProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, 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 ChatStorageAdapter, type ChatStorageObservable, type ChatStore, ChatStoreError, type ChatWrite, type ChunkSearchResult, type ChunkSearchStats, type ChunkVectorCache, type ChunkingOptions, type CircleProps, type ClientToolsFilterFn, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type ConversationQueryOptions, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateEntityOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateSavedToolOptions, type CreateSelectPaymentWalletToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, 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_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 DurableAutoExtractorOptions, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, type EmbeddingRepairOptions, type EmbeddingRepairResult, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionMessageSource, type ExtractionSourceMessage, type ExtractionSourceStatus, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessingReason, type FileProcessingStatus, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, INTERNAL_FLOW_MARKER, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, 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 MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, 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, MemoryEntity as MemoryEntityModel, 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 MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PaymentWallet, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallTelemetryCallbacks, type RecallToolCallbacks, type RecallToolOptions, type RecallTruncation, type RecencyOptions, type RectProps, 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 RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SELECT_PAYMENT_WALLET_TOOL_NAME, 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 SelectPaymentWalletResult, 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 StreamSmoothingConfig, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TOPIC_SALIENCE_WEIGHTS, 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 TopicExtractionBatchDiagnostics, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSalience, type TopicSkipReason, type TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateSavedToolOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseBackupOptions, type UseBackupResult, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, 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 VaultAttachmentCache, type VaultAttachmentJournal, type VaultAttachmentOwner, type VaultAttachmentRef, type VaultAttachmentUploadOptions, type VaultAttachments, type VaultAttachmentsOptions, type VaultCandidateKey, 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, type VoiceRecording, WALLET_PAYMENT_TOOL_NAME, type WalletPaymentOutcome, type WalletPaymentPassenger, type WalletPaymentRequest, type WalletPaymentResult, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, type WriteFailureReason, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, assembleMemoryContext, attachFileContextToLastUserMessage, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, buildAttachedFilesText, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearConversationMemoriesOp, clearEncryptionKey, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearModelsCache, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createLocalMemoryStore, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createRemoteChatStore, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createRemoteMemoryStore, createSavedToolOp, createSelectPaymentWalletTool, createServerToolsFilter, createStockPricePreProcessor, createVaultAttachments, createVaultChatBackend, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWalletPaymentTool, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, decryptMessageEmbeddingFields, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteMessageOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, deriveKeyFromSignatureBytes, deriveMemoryKeyRing, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, encryptToolCallEventsOp, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, extractMCPImageUrls, extractReservationReceipts, fileExists, findById, findMatchingTools, findParentOfId, formatFileProcessingNotes, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getEncryptionKey, getEntitiesByMemoryIdsOp, 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, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasEncryptionKey, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isAttachedFilesText, isDegradedTopicSkip, isEncrypted, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, localChatBackend, maskScopedEmbeddingCache, maxVaultAttachmentBytes, mediaToStored, memoryCipher, migrateChatsToRemote, migrateDisplayResult, migrateMemoriesToRemote, migrateMessageAttachments, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, primaryTopic, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reencryptMemoryField, reflect, refreshEncryptionKeyIfMatches, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeNotionAccess, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, sealLegacyMessageEmbeddingsOp, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRecallMemory, shouldRefreshTools, stampTopicsExtractedAtOp, startNotionAuth, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, topicWeight, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useEncryption, useExportPdf, useFiles, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, vaultAttachmentRefs, vaultChatBackend, verifyMemoriesForPublish, walk, webPlatformStorage, withActiveToolSetServerTools, withInternalFlowMarker, writeEncryptedFile };
|
|
16316
|
+
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_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, CHUNKS_DISCARDED_ORIGIN, type CachedChunkVectors, type CachedServerTools, ChartCard, type ChartCardProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, 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 ChatStorageAdapter, type ChatStorageObservable, type ChatStore, ChatStoreError, type ChatWrite, type ChunkSearchResult, type ChunkSearchStats, type ChunkVectorCache, type ChunkingOptions, type CircleProps, type ClientToolsFilterFn, type ConsolidationAction, type ConsolidationFallbackReason, type ConversationMemoryInput, ConversationMemory as ConversationMemoryModel, type ConversationMemoryOperationsContext, type ConversationQueryOptions, type CreateAutoExtractorOptions, type CreateConversationOptions, type CreateDecaySweeperOptions, type CreateEntityOptions, type CreateMediaOptions, type CreateMessageOptions, type CreateModelPreferenceOptions, type CreateProjectOptions, type CreateSavedToolOptions, type CreateSelectPaymentWalletToolOptions, type CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, 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_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 DurableAutoExtractorOptions, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, type EmbeddingRepairOptions, type EmbeddingRepairResult, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionMessageSource, type ExtractionSourceMessage, type ExtractionSourceStatus, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type FileProcessingReason, type FileProcessingStatus, type FileProcessor, type FileTypeQuery, type FileWithData, type FlushResult, type GetConversationsPageOptions, type GetMessagesPageOptions, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, INTERNAL_FLOW_MARKER, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, 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 MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, 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, MemoryEntity as MemoryEntityModel, 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 MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PaymentWallet, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallTelemetryCallbacks, type RecallToolCallbacks, type RecallToolOptions, type RecallTruncation, type RecencyOptions, type RectProps, 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 RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SELECT_PAYMENT_WALLET_TOOL_NAME, 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 SelectPaymentWalletResult, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type Setting, 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 StreamSmoothingConfig, type SynthesizeProfileOptions, THEME_ATTRS, TOOL_RESULT_ORIGIN, TOPICS_EXTRACTION_VERSION, TOPIC_EXTRACTION_BATCH_SIZE, TOPIC_SALIENCE_WEIGHTS, 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 TopicExtractionBatchDiagnostics, type TopicExtractionInput, type TopicExtractionRunResult, type TopicSalience, type TopicSkipReason, type TopicSource, type TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, type UncheckedReason, type UnverifiableReason, type UpdateMediaOptions, type UpdateModelPreferenceOptions, type UpdateProjectOptions, type UpdateSavedToolOptions, type UpdateUserPreferenceOptions, type UpdateVaultFolderOptions, type UpdateVaultMemoryOptions, type UseBackupOptions, type UseBackupResult, type UseChatStorageOptions, type UseChatStorageResult, type UseCreditsOptions, type UseCreditsResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, 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 VaultAttachmentCache, type VaultAttachmentJournal, type VaultAttachmentOwner, type VaultAttachmentRef, type VaultAttachmentUploadOptions, type VaultAttachments, type VaultAttachmentsOptions, type VaultCandidateKey, 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, type VoiceRecording, WALLET_PAYMENT_TOOL_NAME, type WalletPaymentOutcome, type WalletPaymentPassenger, type WalletPaymentRequest, type WalletPaymentResult, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, type WriteFailureReason, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, assembleMemoryContext, attachFileContextToLastUserMessage, backfillMemoryEntityUserIdsOp, backfillMemoryTopicsOp, buildAttachedFilesText, capHopsForDensity, chatStorageMigrations, chatStorageSchema, chunkAndEmbedAllMessages, chunkAndEmbedMessage, chunkText, classifyCryptoPrice, classifyCryptoPriceBatch, classifyDecay, classifyInjectionCandidates, classifyObservationTrend, classifyStockPrice, classifyStockPriceBatch, classifyWeather, classifyWeatherBatch, classifyWebSearch, classifyWebSearchBatch, clearAllEncryptionKeys, clearAllEncryptionState, clearAllKeyPairs, clearConversationMemoriesOp, clearEncryptionKey, clearICloudAuth, clearKeyPair, clearLazyTitleCache, clearMemoryTopicsOverrideOp, clearModelsCache, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createLocalMemoryStore, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, createRemoteChatStore, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createRemoteMemoryStore, createSavedToolOp, createSelectPaymentWalletTool, createServerToolsFilter, createStockPricePreProcessor, createVaultAttachments, createVaultChatBackend, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWalletPaymentTool, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, decryptMessageEmbeddingFields, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteMessageOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, deriveKeyFromSignatureBytes, deriveMemoryKeyRing, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, encryptToolCallEventsOp, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, extractMCPImageUrls, extractReservationReceipts, fileExists, findById, findMatchingTools, findParentOfId, formatFileProcessingNotes, generateConversationId, generateEmbedding, generateEmbeddings, generateMediaId, generateProjectId, getAIGeneratedMediaOp, getAllSavedToolsOp, getAllVaultFoldersOp, getAllVaultMemoriesOp, getAllVaultMemoryContentsOp, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getEncryptionKey, getEntitiesByMemoryIdsOp, 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, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasEncryptionKey, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isAttachedFilesText, isDegradedTopicSkip, isEncrypted, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, loadSettings, localChatBackend, maskScopedEmbeddingCache, maxVaultAttachmentBytes, mediaToStored, memoryCipher, migrateChatsToRemote, migrateDisplayResult, migrateMemoriesToRemote, migrateMessageAttachments, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, primaryTopic, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reencryptMemoryField, reflect, refreshEncryptionKeyIfMatches, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeNotionAccess, saveSetting, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, sealLegacyMessageEmbeddingsOp, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRecallMemory, shouldRefreshTools, stampTopicsExtractedAtOp, startNotionAuth, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, topicWeight, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useEncryption, useExportPdf, useFiles, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, vaultAttachmentRefs, vaultChatBackend, verifyMemoriesForPublish, walk, webPlatformStorage, withActiveToolSetServerTools, withInternalFlowMarker, writeEncryptedFile };
|