@anuma/sdk 8.0.1 → 8.1.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/index.cjs CHANGED
@@ -3281,6 +3281,15 @@ async function* withSseKeepalive(source, options = {}) {
3281
3281
  }
3282
3282
  }
3283
3283
 
3284
+ // src/tools/walletPaymentConstants.ts
3285
+ var FLIGHT_BOOK_TOOL_SET = "flight-book";
3286
+ var FLIGHT_SERVER_TOOL_NAMES = [
3287
+ "AnumaPaymentsMCP-anuma_search_flights",
3288
+ "AnumaPaymentsMCP-anuma_flight_offer_details",
3289
+ "AnumaPaymentsMCP-anuma_create_flight_intent",
3290
+ "AnumaPaymentsMCP-anuma_get_flight_booking"
3291
+ ];
3292
+
3284
3293
  // src/tools/appBuilderPrompt.ts
3285
3294
  var APP_BUILDER_PROMPT = `App Builder tools (create_file, patch_file, and the rest described below) are available this turn, but they are OPTIONAL \u2014 having them does not mean you should build anything.
3286
3295
 
@@ -3784,7 +3793,8 @@ var BUILT_IN_TOOL_SETS = [
3784
3793
  "AnumaPaymentsMCP-anuma_cancel_reservation"
3785
3794
  ],
3786
3795
  anchors: []
3787
- }
3796
+ },
3797
+ { name: FLIGHT_BOOK_TOOL_SET, members: [...FLIGHT_SERVER_TOOL_NAMES], anchors: [] }
3788
3798
  ];
3789
3799
  function applyToolSets(matchedNames, availableNames, scores, toolSets = BUILT_IN_TOOL_SETS, independentThreshold = 0.65) {
3790
3800
  const activatedSets = [];
@@ -3927,6 +3937,16 @@ var SERVER_TOOL_DEPENDENCY_SETS = [
3927
3937
  members: ["AnumaPaymentsMCP-anuma_list_reservations"],
3928
3938
  anchors: ["AnumaPaymentsMCP-anuma_cancel_reservation"],
3929
3939
  anchorMinSimilarity: 0.5
3940
+ },
3941
+ {
3942
+ name: "flight-book-lookup",
3943
+ members: [
3944
+ "AnumaPaymentsMCP-anuma_flight_offer_details",
3945
+ "AnumaPaymentsMCP-anuma_create_flight_intent",
3946
+ "AnumaPaymentsMCP-anuma_get_flight_booking"
3947
+ ],
3948
+ anchors: ["AnumaPaymentsMCP-anuma_search_flights"],
3949
+ anchorMinSimilarity: 0.5
3930
3950
  }
3931
3951
  ];
3932
3952
  var defaultServerToolsFilter = createServerToolsFilter({
package/dist/index.mjs CHANGED
@@ -3077,6 +3077,15 @@ async function* withSseKeepalive(source, options = {}) {
3077
3077
  }
3078
3078
  }
3079
3079
 
3080
+ // src/tools/walletPaymentConstants.ts
3081
+ var FLIGHT_BOOK_TOOL_SET = "flight-book";
3082
+ var FLIGHT_SERVER_TOOL_NAMES = [
3083
+ "AnumaPaymentsMCP-anuma_search_flights",
3084
+ "AnumaPaymentsMCP-anuma_flight_offer_details",
3085
+ "AnumaPaymentsMCP-anuma_create_flight_intent",
3086
+ "AnumaPaymentsMCP-anuma_get_flight_booking"
3087
+ ];
3088
+
3080
3089
  // src/tools/appBuilderPrompt.ts
3081
3090
  var APP_BUILDER_PROMPT = `App Builder tools (create_file, patch_file, and the rest described below) are available this turn, but they are OPTIONAL \u2014 having them does not mean you should build anything.
3082
3091
 
@@ -3580,7 +3589,8 @@ var BUILT_IN_TOOL_SETS = [
3580
3589
  "AnumaPaymentsMCP-anuma_cancel_reservation"
3581
3590
  ],
3582
3591
  anchors: []
3583
- }
3592
+ },
3593
+ { name: FLIGHT_BOOK_TOOL_SET, members: [...FLIGHT_SERVER_TOOL_NAMES], anchors: [] }
3584
3594
  ];
3585
3595
  function applyToolSets(matchedNames, availableNames, scores, toolSets = BUILT_IN_TOOL_SETS, independentThreshold = 0.65) {
3586
3596
  const activatedSets = [];
@@ -3723,6 +3733,16 @@ var SERVER_TOOL_DEPENDENCY_SETS = [
3723
3733
  members: ["AnumaPaymentsMCP-anuma_list_reservations"],
3724
3734
  anchors: ["AnumaPaymentsMCP-anuma_cancel_reservation"],
3725
3735
  anchorMinSimilarity: 0.5
3736
+ },
3737
+ {
3738
+ name: "flight-book-lookup",
3739
+ members: [
3740
+ "AnumaPaymentsMCP-anuma_flight_offer_details",
3741
+ "AnumaPaymentsMCP-anuma_create_flight_intent",
3742
+ "AnumaPaymentsMCP-anuma_get_flight_booking"
3743
+ ],
3744
+ anchors: ["AnumaPaymentsMCP-anuma_search_flights"],
3745
+ anchorMinSimilarity: 0.5
3726
3746
  }
3727
3747
  ];
3728
3748
  var defaultServerToolsFilter = createServerToolsFilter({