@anuma/sdk 6.40.0 → 6.42.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 +169 -83
- package/dist/expo/index.d.mts +38 -1
- package/dist/expo/index.d.ts +38 -1
- package/dist/expo/index.mjs +166 -83
- package/dist/memory/context.d.mts +2 -0
- package/dist/memory/context.d.ts +2 -0
- package/dist/react/index.cjs +131 -43
- package/dist/react/index.d.mts +38 -1
- package/dist/react/index.d.ts +38 -1
- package/dist/react/index.mjs +128 -43
- package/dist/server/index.cjs +108 -40
- package/dist/server/index.d.mts +16 -0
- package/dist/server/index.d.ts +16 -0
- package/dist/server/index.mjs +108 -40
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -1463,6 +1463,7 @@ __export(index_exports, {
|
|
|
1463
1463
|
TOOL_RESULT_ORIGIN: () => TOOL_RESULT_ORIGIN,
|
|
1464
1464
|
TOPICS_EXTRACTION_VERSION: () => TOPICS_EXTRACTION_VERSION,
|
|
1465
1465
|
TOPIC_EXTRACTION_BATCH_SIZE: () => TOPIC_EXTRACTION_BATCH_SIZE,
|
|
1466
|
+
TOPIC_SALIENCE_WEIGHTS: () => TOPIC_SALIENCE_WEIGHTS,
|
|
1466
1467
|
TREND_RECENT_WINDOW_DAYS: () => TREND_RECENT_WINDOW_DAYS,
|
|
1467
1468
|
TREND_STALE_WINDOW_DAYS: () => TREND_STALE_WINDOW_DAYS,
|
|
1468
1469
|
TextProcessor: () => TextProcessor,
|
|
@@ -1725,6 +1726,7 @@ __export(index_exports, {
|
|
|
1725
1726
|
preEmbedVaultMemories: () => preEmbedVaultMemories,
|
|
1726
1727
|
preprocessFiles: () => preprocessFiles,
|
|
1727
1728
|
previewToolSelection: () => previewToolSelection,
|
|
1729
|
+
primaryTopic: () => primaryTopic,
|
|
1728
1730
|
projectToStored: () => projectToStored,
|
|
1729
1731
|
putAppFileOp: () => putAppFileOp,
|
|
1730
1732
|
quantizeEmbedding: () => quantizeEmbedding,
|
|
@@ -1798,6 +1800,7 @@ __export(index_exports, {
|
|
|
1798
1800
|
summarizeObservationTrends: () => summarizeObservationTrends,
|
|
1799
1801
|
supersedeVaultMemoryOp: () => supersedeVaultMemoryOp,
|
|
1800
1802
|
synthesizeProfile: () => synthesizeProfile,
|
|
1803
|
+
topicWeight: () => topicWeight,
|
|
1801
1804
|
traverseGraphLane: () => traverseGraphLane,
|
|
1802
1805
|
ttlForType: () => ttlForType,
|
|
1803
1806
|
updateAttrs: () => updateAttrs,
|
|
@@ -12951,6 +12954,20 @@ var ENTITY_KINDS = [
|
|
|
12951
12954
|
function normalizeEntityName(name) {
|
|
12952
12955
|
return name.trim().toLowerCase();
|
|
12953
12956
|
}
|
|
12957
|
+
var TOPIC_SALIENCE_WEIGHTS = { primary: 1, secondary: 0.6, mention: 0.3 };
|
|
12958
|
+
function topicWeight(topic) {
|
|
12959
|
+
return topic.source === "user" ? 1 : topic.weight ?? 1;
|
|
12960
|
+
}
|
|
12961
|
+
function primaryTopic(topics) {
|
|
12962
|
+
let best = null;
|
|
12963
|
+
for (const topic of topics ?? []) {
|
|
12964
|
+
if (best === null || topicWeight(topic) > topicWeight(best)) best = topic;
|
|
12965
|
+
}
|
|
12966
|
+
return best;
|
|
12967
|
+
}
|
|
12968
|
+
function parseTopicWeight(value) {
|
|
12969
|
+
return typeof value === "number" && value > 0 && value <= 1 ? value : void 0;
|
|
12970
|
+
}
|
|
12954
12971
|
function serializeTopics(topics) {
|
|
12955
12972
|
return JSON.stringify(topics);
|
|
12956
12973
|
}
|
|
@@ -12966,12 +12983,14 @@ function parseTopics(value) {
|
|
|
12966
12983
|
const out = [];
|
|
12967
12984
|
for (const raw of parsed) {
|
|
12968
12985
|
if (typeof raw !== "object" || raw === null) continue;
|
|
12969
|
-
const { name, kind, source } = raw;
|
|
12986
|
+
const { name, kind, source, weight } = raw;
|
|
12970
12987
|
if (typeof name !== "string" || name.trim().length === 0) continue;
|
|
12988
|
+
const parsedWeight = parseTopicWeight(weight);
|
|
12971
12989
|
out.push({
|
|
12972
12990
|
name,
|
|
12973
12991
|
...typeof kind === "string" && kind.length > 0 ? { kind } : {},
|
|
12974
|
-
source: source === "user" ? "user" : "auto"
|
|
12992
|
+
source: source === "user" ? "user" : "auto",
|
|
12993
|
+
...parsedWeight !== void 0 ? { weight: parsedWeight } : {}
|
|
12975
12994
|
});
|
|
12976
12995
|
}
|
|
12977
12996
|
return out;
|
|
@@ -13058,21 +13077,47 @@ function displayNamesOf(entities) {
|
|
|
13058
13077
|
}
|
|
13059
13078
|
function topicsEqual(stored2, computed) {
|
|
13060
13079
|
if (stored2 === null || stored2.length !== computed.length) return false;
|
|
13061
|
-
const key = (t) => JSON.stringify([t.name, t.kind ?? null, t.source]);
|
|
13080
|
+
const key = (t) => JSON.stringify([t.name, t.kind ?? null, t.source, t.weight ?? null]);
|
|
13062
13081
|
const storedKeys = stored2.map(key).sort();
|
|
13063
13082
|
const computedKeys = computed.map(key).sort();
|
|
13064
13083
|
return storedKeys.every((k, i) => k === computedKeys[i]);
|
|
13065
13084
|
}
|
|
13066
|
-
function resolveTopicsWrite(row, linked,
|
|
13085
|
+
function resolveTopicsWrite(row, linked, inputs, source, mode) {
|
|
13067
13086
|
if (row === null || source === null) return null;
|
|
13068
|
-
const
|
|
13069
|
-
|
|
13087
|
+
const stored2 = parseTopics(row.topics);
|
|
13088
|
+
const carried = mode === "merge" ? stored2 : null;
|
|
13089
|
+
const weights = source === "auto" ? weightsOf(carried, inputs) : null;
|
|
13090
|
+
const displayNames = displayNamesOf([...inputs, ...carried ?? []]);
|
|
13091
|
+
const topics = topicsForEntities(linked, displayNames, source, weights);
|
|
13092
|
+
if (topicsEqual(stored2, topics)) return null;
|
|
13070
13093
|
return { row, topics };
|
|
13071
13094
|
}
|
|
13072
|
-
function
|
|
13095
|
+
function weightsOf(stored2, inputs) {
|
|
13096
|
+
const out = /* @__PURE__ */ new Map();
|
|
13097
|
+
for (const topic of stored2 ?? []) out.set(normalizeEntityName(topic.name), topic.weight);
|
|
13098
|
+
for (const input of inputs) {
|
|
13099
|
+
const weight = parseTopicWeight(input.weight);
|
|
13100
|
+
if (weight === void 0) continue;
|
|
13101
|
+
const name = normalizeEntityName(input.name);
|
|
13102
|
+
if (!out.has(name)) {
|
|
13103
|
+
out.set(name, weight);
|
|
13104
|
+
continue;
|
|
13105
|
+
}
|
|
13106
|
+
const current = out.get(name);
|
|
13107
|
+
if (current !== void 0 && weight > current) out.set(name, weight);
|
|
13108
|
+
}
|
|
13109
|
+
return out;
|
|
13110
|
+
}
|
|
13111
|
+
function topicsForEntities(entities, displayNames, source, weights) {
|
|
13073
13112
|
return entities.map((e) => {
|
|
13074
13113
|
const name = displayNames.get(e.canonicalName) ?? e.canonicalName;
|
|
13075
|
-
|
|
13114
|
+
const weight = weights?.get(e.canonicalName);
|
|
13115
|
+
return {
|
|
13116
|
+
name,
|
|
13117
|
+
...e.kind ? { kind: e.kind } : {},
|
|
13118
|
+
source,
|
|
13119
|
+
...weight !== void 0 ? { weight } : {}
|
|
13120
|
+
};
|
|
13076
13121
|
});
|
|
13077
13122
|
}
|
|
13078
13123
|
function toEntityObjects(entityInputs) {
|
|
@@ -13080,7 +13125,7 @@ function toEntityObjects(entityInputs) {
|
|
|
13080
13125
|
}
|
|
13081
13126
|
async function resolveMemoryTopicsWrite(ctx, memoryId, linked, inputs, source) {
|
|
13082
13127
|
const row = await findVaultRowInWrite(ctx, memoryId);
|
|
13083
|
-
return resolveTopicsWrite(row, linked,
|
|
13128
|
+
return resolveTopicsWrite(row, linked, toEntityObjects(inputs), source, "replace");
|
|
13084
13129
|
}
|
|
13085
13130
|
function prepareMemoryTopicsUpdate(write) {
|
|
13086
13131
|
return prepareTopicsUpdate(write.row, write.topics, Date.now());
|
|
@@ -13118,8 +13163,9 @@ async function linkMemoryEntitiesOp(ctx, memoryId, entityInputs, options) {
|
|
|
13118
13163
|
const topicsWrite = resolveTopicsWrite(
|
|
13119
13164
|
vaultRow,
|
|
13120
13165
|
[...carriedOver, ...entities],
|
|
13121
|
-
|
|
13122
|
-
options?.topicsSource ?? "auto"
|
|
13166
|
+
normalized,
|
|
13167
|
+
options?.topicsSource ?? "auto",
|
|
13168
|
+
"merge"
|
|
13123
13169
|
);
|
|
13124
13170
|
if (entityOps.length === 0 && kindBackfills.length === 0 && toCreate.length === 0 && topicsWrite === null) {
|
|
13125
13171
|
return;
|
|
@@ -13185,8 +13231,9 @@ async function replaceMemoryEntities(ctx, memoryId, entityInputs, options) {
|
|
|
13185
13231
|
const topicsWrite = resolveTopicsWrite(
|
|
13186
13232
|
vaultRow,
|
|
13187
13233
|
entities,
|
|
13188
|
-
|
|
13189
|
-
options.topicsSource
|
|
13234
|
+
normalized,
|
|
13235
|
+
options.topicsSource,
|
|
13236
|
+
"replace"
|
|
13190
13237
|
);
|
|
13191
13238
|
if (entityOps.length === 0 && kindBackfills.length === 0 && toCreate.length === 0 && toDestroy.length === 0 && topicsWrite === null) {
|
|
13192
13239
|
return;
|
|
@@ -20719,9 +20766,9 @@ For each durable fact, output:
|
|
|
20719
20766
|
- type: one of identity | preference | relationship | plan | ongoing_context | constraint | other
|
|
20720
20767
|
- confidence: 0.0-1.0; how sure you are this is durable AND true. Only include facts >= 0.7.
|
|
20721
20768
|
- sourceMessageIds: which message IDs from the conversation contained the evidence
|
|
20722
|
-
- entities: named entities mentioned, each as an object { "name": string, "kind": one of "person" | "organization" | "place" | "event" | "product" | "thing" | "concept" | "other" }. Optional \u2014 include only NAMED entities, skip generic/common nouns. ${ENTITY_KIND_GUIDELINES} Examples:
|
|
20723
|
-
- "started a new job at Hollowpoint Labs and I'm learning Haskell for it" \u2192 entities: [{ "name": "Hollowpoint Labs", "kind": "organization" }, { "name": "Haskell", "kind": "concept" }]
|
|
20724
|
-
- "running the Berlin Half in May and I track workouts in Whoop" \u2192 entities: [{ "name": "Berlin Half", "kind": "event" }, { "name": "Whoop", "kind": "product" }]
|
|
20769
|
+
- entities: named entities mentioned, each as an object { "name": string, "kind": one of "person" | "organization" | "place" | "event" | "product" | "thing" | "concept" | "other", "salience": one of "primary" | "secondary" | "mention" }. Optional \u2014 include only NAMED entities, skip generic/common nouns. ${ENTITY_KIND_GUIDELINES} Salience is how central the entity is to the fact: "primary" = the fact is ABOUT it (usually exactly one per fact), "secondary" = a meaningful part of it, "mention" = named in passing. Examples:
|
|
20770
|
+
- "started a new job at Hollowpoint Labs and I'm learning Haskell for it" \u2192 entities: [{ "name": "Hollowpoint Labs", "kind": "organization", "salience": "primary" }, { "name": "Haskell", "kind": "concept", "salience": "secondary" }]
|
|
20771
|
+
- "running the Berlin Half in May and I track workouts in Whoop" \u2192 entities: [{ "name": "Berlin Half", "kind": "event", "salience": "primary" }, { "name": "Whoop", "kind": "product", "salience": "mention" }]
|
|
20725
20772
|
- eventTime: when the event in this fact occurs/occurred. Resolve relative phrases ("yesterday", "next week") against the current date given in the user message. Output one of:
|
|
20726
20773
|
- { "kind": "point", "start": "YYYY-MM-DD" } for a single date ("met Sara on March 14, 2026")
|
|
20727
20774
|
- { "kind": "range", "start": "YYYY-MM-DD", "end": "YYYY-MM-DD" } for a span ("Japan trip May 4\u201315, 2026")
|
|
@@ -20802,9 +20849,10 @@ function restoreCandidates(candidates, redactor, ownNames) {
|
|
|
20802
20849
|
candidate: {
|
|
20803
20850
|
...c,
|
|
20804
20851
|
content: content.text,
|
|
20805
|
-
entities: c.entities.
|
|
20806
|
-
|
|
20807
|
-
|
|
20852
|
+
entities: c.entities.flatMap((e) => {
|
|
20853
|
+
const restored = redactor.restoreForStorage(e.name);
|
|
20854
|
+
return restored.unresolved ? [] : [{ ...e, name: restored.text }];
|
|
20855
|
+
})
|
|
20808
20856
|
},
|
|
20809
20857
|
unresolved: content.unresolved
|
|
20810
20858
|
};
|
|
@@ -21033,7 +21081,12 @@ function parseEntities(raw) {
|
|
|
21033
21081
|
const name = typeof obj.name === "string" ? obj.name.trim() : "";
|
|
21034
21082
|
if (name.length === 0 || isGenericEntityName(name)) continue;
|
|
21035
21083
|
const kind = typeof obj.kind === "string" && ENTITY_KINDS.includes(obj.kind) ? obj.kind : void 0;
|
|
21036
|
-
|
|
21084
|
+
const weight = typeof obj.salience === "string" && Object.keys(TOPIC_SALIENCE_WEIGHTS).includes(obj.salience) ? TOPIC_SALIENCE_WEIGHTS[obj.salience] : void 0;
|
|
21085
|
+
out.push({
|
|
21086
|
+
name,
|
|
21087
|
+
...kind !== void 0 ? { kind } : {},
|
|
21088
|
+
...weight !== void 0 ? { weight } : {}
|
|
21089
|
+
});
|
|
21037
21090
|
}
|
|
21038
21091
|
return out;
|
|
21039
21092
|
}
|
|
@@ -23013,7 +23066,13 @@ Include only NAMED entities, skip generic/common nouns. A topic must identify a
|
|
|
23013
23066
|
- Prefer 0 entities over a weak one. A memory whose only candidate is a generic noun has NO entities.
|
|
23014
23067
|
${ENTITY_KIND_GUIDELINES}
|
|
23015
23068
|
|
|
23016
|
-
|
|
23069
|
+
Give each entity a "salience" \u2014 how central it is to the memory:
|
|
23070
|
+
- "primary": the memory is ABOUT it. A memory with entities usually has exactly one primary; never more than two.
|
|
23071
|
+
- "secondary": a meaningful part of the memory, but not its subject.
|
|
23072
|
+
- "mention": named in passing; the memory would say much the same without it.
|
|
23073
|
+
Example: "Ran the Chicago Marathon with my sister Ana in 3:41" \u2192 Chicago Marathon primary, Ana secondary.
|
|
23074
|
+
|
|
23075
|
+
Each memory below is written as "<id>: <text>". Output strict JSON: {"memories": [{"id": string, "entities": [{"name": string, "kind": string, "salience": "primary" | "secondary" | "mention"}]}]}
|
|
23017
23076
|
- exactly one element per input memory; copy its id EXACTLY as written (the token before the first ": "), with no brackets, quotes, or extra characters
|
|
23018
23077
|
- "entities" may be empty when a memory mentions no named entities \u2014 most short memories have 0-3
|
|
23019
23078
|
No prose.`;
|
|
@@ -23084,9 +23143,10 @@ List each memory's named entities.`,
|
|
|
23084
23143
|
return out;
|
|
23085
23144
|
}
|
|
23086
23145
|
function restoreEntities(entities, redactor) {
|
|
23087
|
-
return entities.
|
|
23088
|
-
|
|
23089
|
-
|
|
23146
|
+
return entities.flatMap((e) => {
|
|
23147
|
+
const restored = redactor.restoreForStorage(e.name);
|
|
23148
|
+
return restored.unresolved ? [] : [{ ...e, name: restored.text }];
|
|
23149
|
+
});
|
|
23090
23150
|
}
|
|
23091
23151
|
function parseTopicResponse(parsed, validIds) {
|
|
23092
23152
|
if (typeof parsed !== "object" || parsed === null) return null;
|
|
@@ -24375,19 +24435,23 @@ function topicInputs(topics, source) {
|
|
|
24375
24435
|
return topics.flatMap((topic) => {
|
|
24376
24436
|
const name = (typeof topic === "string" ? topic : topic.name).trim();
|
|
24377
24437
|
const kind = typeof topic === "string" ? void 0 : topic.kind;
|
|
24378
|
-
|
|
24438
|
+
const weight = typeof topic === "string" || source === "user" ? void 0 : parseTopicWeight(topic.weight);
|
|
24439
|
+
return name ? [{ name, ...kind && { kind }, source, ...weight && { weight } }] : [];
|
|
24379
24440
|
});
|
|
24380
24441
|
}
|
|
24381
24442
|
function mergeTopics(existing, added) {
|
|
24382
24443
|
const byName = /* @__PURE__ */ new Map();
|
|
24383
24444
|
for (const topic of [...existing, ...added]) {
|
|
24384
24445
|
const key = normalizeEntityName(topic.name);
|
|
24385
|
-
|
|
24446
|
+
const kept = byName.get(key);
|
|
24447
|
+
if (!kept) byName.set(key, topic);
|
|
24448
|
+
else if (kept.weight !== void 0 && topic.weight !== void 0 && topic.weight > kept.weight)
|
|
24449
|
+
byName.set(key, { ...kept, weight: topic.weight });
|
|
24386
24450
|
}
|
|
24387
24451
|
return [...byName.values()];
|
|
24388
24452
|
}
|
|
24389
24453
|
function sameTopics(stored2, next) {
|
|
24390
|
-
const key = (t) => JSON.stringify([t.name, t.kind ?? null, t.source]);
|
|
24454
|
+
const key = (t) => JSON.stringify([t.name, t.kind ?? null, t.source, t.weight ?? null]);
|
|
24391
24455
|
if (stored2 === null || stored2.length !== next.length) return false;
|
|
24392
24456
|
const keys = new Set(stored2.map(key));
|
|
24393
24457
|
return next.every((t) => keys.has(key(t)));
|
|
@@ -25152,12 +25216,19 @@ var FACET_STRUCTURED_RESPONSE_HINT = {
|
|
|
25152
25216
|
interests: `, "interests": <the same interests as an array of at most ${NEARBY_MAX_INTERESTS} strings of at most ${NEARBY_MAX_INTEREST_CODEPOINTS} characters each, e.g. ["trail running", "film photography"], or []>`
|
|
25153
25217
|
};
|
|
25154
25218
|
async function synthesizeProfile(ctx, options = {}) {
|
|
25155
|
-
|
|
25156
|
-
|
|
25219
|
+
const { store } = options;
|
|
25220
|
+
const vaultCtx = ctx.vaultCtx;
|
|
25221
|
+
if (!store && !vaultCtx) {
|
|
25222
|
+
throw new Error(
|
|
25223
|
+
"synthesizeProfile requires options.store or ctx.vaultCtx (vault-backed facts)."
|
|
25224
|
+
);
|
|
25157
25225
|
}
|
|
25158
|
-
if (!ctx.vaultCache) {
|
|
25159
|
-
throw new Error(
|
|
25226
|
+
if (!store && !ctx.vaultCache) {
|
|
25227
|
+
throw new Error(
|
|
25228
|
+
"synthesizeProfile requires options.store or ctx.vaultCache (semantic fact recall)."
|
|
25229
|
+
);
|
|
25160
25230
|
}
|
|
25231
|
+
const recallCtx = store ? { embeddingOptions: ctx.embeddingOptions, factSource: store.factSource } : ctx;
|
|
25161
25232
|
const facets = options.facets ?? DEFAULT_PROFILE_FACETS;
|
|
25162
25233
|
const scopes = options.scopes ?? DEFAULT_SCOPES;
|
|
25163
25234
|
const config = {
|
|
@@ -25168,11 +25239,8 @@ async function synthesizeProfile(ctx, options = {}) {
|
|
|
25168
25239
|
reviewedMemoryIdsSignature: reviewedMemoryIdsSignature(options.reviewedMemoryIds)
|
|
25169
25240
|
};
|
|
25170
25241
|
const previous = options.previous && options.previous.version === PROFILE_DOC_VERSION && configMatches(options.previous.config, config) ? options.previous : void 0;
|
|
25171
|
-
const
|
|
25172
|
-
|
|
25173
|
-
includeDeleted: true,
|
|
25174
|
-
includeSuperseded: true
|
|
25175
|
-
});
|
|
25242
|
+
const listOptions = { scopes, includeDeleted: true, includeSuperseded: true };
|
|
25243
|
+
const [memories, projections] = store ? await Promise.all([store.list(listOptions), store.listProjections(listOptions)]) : [await getAllVaultMemoriesOp(vaultCtx, listOptions), []];
|
|
25176
25244
|
const watermark = computeVaultWatermark(memories);
|
|
25177
25245
|
const observationTrends = summarizeObservationTrends(
|
|
25178
25246
|
memories.filter((m) => !m.isDeleted && m.supersededBy === null).map((m) => ({
|
|
@@ -25182,11 +25250,14 @@ async function synthesizeProfile(ctx, options = {}) {
|
|
|
25182
25250
|
}))
|
|
25183
25251
|
);
|
|
25184
25252
|
const presentIds = new Set(memories.map((m) => m.uniqueId));
|
|
25253
|
+
const unreadableMemoryIds = projections.map((p) => p.uniqueId).filter((id) => !presentIds.has(id)).sort();
|
|
25254
|
+
const previousUnreadable = new Set(previous?.unreadableMemoryIds ?? []);
|
|
25255
|
+
const sameUnreadable = unreadableMemoryIds.length === previousUnreadable.size && unreadableMemoryIds.every((id) => previousUnreadable.has(id));
|
|
25185
25256
|
const hasStaleSections = previous?.sections.some((s) => s.stale);
|
|
25186
25257
|
const citesMissingFact = previous?.sections.some(
|
|
25187
25258
|
(s) => s.sourceMemoryIds.some((id) => !presentIds.has(id))
|
|
25188
25259
|
);
|
|
25189
|
-
if (previous && previous.vaultWatermark === watermark && !hasStaleSections && !citesMissingFact) {
|
|
25260
|
+
if (previous && previous.vaultWatermark === watermark && !hasStaleSections && !citesMissingFact && sameUnreadable) {
|
|
25190
25261
|
const sameOrder = previous.sections.length === facets.length && facets.every((f, i) => previous.sections[i]?.key === f.key);
|
|
25191
25262
|
if (sameOrder) {
|
|
25192
25263
|
if (trendsEqual(previous.observationTrends, observationTrends)) return previous;
|
|
@@ -25199,12 +25270,13 @@ async function synthesizeProfile(ctx, options = {}) {
|
|
|
25199
25270
|
};
|
|
25200
25271
|
}
|
|
25201
25272
|
const staleKeys = await computeStaleFacetKeys(
|
|
25202
|
-
|
|
25273
|
+
recallCtx,
|
|
25203
25274
|
memories,
|
|
25204
25275
|
facets,
|
|
25205
25276
|
previous,
|
|
25206
25277
|
watermark,
|
|
25207
|
-
options.reviewedMemoryIds
|
|
25278
|
+
options.reviewedMemoryIds,
|
|
25279
|
+
previousUnreadable
|
|
25208
25280
|
);
|
|
25209
25281
|
const memoriesById = new Map(memories.map((memory) => [memory.uniqueId, memory]));
|
|
25210
25282
|
const fallbackPriors = /* @__PURE__ */ new Map();
|
|
@@ -25224,7 +25296,7 @@ async function synthesizeProfile(ctx, options = {}) {
|
|
|
25224
25296
|
if (prior && !staleKeys.has(facet.key)) {
|
|
25225
25297
|
return prior;
|
|
25226
25298
|
}
|
|
25227
|
-
return synthesizeFacet(facet,
|
|
25299
|
+
return synthesizeFacet(facet, recallCtx, options, fallbackPriors.get(facet.key));
|
|
25228
25300
|
})
|
|
25229
25301
|
);
|
|
25230
25302
|
const sections = settled.map((r, i) => {
|
|
@@ -25239,12 +25311,18 @@ async function synthesizeProfile(ctx, options = {}) {
|
|
|
25239
25311
|
);
|
|
25240
25312
|
return fallbackSection(facet, fallbackPriors.get(facet.key));
|
|
25241
25313
|
});
|
|
25314
|
+
if (!sameUnreadable && unreadableMemoryIds.length > 0) {
|
|
25315
|
+
getLogger().warn("[memory/synthesizeProfile] some memories could not be read", {
|
|
25316
|
+
unreadable: unreadableMemoryIds.length
|
|
25317
|
+
});
|
|
25318
|
+
}
|
|
25242
25319
|
return {
|
|
25243
25320
|
version: PROFILE_DOC_VERSION,
|
|
25244
25321
|
sections,
|
|
25245
25322
|
vaultWatermark: watermark,
|
|
25246
25323
|
config,
|
|
25247
25324
|
observationTrends,
|
|
25325
|
+
...unreadableMemoryIds.length > 0 && { unreadableMemoryIds },
|
|
25248
25326
|
generatedAt: Date.now()
|
|
25249
25327
|
};
|
|
25250
25328
|
}
|
|
@@ -25278,11 +25356,13 @@ function computeVaultWatermark(memories) {
|
|
|
25278
25356
|
}
|
|
25279
25357
|
return max;
|
|
25280
25358
|
}
|
|
25281
|
-
async function computeStaleFacetKeys(ctx, memories, facets, previous, watermark, reviewedMemoryIds) {
|
|
25359
|
+
async function computeStaleFacetKeys(ctx, memories, facets, previous, watermark, reviewedMemoryIds, previouslyUnreadable) {
|
|
25282
25360
|
const allKeys = new Set(facets.map((f) => f.key));
|
|
25283
25361
|
if (previous && watermark < previous.vaultWatermark) return allKeys;
|
|
25284
25362
|
if (!previous) return allKeys;
|
|
25285
|
-
const changed = memories.filter(
|
|
25363
|
+
const changed = memories.filter(
|
|
25364
|
+
(m) => changeTime(m) > previous.vaultWatermark || previouslyUnreadable.has(m.uniqueId)
|
|
25365
|
+
);
|
|
25286
25366
|
const changedIds = new Set(changed.map((m) => m.uniqueId));
|
|
25287
25367
|
const presentIds = new Set(memories.map((m) => m.uniqueId));
|
|
25288
25368
|
const stale = /* @__PURE__ */ new Set();
|
|
@@ -25356,7 +25436,12 @@ async function attributeFacts(ctx, candidates, facets) {
|
|
|
25356
25436
|
for (const fv of factVectors) {
|
|
25357
25437
|
let matchedAny = false;
|
|
25358
25438
|
for (let i = 0; i < facets.length; i++) {
|
|
25359
|
-
|
|
25439
|
+
const query = queryVectors[i];
|
|
25440
|
+
const similarity = cosineSimilarity(
|
|
25441
|
+
fv,
|
|
25442
|
+
fv.length < query.length ? query.slice(0, fv.length) : query
|
|
25443
|
+
);
|
|
25444
|
+
if (similarity >= NEW_FACT_ATTRIBUTION_MIN_SCORE) {
|
|
25360
25445
|
keys.add(facets[i].key);
|
|
25361
25446
|
matchedAny = true;
|
|
25362
25447
|
}
|
|
@@ -39244,6 +39329,7 @@ function useWalletBinding(options = {}) {
|
|
|
39244
39329
|
TOOL_RESULT_ORIGIN,
|
|
39245
39330
|
TOPICS_EXTRACTION_VERSION,
|
|
39246
39331
|
TOPIC_EXTRACTION_BATCH_SIZE,
|
|
39332
|
+
TOPIC_SALIENCE_WEIGHTS,
|
|
39247
39333
|
TREND_RECENT_WINDOW_DAYS,
|
|
39248
39334
|
TREND_STALE_WINDOW_DAYS,
|
|
39249
39335
|
TextProcessor,
|
|
@@ -39506,6 +39592,7 @@ function useWalletBinding(options = {}) {
|
|
|
39506
39592
|
preEmbedVaultMemories,
|
|
39507
39593
|
preprocessFiles,
|
|
39508
39594
|
previewToolSelection,
|
|
39595
|
+
primaryTopic,
|
|
39509
39596
|
projectToStored,
|
|
39510
39597
|
putAppFileOp,
|
|
39511
39598
|
quantizeEmbedding,
|
|
@@ -39579,6 +39666,7 @@ function useWalletBinding(options = {}) {
|
|
|
39579
39666
|
summarizeObservationTrends,
|
|
39580
39667
|
supersedeVaultMemoryOp,
|
|
39581
39668
|
synthesizeProfile,
|
|
39669
|
+
topicWeight,
|
|
39582
39670
|
traverseGraphLane,
|
|
39583
39671
|
ttlForType,
|
|
39584
39672
|
updateAttrs,
|
package/dist/react/index.d.mts
CHANGED
|
@@ -3899,7 +3899,30 @@ interface StoredTopic {
|
|
|
3899
3899
|
name: string;
|
|
3900
3900
|
kind?: string;
|
|
3901
3901
|
source: TopicSource;
|
|
3902
|
+
/** How central the topic is to the memory, in (0, 1]; read it with {@link topicWeight}. */
|
|
3903
|
+
weight?: number;
|
|
3902
3904
|
}
|
|
3905
|
+
/**
|
|
3906
|
+
* Fixed weight per salience level the topic extractor assigns.
|
|
3907
|
+
* @public
|
|
3908
|
+
*/
|
|
3909
|
+
declare const TOPIC_SALIENCE_WEIGHTS: {
|
|
3910
|
+
readonly primary: 1;
|
|
3911
|
+
readonly secondary: 0.6;
|
|
3912
|
+
readonly mention: 0.3;
|
|
3913
|
+
};
|
|
3914
|
+
/** @public */
|
|
3915
|
+
type TopicSalience = keyof typeof TOPIC_SALIENCE_WEIGHTS;
|
|
3916
|
+
/**
|
|
3917
|
+
* A topic's weight: 1 when it is user-set or carries no weight.
|
|
3918
|
+
* @public
|
|
3919
|
+
*/
|
|
3920
|
+
declare function topicWeight(topic: StoredTopic): number;
|
|
3921
|
+
/**
|
|
3922
|
+
* The first topic with the highest weight, or null when there are none.
|
|
3923
|
+
* @public
|
|
3924
|
+
*/
|
|
3925
|
+
declare function primaryTopic(topics: readonly StoredTopic[] | null | undefined): StoredTopic | null;
|
|
3903
3926
|
/** @public */
|
|
3904
3927
|
interface CreateEntityOptions {
|
|
3905
3928
|
canonicalName: string;
|
|
@@ -3915,6 +3938,7 @@ interface CreateEntityOptions {
|
|
|
3915
3938
|
type EntityInput = string | {
|
|
3916
3939
|
name: string;
|
|
3917
3940
|
kind?: EntityKind | (string & {});
|
|
3941
|
+
weight?: number;
|
|
3918
3942
|
};
|
|
3919
3943
|
interface EntityOperationsContext {
|
|
3920
3944
|
database: Database;
|
|
@@ -5969,6 +5993,7 @@ interface AutoExtractMessage {
|
|
|
5969
5993
|
interface ExtractedEntity {
|
|
5970
5994
|
name: string;
|
|
5971
5995
|
kind?: EntityKind;
|
|
5996
|
+
weight?: number;
|
|
5972
5997
|
}
|
|
5973
5998
|
interface ExtractedCandidate {
|
|
5974
5999
|
content: string;
|
|
@@ -12032,6 +12057,12 @@ interface ProfileDoc {
|
|
|
12032
12057
|
* without another LLM pass. Recomputed every synthesis (not delta-cached).
|
|
12033
12058
|
*/
|
|
12034
12059
|
observationTrends: Record<ObservationTrend, number>;
|
|
12060
|
+
/**
|
|
12061
|
+
* Sorted ids the store listed but could not decrypt at synthesis time.
|
|
12062
|
+
* Absent when every memory was readable. A later call regenerates only when
|
|
12063
|
+
* this set changes, and attributes a memory once it becomes readable.
|
|
12064
|
+
*/
|
|
12065
|
+
unreadableMemoryIds?: string[];
|
|
12035
12066
|
/** Unix ms this doc was produced. */
|
|
12036
12067
|
generatedAt: number;
|
|
12037
12068
|
}
|
|
@@ -12085,6 +12116,12 @@ interface SynthesizeProfileOptions extends PortalLlmAuth {
|
|
|
12085
12116
|
* never accidentally disable the gate by finding it empty.
|
|
12086
12117
|
*/
|
|
12087
12118
|
reviewedMemoryIds?: readonly string[];
|
|
12119
|
+
/**
|
|
12120
|
+
* Read facts and recall through this store instead of `ctx.vaultCtx` and
|
|
12121
|
+
* `ctx.vaultCache`, so a remote store works. Only `ctx.embeddingOptions` is
|
|
12122
|
+
* then read from `ctx`.
|
|
12123
|
+
*/
|
|
12124
|
+
store?: Pick<MemoryStore, "list" | "listProjections" | "factSource">;
|
|
12088
12125
|
}
|
|
12089
12126
|
/**
|
|
12090
12127
|
* Synthesize a shareable {@link ProfileDoc} from the user's vault, on-device.
|
|
@@ -16391,4 +16428,4 @@ type UseWalletBindingResult = {
|
|
|
16391
16428
|
*/
|
|
16392
16429
|
declare function useWalletBinding(options?: UseWalletBindingOptions): UseWalletBindingResult;
|
|
16393
16430
|
|
|
16394
|
-
export { Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, DEFAULT_CONVERSATIONS_FOLDER as BACKUP_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as BACKUP_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, 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 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_BACKUP_FOLDER$1 as DEFAULT_BACKUP_FOLDER, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_CONVERSATIONS_FOLDER as DEFAULT_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as DEFAULT_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_DROPBOX_FOLDER, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_BACKUP_FOLDER as DEFAULT_ICLOUD_BACKUP_FOLDER, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DeckProps, type DisplayToolMigrations, type DropboxAuthContextValue, DropboxAuthProvider, type DropboxAuthProviderProps, type DropboxExportResult, type DropboxImportResult, 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 GoogleDriveAuthContextValue, GoogleDriveAuthProvider, type GoogleDriveAuthProviderProps, type GoogleDriveExportResult, type GoogleDriveImportResult, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, 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 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 RecallToolCallbacks, type RecallToolOptions, 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, TREND_RECENT_WINDOW_DAYS, TREND_STALE_WINDOW_DAYS, type TextChunk, TextProcessor, type TextProps, type ThemeAttr, type ToolCallArgumentsDeltaEvent, type ToolMatchOptions, type ToolMatchResult, type ToolSet, type TopicExtractOptions, type TopicExtractionInput, type TopicExtractionRunResult, type 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 UseDropboxBackupOptions, type UseDropboxBackupResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, type UseGoogleDriveBackupOptions, type UseGoogleDriveBackupResult, type UseICloudBackupOptions, type UseICloudBackupResult, type UseModelsResult, type UseOCRResult, type UsePdfResult, type UsePhoneCallsOptions, type UsePhoneCallsResult, type UseProjectsOptions, type UseProjectsResult, type UseSettingsOptions, type UseSettingsResult, type UseSubscriptionOptions, type UseSubscriptionResult, type UseToolsOptions, type UseToolsResult, type UseVoiceOptions, type UseVoiceResult, type UseWalletBindingOptions, type UseWalletBindingResult, VAULT_SIZE_HOP_CAP, type VaultCandidateKey, type VaultEmbeddingCache, type 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, clearCalendarToken, clearConversationMemoriesOp, clearDriveToken, clearToken as clearDropboxToken, clearEncryptionKey, clearGithubToken, clearGoogleDriveToken, 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, 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, getAndClearCalendarPendingMessage, getAndClearCalendarReturnUrl, getAndClearDrivePendingMessage, getAndClearDriveReturnUrl, getAndClearGithubPendingMessage, getAndClearGithubReturnUrl, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getCalendarAccessToken, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getDriveAccessToken, getEncryptionKey, getEntitiesByMemoryIdsOp, getGithubAccessToken, getGoogleDriveStoredToken, getId, getImagesOp, getLogger, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesByEntityNamesOp, getMemoriesNeedingTopicExtractionOp, getNotionAccessToken, getNotionMCPUrl, getNumberAttr, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getSavedToolByIdOp, getServerTools, getStringAttr, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserUploadedMediaOp, getValidCalendarToken, getValidDriveToken, getValidGithubToken, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleCalendarCallback, handleDriveCallback, handleGithubCallback, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasCalendarCredentials, hasDriveCredentials, hasDropboxCredentials, hasEncryptionKey, hasGithubCredentials, hasGoogleDriveCredentials, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isAttachedFilesText, isCalendarCallback, isDegradedTopicSkip, isDriveCallback, isEncrypted, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, maskScopedEmbeddingCache, mediaToStored, memoryCipher, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reencryptMemoryField, reflect, refreshCalendarToken, refreshDriveToken, refreshEncryptionKeyIfMatches, refreshGithubToken, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeCalendarToken, revokeDriveToken, revokeGithubToken, revokeNotionAccess, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRecallMemory, shouldRefreshTools, stampTopicsExtractedAtOp, startGithubAuth, startNotionAuth, storeCalendarPendingMessage, storeCalendarReturnUrl, storeCalendarToken, storeDrivePendingMessage, storeDriveReturnUrl, storeDriveToken, storeGithubPendingMessage, storeGithubReturnUrl, storeGithubToken, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, stripLegacyChunkTextOp, summarizeObservationTrends, supersedeVaultMemoryOp, synthesizeProfile, traverseGraphLane, ttlForType, updateAttrs, updateConversationProjectOp, updateMediaMessageIdBatchOp, updateMediaOp, updateMessageFeedbackOp, updateProjectNameOp, updateProjectOp, updateSavedToolOp, updateVaultFolderContextOp, updateVaultFolderOp, updateVaultMemoryEmbeddingOp, updateVaultMemoryOp, useAnumaTheme, useBackup, useBackupAuth, useChat, useChatStorage, useCredits, useDatabaseManager, useDropboxAuth, useDropboxBackup, useEncryption, useExportPdf, useFiles, useGoogleDriveAuth, useGoogleDriveBackup, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, verifyMemoriesForPublish, walk, webPlatformStorage, withActiveToolSetServerTools, withInternalFlowMarker, writeEncryptedFile };
|
|
16431
|
+
export { Anuma, type AnumaChild, AnumaJsxError, type AnumaNode, AnumaShadowIsolationProvider, type AnumaShadowIsolationProviderProps, type AnumaTheme, AnumaThemeProvider, type AnumaThemeProviderProps, AppFile as AppFileModel, type AppFileOperationsContext, type AttrValue, type AutoExtractMessage, type AutoExtractor, DEFAULT_CONVERSATIONS_FOLDER as BACKUP_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as BACKUP_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER as BACKUP_ICLOUD_FOLDER, BUILT_IN_TOOL_SETS, type BackupAuthContextValue, BackupAuthProvider, type BackupAuthProviderProps, type BackupOperationOptions, BlobUrlManager, type Budget, 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 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_BACKUP_FOLDER$1 as DEFAULT_BACKUP_FOLDER, DEFAULT_CACHE_EXPIRATION_MS, DEFAULT_CHUNK_CACHE_SIZE, DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE, DEFAULT_DECAY_POLICY, DEFAULT_CONVERSATIONS_FOLDER as DEFAULT_DRIVE_CONVERSATIONS_FOLDER, DEFAULT_ROOT_FOLDER as DEFAULT_DRIVE_ROOT_FOLDER, DEFAULT_BACKUP_FOLDER$1 as DEFAULT_DROPBOX_FOLDER, DEFAULT_EXCLUDED_SERVER_TOOLS, DEFAULT_BACKUP_FOLDER as DEFAULT_ICLOUD_BACKUP_FOLDER, DEFAULT_MAX_CLASSIFIER_CALLS_PER_SWEEP, DEFAULT_MIN_CHUNK_SIZE, DEFAULT_PERSONALITY_SETTINGS, DEFAULT_PROFILE_FACETS, DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, DEFAULT_PROFILE_PROOF_ALPHA, DEFAULT_PROFILE_TREND_MULTIPLIERS, DEFAULT_SERVER_TOOLS_MATCH_OPTIONS, DEFAULT_VAULT_CACHE_SIZE, DatabaseManager, type DatabaseManagerLogger, type DatabaseManagerOptions, type DecayCandidateRaw, type DecayClassifier, type DecayInput, type DecayPolicy, type DecaySweepResult, type DecaySweeper, type DecayVerdict, type DeckProps, type DisplayToolMigrations, type DropboxAuthContextValue, DropboxAuthProvider, type DropboxAuthProviderProps, type DropboxExportResult, type DropboxImportResult, 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 GoogleDriveAuthContextValue, GoogleDriveAuthProvider, type GoogleDriveAuthProviderProps, type GoogleDriveExportResult, type GoogleDriveImportResult, type GraphTraversalOptions, type GroupProps, HARD_DELETE_WINDOW_MS, type ICloudAuthContextValue, ICloudAuthProvider, type ICloudAuthProviderProps, type ICloudExportResult, type ICloudImportResult, INFERENCE_ID_HEADER, 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 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 RecallToolCallbacks, type RecallToolOptions, 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 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 UseDropboxBackupOptions, type UseDropboxBackupResult, type UseEncryptionResult, type UseExportPdfResult, type UseFilesOptions, type UseFilesResult, type UseGoogleDriveBackupOptions, type UseGoogleDriveBackupResult, type UseICloudBackupOptions, type UseICloudBackupResult, type UseModelsResult, type UseOCRResult, type UsePdfResult, type UsePhoneCallsOptions, type UsePhoneCallsResult, type UseProjectsOptions, type UseProjectsResult, type UseSettingsOptions, type UseSettingsResult, type UseSubscriptionOptions, type UseSubscriptionResult, type UseToolsOptions, type UseToolsResult, type UseVoiceOptions, type UseVoiceResult, type UseWalletBindingOptions, type UseWalletBindingResult, VAULT_SIZE_HOP_CAP, type VaultCandidateKey, type VaultEmbeddingCache, type 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, clearCalendarToken, clearConversationMemoriesOp, clearDriveToken, clearToken as clearDropboxToken, clearEncryptionKey, clearGithubToken, clearGoogleDriveToken, 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, 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, getAndClearCalendarPendingMessage, getAndClearCalendarReturnUrl, getAndClearDrivePendingMessage, getAndClearDriveReturnUrl, getAndClearGithubPendingMessage, getAndClearGithubReturnUrl, getAndClearNotionPendingMessage, getAndClearNotionReturnUrl, getAppFileMapOp, getAppFileOp, getAppFilesOp, getAudioOp, getCachedServerTools, getCalendarAccessToken, getConversationMemoriesOp, getConversationsByProjectLazyOp, getConversationsByProjectOp, getConversationsLazyOp, getConversationsPageOp, getDecayCandidatesRawOp, getDocumentsOp, getDriveAccessToken, getEncryptionKey, getEntitiesByMemoryIdsOp, getGithubAccessToken, getGoogleDriveStoredToken, getId, getImagesOp, getLogger, getMediaByConversationOp, getMediaByIdOp, getMediaByIdsOp, getMediaByMessageOp, getMediaByModelOp, getMediaByRoleOp, getMediaBySourceUrlOp, getMediaByTypeOp, getMediaCountOp, getMediaCountsByTypeOp, getMediaOp, getMediaTypeFromMime, getMemoriesByEntityNamesOp, getMemoriesNeedingTopicExtractionOp, getNotionAccessToken, getNotionMCPUrl, getNumberAttr, getProjectConversationCountOp, getProjectConversationsOp, getProjectOp, getProjectsOp, getRecentMediaOp, getSavedToolByIdOp, getServerTools, getStringAttr, getSupportedFileTypes, getToolsChecksum, getUnfiledVaultMemoriesOp, getUserUploadedMediaOp, getValidCalendarToken, getValidDriveToken, getValidGithubToken, getValidNotionToken, getVaultCandidateKeysOp, getVaultEmbeddingsByIdsOp, getVaultFolderMemoryCountOp, getVaultMemoriesByIdsOp, getVaultMemoryOp, getVaultRankingProjectionsOp, getVideosOp, handleCalendarCallback, handleDriveCallback, handleGithubCallback, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasCalendarCredentials, hasDriveCredentials, hasDropboxCredentials, hasEncryptionKey, hasGithubCredentials, hasGoogleDriveCredentials, hasICloudCredentials, hasKeyPair, hasNotionCredentials, ingestPublishedPhotoMemoriesOp, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isAttachedFilesText, isCalendarCallback, isDegradedTopicSkip, isDriveCallback, isEncrypted, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, maskScopedEmbeddingCache, mediaToStored, memoryCipher, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, primaryTopic, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reencryptMemoryField, reflect, refreshCalendarToken, refreshDriveToken, refreshEncryptionKeyIfMatches, refreshGithubToken, refreshNotionToken, relinkMemoryTopicsOp, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeCalendarToken, revokeDriveToken, revokeGithubToken, revokeNotionAccess, savedToolToStored, scoreProfileSalience, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, seedEncryptionKeys, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, setMemoryVisibilityOp, settingsStorageSchema, shouldChunkMessage, shouldRecallMemory, shouldRefreshTools, stampTopicsExtractedAtOp, startGithubAuth, startNotionAuth, storeCalendarPendingMessage, storeCalendarReturnUrl, storeCalendarToken, storeDrivePendingMessage, storeDriveReturnUrl, storeDriveToken, storeGithubPendingMessage, storeGithubReturnUrl, storeGithubToken, 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, useDropboxAuth, useDropboxBackup, useEncryption, useExportPdf, useFiles, useGoogleDriveAuth, useGoogleDriveBackup, useICloudAuth, useICloudBackup, useModels, useOCR, usePdf, usePhoneCalls, useProjects, useSettings, useSubscription, useTools, useUIInteraction, useVoice, useWalletBinding, userPreferencesStorageSchema, verifyMemoriesForPublish, walk, webPlatformStorage, withActiveToolSetServerTools, withInternalFlowMarker, writeEncryptedFile };
|