@anuma/sdk 6.27.9 → 6.28.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 +56 -12
- package/dist/expo/index.mjs +56 -12
- package/dist/index.cjs +17 -0
- package/dist/index.mjs +17 -0
- package/dist/react/index.cjs +81 -9
- package/dist/react/index.d.mts +34 -1
- package/dist/react/index.d.ts +34 -1
- package/dist/react/index.mjs +80 -9
- package/dist/server/index.cjs +40 -4
- package/dist/server/index.d.mts +14 -0
- package/dist/server/index.d.ts +14 -0
- package/dist/server/index.mjs +40 -4
- package/dist/tools/selection/index.cjs +44 -6
- package/dist/tools/selection/index.d.mts +34 -1
- package/dist/tools/selection/index.d.ts +34 -1
- package/dist/tools/selection/index.mjs +42 -5
- package/package.json +1 -1
package/dist/expo/index.cjs
CHANGED
|
@@ -20993,6 +20993,23 @@ var BUILT_IN_TOOL_SETS = [
|
|
|
20993
20993
|
members: ["dropbox_list_folders", "dropbox_get_file_content", "dropbox_search"],
|
|
20994
20994
|
anchors: ["dropbox_list_folders", "dropbox_search"],
|
|
20995
20995
|
anchorMinSimilarity: 0.53
|
|
20996
|
+
},
|
|
20997
|
+
{
|
|
20998
|
+
// Server tools, so this set does its work through
|
|
20999
|
+
// withActiveToolSetServerTools: once a restaurant tool has run, terse
|
|
21000
|
+
// follow-ups ("okay", "same as before") keep the booking chain. Each tool
|
|
21001
|
+
// still reaches a fresh booking request on its own description.
|
|
21002
|
+
// Anchors are deliberately empty (like the client's Nearby set): the set
|
|
21003
|
+
// is only for stickiness, not a new way to activate on a prompt.
|
|
21004
|
+
// prompt_user_confirm is left out of members: autoFilterClientTools always
|
|
21005
|
+
// sends it, and as a member any unrelated confirmation would pin this set.
|
|
21006
|
+
name: "restaurant-booking",
|
|
21007
|
+
members: [
|
|
21008
|
+
"AnumaPaymentsMCP-anuma_find_restaurant",
|
|
21009
|
+
"AnumaPaymentsMCP-anuma_check_restaurant_availability",
|
|
21010
|
+
"AnumaPaymentsMCP-anuma_book_restaurant"
|
|
21011
|
+
],
|
|
21012
|
+
anchors: []
|
|
20996
21013
|
}
|
|
20997
21014
|
];
|
|
20998
21015
|
function expandToolSetsAdditive(matchedNames, availableNames, scores, toolSets, activeSetNames) {
|
|
@@ -21026,6 +21043,16 @@ function activatedToolSetNames(scores, toolSets = BUILT_IN_TOOL_SETS, activeSetN
|
|
|
21026
21043
|
}
|
|
21027
21044
|
return activated;
|
|
21028
21045
|
}
|
|
21046
|
+
function withActiveToolSetServerTools(selected, allServerTools, serverToolsFilter, activeToolSets = [], extraToolSets = []) {
|
|
21047
|
+
if (activeToolSets.length === 0) return selected;
|
|
21048
|
+
const sticky = new Set(
|
|
21049
|
+
[...BUILT_IN_TOOL_SETS, ...extraToolSets].filter((ts) => activeToolSets.includes(ts.name)).flatMap((ts) => ts.members)
|
|
21050
|
+
);
|
|
21051
|
+
for (const name of serverToolsFilter.excludeTools ?? []) sticky.delete(name);
|
|
21052
|
+
for (const tool of selected) sticky.delete(tool.name);
|
|
21053
|
+
const added = allServerTools.filter((tool) => sticky.has(tool.name));
|
|
21054
|
+
return added.length > 0 ? [...selected, ...added] : selected;
|
|
21055
|
+
}
|
|
21029
21056
|
function toolSetSystemPrompts(selectedToolNames, toolSets = BUILT_IN_TOOL_SETS, activatedSetNames) {
|
|
21030
21057
|
const selected = selectedToolNames instanceof Set ? selectedToolNames : new Set(selectedToolNames);
|
|
21031
21058
|
const prompts = [];
|
|
@@ -22100,15 +22127,25 @@ function useChatStorage(options) {
|
|
|
22100
22127
|
);
|
|
22101
22128
|
} else if (isServerToolsFunction2) {
|
|
22102
22129
|
if (messageContent.length >= MIN_CONTENT_LENGTH_FOR_TOOLS) {
|
|
22103
|
-
|
|
22104
|
-
|
|
22105
|
-
|
|
22106
|
-
|
|
22107
|
-
|
|
22108
|
-
|
|
22109
|
-
|
|
22110
|
-
|
|
22130
|
+
try {
|
|
22131
|
+
skipUserEmbedding = await embedToolText(
|
|
22132
|
+
messageContent,
|
|
22133
|
+
maskForCall2,
|
|
22134
|
+
Boolean(callPiiRedaction2),
|
|
22135
|
+
getTokenRef.current
|
|
22136
|
+
);
|
|
22137
|
+
const toolNames = serverToolsFilter(skipUserEmbedding, allServerTools);
|
|
22138
|
+
filteredServerTools2 = filterServerTools(allServerTools, toolNames);
|
|
22139
|
+
} catch {
|
|
22140
|
+
}
|
|
22111
22141
|
}
|
|
22142
|
+
filteredServerTools2 = withActiveToolSetServerTools(
|
|
22143
|
+
filteredServerTools2,
|
|
22144
|
+
allServerTools,
|
|
22145
|
+
serverToolsFilter,
|
|
22146
|
+
activeToolSetsRef.current,
|
|
22147
|
+
extraToolSets
|
|
22148
|
+
);
|
|
22112
22149
|
} else {
|
|
22113
22150
|
filteredServerTools2 = filterServerTools(allServerTools, serverToolsFilter);
|
|
22114
22151
|
}
|
|
@@ -22397,12 +22434,19 @@ function useChatStorage(options) {
|
|
|
22397
22434
|
const settledEmbedding = await (userMessageEmbeddingPromise ?? embedForToolsSettled(getTokenRef.current));
|
|
22398
22435
|
if ("error" in settledEmbedding) {
|
|
22399
22436
|
serverFilterEmbeddingFailed = true;
|
|
22400
|
-
|
|
22437
|
+
} else {
|
|
22438
|
+
userMessageEmbedding = settledEmbedding.embedding;
|
|
22439
|
+
const toolNames = serverToolsFilter(userMessageEmbedding, allServerTools);
|
|
22440
|
+
filteredServerTools = filterServerTools(allServerTools, toolNames);
|
|
22401
22441
|
}
|
|
22402
|
-
userMessageEmbedding = settledEmbedding.embedding;
|
|
22403
|
-
const toolNames = serverToolsFilter(userMessageEmbedding, allServerTools);
|
|
22404
|
-
filteredServerTools = filterServerTools(allServerTools, toolNames);
|
|
22405
22442
|
}
|
|
22443
|
+
filteredServerTools = withActiveToolSetServerTools(
|
|
22444
|
+
filteredServerTools,
|
|
22445
|
+
allServerTools,
|
|
22446
|
+
serverToolsFilter,
|
|
22447
|
+
activeToolSetsRef.current,
|
|
22448
|
+
extraToolSets
|
|
22449
|
+
);
|
|
22406
22450
|
} else {
|
|
22407
22451
|
filteredServerTools = filterServerTools(allServerTools, serverToolsFilter);
|
|
22408
22452
|
}
|
package/dist/expo/index.mjs
CHANGED
|
@@ -19322,6 +19322,23 @@ var BUILT_IN_TOOL_SETS = [
|
|
|
19322
19322
|
members: ["dropbox_list_folders", "dropbox_get_file_content", "dropbox_search"],
|
|
19323
19323
|
anchors: ["dropbox_list_folders", "dropbox_search"],
|
|
19324
19324
|
anchorMinSimilarity: 0.53
|
|
19325
|
+
},
|
|
19326
|
+
{
|
|
19327
|
+
// Server tools, so this set does its work through
|
|
19328
|
+
// withActiveToolSetServerTools: once a restaurant tool has run, terse
|
|
19329
|
+
// follow-ups ("okay", "same as before") keep the booking chain. Each tool
|
|
19330
|
+
// still reaches a fresh booking request on its own description.
|
|
19331
|
+
// Anchors are deliberately empty (like the client's Nearby set): the set
|
|
19332
|
+
// is only for stickiness, not a new way to activate on a prompt.
|
|
19333
|
+
// prompt_user_confirm is left out of members: autoFilterClientTools always
|
|
19334
|
+
// sends it, and as a member any unrelated confirmation would pin this set.
|
|
19335
|
+
name: "restaurant-booking",
|
|
19336
|
+
members: [
|
|
19337
|
+
"AnumaPaymentsMCP-anuma_find_restaurant",
|
|
19338
|
+
"AnumaPaymentsMCP-anuma_check_restaurant_availability",
|
|
19339
|
+
"AnumaPaymentsMCP-anuma_book_restaurant"
|
|
19340
|
+
],
|
|
19341
|
+
anchors: []
|
|
19325
19342
|
}
|
|
19326
19343
|
];
|
|
19327
19344
|
function expandToolSetsAdditive(matchedNames, availableNames, scores, toolSets, activeSetNames) {
|
|
@@ -19355,6 +19372,16 @@ function activatedToolSetNames(scores, toolSets = BUILT_IN_TOOL_SETS, activeSetN
|
|
|
19355
19372
|
}
|
|
19356
19373
|
return activated;
|
|
19357
19374
|
}
|
|
19375
|
+
function withActiveToolSetServerTools(selected, allServerTools, serverToolsFilter, activeToolSets = [], extraToolSets = []) {
|
|
19376
|
+
if (activeToolSets.length === 0) return selected;
|
|
19377
|
+
const sticky = new Set(
|
|
19378
|
+
[...BUILT_IN_TOOL_SETS, ...extraToolSets].filter((ts) => activeToolSets.includes(ts.name)).flatMap((ts) => ts.members)
|
|
19379
|
+
);
|
|
19380
|
+
for (const name of serverToolsFilter.excludeTools ?? []) sticky.delete(name);
|
|
19381
|
+
for (const tool of selected) sticky.delete(tool.name);
|
|
19382
|
+
const added = allServerTools.filter((tool) => sticky.has(tool.name));
|
|
19383
|
+
return added.length > 0 ? [...selected, ...added] : selected;
|
|
19384
|
+
}
|
|
19358
19385
|
function toolSetSystemPrompts(selectedToolNames, toolSets = BUILT_IN_TOOL_SETS, activatedSetNames) {
|
|
19359
19386
|
const selected = selectedToolNames instanceof Set ? selectedToolNames : new Set(selectedToolNames);
|
|
19360
19387
|
const prompts = [];
|
|
@@ -20429,15 +20456,25 @@ function useChatStorage(options) {
|
|
|
20429
20456
|
);
|
|
20430
20457
|
} else if (isServerToolsFunction2) {
|
|
20431
20458
|
if (messageContent.length >= MIN_CONTENT_LENGTH_FOR_TOOLS) {
|
|
20432
|
-
|
|
20433
|
-
|
|
20434
|
-
|
|
20435
|
-
|
|
20436
|
-
|
|
20437
|
-
|
|
20438
|
-
|
|
20439
|
-
|
|
20459
|
+
try {
|
|
20460
|
+
skipUserEmbedding = await embedToolText(
|
|
20461
|
+
messageContent,
|
|
20462
|
+
maskForCall2,
|
|
20463
|
+
Boolean(callPiiRedaction2),
|
|
20464
|
+
getTokenRef.current
|
|
20465
|
+
);
|
|
20466
|
+
const toolNames = serverToolsFilter(skipUserEmbedding, allServerTools);
|
|
20467
|
+
filteredServerTools2 = filterServerTools(allServerTools, toolNames);
|
|
20468
|
+
} catch {
|
|
20469
|
+
}
|
|
20440
20470
|
}
|
|
20471
|
+
filteredServerTools2 = withActiveToolSetServerTools(
|
|
20472
|
+
filteredServerTools2,
|
|
20473
|
+
allServerTools,
|
|
20474
|
+
serverToolsFilter,
|
|
20475
|
+
activeToolSetsRef.current,
|
|
20476
|
+
extraToolSets
|
|
20477
|
+
);
|
|
20441
20478
|
} else {
|
|
20442
20479
|
filteredServerTools2 = filterServerTools(allServerTools, serverToolsFilter);
|
|
20443
20480
|
}
|
|
@@ -20726,12 +20763,19 @@ function useChatStorage(options) {
|
|
|
20726
20763
|
const settledEmbedding = await (userMessageEmbeddingPromise ?? embedForToolsSettled(getTokenRef.current));
|
|
20727
20764
|
if ("error" in settledEmbedding) {
|
|
20728
20765
|
serverFilterEmbeddingFailed = true;
|
|
20729
|
-
|
|
20766
|
+
} else {
|
|
20767
|
+
userMessageEmbedding = settledEmbedding.embedding;
|
|
20768
|
+
const toolNames = serverToolsFilter(userMessageEmbedding, allServerTools);
|
|
20769
|
+
filteredServerTools = filterServerTools(allServerTools, toolNames);
|
|
20730
20770
|
}
|
|
20731
|
-
userMessageEmbedding = settledEmbedding.embedding;
|
|
20732
|
-
const toolNames = serverToolsFilter(userMessageEmbedding, allServerTools);
|
|
20733
|
-
filteredServerTools = filterServerTools(allServerTools, toolNames);
|
|
20734
20771
|
}
|
|
20772
|
+
filteredServerTools = withActiveToolSetServerTools(
|
|
20773
|
+
filteredServerTools,
|
|
20774
|
+
allServerTools,
|
|
20775
|
+
serverToolsFilter,
|
|
20776
|
+
activeToolSetsRef.current,
|
|
20777
|
+
extraToolSets
|
|
20778
|
+
);
|
|
20735
20779
|
} else {
|
|
20736
20780
|
filteredServerTools = filterServerTools(allServerTools, serverToolsFilter);
|
|
20737
20781
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -2258,6 +2258,23 @@ var BUILT_IN_TOOL_SETS = [
|
|
|
2258
2258
|
members: ["dropbox_list_folders", "dropbox_get_file_content", "dropbox_search"],
|
|
2259
2259
|
anchors: ["dropbox_list_folders", "dropbox_search"],
|
|
2260
2260
|
anchorMinSimilarity: 0.53
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
// Server tools, so this set does its work through
|
|
2264
|
+
// withActiveToolSetServerTools: once a restaurant tool has run, terse
|
|
2265
|
+
// follow-ups ("okay", "same as before") keep the booking chain. Each tool
|
|
2266
|
+
// still reaches a fresh booking request on its own description.
|
|
2267
|
+
// Anchors are deliberately empty (like the client's Nearby set): the set
|
|
2268
|
+
// is only for stickiness, not a new way to activate on a prompt.
|
|
2269
|
+
// prompt_user_confirm is left out of members: autoFilterClientTools always
|
|
2270
|
+
// sends it, and as a member any unrelated confirmation would pin this set.
|
|
2271
|
+
name: "restaurant-booking",
|
|
2272
|
+
members: [
|
|
2273
|
+
"AnumaPaymentsMCP-anuma_find_restaurant",
|
|
2274
|
+
"AnumaPaymentsMCP-anuma_check_restaurant_availability",
|
|
2275
|
+
"AnumaPaymentsMCP-anuma_book_restaurant"
|
|
2276
|
+
],
|
|
2277
|
+
anchors: []
|
|
2261
2278
|
}
|
|
2262
2279
|
];
|
|
2263
2280
|
function applyToolSets(matchedNames, availableNames, scores, toolSets = BUILT_IN_TOOL_SETS, independentThreshold = 0.65) {
|
package/dist/index.mjs
CHANGED
|
@@ -2052,6 +2052,23 @@ var BUILT_IN_TOOL_SETS = [
|
|
|
2052
2052
|
members: ["dropbox_list_folders", "dropbox_get_file_content", "dropbox_search"],
|
|
2053
2053
|
anchors: ["dropbox_list_folders", "dropbox_search"],
|
|
2054
2054
|
anchorMinSimilarity: 0.53
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
// Server tools, so this set does its work through
|
|
2058
|
+
// withActiveToolSetServerTools: once a restaurant tool has run, terse
|
|
2059
|
+
// follow-ups ("okay", "same as before") keep the booking chain. Each tool
|
|
2060
|
+
// still reaches a fresh booking request on its own description.
|
|
2061
|
+
// Anchors are deliberately empty (like the client's Nearby set): the set
|
|
2062
|
+
// is only for stickiness, not a new way to activate on a prompt.
|
|
2063
|
+
// prompt_user_confirm is left out of members: autoFilterClientTools always
|
|
2064
|
+
// sends it, and as a member any unrelated confirmation would pin this set.
|
|
2065
|
+
name: "restaurant-booking",
|
|
2066
|
+
members: [
|
|
2067
|
+
"AnumaPaymentsMCP-anuma_find_restaurant",
|
|
2068
|
+
"AnumaPaymentsMCP-anuma_check_restaurant_availability",
|
|
2069
|
+
"AnumaPaymentsMCP-anuma_book_restaurant"
|
|
2070
|
+
],
|
|
2071
|
+
anchors: []
|
|
2055
2072
|
}
|
|
2056
2073
|
];
|
|
2057
2074
|
function applyToolSets(matchedNames, availableNames, scores, toolSets = BUILT_IN_TOOL_SETS, independentThreshold = 0.65) {
|
package/dist/react/index.cjs
CHANGED
|
@@ -1860,6 +1860,7 @@ __export(index_exports, {
|
|
|
1860
1860
|
verifyMemoriesForPublish: () => verifyMemoriesForPublish,
|
|
1861
1861
|
walk: () => walk,
|
|
1862
1862
|
webPlatformStorage: () => webPlatformStorage,
|
|
1863
|
+
withActiveToolSetServerTools: () => withActiveToolSetServerTools,
|
|
1863
1864
|
withInternalFlowMarker: () => withInternalFlowMarker,
|
|
1864
1865
|
writeEncryptedFile: () => writeEncryptedFile
|
|
1865
1866
|
});
|
|
@@ -23336,6 +23337,23 @@ var BUILT_IN_TOOL_SETS = [
|
|
|
23336
23337
|
members: ["dropbox_list_folders", "dropbox_get_file_content", "dropbox_search"],
|
|
23337
23338
|
anchors: ["dropbox_list_folders", "dropbox_search"],
|
|
23338
23339
|
anchorMinSimilarity: 0.53
|
|
23340
|
+
},
|
|
23341
|
+
{
|
|
23342
|
+
// Server tools, so this set does its work through
|
|
23343
|
+
// withActiveToolSetServerTools: once a restaurant tool has run, terse
|
|
23344
|
+
// follow-ups ("okay", "same as before") keep the booking chain. Each tool
|
|
23345
|
+
// still reaches a fresh booking request on its own description.
|
|
23346
|
+
// Anchors are deliberately empty (like the client's Nearby set): the set
|
|
23347
|
+
// is only for stickiness, not a new way to activate on a prompt.
|
|
23348
|
+
// prompt_user_confirm is left out of members: autoFilterClientTools always
|
|
23349
|
+
// sends it, and as a member any unrelated confirmation would pin this set.
|
|
23350
|
+
name: "restaurant-booking",
|
|
23351
|
+
members: [
|
|
23352
|
+
"AnumaPaymentsMCP-anuma_find_restaurant",
|
|
23353
|
+
"AnumaPaymentsMCP-anuma_check_restaurant_availability",
|
|
23354
|
+
"AnumaPaymentsMCP-anuma_book_restaurant"
|
|
23355
|
+
],
|
|
23356
|
+
anchors: []
|
|
23339
23357
|
}
|
|
23340
23358
|
];
|
|
23341
23359
|
function expandToolSetsAdditive(matchedNames, availableNames, scores, toolSets, activeSetNames) {
|
|
@@ -23369,6 +23387,16 @@ function activatedToolSetNames(scores, toolSets = BUILT_IN_TOOL_SETS, activeSetN
|
|
|
23369
23387
|
}
|
|
23370
23388
|
return activated;
|
|
23371
23389
|
}
|
|
23390
|
+
function withActiveToolSetServerTools(selected, allServerTools, serverToolsFilter, activeToolSets = [], extraToolSets = []) {
|
|
23391
|
+
if (activeToolSets.length === 0) return selected;
|
|
23392
|
+
const sticky = new Set(
|
|
23393
|
+
[...BUILT_IN_TOOL_SETS, ...extraToolSets].filter((ts) => activeToolSets.includes(ts.name)).flatMap((ts) => ts.members)
|
|
23394
|
+
);
|
|
23395
|
+
for (const name of serverToolsFilter.excludeTools ?? []) sticky.delete(name);
|
|
23396
|
+
for (const tool of selected) sticky.delete(tool.name);
|
|
23397
|
+
const added = allServerTools.filter((tool) => sticky.has(tool.name));
|
|
23398
|
+
return added.length > 0 ? [...selected, ...added] : selected;
|
|
23399
|
+
}
|
|
23372
23400
|
function toolSetSystemPrompts(selectedToolNames, toolSets = BUILT_IN_TOOL_SETS, activatedSetNames) {
|
|
23373
23401
|
const selected = selectedToolNames instanceof Set ? selectedToolNames : new Set(selectedToolNames);
|
|
23374
23402
|
const prompts = [];
|
|
@@ -23482,7 +23510,9 @@ async function selectServerToolsForPrompt(options) {
|
|
|
23482
23510
|
embeddingModel,
|
|
23483
23511
|
cacheExpirationMs,
|
|
23484
23512
|
cache,
|
|
23485
|
-
deferLoading
|
|
23513
|
+
deferLoading,
|
|
23514
|
+
activeToolSets,
|
|
23515
|
+
extraToolSets
|
|
23486
23516
|
} = options;
|
|
23487
23517
|
if (serverToolsFilter === void 0) return [];
|
|
23488
23518
|
if (Array.isArray(serverToolsFilter) && serverToolsFilter.length === 0) return [];
|
|
@@ -23496,7 +23526,14 @@ async function selectServerToolsForPrompt(options) {
|
|
|
23496
23526
|
if (deferLoading?.enabled)
|
|
23497
23527
|
return resolveDeferredServerTools(allServerTools, serverToolsFilter, deferLoading);
|
|
23498
23528
|
if (typeof serverToolsFilter === "function") {
|
|
23499
|
-
|
|
23529
|
+
const withSticky = (selected) => withActiveToolSetServerTools(
|
|
23530
|
+
selected,
|
|
23531
|
+
allServerTools,
|
|
23532
|
+
serverToolsFilter,
|
|
23533
|
+
activeToolSets,
|
|
23534
|
+
extraToolSets
|
|
23535
|
+
);
|
|
23536
|
+
if (prompt.length < MIN_CONTENT_LENGTH_FOR_TOOLS) return withSticky([]);
|
|
23500
23537
|
let promptEmbedding;
|
|
23501
23538
|
try {
|
|
23502
23539
|
promptEmbedding = await generateEmbedding(prompt, {
|
|
@@ -23505,10 +23542,10 @@ async function selectServerToolsForPrompt(options) {
|
|
|
23505
23542
|
model: embeddingModel
|
|
23506
23543
|
});
|
|
23507
23544
|
} catch {
|
|
23508
|
-
return [];
|
|
23545
|
+
return withSticky([]);
|
|
23509
23546
|
}
|
|
23510
23547
|
const names = serverToolsFilter(promptEmbedding, allServerTools);
|
|
23511
|
-
return filterServerTools(allServerTools, names);
|
|
23548
|
+
return withSticky(filterServerTools(allServerTools, names));
|
|
23512
23549
|
}
|
|
23513
23550
|
return filterServerTools(allServerTools, serverToolsFilter);
|
|
23514
23551
|
}
|
|
@@ -23912,7 +23949,8 @@ async function previewToolSelection(options) {
|
|
|
23912
23949
|
activeToolSets ?? []
|
|
23913
23950
|
);
|
|
23914
23951
|
let gatedServerNames = [];
|
|
23915
|
-
|
|
23952
|
+
const stickyOnly = typeof serverToolsFilter === "function" && !!activeToolSets?.length && !serverToolsConfig?.deferLoading?.enabled;
|
|
23953
|
+
if (Array.isArray(serverToolsFilter) && serverToolsFilter.length > 0 || stickyOnly) {
|
|
23916
23954
|
try {
|
|
23917
23955
|
const allServerTools = await getServerTools({
|
|
23918
23956
|
baseUrl,
|
|
@@ -23921,9 +23959,19 @@ async function previewToolSelection(options) {
|
|
|
23921
23959
|
apiKey,
|
|
23922
23960
|
cache: serverToolsConfig?.cache
|
|
23923
23961
|
});
|
|
23924
|
-
|
|
23925
|
-
|
|
23926
|
-
|
|
23962
|
+
if (typeof serverToolsFilter === "function") {
|
|
23963
|
+
gatedServerNames = withActiveToolSetServerTools(
|
|
23964
|
+
[],
|
|
23965
|
+
allServerTools,
|
|
23966
|
+
serverToolsFilter,
|
|
23967
|
+
activeToolSets,
|
|
23968
|
+
extraToolSets
|
|
23969
|
+
).map((t) => t.name);
|
|
23970
|
+
} else {
|
|
23971
|
+
const allow = new Set(serverToolsFilter);
|
|
23972
|
+
const gated = allServerTools.filter((t) => allow.has(t.name));
|
|
23973
|
+
gatedServerNames = (serverToolsConfig?.deferLoading?.enabled ? resolveDeferredServerTools(gated, serverToolsFilter, serverToolsConfig.deferLoading) : gated).map((t) => t.name);
|
|
23974
|
+
}
|
|
23927
23975
|
} catch {
|
|
23928
23976
|
}
|
|
23929
23977
|
}
|
|
@@ -23978,7 +24026,16 @@ async function previewToolSelection(options) {
|
|
|
23978
24026
|
serverToolsConfig.deferLoading
|
|
23979
24027
|
).map((t) => t.name);
|
|
23980
24028
|
} else if (typeof serverToolsFilter === "function") {
|
|
23981
|
-
|
|
24029
|
+
const sticky = withActiveToolSetServerTools(
|
|
24030
|
+
[],
|
|
24031
|
+
allServerTools,
|
|
24032
|
+
serverToolsFilter,
|
|
24033
|
+
activeToolSets,
|
|
24034
|
+
extraToolSets
|
|
24035
|
+
).map((t) => t.name);
|
|
24036
|
+
serverToolNames = [
|
|
24037
|
+
.../* @__PURE__ */ new Set([...serverToolsFilter(promptEmbedding, allServerTools), ...sticky])
|
|
24038
|
+
];
|
|
23982
24039
|
} else {
|
|
23983
24040
|
const allow = new Set(serverToolsFilter);
|
|
23984
24041
|
serverToolNames = allServerTools.filter((t) => allow.has(t.name)).map((t) => t.name);
|
|
@@ -25026,6 +25083,13 @@ function useChatStorage(options) {
|
|
|
25026
25083
|
const toolNames = serverToolsFilter(skipStorageEmbeddings, allServerTools);
|
|
25027
25084
|
filteredServerTools2 = filterServerTools(allServerTools, toolNames);
|
|
25028
25085
|
}
|
|
25086
|
+
filteredServerTools2 = withActiveToolSetServerTools(
|
|
25087
|
+
filteredServerTools2,
|
|
25088
|
+
allServerTools,
|
|
25089
|
+
serverToolsFilter,
|
|
25090
|
+
activeToolSetsRef.current,
|
|
25091
|
+
extraToolSets
|
|
25092
|
+
);
|
|
25029
25093
|
} else {
|
|
25030
25094
|
filteredServerTools2 = filterServerTools(allServerTools, serverToolsFilter);
|
|
25031
25095
|
}
|
|
@@ -25473,6 +25537,13 @@ function useChatStorage(options) {
|
|
|
25473
25537
|
const toolNames = serverToolsFilter(userMessageEmbeddings, allServerTools);
|
|
25474
25538
|
filteredServerTools = filterServerTools(allServerTools, toolNames);
|
|
25475
25539
|
}
|
|
25540
|
+
filteredServerTools = withActiveToolSetServerTools(
|
|
25541
|
+
filteredServerTools,
|
|
25542
|
+
allServerTools,
|
|
25543
|
+
serverToolsFilter,
|
|
25544
|
+
activeToolSetsRef.current,
|
|
25545
|
+
extraToolSets
|
|
25546
|
+
);
|
|
25476
25547
|
} else {
|
|
25477
25548
|
filteredServerTools = filterServerTools(allServerTools, serverToolsFilter);
|
|
25478
25549
|
}
|
|
@@ -37196,6 +37267,7 @@ function renderAnumaJsx(jsx3) {
|
|
|
37196
37267
|
verifyMemoriesForPublish,
|
|
37197
37268
|
walk,
|
|
37198
37269
|
webPlatformStorage,
|
|
37270
|
+
withActiveToolSetServerTools,
|
|
37199
37271
|
withInternalFlowMarker,
|
|
37200
37272
|
writeEncryptedFile
|
|
37201
37273
|
});
|
package/dist/react/index.d.mts
CHANGED
|
@@ -4734,6 +4734,25 @@ declare const BUILT_IN_TOOL_SETS: ToolSet[];
|
|
|
4734
4734
|
* @returns Set including original matches plus members of any activated set
|
|
4735
4735
|
*/
|
|
4736
4736
|
declare function expandToolSetsAdditive(matchedNames: Set<string>, availableNames: Set<string>, scores: Map<string, number>, toolSets: ToolSet[], activeSetNames?: ReadonlySet<string>): Set<string>;
|
|
4737
|
+
/**
|
|
4738
|
+
* Add the server-tool members of every set named in `activeToolSets` to a
|
|
4739
|
+
* semantic server-tool selection.
|
|
4740
|
+
*
|
|
4741
|
+
* A semantic filter ranks only the latest prompt, so a terse follow-up inside a
|
|
4742
|
+
* flow ("okay", "retry") drops the flow's server tools. This is the server-side
|
|
4743
|
+
* half of what `autoFilterClientTools` does for client tools: an active set's
|
|
4744
|
+
* members that are in the catalog are kept whatever the prompt scored, even
|
|
4745
|
+
* below the short-prompt gate, where `selected` is empty. Exclusions tagged on
|
|
4746
|
+
* the filter still win.
|
|
4747
|
+
*
|
|
4748
|
+
* @param selected - What the semantic filter picked (`[]` when it did not run).
|
|
4749
|
+
* @param allServerTools - The full server-tool catalog.
|
|
4750
|
+
* @param serverToolsFilter - The filter function, read only for its `excludeTools` tag.
|
|
4751
|
+
* @param activeToolSets - Set names that are sticky for this conversation.
|
|
4752
|
+
* @param extraToolSets - The caller's sets beyond {@link BUILT_IN_TOOL_SETS}.
|
|
4753
|
+
* @returns `selected`, followed by any active-set members it was missing.
|
|
4754
|
+
*/
|
|
4755
|
+
declare function withActiveToolSetServerTools(selected: ServerTool[], allServerTools: ServerTool[], serverToolsFilter: ServerToolsFilterFunction, activeToolSets?: readonly string[], extraToolSets?: readonly ToolSet[]): ServerTool[];
|
|
4737
4756
|
/**
|
|
4738
4757
|
* Options for createServerToolsFilter.
|
|
4739
4758
|
*/
|
|
@@ -4886,6 +4905,20 @@ interface SelectServerToolsForPromptOptions {
|
|
|
4886
4905
|
* {@link resolveDeferredServerTools}). Omit/disabled → today's filtered selection.
|
|
4887
4906
|
*/
|
|
4888
4907
|
deferLoading?: DeferLoadingConfig;
|
|
4908
|
+
/**
|
|
4909
|
+
* Tool-set names that are sticky for this conversation — the same list you
|
|
4910
|
+
* pass to `useChatStorage`'s `activeToolSets`, e.g. from
|
|
4911
|
+
* `deriveActiveToolSets`. With a filter function, the server-tool members of
|
|
4912
|
+
* these sets are selected whatever the prompt scored, even on a prompt too
|
|
4913
|
+
* short to embed. Omit for selection from the prompt alone.
|
|
4914
|
+
*/
|
|
4915
|
+
activeToolSets?: string[];
|
|
4916
|
+
/**
|
|
4917
|
+
* The caller's sets beyond {@link BUILT_IN_TOOL_SETS} — the same list you pass
|
|
4918
|
+
* to `useChatStorage`'s `extraToolSets` — so a custom set named in
|
|
4919
|
+
* `activeToolSets` stays sticky here too.
|
|
4920
|
+
*/
|
|
4921
|
+
extraToolSets?: ToolSet[];
|
|
4889
4922
|
}
|
|
4890
4923
|
/**
|
|
4891
4924
|
* Select server-side tools for a prompt using the same path
|
|
@@ -16607,4 +16640,4 @@ declare function renderAnumaTree(node: AnumaNode): React.ReactElement | null;
|
|
|
16607
16640
|
*/
|
|
16608
16641
|
declare function renderAnumaJsx(jsx: string): React.ReactElement | null;
|
|
16609
16642
|
|
|
16610
|
-
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 Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, 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 EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryToVerify, 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 RequestEncryptionKeyOptions, 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 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 VaultMemoryOperationsContext, 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, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, 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, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, 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, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, 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, 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, withInternalFlowMarker, writeEncryptedFile };
|
|
16643
|
+
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 Logger, LoggerProvider, type LoggerProviderProps, MAX_HOPS, MEDIUM_TTL_MS, 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 EmbeddingOptions as MemoryEngineEmbeddingOptions, type MemoryEngineResult, type MemoryEngineSearchOptions, MemoryEntity as MemoryEntityModel, type MemoryExtractedEvent, type MemoryKind, type MemoryQuarantinedEvent, type MemoryToVerify, 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 RequestEncryptionKeyOptions, 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 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 VaultMemoryOperationsContext, 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, clearNotionToken, clearServerToolsCache, consoleLogger, conversationMemoryToStored, cosineInt8, createAutoExtractor, createChunkVectorCache, createCryptoPricePreProcessor, createDecaySweeper, createDurableAutoExtractor, createGitHubTools, createLlmDecayClassifier, createLlmNeighborRefiner, createMediaBatchOp, createMediaOp, createMemoryEngineTool, createMemoryVaultSearchTool, createMemoryVaultTool, createMessageSourceResolver, createPlatformCursorStore, createProjectOp, createRecallTool, 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, eagerEmbedContent, embedAllMessages, embedMessage, encodeChunkVector, encryptData, encryptDataBatch, encryptDataBytes, encryptDataWithKey, ensureDefaultFoldersOp, expandToolSetsAdditive, exportElementToPdf, exportMarkdownToPdf, exportPublicKey, extractAndLinkEntitiesForMemoriesOp, extractAndRetain, extractEntitiesForMemories, extractFacts, extractFileIds, 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, migrateCalendarToken, migrateDisplayResult, migrateDriveToken, migrateGithubToken, migrateNotionClientRegistration, migrateNotionToken, moveMemoriesToFolderOp, noopLogger, onKeyAvailable, parseJsx, parseMedia, preEmbedVaultMemories, preprocessFiles, previewToolSelection, projectToStored, putAppFileOp, quantizeEmbedding, queueManager, rankProfileCandidates, readEncryptedFile, recall, 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, 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 };
|