@anuma/sdk 6.27.9 → 6.28.1
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 +14776 -14696
- package/dist/expo/index.mjs +14717 -14639
- package/dist/index.cjs +17 -0
- package/dist/index.mjs +17 -0
- package/dist/react/index.cjs +16490 -16384
- package/dist/react/index.d.mts +34 -1
- package/dist/react/index.d.ts +34 -1
- package/dist/react/index.mjs +16397 -16292
- package/dist/server/index.cjs +78 -4
- package/dist/server/index.d.mts +14 -0
- package/dist/server/index.d.ts +14 -0
- package/dist/server/index.mjs +78 -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/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) {
|