@toolsdk.ai/registry 1.0.146 → 1.0.147
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.
|
@@ -53,6 +53,13 @@ async function checkDependencies(dependencies) {
|
|
|
53
53
|
export async function isValidNpmPackage(packageName) {
|
|
54
54
|
var _a, _b, _c, _d;
|
|
55
55
|
try {
|
|
56
|
+
// Skip npm registry validation for remote MCP servers which use
|
|
57
|
+
// packageName values like "@toolsdk-remote/xxx" that are not
|
|
58
|
+
// actual npm packages.
|
|
59
|
+
if (packageName.startsWith("@toolsdk-remote/")) {
|
|
60
|
+
console.log(`Skipping npm validation for remote MCP: ${packageName}`);
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
56
63
|
console.log("Checking package:", packageName);
|
|
57
64
|
const response = await axios.get(`https://registry.npmjs.org/${packageName}`, {
|
|
58
65
|
timeout: 5000,
|