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 +20 -6
- package/dist/darwin-arm64/WaxCLI +0 -0
- package/package.json +1 -1
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
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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);
|
package/dist/darwin-arm64/WaxCLI
CHANGED
|
Binary file
|