@anuma/sdk 7.3.0 → 7.3.2
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 +189 -73
- package/dist/expo/index.d.mts +4 -1
- package/dist/expo/index.d.ts +4 -1
- package/dist/expo/index.mjs +189 -73
- package/dist/react/index.cjs +187 -73
- package/dist/react/index.d.mts +4 -1
- package/dist/react/index.d.ts +4 -1
- package/dist/react/index.mjs +187 -73
- package/dist/server/index.cjs +185 -71
- package/dist/server/index.d.mts +3 -0
- package/dist/server/index.d.ts +3 -0
- package/dist/server/index.mjs +185 -71
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -1837,7 +1837,7 @@ function onKeyAvailable(address, callback) {
|
|
|
1837
1837
|
callbacks.add(callback);
|
|
1838
1838
|
return () => {
|
|
1839
1839
|
callbacks.delete(callback);
|
|
1840
|
-
if (callbacks.size === 0) {
|
|
1840
|
+
if (callbacks.size === 0 && keyAvailableCallbacks.get(address) === callbacks) {
|
|
1841
1841
|
keyAvailableCallbacks.delete(address);
|
|
1842
1842
|
}
|
|
1843
1843
|
};
|
|
@@ -12235,6 +12235,67 @@ __decorateClass([
|
|
|
12235
12235
|
// src/lib/db/entities/operations.ts
|
|
12236
12236
|
var import_watermelondb11 = require("@nozbe/watermelondb");
|
|
12237
12237
|
|
|
12238
|
+
// src/lib/db/memoryVault/types.ts
|
|
12239
|
+
var MEMORY_KINDS = [
|
|
12240
|
+
"display_name",
|
|
12241
|
+
"birth_date",
|
|
12242
|
+
"bio",
|
|
12243
|
+
"occupation",
|
|
12244
|
+
"interest",
|
|
12245
|
+
"gender",
|
|
12246
|
+
"height_cm",
|
|
12247
|
+
"looking_for",
|
|
12248
|
+
"politics",
|
|
12249
|
+
"religion",
|
|
12250
|
+
"ethnicity",
|
|
12251
|
+
"smoking",
|
|
12252
|
+
"drinking",
|
|
12253
|
+
"exercise",
|
|
12254
|
+
"sexuality",
|
|
12255
|
+
"prompt"
|
|
12256
|
+
];
|
|
12257
|
+
var MEMORY_LEVELS = ["private", "matching", "profile"];
|
|
12258
|
+
var MemoryLevelError = class extends Error {
|
|
12259
|
+
constructor(message) {
|
|
12260
|
+
super(message);
|
|
12261
|
+
this.name = "MemoryLevelError";
|
|
12262
|
+
}
|
|
12263
|
+
};
|
|
12264
|
+
var MemorySourceIneligibleError = class extends Error {
|
|
12265
|
+
constructor() {
|
|
12266
|
+
super("Memory source is no longer eligible");
|
|
12267
|
+
this.name = "MemorySourceIneligibleError";
|
|
12268
|
+
}
|
|
12269
|
+
};
|
|
12270
|
+
var PUBLISHED_SCOPES = /* @__PURE__ */ new Set(["shared", "public"]);
|
|
12271
|
+
function levelFromScope(scope) {
|
|
12272
|
+
return typeof scope === "string" && PUBLISHED_SCOPES.has(scope) ? "matching" : "private";
|
|
12273
|
+
}
|
|
12274
|
+
function scopeForLevel(level) {
|
|
12275
|
+
return level === "private" ? "private" : "shared";
|
|
12276
|
+
}
|
|
12277
|
+
function resolveMemoryLevel(level, scope) {
|
|
12278
|
+
return typeof level === "string" && MEMORY_LEVELS.includes(level) ? level : levelFromScope(scope);
|
|
12279
|
+
}
|
|
12280
|
+
function levelForScopeChange(current, nextScope) {
|
|
12281
|
+
const implied = levelFromScope(nextScope);
|
|
12282
|
+
return implied === "matching" && resolveMemoryLevel(current.level, current.scope) === "profile" ? "profile" : implied;
|
|
12283
|
+
}
|
|
12284
|
+
function parseMedia(value) {
|
|
12285
|
+
if (typeof value !== "string" || value === "") return null;
|
|
12286
|
+
try {
|
|
12287
|
+
const parsed = JSON.parse(value);
|
|
12288
|
+
if (!Array.isArray(parsed)) return null;
|
|
12289
|
+
const refs = parsed.filter((r) => typeof r === "object" && r !== null).map((r) => ({
|
|
12290
|
+
feedItemId: Number(r.feedItemId ?? r.feed_item_id),
|
|
12291
|
+
objectKey: r.objectKey ?? r.object_key ?? null
|
|
12292
|
+
})).filter((r) => Number.isFinite(r.feedItemId));
|
|
12293
|
+
return refs.length > 0 ? refs : null;
|
|
12294
|
+
} catch {
|
|
12295
|
+
return null;
|
|
12296
|
+
}
|
|
12297
|
+
}
|
|
12298
|
+
|
|
12238
12299
|
// src/lib/db/entities/types.ts
|
|
12239
12300
|
var ENTITY_KINDS = [
|
|
12240
12301
|
"person",
|
|
@@ -12294,7 +12355,7 @@ function parseTopics(value) {
|
|
|
12294
12355
|
// src/lib/db/entities/operations.ts
|
|
12295
12356
|
async function assertCanWrite(ctx) {
|
|
12296
12357
|
if (ctx.canWrite && !await ctx.canWrite()) {
|
|
12297
|
-
throw new
|
|
12358
|
+
throw new MemorySourceIneligibleError();
|
|
12298
12359
|
}
|
|
12299
12360
|
}
|
|
12300
12361
|
function entityToStored(e) {
|
|
@@ -14936,61 +14997,6 @@ function serializeSourceChunkIds(ids) {
|
|
|
14936
14997
|
return JSON.stringify(ids.slice(start));
|
|
14937
14998
|
}
|
|
14938
14999
|
|
|
14939
|
-
// src/lib/db/memoryVault/types.ts
|
|
14940
|
-
var MEMORY_KINDS = [
|
|
14941
|
-
"display_name",
|
|
14942
|
-
"birth_date",
|
|
14943
|
-
"bio",
|
|
14944
|
-
"occupation",
|
|
14945
|
-
"interest",
|
|
14946
|
-
"gender",
|
|
14947
|
-
"height_cm",
|
|
14948
|
-
"looking_for",
|
|
14949
|
-
"politics",
|
|
14950
|
-
"religion",
|
|
14951
|
-
"ethnicity",
|
|
14952
|
-
"smoking",
|
|
14953
|
-
"drinking",
|
|
14954
|
-
"exercise",
|
|
14955
|
-
"sexuality",
|
|
14956
|
-
"prompt"
|
|
14957
|
-
];
|
|
14958
|
-
var MEMORY_LEVELS = ["private", "matching", "profile"];
|
|
14959
|
-
var MemoryLevelError = class extends Error {
|
|
14960
|
-
constructor(message) {
|
|
14961
|
-
super(message);
|
|
14962
|
-
this.name = "MemoryLevelError";
|
|
14963
|
-
}
|
|
14964
|
-
};
|
|
14965
|
-
var PUBLISHED_SCOPES = /* @__PURE__ */ new Set(["shared", "public"]);
|
|
14966
|
-
function levelFromScope(scope) {
|
|
14967
|
-
return typeof scope === "string" && PUBLISHED_SCOPES.has(scope) ? "matching" : "private";
|
|
14968
|
-
}
|
|
14969
|
-
function scopeForLevel(level) {
|
|
14970
|
-
return level === "private" ? "private" : "shared";
|
|
14971
|
-
}
|
|
14972
|
-
function resolveMemoryLevel(level, scope) {
|
|
14973
|
-
return typeof level === "string" && MEMORY_LEVELS.includes(level) ? level : levelFromScope(scope);
|
|
14974
|
-
}
|
|
14975
|
-
function levelForScopeChange(current, nextScope) {
|
|
14976
|
-
const implied = levelFromScope(nextScope);
|
|
14977
|
-
return implied === "matching" && resolveMemoryLevel(current.level, current.scope) === "profile" ? "profile" : implied;
|
|
14978
|
-
}
|
|
14979
|
-
function parseMedia(value) {
|
|
14980
|
-
if (typeof value !== "string" || value === "") return null;
|
|
14981
|
-
try {
|
|
14982
|
-
const parsed = JSON.parse(value);
|
|
14983
|
-
if (!Array.isArray(parsed)) return null;
|
|
14984
|
-
const refs = parsed.filter((r) => typeof r === "object" && r !== null).map((r) => ({
|
|
14985
|
-
feedItemId: Number(r.feedItemId ?? r.feed_item_id),
|
|
14986
|
-
objectKey: r.objectKey ?? r.object_key ?? null
|
|
14987
|
-
})).filter((r) => Number.isFinite(r.feedItemId));
|
|
14988
|
-
return refs.length > 0 ? refs : null;
|
|
14989
|
-
} catch {
|
|
14990
|
-
return null;
|
|
14991
|
-
}
|
|
14992
|
-
}
|
|
14993
|
-
|
|
14994
15000
|
// src/lib/db/memoryVault/operations.ts
|
|
14995
15001
|
function visibilityOrPrivate(value) {
|
|
14996
15002
|
return value === "public" ? value : "private";
|
|
@@ -15010,7 +15016,7 @@ function isKinded(record2) {
|
|
|
15010
15016
|
}
|
|
15011
15017
|
async function assertCanWrite2(ctx) {
|
|
15012
15018
|
if (ctx.canWrite && !await ctx.canWrite()) {
|
|
15013
|
-
throw new
|
|
15019
|
+
throw new MemorySourceIneligibleError();
|
|
15014
15020
|
}
|
|
15015
15021
|
}
|
|
15016
15022
|
function assertValidKindLevel(kind, level) {
|
|
@@ -15701,7 +15707,7 @@ async function updateVaultMemoryOp(ctx, id, opts) {
|
|
|
15701
15707
|
ctx.embeddedWalletSigner
|
|
15702
15708
|
);
|
|
15703
15709
|
} catch (err) {
|
|
15704
|
-
if (err instanceof MemoryLevelError) throw err;
|
|
15710
|
+
if (err instanceof MemoryLevelError || err instanceof MemorySourceIneligibleError) throw err;
|
|
15705
15711
|
return null;
|
|
15706
15712
|
}
|
|
15707
15713
|
}
|
|
@@ -19702,6 +19708,13 @@ var DEFAULT_AUTO_MERGE_THRESHOLD = 0.8;
|
|
|
19702
19708
|
var DEFAULT_SCOPE = "private";
|
|
19703
19709
|
var DEFAULT_CONSOLIDATE_THRESHOLD = 0.55;
|
|
19704
19710
|
var DEFAULT_CONSOLIDATE_TOP_K = 20;
|
|
19711
|
+
var RetainError = class extends Error {
|
|
19712
|
+
constructor(reason, message) {
|
|
19713
|
+
super(message);
|
|
19714
|
+
this.reason = reason;
|
|
19715
|
+
this.name = "RetainError";
|
|
19716
|
+
}
|
|
19717
|
+
};
|
|
19705
19718
|
async function retain(content, ctx, options = {}) {
|
|
19706
19719
|
const embeddingOptions = {
|
|
19707
19720
|
...ctx.embeddingOptions,
|
|
@@ -19757,7 +19770,8 @@ async function retainWithPersistence(content, ctx, options = {}) {
|
|
|
19757
19770
|
});
|
|
19758
19771
|
prepared = withoutKindedRows(prepared);
|
|
19759
19772
|
if (prepared.embeddingFailure || prepared.embeddingsUnavailable) {
|
|
19760
|
-
throw new
|
|
19773
|
+
throw new RetainError(
|
|
19774
|
+
"embeddings-unavailable",
|
|
19761
19775
|
"retain: embeddings unavailable \u2014 refusing to auto-merge against an inert cosine lane, which would create a duplicate instead of merging into the existing memory. Retry when embeddings recover, or pass enableAutoMerge: false to force a create."
|
|
19762
19776
|
);
|
|
19763
19777
|
}
|
|
@@ -20127,7 +20141,10 @@ async function tryConsolidate(trimmed, ctx, options, prepared) {
|
|
|
20127
20141
|
async function assertMergeTargetGoneOrThrow(ctx, targetId) {
|
|
20128
20142
|
const stillExists = await (ctx.persistence.getFresh ? ctx.persistence.getFresh(targetId) : ctx.persistence.get(targetId));
|
|
20129
20143
|
if (stillExists && (stillExists.kind === null || stillExists.kind === void 0)) {
|
|
20130
|
-
throw new
|
|
20144
|
+
throw new RetainError(
|
|
20145
|
+
"merge-not-persisted",
|
|
20146
|
+
`retain: merge into memory ${targetId} failed to persist`
|
|
20147
|
+
);
|
|
20131
20148
|
}
|
|
20132
20149
|
}
|
|
20133
20150
|
|
|
@@ -20285,6 +20302,12 @@ function restoreCandidates(candidates, redactor, ownNames) {
|
|
|
20285
20302
|
(c) => c.candidate.content.length <= MAX_CONTENT_LENGTH && !c.unresolved && !isLowSignalContent(c.candidate.content, ownNames)
|
|
20286
20303
|
).map((c) => c.candidate);
|
|
20287
20304
|
}
|
|
20305
|
+
function writeFailureReasonOf(err) {
|
|
20306
|
+
if (err instanceof MemorySourceIneligibleError) return "source-ineligible";
|
|
20307
|
+
if (err instanceof RetainError) return err.reason;
|
|
20308
|
+
if (err?.name === "AbortError") return "aborted";
|
|
20309
|
+
return "unknown";
|
|
20310
|
+
}
|
|
20288
20311
|
async function extractAndRetain(messages, retainCtx, options) {
|
|
20289
20312
|
const { memoryStore, signal } = options;
|
|
20290
20313
|
if (memoryStore === null) throw new Error("Memory store is not ready");
|
|
@@ -20374,6 +20397,7 @@ async function extractAndRetain(messages, retainCtx, options) {
|
|
|
20374
20397
|
const results = [];
|
|
20375
20398
|
const quarantinedInfo = [];
|
|
20376
20399
|
let failedWrites = 0;
|
|
20400
|
+
let writeFailureReason;
|
|
20377
20401
|
let auditRows;
|
|
20378
20402
|
const tRetain = Date.now();
|
|
20379
20403
|
for (const { candidate, isQuarantined, reason, signature } of toRetain) {
|
|
@@ -20469,6 +20493,7 @@ async function extractAndRetain(messages, retainCtx, options) {
|
|
|
20469
20493
|
}
|
|
20470
20494
|
} catch (err) {
|
|
20471
20495
|
failedWrites++;
|
|
20496
|
+
writeFailureReason ?? (writeFailureReason = writeFailureReasonOf(err));
|
|
20472
20497
|
log.warn("[memory/extract] retain failed for one candidate", err);
|
|
20473
20498
|
options.onCandidateFailed?.(candidate, err);
|
|
20474
20499
|
}
|
|
@@ -20481,6 +20506,7 @@ async function extractAndRetain(messages, retainCtx, options) {
|
|
|
20481
20506
|
candidates: succeededCandidates,
|
|
20482
20507
|
results,
|
|
20483
20508
|
failedCount: failedWrites,
|
|
20509
|
+
...writeFailureReason !== void 0 && { writeFailureReason },
|
|
20484
20510
|
outcome: outcome2,
|
|
20485
20511
|
quarantined: quarantinedInfo,
|
|
20486
20512
|
funnel: {
|
|
@@ -20751,7 +20777,17 @@ function createAutoExtractor(options) {
|
|
|
20751
20777
|
const t0 = Date.now();
|
|
20752
20778
|
void (async () => {
|
|
20753
20779
|
try {
|
|
20754
|
-
const {
|
|
20780
|
+
const {
|
|
20781
|
+
candidates,
|
|
20782
|
+
results,
|
|
20783
|
+
failedCount,
|
|
20784
|
+
writeFailureReason,
|
|
20785
|
+
outcome: outcome2,
|
|
20786
|
+
failure,
|
|
20787
|
+
funnel,
|
|
20788
|
+
timings,
|
|
20789
|
+
model
|
|
20790
|
+
} = await extractAndRetain(window2, retainCtx, {
|
|
20755
20791
|
extract,
|
|
20756
20792
|
memoryStore: options.memoryStore,
|
|
20757
20793
|
signal: options.signal,
|
|
@@ -20787,6 +20823,7 @@ function createAutoExtractor(options) {
|
|
|
20787
20823
|
candidates,
|
|
20788
20824
|
results,
|
|
20789
20825
|
failedCount,
|
|
20826
|
+
...writeFailureReason !== void 0 && { writeFailureReason },
|
|
20790
20827
|
durationMs: Date.now() - t0,
|
|
20791
20828
|
conversationId,
|
|
20792
20829
|
outcome: outcome2,
|
|
@@ -22918,10 +22955,10 @@ function createLocalMemoryStore(options) {
|
|
|
22918
22955
|
const assertWrite = async (writeOptions) => {
|
|
22919
22956
|
writeOptions?.signal?.throwIfAborted();
|
|
22920
22957
|
if (writeOptions?.canWrite && !await writeOptions.canWrite()) {
|
|
22921
|
-
throw new
|
|
22958
|
+
throw new MemorySourceIneligibleError();
|
|
22922
22959
|
}
|
|
22923
22960
|
if (options.canWrite && !await options.canWrite()) {
|
|
22924
|
-
throw new
|
|
22961
|
+
throw new MemorySourceIneligibleError();
|
|
22925
22962
|
}
|
|
22926
22963
|
writeOptions?.signal?.throwIfAborted();
|
|
22927
22964
|
};
|
|
@@ -23735,7 +23772,7 @@ function createRemoteMemoryPipeline(options) {
|
|
|
23735
23772
|
const assertWrite = async () => {
|
|
23736
23773
|
signal?.throwIfAborted();
|
|
23737
23774
|
if (writeOptions?.canWrite && !await writeOptions.canWrite())
|
|
23738
|
-
throw new
|
|
23775
|
+
throw new MemorySourceIneligibleError();
|
|
23739
23776
|
signal?.throwIfAborted();
|
|
23740
23777
|
};
|
|
23741
23778
|
const rejectUndecryptable = (failed) => {
|
|
@@ -24742,7 +24779,7 @@ function createRemoteMemoryStore(options) {
|
|
|
24742
24779
|
if (!record2) return null;
|
|
24743
24780
|
if (record2.memory.is_deleted) return null;
|
|
24744
24781
|
if (writeOptions?.canWrite && !await writeOptions.canWrite())
|
|
24745
|
-
throw new
|
|
24782
|
+
throw new MemorySourceIneligibleError();
|
|
24746
24783
|
writeOptions?.signal?.throwIfAborted();
|
|
24747
24784
|
const next = edit(structuredClone(record2.memory));
|
|
24748
24785
|
if (!next) return null;
|
|
@@ -26082,10 +26119,20 @@ function batchError(result) {
|
|
|
26082
26119
|
var AccountFailureError = class extends Error {
|
|
26083
26120
|
};
|
|
26084
26121
|
var LockedSourcesError = class extends Error {
|
|
26085
|
-
constructor(persistentIds) {
|
|
26086
|
-
|
|
26122
|
+
constructor(persistentIds, locked) {
|
|
26123
|
+
const counts = /* @__PURE__ */ new Map();
|
|
26124
|
+
for (const message of locked) {
|
|
26125
|
+
const version = /^enc:(v\d+):/.exec(message.content)?.[1] ?? "unknown";
|
|
26126
|
+
const key = `${message.decryptionStatus ?? "no_status"}:${version}`;
|
|
26127
|
+
counts.set(key, (counts.get(key) ?? 0) + 1);
|
|
26128
|
+
}
|
|
26129
|
+
const summary = [...counts].map(([key, count2]) => `${key}=${count2}`).join(", ");
|
|
26130
|
+
super(`Source messages are locked; retained for retry (${summary})`);
|
|
26087
26131
|
this.persistentIds = persistentIds;
|
|
26088
26132
|
}
|
|
26133
|
+
get awaitingKey() {
|
|
26134
|
+
return this.persistentIds.length === 0;
|
|
26135
|
+
}
|
|
26089
26136
|
};
|
|
26090
26137
|
function splitTurns(messages) {
|
|
26091
26138
|
const turns = [];
|
|
@@ -26139,6 +26186,8 @@ function createDurableAutoExtractor(options) {
|
|
|
26139
26186
|
const attempts = /* @__PURE__ */ new Map();
|
|
26140
26187
|
const sessionFailures = /* @__PURE__ */ new Map();
|
|
26141
26188
|
const skippedThisSession = /* @__PURE__ */ new Set();
|
|
26189
|
+
const awaitingKey = /* @__PURE__ */ new Set();
|
|
26190
|
+
let keyEpoch = 0;
|
|
26142
26191
|
const clock = options.now ?? Date.now;
|
|
26143
26192
|
const reportError = (error, conversationId) => {
|
|
26144
26193
|
try {
|
|
@@ -26332,13 +26381,15 @@ function createDurableAutoExtractor(options) {
|
|
|
26332
26381
|
for (const job of pending) {
|
|
26333
26382
|
if (disposed) break;
|
|
26334
26383
|
const attempted = attempts.get(job.id) ?? 0;
|
|
26335
|
-
if (attempted >= MAX_ATTEMPTS || skippedThisSession.has(job.id))
|
|
26384
|
+
if (attempted >= MAX_ATTEMPTS || skippedThisSession.has(job.id) || awaitingKey.has(job.id))
|
|
26385
|
+
continue;
|
|
26336
26386
|
if (processed >= MAX_JOBS_PER_PASS) {
|
|
26337
26387
|
scheduleAfterSuccess = true;
|
|
26338
26388
|
break;
|
|
26339
26389
|
}
|
|
26340
26390
|
processed++;
|
|
26341
26391
|
const conversationId = String(job._getRaw("conversation_id"));
|
|
26392
|
+
const epochAtRead = keyEpoch;
|
|
26342
26393
|
let ids = [];
|
|
26343
26394
|
let loaded = [];
|
|
26344
26395
|
try {
|
|
@@ -26372,16 +26423,39 @@ function createDurableAutoExtractor(options) {
|
|
|
26372
26423
|
);
|
|
26373
26424
|
continue;
|
|
26374
26425
|
}
|
|
26375
|
-
const
|
|
26426
|
+
const foreign = new Set(
|
|
26427
|
+
ids.filter((_id, index) => loaded[index]?.conversationId !== conversationId)
|
|
26428
|
+
);
|
|
26429
|
+
if (foreign.size) {
|
|
26430
|
+
await database.write(
|
|
26431
|
+
() => job.update(
|
|
26432
|
+
(r) => r._setRaw(
|
|
26433
|
+
"message_ids",
|
|
26434
|
+
JSON.stringify(idsOf(job).filter((id) => !foreign.has(id)))
|
|
26435
|
+
)
|
|
26436
|
+
)
|
|
26437
|
+
);
|
|
26438
|
+
attempts.delete(job.id);
|
|
26439
|
+
scheduleAfterSuccess = true;
|
|
26440
|
+
reportError(
|
|
26441
|
+
new Error(`Dropped ${foreign.size} source id(s) from another conversation`),
|
|
26442
|
+
conversationId
|
|
26443
|
+
);
|
|
26444
|
+
continue;
|
|
26445
|
+
}
|
|
26446
|
+
const locked = loaded.filter(
|
|
26447
|
+
(message) => !!message && isEncrypted(message.content)
|
|
26448
|
+
);
|
|
26376
26449
|
if (locked.length) {
|
|
26377
26450
|
throw new LockedSourcesError(
|
|
26378
26451
|
locked.flatMap(
|
|
26379
26452
|
(message) => message.decryptionStatus === "auth_mismatch" || message.decryptionStatus === "invalid_payload" ? [message.uniqueId] : []
|
|
26380
|
-
)
|
|
26453
|
+
),
|
|
26454
|
+
locked
|
|
26381
26455
|
);
|
|
26382
26456
|
}
|
|
26383
26457
|
const messages = loaded.flatMap(
|
|
26384
|
-
(m) => m &&
|
|
26458
|
+
(m) => m && (m.role === "user" || m.role === "assistant") ? [{ id: m.uniqueId, role: m.role, content: m.content }] : []
|
|
26385
26459
|
);
|
|
26386
26460
|
const jobScope = currentScope() === "private" ? "private" : String(job._getRaw("scope"));
|
|
26387
26461
|
const jobFolderId = job._getRaw("folder_id") ?? null;
|
|
@@ -26431,6 +26505,12 @@ function createDurableAutoExtractor(options) {
|
|
|
26431
26505
|
scheduleAfterSuccess = true;
|
|
26432
26506
|
} catch (error) {
|
|
26433
26507
|
if (disposed) break;
|
|
26508
|
+
if (error instanceof LockedSourcesError && error.awaitingKey) {
|
|
26509
|
+
reportError(error, conversationId);
|
|
26510
|
+
if (keyEpoch === epochAtRead) awaitingKey.add(job.id);
|
|
26511
|
+
else scheduleAfterSuccess = true;
|
|
26512
|
+
continue;
|
|
26513
|
+
}
|
|
26434
26514
|
attempts.set(job.id, attempted + 1);
|
|
26435
26515
|
retry = true;
|
|
26436
26516
|
reportError(error, conversationId);
|
|
@@ -26458,7 +26538,18 @@ function createDurableAutoExtractor(options) {
|
|
|
26458
26538
|
activeBatch?.abort(options.signal?.reason);
|
|
26459
26539
|
if (timer !== void 0) clearTimeout(timer);
|
|
26460
26540
|
options.signal?.removeEventListener("abort", dispose);
|
|
26541
|
+
unsubscribeKey?.();
|
|
26461
26542
|
}
|
|
26543
|
+
const unsubscribeKey = vault.walletAddress ? onKeyAvailable(vault.walletAddress, () => {
|
|
26544
|
+
keyEpoch++;
|
|
26545
|
+
if (!awaitingKey.size) return;
|
|
26546
|
+
awaitingKey.clear();
|
|
26547
|
+
if (timer !== void 0) {
|
|
26548
|
+
clearTimeout(timer);
|
|
26549
|
+
timer = void 0;
|
|
26550
|
+
}
|
|
26551
|
+
schedule(0);
|
|
26552
|
+
}) : void 0;
|
|
26462
26553
|
if (options.signal?.aborted) dispose();
|
|
26463
26554
|
else options.signal?.addEventListener("abort", dispose, { once: true });
|
|
26464
26555
|
schedule(0);
|
|
@@ -26474,9 +26565,31 @@ function createDurableAutoExtractor(options) {
|
|
|
26474
26565
|
(candidate) => candidate._getRaw("scope") === scope && (candidate._getRaw("folder_id") ?? null) === folderId
|
|
26475
26566
|
);
|
|
26476
26567
|
const positions = new Map(ids.map((id, index) => [id, index]));
|
|
26568
|
+
const watermarks = existing.flatMap((prior) => {
|
|
26569
|
+
const watermark = prior._getRaw("watermark");
|
|
26570
|
+
return typeof watermark === "string" && watermark ? [watermark] : [];
|
|
26571
|
+
});
|
|
26572
|
+
if (watermarks.length) {
|
|
26573
|
+
const misplaced = new Set(
|
|
26574
|
+
await storage.messagesCollection.query(
|
|
26575
|
+
import_watermelondb33.Q.where("id", import_watermelondb33.Q.oneOf(watermarks)),
|
|
26576
|
+
import_watermelondb33.Q.where("conversation_id", import_watermelondb33.Q.notEq(conversationId))
|
|
26577
|
+
).fetchIds()
|
|
26578
|
+
);
|
|
26579
|
+
for (const prior of existing)
|
|
26580
|
+
if (misplaced.has(String(prior._getRaw("watermark"))))
|
|
26581
|
+
await prior.update((r) => {
|
|
26582
|
+
r._setRaw("watermark", null);
|
|
26583
|
+
r._setRaw("watermark_seq", null);
|
|
26584
|
+
});
|
|
26585
|
+
}
|
|
26477
26586
|
const rows = await storage.messagesCollection.query(import_watermelondb33.Q.where("id", import_watermelondb33.Q.oneOf(ids))).fetch();
|
|
26587
|
+
const foreignRows = new Set(
|
|
26588
|
+
rows.filter((row) => row._getRaw("conversation_id") !== conversationId).map((row) => row.id)
|
|
26589
|
+
);
|
|
26478
26590
|
const sequences = /* @__PURE__ */ new Map();
|
|
26479
26591
|
for (const row of rows) {
|
|
26592
|
+
if (foreignRows.has(row.id)) continue;
|
|
26480
26593
|
const sequence = Number(row._getRaw("message_id"));
|
|
26481
26594
|
if (Number.isFinite(sequence) && sequence > 0) sequences.set(row.id, sequence);
|
|
26482
26595
|
}
|
|
@@ -26519,13 +26632,14 @@ function createDurableAutoExtractor(options) {
|
|
|
26519
26632
|
const ownWatermark = job?._getRaw("watermark");
|
|
26520
26633
|
const atOwnWatermark = !!job && boundary >= 0 && failedSessionsOf(job, String(ownWatermark)) < MAX_FAILED_SESSIONS && (ids[boundary] === ownWatermark || sequences.get(ids[boundary]) !== void 0 && sequences.get(ids[boundary]) === seqOf(job));
|
|
26521
26634
|
const overlapStart = atOwnWatermark ? Math.max(0, boundary - 1) : start;
|
|
26522
|
-
const fresh = ids.slice(overlapStart).filter((id) => !foreignSources.has(id));
|
|
26635
|
+
const fresh = ids.slice(overlapStart).filter((id) => !foreignSources.has(id) && !foreignRows.has(id));
|
|
26523
26636
|
if (!fresh.length) return;
|
|
26524
26637
|
if (job) {
|
|
26525
26638
|
await job.update(
|
|
26526
26639
|
(r) => r._setRaw("message_ids", JSON.stringify([.../* @__PURE__ */ new Set([...idsOf(job), ...fresh])]))
|
|
26527
26640
|
);
|
|
26528
26641
|
attempts.delete(job.id);
|
|
26642
|
+
awaitingKey.delete(job.id);
|
|
26529
26643
|
} else {
|
|
26530
26644
|
await jobs.create((r) => {
|
|
26531
26645
|
r._setRaw("owner_key", owner);
|
package/dist/react/index.d.mts
CHANGED
|
@@ -5765,6 +5765,7 @@ declare function extractFacts(messages: AutoExtractMessage[], options: ExtractFa
|
|
|
5765
5765
|
* look like `no-facts`.
|
|
5766
5766
|
*/
|
|
5767
5767
|
type ExtractOutcome = "extracted" | "no-facts" | "empty-after-retry" | "dropped-after-redaction";
|
|
5768
|
+
type WriteFailureReason = "source-ineligible" | "embeddings-unavailable" | "merge-not-persisted" | "aborted" | "unknown";
|
|
5768
5769
|
/**
|
|
5769
5770
|
* Stage 2 — for each extracted candidate, call retain() with auto-merge
|
|
5770
5771
|
* enabled. When `consolidateOptions` are wired, retain()'s consolidation pass
|
|
@@ -5835,6 +5836,7 @@ declare function extractAndRetain(messages: AutoExtractMessage[], retainCtx: Ret
|
|
|
5835
5836
|
candidates: ExtractedCandidate[];
|
|
5836
5837
|
results: RetainResult[];
|
|
5837
5838
|
failedCount: number;
|
|
5839
|
+
writeFailureReason?: WriteFailureReason;
|
|
5838
5840
|
outcome: ExtractOutcome;
|
|
5839
5841
|
/**
|
|
5840
5842
|
* Tier-0 security (PR3) — candidates quarantined by the injection screen and
|
|
@@ -10562,6 +10564,7 @@ interface TurnCompleteEvent {
|
|
|
10562
10564
|
results: RetainResult[];
|
|
10563
10565
|
/** Per-candidate retain() failures. `onError` only fires on pipeline throws. */
|
|
10564
10566
|
failedCount: number;
|
|
10567
|
+
writeFailureReason?: WriteFailureReason;
|
|
10565
10568
|
durationMs: number;
|
|
10566
10569
|
conversationId?: string;
|
|
10567
10570
|
/**
|
|
@@ -15558,4 +15561,4 @@ type UseWalletBindingResult = {
|
|
|
15558
15561
|
*/
|
|
15559
15562
|
declare function useWalletBinding(options?: UseWalletBindingOptions): UseWalletBindingResult;
|
|
15560
15563
|
|
|
15561
|
-
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, Conversation as ChatConversation, Message as ChatMessage, type ChatRole, type ChatStorageAdapter, type ChatStorageObservable, 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 CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_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, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type 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 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 MemoryCreate, 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 MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallTelemetryCallbacks, type RecallToolCallbacks, type RecallToolOptions, type RecallTruncation, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, 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 RequestEncryptionKeyOptions, RerankerUnavailableError, type ReservationReceipt, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type SignMessageFn, type SignMessageOptions, type SlideProps, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredAppFile, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredEntity, type StoredFileWithContext, type StoredMedia, Media as StoredMediaModel, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, ModelPreference as StoredModelPreferenceModel, type StoredProject, type StoredSavedTool, type StoredTopic, type StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type 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 VaultCandidateKey, 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, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, 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, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createRemoteMemoryStore, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, 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, maskScopedEmbeddingCache, mediaToStored, memoryCipher, migrateDisplayResult, migrateMemoriesToRemote, 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, 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, verifyMemoriesForPublish, walk, webPlatformStorage, withActiveToolSetServerTools, withInternalFlowMarker, writeEncryptedFile };
|
|
15564
|
+
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, Conversation as ChatConversation, Message as ChatMessage, type ChatRole, type ChatStorageAdapter, type ChatStorageObservable, 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 CreateServerToolsFilterOptions, type CreateUserPreferenceOptions, type CreateVaultFolderOptions, type CreateVaultMemoryOptions, type CryptoPriceClassification, type CryptoPricePreProcessorOptions, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_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, EncryptionKeyMissingError, type EncryptionKeyVersion, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, type ExtractionFunnel, type ExtractionTimings, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, type 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 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 MemoryCreate, 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 MessageChunk, type MessageFeedback, type MessageOrigin, type MessageSkeleton, type ModelLoadProgress, NEVER_TTL_MS, NODE_BUDGET, type NeighborRefiner, type NowSource, type OCRFile, type ObservationTrend, type ObservationTrendInput, type OperationExecutor, PAST_EVENT_GRACE_MS, PROFILE_DOC_VERSION, type ParsedServerToolsResponse, type PdfExportOptions, type PdfExportProgress, type PdfExportStage, type PdfFile, PdfProcessor, type PendingInteraction, type PersonalitySettings, type PersonalitySliders, type PersonalityStyle, type PhoneCallPollingOptions, type PhotoIngestResult, type PhotoMediaRef, type PlatformStorage, type PortalLlmAuth, type PortalLlmFailure, type PortalLlmFailureReason, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSalienceInput, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type PublishedPhotoMemory, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankableVaultMemory, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallEmptyReason, type RecallOptions, type RecallResult, type RecallTelemetryCallbacks, type RecallToolCallbacks, type RecallToolOptions, type RecallTruncation, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, 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 RequestEncryptionKeyOptions, RerankerUnavailableError, type ReservationReceipt, type ResumeStreamOptions, type ResumeStreamResult, type RetainAction, type RetainContext, type RetainOptions, type RetainResult, type RetainSource, SDK_SCHEMA_VERSION, SERVER_TOOL_DEPENDENCY_SETS, SHORT_TTL_MS, SLIDER_CONFIG, SLIDES_FILE_PATH, SLIDE_CANVAS_HEIGHT, SLIDE_CANVAS_WIDTH, STREAM_RESUMABLE_HEADER, SavedTool as SavedToolModel, type SavedToolOperationsContext, type SavedToolParameter, type ScoreBreakdown, type ScoreProfileSalienceOptions, type ScreenProps, type ScreenResult, type ScreenedCandidate, type SearchMessagesOptions, type SearchSource, type SelectServerToolsForPromptOptions, type SendMessageWithStorageArgs, type SendMessageWithStorageResult, type ServerTool, type ServerToolsFilter, type ServerToolsFilterFn, type ServerToolsFilterFunction, type ServerToolsOptions, type ServerToolsResponse, type SignMessageFn, type SignMessageOptions, type SlideProps, type StepFinishEvent, type StockPriceClassification, type StockPricePreProcessorOptions, type StorageOperationsContext, type StoredAppFile, type ChatCompletionUsage as StoredChatCompletionUsage, type StoredConversation, type StoredConversationMemory, type StoredEntity, type StoredFileWithContext, type StoredMedia, Media as StoredMediaModel, type StoredMessage, type StoredMessageWithSimilarity, type StoredModelPreference, ModelPreference as StoredModelPreferenceModel, type StoredProject, type StoredSavedTool, type StoredTopic, type StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type 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 VaultCandidateKey, 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, 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, createRemoteMemoryPersistence, createRemoteMemoryPipeline, createRemoteMemoryStore, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decodeChunkVector, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, 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, maskScopedEmbeddingCache, mediaToStored, memoryCipher, migrateDisplayResult, migrateMemoriesToRemote, 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, 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, verifyMemoriesForPublish, walk, webPlatformStorage, withActiveToolSetServerTools, withInternalFlowMarker, writeEncryptedFile };
|