@mcpmesh/cli 0.7.3 → 0.7.5

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.
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ // This is a fallback script that gets replaced by the actual binary after installation.
5
+ // If you're seeing this error, the installation might have failed.
6
+
7
+ const fs = require("fs");
8
+ const path = require("path");
9
+ const child_process = require("child_process");
10
+
11
+ const binaryPath = path.join(__dirname, "mcp-mesh-registry");
12
+
13
+ if (fs.existsSync(binaryPath) && binaryPath !== __filename) {
14
+ // Binary exists, execute it
15
+ const result = child_process.spawnSync(binaryPath, process.argv.slice(2), {
16
+ stdio: "inherit",
17
+ });
18
+ process.exit(result.status || 0);
19
+ } else {
20
+ console.error("Error: mcp-mesh-registry binary not found.");
21
+ console.error("");
22
+ console.error("The mcp-mesh-registry binary was not properly installed. Try:");
23
+ console.error(" 1. Reinstall: npm install -g @mcpmesh/cli");
24
+ console.error(" 2. Or install from source: https://github.com/dhyansraj/mcp-mesh");
25
+ console.error("");
26
+ console.error("If the problem persists, please report at:");
27
+ console.error(" https://github.com/dhyansraj/mcp-mesh/issues");
28
+ process.exit(1);
29
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcpmesh/cli",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "CLI for MCP Mesh - Enterprise-Grade Distributed Service Mesh for AI Agents",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,10 +22,10 @@
22
22
  "node": ">=18"
23
23
  },
24
24
  "optionalDependencies": {
25
- "@mcpmesh/cli-linux-x64": "0.7.3",
26
- "@mcpmesh/cli-linux-arm64": "0.7.3",
27
- "@mcpmesh/cli-darwin-x64": "0.7.3",
28
- "@mcpmesh/cli-darwin-arm64": "0.7.3"
25
+ "@mcpmesh/cli-linux-x64": "0.7.5",
26
+ "@mcpmesh/cli-linux-arm64": "0.7.5",
27
+ "@mcpmesh/cli-darwin-x64": "0.7.5",
28
+ "@mcpmesh/cli-darwin-arm64": "0.7.5"
29
29
  },
30
30
  "keywords": [
31
31
  "mcp",