@anuma/sdk 1.0.0-next.20260629200521 → 1.0.0-next.20260629201419

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.
@@ -13276,6 +13276,7 @@ function clientToolToCompletionsFormat(tool) {
13276
13276
  };
13277
13277
  }
13278
13278
  var TOOL_SEARCH_TOOL_TYPE = "tool_search_tool_regex_20251119";
13279
+ var TOOL_SEARCH_TOOL_NAME = "tool_search_tool_regex";
13279
13280
  function byNameAscending(a, b) {
13280
13281
  if (a.name < b.name) return -1;
13281
13282
  if (a.name > b.name) return 1;
@@ -13289,7 +13290,10 @@ function formatServerToolsWithDefer(serverTools, config, apiType) {
13289
13290
  const hotSet = new Set(config.hotToolNames);
13290
13291
  const hot = [...hotSet].map((name) => serverTools.find((t) => t.name === name)).filter((t) => t !== void 0);
13291
13292
  const deferred = serverTools.filter((t) => !hotSet.has(t.name)).sort(byNameAscending);
13292
- const searchTool = { type: TOOL_SEARCH_TOOL_TYPE, name: "tool_search" };
13293
+ const searchTool = {
13294
+ type: TOOL_SEARCH_TOOL_TYPE,
13295
+ name: TOOL_SEARCH_TOOL_NAME
13296
+ };
13293
13297
  return [
13294
13298
  searchTool,
13295
13299
  ...hot.map((t) => fmt(t)),
@@ -7027,6 +7027,7 @@ function clientToolToCompletionsFormat(tool) {
7027
7027
  };
7028
7028
  }
7029
7029
  var TOOL_SEARCH_TOOL_TYPE = "tool_search_tool_regex_20251119";
7030
+ var TOOL_SEARCH_TOOL_NAME = "tool_search_tool_regex";
7030
7031
  function byNameAscending(a, b) {
7031
7032
  if (a.name < b.name) return -1;
7032
7033
  if (a.name > b.name) return 1;
@@ -7040,7 +7041,10 @@ function formatServerToolsWithDefer(serverTools, config, apiType) {
7040
7041
  const hotSet = new Set(config.hotToolNames);
7041
7042
  const hot = [...hotSet].map((name) => serverTools.find((t) => t.name === name)).filter((t) => t !== void 0);
7042
7043
  const deferred = serverTools.filter((t) => !hotSet.has(t.name)).sort(byNameAscending);
7043
- const searchTool = { type: TOOL_SEARCH_TOOL_TYPE, name: "tool_search" };
7044
+ const searchTool = {
7045
+ type: TOOL_SEARCH_TOOL_TYPE,
7046
+ name: TOOL_SEARCH_TOOL_NAME
7047
+ };
7044
7048
  return [
7045
7049
  searchTool,
7046
7050
  ...hot.map((t) => fmt(t)),
@@ -15402,6 +15402,7 @@ function clientToolToCompletionsFormat(tool) {
15402
15402
  };
15403
15403
  }
15404
15404
  var TOOL_SEARCH_TOOL_TYPE = "tool_search_tool_regex_20251119";
15405
+ var TOOL_SEARCH_TOOL_NAME = "tool_search_tool_regex";
15405
15406
  function byNameAscending(a, b) {
15406
15407
  if (a.name < b.name) return -1;
15407
15408
  if (a.name > b.name) return 1;
@@ -15415,7 +15416,10 @@ function formatServerToolsWithDefer(serverTools, config, apiType) {
15415
15416
  const hotSet = new Set(config.hotToolNames);
15416
15417
  const hot = [...hotSet].map((name) => serverTools.find((t) => t.name === name)).filter((t) => t !== void 0);
15417
15418
  const deferred = serverTools.filter((t) => !hotSet.has(t.name)).sort(byNameAscending);
15418
- const searchTool = { type: TOOL_SEARCH_TOOL_TYPE, name: "tool_search" };
15419
+ const searchTool = {
15420
+ type: TOOL_SEARCH_TOOL_TYPE,
15421
+ name: TOOL_SEARCH_TOOL_NAME
15422
+ };
15419
15423
  return [
15420
15424
  searchTool,
15421
15425
  ...hot.map((t) => fmt(t)),
@@ -8692,6 +8692,7 @@ function clientToolToCompletionsFormat(tool) {
8692
8692
  };
8693
8693
  }
8694
8694
  var TOOL_SEARCH_TOOL_TYPE = "tool_search_tool_regex_20251119";
8695
+ var TOOL_SEARCH_TOOL_NAME = "tool_search_tool_regex";
8695
8696
  function byNameAscending(a, b) {
8696
8697
  if (a.name < b.name) return -1;
8697
8698
  if (a.name > b.name) return 1;
@@ -8705,7 +8706,10 @@ function formatServerToolsWithDefer(serverTools, config, apiType) {
8705
8706
  const hotSet = new Set(config.hotToolNames);
8706
8707
  const hot = [...hotSet].map((name) => serverTools.find((t) => t.name === name)).filter((t) => t !== void 0);
8707
8708
  const deferred = serverTools.filter((t) => !hotSet.has(t.name)).sort(byNameAscending);
8708
- const searchTool = { type: TOOL_SEARCH_TOOL_TYPE, name: "tool_search" };
8709
+ const searchTool = {
8710
+ type: TOOL_SEARCH_TOOL_TYPE,
8711
+ name: TOOL_SEARCH_TOOL_NAME
8712
+ };
8709
8713
  return [
8710
8714
  searchTool,
8711
8715
  ...hot.map((t) => fmt(t)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anuma/sdk",
3
- "version": "1.0.0-next.20260629200521",
3
+ "version": "1.0.0-next.20260629201419",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",