waxmcp 0.1.2 → 0.1.3

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/bin/waxmcp.js CHANGED
@@ -64,10 +64,24 @@ for (const command of candidates) {
64
64
  process.exit(result.status === null ? 1 : result.status);
65
65
  }
66
66
 
67
- console.error("waxmcp: no Wax CLI found.");
68
- console.error("Install and build WaxCLI, or set WAX_CLI_BIN to the WaxCLI executable path.");
69
- console.error("Example:");
70
- console.error(" export WAX_CLI_BIN=/path/to/Wax/.build/debug/WaxCLI");
71
- console.error(" npx -y waxmcp@latest mcp serve");
72
- console.error("If using the published waxmcp package, packaged binaries are at dist/darwin-arm64 and dist/darwin-x64.");
67
+ const checkedLocations = [
68
+ process.env.WAX_CLI_BIN
69
+ ? ` 1. $WAX_CLI_BIN = ${process.env.WAX_CLI_BIN}`
70
+ : " 1. $WAX_CLI_BIN (not set)",
71
+ ` 2. Bundled binary at dist/darwin-${os.arch()}/WaxCLI`,
72
+ " 3. 'wax' in PATH",
73
+ " 4. 'WaxCLI' in PATH",
74
+ ` 5. ${path.join(process.cwd(), ".build", "debug", "WaxCLI")}`,
75
+ ];
76
+ console.error(`
77
+ ERROR: No valid WaxCLI binary found.
78
+
79
+ Checked:
80
+ ${checkedLocations.join("\n")}
81
+
82
+ Fix options:
83
+ Install: npx waxmcp@latest
84
+ Build: swift build --product WaxCLI --traits MCPServer
85
+ Override: export WAX_CLI_BIN=/path/to/WaxCLI
86
+ `);
73
87
  process.exit(1);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waxmcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "npx launcher for the Wax MCP server",
5
5
  "repository": {
6
6
  "type": "git",