@anuma/sdk 3.4.0 → 3.6.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/{chunk-C7PGRFBG.mjs → chunk-7TATXBC5.mjs} +45 -8
- package/dist/expo/index.cjs +158 -19
- package/dist/expo/index.d.mts +97 -4
- package/dist/expo/index.d.ts +97 -4
- package/dist/expo/index.mjs +104 -11
- package/dist/expo/{recall-7ZX6T2VD.mjs → recall-IO4KJ5W7.mjs} +1 -1
- package/dist/react/{chunk-CGC3UJHM.mjs → chunk-DDHTJGZN.mjs} +45 -8
- package/dist/react/index.cjs +158 -19
- package/dist/react/index.d.mts +97 -4
- package/dist/react/index.d.ts +97 -4
- package/dist/react/index.mjs +104 -11
- package/dist/react/{recall-OTUNGQHQ.mjs → recall-OPKHWKZX.mjs} +1 -1
- package/dist/server/{chunk-LUDHA4X4.mjs → chunk-V7SVKIXQ.mjs} +45 -8
- package/dist/server/index.cjs +158 -19
- package/dist/server/index.d.mts +97 -4
- package/dist/server/index.d.ts +97 -4
- package/dist/server/index.mjs +104 -11
- package/dist/server/{recall-GWRWPGE4.mjs → recall-IWY2MYHR.mjs} +1 -1
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -4649,11 +4649,20 @@ async function getModel() {
|
|
|
4649
4649
|
function sigmoid(x) {
|
|
4650
4650
|
return 1 / (1 + Math.exp(-x));
|
|
4651
4651
|
}
|
|
4652
|
+
function formatRerankDoc(content, dateMs) {
|
|
4653
|
+
if (dateMs === null || dateMs === void 0 || !Number.isFinite(dateMs)) return content;
|
|
4654
|
+
const d = new Date(dateMs);
|
|
4655
|
+
if (!Number.isFinite(d.getTime())) return content;
|
|
4656
|
+
const yyyy = d.getFullYear();
|
|
4657
|
+
const mm = String(d.getMonth() + 1).padStart(2, "0");
|
|
4658
|
+
const dd = String(d.getDate()).padStart(2, "0");
|
|
4659
|
+
return `[Date: ${yyyy}-${mm}-${dd}] ${content}`;
|
|
4660
|
+
}
|
|
4652
4661
|
async function rerankPairs(query, items) {
|
|
4653
4662
|
if (items.length === 0 || !query) return [];
|
|
4654
4663
|
const { tokenizer, model } = await getModel();
|
|
4655
4664
|
const queries = items.map(() => query);
|
|
4656
|
-
const docs = items.map((i) => i.content);
|
|
4665
|
+
const docs = items.map((i) => formatRerankDoc(i.content, i.dateMs));
|
|
4657
4666
|
const tokenize2 = tokenizer;
|
|
4658
4667
|
const inputs = tokenize2(queries, { text_pair: docs, padding: true, truncation: true });
|
|
4659
4668
|
const forward = model;
|
|
@@ -5928,6 +5937,23 @@ var init_recall = __esm({
|
|
|
5928
5937
|
function normalizeEventTimeKind(kind) {
|
|
5929
5938
|
return kind === "point" || kind === "range" || kind === "ongoing" ? kind : null;
|
|
5930
5939
|
}
|
|
5940
|
+
function rerankDateMs(item) {
|
|
5941
|
+
if (item.eventTimeStart !== null && item.eventTimeStart !== void 0 && Number.isFinite(item.eventTimeStart) && item.eventTimeStart > 0) {
|
|
5942
|
+
return item.eventTimeStart;
|
|
5943
|
+
}
|
|
5944
|
+
if (item.lastObservedAt !== null && item.lastObservedAt !== void 0 && Number.isFinite(item.lastObservedAt) && item.lastObservedAt > 0) {
|
|
5945
|
+
return item.lastObservedAt;
|
|
5946
|
+
}
|
|
5947
|
+
const updatedMs = item.updatedAt?.getTime();
|
|
5948
|
+
if (updatedMs !== null && updatedMs !== void 0 && Number.isFinite(updatedMs) && updatedMs > 0) {
|
|
5949
|
+
return updatedMs;
|
|
5950
|
+
}
|
|
5951
|
+
const createdMs = item.createdAt?.getTime();
|
|
5952
|
+
if (createdMs !== null && createdMs !== void 0 && Number.isFinite(createdMs) && createdMs > 0) {
|
|
5953
|
+
return createdMs;
|
|
5954
|
+
}
|
|
5955
|
+
return void 0;
|
|
5956
|
+
}
|
|
5931
5957
|
function supersessionDelta(olderScore, newerScore, boostFactor = SUPERSESSION_BOOST_FACTOR) {
|
|
5932
5958
|
const gap = olderScore - newerScore;
|
|
5933
5959
|
return gap * boostFactor;
|
|
@@ -6069,8 +6095,8 @@ function rankFusedVaultMemories(query, queryEmbedding, items, options) {
|
|
|
6069
6095
|
const proofCount = Math.max(1, item?.proofCount ?? 1);
|
|
6070
6096
|
const proofBoost = 1 + proofCountAlpha * Math.log(1 + proofCount) - proofCountAlpha * Math.log(2);
|
|
6071
6097
|
const rawTypeWeight = item?.factType ? factTypeWeights?.[item.factType] : void 0;
|
|
6072
|
-
const
|
|
6073
|
-
return recencyBoost * proofBoost *
|
|
6098
|
+
const typeWeight2 = rawTypeWeight !== void 0 && Number.isFinite(rawTypeWeight) && rawTypeWeight > 0 ? rawTypeWeight : 1;
|
|
6099
|
+
return recencyBoost * proofBoost * typeWeight2;
|
|
6074
6100
|
};
|
|
6075
6101
|
let combined = [...baseRanked, ...admitted].map((r) => ({
|
|
6076
6102
|
...r,
|
|
@@ -6130,6 +6156,7 @@ async function rankFusedVaultMemoriesAsync(query, queryEmbedding, items, options
|
|
|
6130
6156
|
}
|
|
6131
6157
|
let combined;
|
|
6132
6158
|
let tailSlice = [];
|
|
6159
|
+
const itemById = new Map(items.map((i) => [i.id, i]));
|
|
6133
6160
|
if (options?.rerank) {
|
|
6134
6161
|
const rerankTopN = options.rerankTopN ?? 30;
|
|
6135
6162
|
const ceWeight = options.ceWeight ?? 0.1;
|
|
@@ -6137,7 +6164,12 @@ async function rankFusedVaultMemoriesAsync(query, queryEmbedding, items, options
|
|
|
6137
6164
|
try {
|
|
6138
6165
|
const reranked = await rerankPairs(
|
|
6139
6166
|
query,
|
|
6140
|
-
headSlice.map((r) => ({
|
|
6167
|
+
headSlice.map((r) => ({
|
|
6168
|
+
id: r.uniqueId,
|
|
6169
|
+
content: r.content,
|
|
6170
|
+
// C4: date-prefix the CE doc so temporal alignment influences rank.
|
|
6171
|
+
dateMs: rerankDateMs(itemById.get(r.uniqueId) ?? r)
|
|
6172
|
+
}))
|
|
6141
6173
|
);
|
|
6142
6174
|
tailSlice = v2Ranked.slice(rerankTopN);
|
|
6143
6175
|
const v2ScoreById = new Map(headSlice.map((r) => [r.uniqueId, r.similarity]));
|
|
@@ -6172,11 +6204,11 @@ async function rankFusedVaultMemoriesAsync(query, queryEmbedding, items, options
|
|
|
6172
6204
|
const fused = rrfFuse([headIds, headIds, ...sideLanesAsync], options?.rrfK);
|
|
6173
6205
|
const fusedHead = combined.map((r) => ({ ...r, similarity: fused.get(r.uniqueId) ?? r.similarity })).sort((a, b) => b.similarity - a.similarity);
|
|
6174
6206
|
const seen = new Set(combined.map((r) => r.uniqueId));
|
|
6175
|
-
const
|
|
6207
|
+
const itemById2 = new Map(items.map((i) => [i.id, i]));
|
|
6176
6208
|
for (const lane of sideLanesAsync) {
|
|
6177
6209
|
for (const id of lane) {
|
|
6178
6210
|
if (seen.has(id)) continue;
|
|
6179
|
-
const it =
|
|
6211
|
+
const it = itemById2.get(id);
|
|
6180
6212
|
if (!it) continue;
|
|
6181
6213
|
fusedHead.push({
|
|
6182
6214
|
uniqueId: id,
|
|
@@ -6195,11 +6227,11 @@ async function rankFusedVaultMemoriesAsync(query, queryEmbedding, items, options
|
|
|
6195
6227
|
if (options?.mmr) {
|
|
6196
6228
|
const lambda = options.mmrLambda ?? 0.7;
|
|
6197
6229
|
const mmrTopN = options.mmrTopN ?? 20;
|
|
6198
|
-
const
|
|
6230
|
+
const itemById2 = new Map(items.map((i) => [i.id, i]));
|
|
6199
6231
|
const mmrCandidates = combined.slice(0, mmrTopN).map((r) => ({
|
|
6200
6232
|
id: r.uniqueId,
|
|
6201
6233
|
score: r.similarity,
|
|
6202
|
-
embedding:
|
|
6234
|
+
embedding: itemById2.get(r.uniqueId)?.embedding ?? [],
|
|
6203
6235
|
content: r.content
|
|
6204
6236
|
}));
|
|
6205
6237
|
const picked = applyMMR(mmrCandidates, limit, lambda);
|
|
@@ -6321,7 +6353,12 @@ async function rankComposite(originalQuery, originalQueryEmbedding, subQueries,
|
|
|
6321
6353
|
try {
|
|
6322
6354
|
const reranked = await rerankPairs(
|
|
6323
6355
|
originalQuery,
|
|
6324
|
-
headSlice.map((r) => ({
|
|
6356
|
+
headSlice.map((r) => ({
|
|
6357
|
+
id: r.uniqueId,
|
|
6358
|
+
content: r.content,
|
|
6359
|
+
// C4: date-prefix the CE doc so temporal alignment influences rank.
|
|
6360
|
+
dateMs: rerankDateMs(itemById.get(r.uniqueId) ?? r)
|
|
6361
|
+
}))
|
|
6325
6362
|
);
|
|
6326
6363
|
const ceById = new Map(reranked.map((r) => [r.id, r.score]));
|
|
6327
6364
|
const head = headSlice.map((r) => ({
|
|
@@ -6985,6 +7022,9 @@ __export(index_exports, {
|
|
|
6985
7022
|
DEFAULT_MIN_CHUNK_SIZE: () => DEFAULT_MIN_CHUNK_SIZE,
|
|
6986
7023
|
DEFAULT_PERSONALITY_SETTINGS: () => DEFAULT_PERSONALITY_SETTINGS,
|
|
6987
7024
|
DEFAULT_PROFILE_FACETS: () => DEFAULT_PROFILE_FACETS,
|
|
7025
|
+
DEFAULT_PROFILE_FACT_TYPE_WEIGHTS: () => DEFAULT_PROFILE_FACT_TYPE_WEIGHTS,
|
|
7026
|
+
DEFAULT_PROFILE_PROOF_ALPHA: () => DEFAULT_PROFILE_PROOF_ALPHA,
|
|
7027
|
+
DEFAULT_PROFILE_TREND_MULTIPLIERS: () => DEFAULT_PROFILE_TREND_MULTIPLIERS,
|
|
6988
7028
|
DEFAULT_SERVER_TOOLS_MATCH_OPTIONS: () => DEFAULT_SERVER_TOOLS_MATCH_OPTIONS,
|
|
6989
7029
|
DEFAULT_VAULT_CACHE_SIZE: () => DEFAULT_VAULT_CACHE_SIZE,
|
|
6990
7030
|
DatabaseManager: () => DatabaseManager,
|
|
@@ -7270,6 +7310,7 @@ __export(index_exports, {
|
|
|
7270
7310
|
putAppFileOp: () => putAppFileOp,
|
|
7271
7311
|
quantizeEmbedding: () => quantizeEmbedding,
|
|
7272
7312
|
queueManager: () => queueManager,
|
|
7313
|
+
rankProfileCandidates: () => rankProfileCandidates,
|
|
7273
7314
|
readEncryptedFile: () => readEncryptedFile,
|
|
7274
7315
|
recall: () => recall,
|
|
7275
7316
|
reflect: () => reflect,
|
|
@@ -7296,6 +7337,7 @@ __export(index_exports, {
|
|
|
7296
7337
|
revokeGithubToken: () => revokeGithubToken,
|
|
7297
7338
|
revokeNotionAccess: () => revokeNotionAccess,
|
|
7298
7339
|
savedToolToStored: () => savedToolToStored,
|
|
7340
|
+
scoreProfileSalience: () => scoreProfileSalience,
|
|
7299
7341
|
screenCandidatesForInjection: () => screenCandidatesForInjection,
|
|
7300
7342
|
sdkMigrations: () => sdkMigrations,
|
|
7301
7343
|
sdkModelClasses: () => sdkModelClasses,
|
|
@@ -15598,6 +15640,64 @@ function createDecaySweeper(options) {
|
|
|
15598
15640
|
// src/lib/memory/index.ts
|
|
15599
15641
|
init_graphTraversal();
|
|
15600
15642
|
init_observationTrend();
|
|
15643
|
+
|
|
15644
|
+
// src/lib/memory/profileSalience.ts
|
|
15645
|
+
init_observationTrend();
|
|
15646
|
+
var DEFAULT_PROFILE_PROOF_ALPHA = 0.2;
|
|
15647
|
+
var DEFAULT_PROFILE_FACT_TYPE_WEIGHTS = {
|
|
15648
|
+
identity: 1.5,
|
|
15649
|
+
preference: 1.5,
|
|
15650
|
+
relationship: 1.5,
|
|
15651
|
+
constraint: 1.5,
|
|
15652
|
+
other: 1,
|
|
15653
|
+
plan: 0.6,
|
|
15654
|
+
ongoing_context: 0.6
|
|
15655
|
+
};
|
|
15656
|
+
var DEFAULT_PROFILE_TREND_MULTIPLIERS = {
|
|
15657
|
+
strengthening: 1.25,
|
|
15658
|
+
new: 1.1,
|
|
15659
|
+
stable: 1,
|
|
15660
|
+
weakening: 0.75,
|
|
15661
|
+
stale: 0.5
|
|
15662
|
+
};
|
|
15663
|
+
function typeWeight(factType, weights) {
|
|
15664
|
+
if (!factType) return 1;
|
|
15665
|
+
const w = weights[factType];
|
|
15666
|
+
if (w !== void 0 && Number.isFinite(w) && w > 0) return w;
|
|
15667
|
+
return 1;
|
|
15668
|
+
}
|
|
15669
|
+
function scoreProfileSalience(input, now = Date.now(), options = {}) {
|
|
15670
|
+
const alpha = options.proofCountAlpha ?? DEFAULT_PROFILE_PROOF_ALPHA;
|
|
15671
|
+
const typeWeights = { ...DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, ...options.factTypeWeights };
|
|
15672
|
+
const trendMults = { ...DEFAULT_PROFILE_TREND_MULTIPLIERS, ...options.trendMultipliers };
|
|
15673
|
+
const proofs = Math.max(1, input.proofCount ?? 1);
|
|
15674
|
+
const proofBoost = 1 + alpha * Math.log(1 + proofs) - alpha * Math.log(2);
|
|
15675
|
+
const trend = classifyObservationTrend(input, now);
|
|
15676
|
+
const tw = typeWeight(input.factType, typeWeights);
|
|
15677
|
+
const tm = trendMults[trend] ?? 1;
|
|
15678
|
+
const score = tw * proofBoost * tm;
|
|
15679
|
+
return Number.isFinite(score) ? score : 0;
|
|
15680
|
+
}
|
|
15681
|
+
function rankProfileCandidates(inputs, now = Date.now(), options = {}) {
|
|
15682
|
+
const ranked = inputs.map((input) => {
|
|
15683
|
+
const proofs = Math.max(1, input.proofCount ?? 1);
|
|
15684
|
+
return {
|
|
15685
|
+
id: input.id,
|
|
15686
|
+
score: scoreProfileSalience(input, now, options),
|
|
15687
|
+
trend: classifyObservationTrend(input, now),
|
|
15688
|
+
factType: input.factType ?? null,
|
|
15689
|
+
proofCount: proofs
|
|
15690
|
+
};
|
|
15691
|
+
});
|
|
15692
|
+
ranked.sort((a, b) => {
|
|
15693
|
+
if (b.score !== a.score) return b.score - a.score;
|
|
15694
|
+
if (b.proofCount !== a.proofCount) return b.proofCount - a.proofCount;
|
|
15695
|
+
return a.id < b.id ? -1 : a.id > b.id ? 1 : 0;
|
|
15696
|
+
});
|
|
15697
|
+
return ranked;
|
|
15698
|
+
}
|
|
15699
|
+
|
|
15700
|
+
// src/lib/memory/index.ts
|
|
15601
15701
|
init_recall();
|
|
15602
15702
|
|
|
15603
15703
|
// src/lib/memory/recallTool.ts
|
|
@@ -15831,18 +15931,18 @@ async function reflect(query, ctx, options) {
|
|
|
15831
15931
|
usage: { promptTokens: 0, completionTokens: 0, totalTokens: 0 }
|
|
15832
15932
|
};
|
|
15833
15933
|
if (trimmed.length === 0) return empty;
|
|
15834
|
-
const { maxTokens: _llmMaxTokens, ...recallOptions } = options;
|
|
15835
|
-
const
|
|
15836
|
-
const memoryIds =
|
|
15934
|
+
const { maxTokens: _llmMaxTokens, memories: providedMemories, ...recallOptions } = options;
|
|
15935
|
+
const recalledMemories = providedMemories !== void 0 ? providedMemories : (await recall(trimmed, ctx, recallOptions)).memories;
|
|
15936
|
+
const memoryIds = recalledMemories.map((m) => m.id);
|
|
15837
15937
|
const baseResult = {
|
|
15838
15938
|
text: "",
|
|
15839
15939
|
basedOn: { memoryIds },
|
|
15840
15940
|
usage: { promptTokens: 0, completionTokens: 0, totalTokens: 0 }
|
|
15841
15941
|
};
|
|
15842
|
-
if (
|
|
15942
|
+
if (recalledMemories.length === 0) {
|
|
15843
15943
|
return baseResult;
|
|
15844
15944
|
}
|
|
15845
|
-
const evidence =
|
|
15945
|
+
const evidence = recalledMemories.map((m, i) => `[${i + 1}] (id: ${m.id}, kind: ${m.kind})
|
|
15846
15946
|
${m.content}`).join("\n\n");
|
|
15847
15947
|
const baseUrl = options.baseUrl ?? DEFAULT_BASE_URL2;
|
|
15848
15948
|
const model = options.llmModel ?? DEFAULT_MODEL5;
|
|
@@ -15965,6 +16065,7 @@ init_constants();
|
|
|
15965
16065
|
init_embeddings();
|
|
15966
16066
|
init_vector();
|
|
15967
16067
|
init_observationTrend();
|
|
16068
|
+
init_recall();
|
|
15968
16069
|
var DEFAULT_SYNTHESIS_MODEL = "inclusionai/ling-2.6-flash";
|
|
15969
16070
|
var DEFAULT_FACET_RECALL_LIMIT = 20;
|
|
15970
16071
|
var DEFAULT_FACET_MAX_TOKENS = 512;
|
|
@@ -16037,7 +16138,8 @@ async function synthesizeProfile(ctx, options = {}) {
|
|
|
16037
16138
|
facetKeys: facets.map((f) => f.key).sort(),
|
|
16038
16139
|
facetsSignature: facetsSignature(facets),
|
|
16039
16140
|
scopes: [...scopes].sort(),
|
|
16040
|
-
redacted: options.redactor !== void 0
|
|
16141
|
+
redacted: options.redactor !== void 0,
|
|
16142
|
+
reviewedMemoryIdsSignature: reviewedMemoryIdsSignature(options.reviewedMemoryIds)
|
|
16041
16143
|
};
|
|
16042
16144
|
const previous = options.previous && options.previous.version === PROFILE_DOC_VERSION && configMatches(options.previous.config, config) ? options.previous : void 0;
|
|
16043
16145
|
const memories = await getAllVaultMemoriesOp(ctx.vaultCtx, {
|
|
@@ -16110,7 +16212,11 @@ async function synthesizeProfile(ctx, options = {}) {
|
|
|
16110
16212
|
}
|
|
16111
16213
|
function configMatches(a, b) {
|
|
16112
16214
|
if (!a) return false;
|
|
16113
|
-
return a.redacted === b.redacted && a.facetsSignature === b.facetsSignature && a.scopes.length === b.scopes.length && a.scopes.every((s, i) => s === b.scopes[i]);
|
|
16215
|
+
return a.redacted === b.redacted && a.facetsSignature === b.facetsSignature && (a.reviewedMemoryIdsSignature ?? "") === b.reviewedMemoryIdsSignature && a.scopes.length === b.scopes.length && a.scopes.every((s, i) => s === b.scopes[i]);
|
|
16216
|
+
}
|
|
16217
|
+
function reviewedMemoryIdsSignature(ids) {
|
|
16218
|
+
if (ids === void 0 || ids.length === 0) return "";
|
|
16219
|
+
return [...new Set(ids)].sort().join("\n");
|
|
16114
16220
|
}
|
|
16115
16221
|
function facetsSignature(facets) {
|
|
16116
16222
|
return facets.map((f) => JSON.stringify([f.key, f.label, f.query, f.guidance])).sort().join("\n");
|
|
@@ -16214,18 +16320,46 @@ async function attributeFacts(ctx, candidates, facets) {
|
|
|
16214
16320
|
return keys;
|
|
16215
16321
|
}
|
|
16216
16322
|
async function synthesizeFacet(facet, ctx, options, prior) {
|
|
16323
|
+
const scopes = options.scopes ?? DEFAULT_SCOPES;
|
|
16324
|
+
const limit = options.limit ?? DEFAULT_FACET_RECALL_LIMIT;
|
|
16325
|
+
const factTypeWeights = { ...DEFAULT_PROFILE_FACT_TYPE_WEIGHTS, ...options.factTypeWeights };
|
|
16326
|
+
const proofCountAlpha = options.proofCountAlpha ?? DEFAULT_PROFILE_PROOF_ALPHA;
|
|
16327
|
+
const reviewed = options.reviewedMemoryIds;
|
|
16328
|
+
const hasReviewGate = reviewed !== void 0 && reviewed.length > 0;
|
|
16329
|
+
const recalled = await recall(facet.query, ctx, {
|
|
16330
|
+
scopes,
|
|
16331
|
+
limit: hasReviewGate ? RECALL_MAX_LIMIT : limit,
|
|
16332
|
+
types: ["fact"],
|
|
16333
|
+
factTypeWeights,
|
|
16334
|
+
proofCountAlpha
|
|
16335
|
+
});
|
|
16336
|
+
let memories = recalled.memories;
|
|
16337
|
+
if (hasReviewGate) {
|
|
16338
|
+
const allowed = new Set(reviewed);
|
|
16339
|
+
memories = memories.filter((m) => allowed.has(m.id)).slice(0, limit);
|
|
16340
|
+
}
|
|
16341
|
+
if (memories.length === 0) {
|
|
16342
|
+
return {
|
|
16343
|
+
key: facet.key,
|
|
16344
|
+
label: facet.label,
|
|
16345
|
+
text: "",
|
|
16346
|
+
sourceMemoryIds: [],
|
|
16347
|
+
generatedAt: Date.now()
|
|
16348
|
+
};
|
|
16349
|
+
}
|
|
16217
16350
|
const result = await reflect(facet.query, ctx, {
|
|
16218
16351
|
apiKey: options.apiKey,
|
|
16219
16352
|
getToken: options.getToken,
|
|
16220
16353
|
llmModel: options.llmModel ?? DEFAULT_SYNTHESIS_MODEL,
|
|
16221
16354
|
baseUrl: options.baseUrl,
|
|
16222
16355
|
fetchFn: options.fetchFn,
|
|
16223
|
-
scopes
|
|
16224
|
-
limit
|
|
16356
|
+
scopes,
|
|
16357
|
+
limit,
|
|
16225
16358
|
types: ["fact"],
|
|
16226
16359
|
maxTokens: DEFAULT_FACET_MAX_TOKENS,
|
|
16227
16360
|
systemPrompt: buildFacetSystemPrompt(facet),
|
|
16228
|
-
responseSchema: FACET_RESPONSE_SCHEMA
|
|
16361
|
+
responseSchema: FACET_RESPONSE_SCHEMA,
|
|
16362
|
+
memories
|
|
16229
16363
|
});
|
|
16230
16364
|
const noEvidence = result.basedOn.memoryIds.length === 0;
|
|
16231
16365
|
const { text: text12, legitimateEmpty } = extractFacetText(result.structuredOutput);
|
|
@@ -32131,6 +32265,9 @@ function renderAnumaJsx(jsx3) {
|
|
|
32131
32265
|
DEFAULT_MIN_CHUNK_SIZE,
|
|
32132
32266
|
DEFAULT_PERSONALITY_SETTINGS,
|
|
32133
32267
|
DEFAULT_PROFILE_FACETS,
|
|
32268
|
+
DEFAULT_PROFILE_FACT_TYPE_WEIGHTS,
|
|
32269
|
+
DEFAULT_PROFILE_PROOF_ALPHA,
|
|
32270
|
+
DEFAULT_PROFILE_TREND_MULTIPLIERS,
|
|
32134
32271
|
DEFAULT_SERVER_TOOLS_MATCH_OPTIONS,
|
|
32135
32272
|
DEFAULT_VAULT_CACHE_SIZE,
|
|
32136
32273
|
DatabaseManager,
|
|
@@ -32416,6 +32553,7 @@ function renderAnumaJsx(jsx3) {
|
|
|
32416
32553
|
putAppFileOp,
|
|
32417
32554
|
quantizeEmbedding,
|
|
32418
32555
|
queueManager,
|
|
32556
|
+
rankProfileCandidates,
|
|
32419
32557
|
readEncryptedFile,
|
|
32420
32558
|
recall,
|
|
32421
32559
|
reflect,
|
|
@@ -32442,6 +32580,7 @@ function renderAnumaJsx(jsx3) {
|
|
|
32442
32580
|
revokeGithubToken,
|
|
32443
32581
|
revokeNotionAccess,
|
|
32444
32582
|
savedToolToStored,
|
|
32583
|
+
scoreProfileSalience,
|
|
32445
32584
|
screenCandidatesForInjection,
|
|
32446
32585
|
sdkMigrations,
|
|
32447
32586
|
sdkModelClasses,
|
package/dist/react/index.d.mts
CHANGED
|
@@ -6195,7 +6195,7 @@ interface VaultSearchResult {
|
|
|
6195
6195
|
updatedAt?: Date;
|
|
6196
6196
|
/** Times this fact has been re-observed — for C2 trend labels. */
|
|
6197
6197
|
proofCount?: number | null;
|
|
6198
|
-
/** C3 re-observation watermark (Unix ms) — for C2
|
|
6198
|
+
/** C3 re-observation watermark (Unix ms) — for C2 trends + C4 CE dates. */
|
|
6199
6199
|
lastObservedAt?: number | null;
|
|
6200
6200
|
/** W6 temporal-lane anchors carried through to downstream `RankedMemory`
|
|
6201
6201
|
* so the recall executor can surface dates to the answer model without
|
|
@@ -8152,6 +8152,66 @@ interface LlmNeighborRefinerOptions extends PortalLlmAuth {
|
|
|
8152
8152
|
*/
|
|
8153
8153
|
declare function createLlmNeighborRefiner(options: LlmNeighborRefinerOptions): NeighborRefiner;
|
|
8154
8154
|
|
|
8155
|
+
/**
|
|
8156
|
+
* Profile salience — profile-worthiness scoring for vault facts (#706).
|
|
8157
|
+
*
|
|
8158
|
+
* Distinct from query-time relevance (`recall` fusion). Answers: "is this
|
|
8159
|
+
* fact worth putting on a shareable profile?" using durable type, proof
|
|
8160
|
+
* density, and C2 observation trend. Pure + deterministic — no LLM, no DB.
|
|
8161
|
+
*
|
|
8162
|
+
* Used by:
|
|
8163
|
+
* - `synthesizeProfile` facet recall (default factTypeWeights)
|
|
8164
|
+
* - Publish-review UIs via {@link rankProfileCandidates} (nearby / client)
|
|
8165
|
+
*
|
|
8166
|
+
* Persisted `importance` is deferred until publish flow proves the need.
|
|
8167
|
+
*/
|
|
8168
|
+
|
|
8169
|
+
/** Proof-count curve weight inside {@link scoreProfileSalience}. */
|
|
8170
|
+
declare const DEFAULT_PROFILE_PROOF_ALPHA = 0.2;
|
|
8171
|
+
/**
|
|
8172
|
+
* Per-FactType multipliers for profile synthesis / salience.
|
|
8173
|
+
* Durable identity-class types (never age-archive in decay) rank higher;
|
|
8174
|
+
* ephemeral plan/ongoing_context rank lower. Untyped / `other` stay neutral.
|
|
8175
|
+
*/
|
|
8176
|
+
declare const DEFAULT_PROFILE_FACT_TYPE_WEIGHTS: Partial<Record<FactType, number>>;
|
|
8177
|
+
/** C2 trend multipliers for profile-worthiness. */
|
|
8178
|
+
declare const DEFAULT_PROFILE_TREND_MULTIPLIERS: Record<ObservationTrend, number>;
|
|
8179
|
+
interface ProfileSalienceInput extends ObservationTrendInput {
|
|
8180
|
+
/** Vault memory id — required for {@link rankProfileCandidates}. */
|
|
8181
|
+
id: string;
|
|
8182
|
+
/** Extractor FactType; null/undefined → neutral weight (1.0). */
|
|
8183
|
+
factType?: string | null;
|
|
8184
|
+
}
|
|
8185
|
+
interface RankedProfileCandidate {
|
|
8186
|
+
id: string;
|
|
8187
|
+
score: number;
|
|
8188
|
+
trend: ObservationTrend;
|
|
8189
|
+
factType?: string | null;
|
|
8190
|
+
proofCount: number;
|
|
8191
|
+
}
|
|
8192
|
+
interface ScoreProfileSalienceOptions {
|
|
8193
|
+
/** Override type weights (merged over {@link DEFAULT_PROFILE_FACT_TYPE_WEIGHTS}). */
|
|
8194
|
+
factTypeWeights?: Partial<Record<FactType, number>>;
|
|
8195
|
+
/** Override trend multipliers. */
|
|
8196
|
+
trendMultipliers?: Partial<Record<ObservationTrend, number>>;
|
|
8197
|
+
/** Proof-count α. Default: {@link DEFAULT_PROFILE_PROOF_ALPHA}. */
|
|
8198
|
+
proofCountAlpha?: number;
|
|
8199
|
+
}
|
|
8200
|
+
/**
|
|
8201
|
+
* Score a vault fact for profile-worthiness.
|
|
8202
|
+
*
|
|
8203
|
+
* `typeWeight * (1 + α·log(1+proofCount) − α·log(2)) * trendMultiplier`
|
|
8204
|
+
*
|
|
8205
|
+
* The proof term mirrors vault fusion's log curve (neutral at proofCount=1).
|
|
8206
|
+
* Pass `now` for deterministic evals.
|
|
8207
|
+
*/
|
|
8208
|
+
declare function scoreProfileSalience(input: ProfileSalienceInput, now?: number, options?: ScoreProfileSalienceOptions): number;
|
|
8209
|
+
/**
|
|
8210
|
+
* Rank vault facts by profile-worthiness (descending score).
|
|
8211
|
+
* Ties broken by higher proofCount, then id ascending for stability.
|
|
8212
|
+
*/
|
|
8213
|
+
declare function rankProfileCandidates(inputs: readonly ProfileSalienceInput[], now?: number, options?: ScoreProfileSalienceOptions): RankedProfileCandidate[];
|
|
8214
|
+
|
|
8155
8215
|
/**
|
|
8156
8216
|
* Unified Recall API — single retrieval surface above vault + engine.
|
|
8157
8217
|
*
|
|
@@ -8289,6 +8349,12 @@ interface ReflectOptions extends RecallOptions, PortalLlmAuth {
|
|
|
8289
8349
|
fetchFn?: typeof fetch;
|
|
8290
8350
|
/** Optional JSON Schema to coerce structured outputs. */
|
|
8291
8351
|
responseSchema?: Record<string, unknown>;
|
|
8352
|
+
/**
|
|
8353
|
+
* Skip Stage-1 {@link recall} and synthesize from these memories instead.
|
|
8354
|
+
* Used by `synthesizeProfile` after intersecting recall with a
|
|
8355
|
+
* `reviewedMemoryIds` gate so the LLM never sees unreviewed evidence.
|
|
8356
|
+
*/
|
|
8357
|
+
memories?: RankedMemory[];
|
|
8292
8358
|
}
|
|
8293
8359
|
interface ReflectResult {
|
|
8294
8360
|
/** The synthesized answer text. */
|
|
@@ -8412,8 +8478,9 @@ interface ProfileSection {
|
|
|
8412
8478
|
/** Fingerprint of the config that produced a {@link ProfileDoc}. Delta reuse
|
|
8413
8479
|
* (both the wholesale fast path and per-section reuse) is only valid when the
|
|
8414
8480
|
* current call's config matches — otherwise reused sections could carry the
|
|
8415
|
-
* wrong scope's evidence, un-redacted text under a now-present redactor,
|
|
8416
|
-
* old section shape
|
|
8481
|
+
* wrong scope's evidence, un-redacted text under a now-present redactor, an
|
|
8482
|
+
* old section shape, or text grounded in memory ids that are no longer in the
|
|
8483
|
+
* publish-review set. */
|
|
8417
8484
|
interface ProfileConfigFingerprint {
|
|
8418
8485
|
/** Facet keys present in the doc, sorted. */
|
|
8419
8486
|
facetKeys: ProfileFacetKey[];
|
|
@@ -8428,6 +8495,14 @@ interface ProfileConfigFingerprint {
|
|
|
8428
8495
|
/** Whether a PII redactor gated the section text. Reusing un-gated text under
|
|
8429
8496
|
* a now-present redactor would leak PII, so this flips the fingerprint. */
|
|
8430
8497
|
redacted: boolean;
|
|
8498
|
+
/**
|
|
8499
|
+
* Order-independent digest of {@link SynthesizeProfileOptions.reviewedMemoryIds}.
|
|
8500
|
+
* Empty string when the review gate is off (omit / empty array). Changing the
|
|
8501
|
+
* set must invalidate reuse — otherwise a narrowed review keeps text grounded
|
|
8502
|
+
* in unreviewed ids, and a widened review leaves previously-cleared sections
|
|
8503
|
+
* empty.
|
|
8504
|
+
*/
|
|
8505
|
+
reviewedMemoryIdsSignature: string;
|
|
8431
8506
|
}
|
|
8432
8507
|
/** A synthesized profile. Server-authoritative once published; the client
|
|
8433
8508
|
* caches it and passes it back as {@link SynthesizeProfileOptions.previous}. */
|
|
@@ -8473,6 +8548,24 @@ interface SynthesizeProfileOptions extends PortalLlmAuth {
|
|
|
8473
8548
|
* Omit only when the caller redacts downstream — `nearby` also moderates
|
|
8474
8549
|
* server-side, but the client should never publish un-gated text. */
|
|
8475
8550
|
redactor?: PiiRedactor;
|
|
8551
|
+
/**
|
|
8552
|
+
* Per-FactType score multipliers for facet recall. Default:
|
|
8553
|
+
* {@link DEFAULT_PROFILE_FACT_TYPE_WEIGHTS} (durable types boosted).
|
|
8554
|
+
* Does not change global chat `recall()` defaults.
|
|
8555
|
+
*/
|
|
8556
|
+
factTypeWeights?: Partial<Record<FactType, number>>;
|
|
8557
|
+
/**
|
|
8558
|
+
* Proof-count α for facet recall. Default: {@link DEFAULT_PROFILE_PROOF_ALPHA}
|
|
8559
|
+
* (0.2). Chat recall stays at 0.1.
|
|
8560
|
+
*/
|
|
8561
|
+
proofCountAlpha?: number;
|
|
8562
|
+
/**
|
|
8563
|
+
* When non-empty, intersect each facet's recalled evidence with this id set
|
|
8564
|
+
* before the LLM runs (publish-review gate). Empty intersection → empty
|
|
8565
|
+
* section (legitimate no-evidence), not a stale fallback. Omit / empty →
|
|
8566
|
+
* no gate.
|
|
8567
|
+
*/
|
|
8568
|
+
reviewedMemoryIds?: readonly string[];
|
|
8476
8569
|
}
|
|
8477
8570
|
/**
|
|
8478
8571
|
* Synthesize a shareable {@link ProfileDoc} from the user's vault, on-device.
|
|
@@ -13935,4 +14028,4 @@ declare function renderAnumaTree(node: AnumaNode): React.ReactElement | null;
|
|
|
13935
14028
|
*/
|
|
13936
14029
|
declare function renderAnumaJsx(jsx: string): React.ReactElement | null;
|
|
13937
14030
|
|
|
13938
|
-
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, 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 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_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, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, 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, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MessageChunk, type MessageFeedback, 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 PlatformStorage, type PortalLlmAuth, type PreprocessingOptions, type PreprocessingResult, type ProcessedFileResult, ProcessorRegistry, type ProfileConfigFingerprint, type ProfileDoc, type ProfileFacet, type ProfileFacetKey, type ProfileSection, type ProfileUpdate, type ProgressCallback, Project, type ProjectOperationsContext, type PromptPreProcessor, type PromptPreProcessorContext, type ProviderAuthState, type ProviderBackupState, ProviderStreamError, type QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankedMemory, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, RerankerUnavailableError, 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 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 StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type SynthesizeProfileOptions, THEME_ATTRS, 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 TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, 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 VaultEmbeddingCache, type VaultFolderOperationsContext, type VaultMemoryOperationsContext, type VaultSaveOperation, type VaultSearchResult, type VoiceRecording, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, backfillMemoryEntityUserIdsOp, 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, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createPlatformCursorStore, createProjectOp, createRecallTool, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, eagerEmbedContent, embedAllMessages, embedMessage, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, fileExists, findById, findMatchingTools, findParentOfId, 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, getVaultFolderMemoryCountOp, getVaultMemoryOp, getVideosOp, handleCalendarCallback, handleDriveCallback, handleGithubCallback, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasCalendarCredentials, hasDriveCredentials, hasDropboxCredentials, hasEncryptionKey, hasGithubCredentials, hasGoogleDriveCredentials, hasICloudCredentials, hasKeyPair, hasNotionCredentials, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isCalendarCallback, isDriveCallback, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, mediaToStored, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, readEncryptedFile, recall, reflect, refreshCalendarToken, refreshDriveToken, refreshGithubToken, refreshNotionToken, relinkMisclassifiedVideosOp, removeById, renderAnumaJsx, renderAnumaTree, renderElementToCanvas, replaceById, replaceMemoryEntitiesGuardedOp, requestEncryptionKey, requestKeyPair, resolveFilePlaceholders, resolveThemeColor, restoreVaultMemoryOp, resumeStream, retain, revokeCalendarToken, revokeDriveToken, revokeGithubToken, revokeNotionAccess, savedToolToStored, screenCandidatesForInjection, sdkMigrations, sdkModelClasses, sdkSchema, searchChunksOp, searchMediaOp, searchMessagesOp, searchVaultMemories, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, settingsStorageSchema, shouldChunkMessage, shouldRefreshTools, stampTopicsExtractedAtOp, startGithubAuth, startNotionAuth, storeCalendarPendingMessage, storeCalendarReturnUrl, storeCalendarToken, storeDrivePendingMessage, storeDriveReturnUrl, storeDriveToken, storeGithubPendingMessage, storeGithubReturnUrl, storeGithubToken, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, 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, walk, webPlatformStorage, writeEncryptedFile };
|
|
14031
|
+
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, 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 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, ENTITY_FANOUT, ENTITY_KINDS, type EmbeddedWalletSignerFn, type EntityInput, type EntityKind, Entity as EntityModel, type EntityOperationsContext, ExcelProcessor, type ExtractFactsOptions, type ExtractOutcome, type ExtractedCandidate, type ExtractedEntity, type ExtractionCursorStore, FILE_PLACEHOLDER_PREFIX, FILE_PLACEHOLDER_REGEX, type FactType, type FileMetadata, 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, type IconProps, type ImageProps, type InjectionClassifierOptions, type InjectionReason, type InteractionType, type KnownTag, type LazyStoredConversation, type LineProps, type LlmDecayClassifierOptions, type LlmNeighborRefinerOptions, type Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, type MediaDimensions, type MediaFilterOptions, type MediaMetadata, type MediaOperationsContext, type MediaRole, type MediaType, type MemoriesNeedingTopicExtraction, type EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryVaultSearchOptions, type MemoryVaultToolOptions, type MessageChunk, type MessageFeedback, 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 PlatformStorage, type PortalLlmAuth, 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 QuantizedEmbedding, type QuarantinedMemoryInfo, type QueueEncryptionContext, QueueManager, type QueueStatus, type QueuedOperation, type QueuedOperationType, R2_DEFAULT_TTL_MS, RECALL_MAX_LIMIT, RECALL_TOOL_NAME, type RankedMemory, type RankedProfileCandidate, type RecallContext, type RecallDegradation, type RecallDiagnostics, type RecallOptions, type RecallResult, type RecallToolCallbacks, type RecallToolOptions, type RecencyOptions, type RectProps, type ReflectOptions, type ReflectResult, RerankerUnavailableError, 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 StoredUserPreference, UserPreference as StoredUserPreferenceModel, type StoredVaultFolder, VaultFolder as StoredVaultFolderModel, type StoredVaultMemory, VaultMemory as StoredVaultMemoryModel, StreamExpiredError, type StreamMetaEvent, type StreamResumeHandle, type SynthesizeProfileOptions, THEME_ATTRS, 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 TranscriptionResult, type TurnCompleteEvent, type TurnSkippedEvent, type UIInteractionContextValue, UIInteractionProvider, type UIInteractionProviderProps, 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 VaultEmbeddingCache, type VaultFolderOperationsContext, type VaultMemoryOperationsContext, type VaultSaveOperation, type VaultSearchResult, type VoiceRecording, WalletPoller, WatermelonChatStorageAdapter, type WatermelonChatStorageAdapterOptions, type WeatherClassification, type WeatherPreProcessorOptions, type WebSearchClassification, type WebSearchPreProcessorOptions, type WhisperModel, WordProcessor, ZipProcessor, type ZipProcessorOptions, addConversationMemoriesOp, appFileToStored, archiveVaultMemoryOp, backfillMemoryEntityUserIdsOp, 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, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createPlatformCursorStore, createProjectOp, createRecallTool, createSavedToolOp, createServerToolsFilter, createStockPricePreProcessor, createVaultEmbeddingCache, createVaultFolderOp, createVaultMemoriesBatchOp, createVaultMemoryOp, createWeatherPreProcessor, createWebSearchPreProcessor, decryptConversationTitle, decryptData, decryptDataBatch, decryptDataBytes, decryptDataBytesFromBytes, decryptDataWithKey, defaultServerToolsFilter, deleteAllAppFilesOp, deleteAllVaultMemoriesForUserOp, deleteAppFileOp, deleteEncryptedFile, deleteMediaByConversationOp, deleteMediaByMessageOp, deleteMediaOp, deleteProjectOp, deleteSavedToolOp, deleteVaultFolderOp, deleteVaultMemoryOp, dequantizeEmbedding, eagerEmbedContent, embedAllMessages, embedMessage, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, fileExists, findById, findMatchingTools, findParentOfId, 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, getVaultFolderMemoryCountOp, getVaultMemoryOp, getVideosOp, handleCalendarCallback, handleDriveCallback, handleGithubCallback, handleNotionCallback, hardDeleteDecayedOp, hardDeleteMediaOp, hasCalendarCredentials, hasDriveCredentials, hasDropboxCredentials, hasEncryptionKey, hasGithubCredentials, hasGoogleDriveCredentials, hasICloudCredentials, hasKeyPair, hasNotionCredentials, injectionSignatureCatalog, insertAfterId, insertChild, isAnumaTag, isCalendarCallback, isDriveCallback, isGithubCallback, isHtmlTag, isNotionCallback, isOPFSSupported, isR2UrlExpired, isRerankerAvailable, isSupportedFile, isSupportedMediaType, linkMemoryEntitiesOp, mediaToStored, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, reflect, refreshCalendarToken, refreshDriveToken, refreshGithubToken, refreshNotionToken, 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, selectServerToolsForPrompt, serializeJsx, setLogger, setMemoryEntitiesOp, settingsStorageSchema, shouldChunkMessage, shouldRefreshTools, stampTopicsExtractedAtOp, startGithubAuth, startNotionAuth, storeCalendarPendingMessage, storeCalendarReturnUrl, storeCalendarToken, storeDrivePendingMessage, storeDriveReturnUrl, storeDriveToken, storeGithubPendingMessage, storeGithubReturnUrl, storeGithubToken, storeNotionPendingMessage, storeNotionReturnUrl, streamCancelPath, streamReplayPath, 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, walk, webPlatformStorage, writeEncryptedFile };
|