From 1a2128d3ae7128dd58c825ba3347bb7f7573dcd0 Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Fri, 12 Dec 2025 03:14:36 +1000 Subject: [PATCH] fix(search-registry): remove health status from search results Removes importHealth, executionHealth, healthCheckError, and lastHealthCheck fields from tool search results. Models were refusing to call tools marked as BROKEN, even when the issue was just a missing env var. Co-Authored-By: Claude --- apps/playground/next-env.d.ts | 2 +- packages/tools/search-registry/src/index.ts | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/playground/next-env.d.ts b/apps/playground/next-env.d.ts index 9edff1c..c4b7818 100644 --- a/apps/playground/next-env.d.ts +++ b/apps/playground/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/types/routes.d.ts"; +import "./.next/dev/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/packages/tools/search-registry/src/index.ts b/packages/tools/search-registry/src/index.ts index 1cf6c8b..2e488c4 100644 --- a/packages/tools/search-registry/src/index.ts +++ b/packages/tools/search-registry/src/index.ts @@ -118,10 +118,6 @@ export const searchTpmjsToolsTool = tool({ env: tool.package.env, version: tool.package.npmVersion, importUrl: `https://esm.sh/${tool.package.npmPackageName}@${tool.package.npmVersion}`, - importHealth: tool.importHealth, - executionHealth: tool.executionHealth, - healthCheckError: tool.healthCheckError, - lastHealthCheck: tool.lastHealthCheck, })), }; },