@hotwired-sh/hotwired-mcp 1.0.2 → 1.0.4
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/hotwired-mcp +6 -8
- package/npm/darwin-arm64/bin/hotwired-mcp +0 -0
- package/npm/darwin-arm64/package.json +1 -1
- package/npm/darwin-x64/bin/hotwired-mcp +0 -0
- package/npm/darwin-x64/package.json +1 -1
- package/npm/linux-arm64/bin/hotwired-mcp +0 -0
- package/npm/linux-arm64/package.json +1 -1
- package/npm/linux-x64/bin/hotwired-mcp +0 -0
- package/npm/linux-x64/package.json +1 -1
- package/package.json +5 -5
package/bin/hotwired-mcp
CHANGED
|
@@ -22,17 +22,14 @@ function getBinaryPath() {
|
|
|
22
22
|
process.exit(1);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// Try to find the binary in node_modules
|
|
26
25
|
const binaryName = process.platform === "win32" ? "hotwired-mcp.exe" : "hotwired-mcp";
|
|
27
26
|
|
|
28
|
-
//
|
|
27
|
+
// Paths to check, in order of priority
|
|
29
28
|
const paths = [
|
|
30
|
-
//
|
|
29
|
+
// Bundled in npm/ folder (primary - works with npx)
|
|
30
|
+
path.join(__dirname, "..", "npm", platformKey, "bin", binaryName),
|
|
31
|
+
// Optional dependency in node_modules
|
|
31
32
|
path.join(__dirname, "..", "node_modules", packageName, "bin", binaryName),
|
|
32
|
-
// When installed globally or via npx
|
|
33
|
-
path.join(__dirname, "..", "node_modules", packageName, "bin", binaryName),
|
|
34
|
-
// Relative to this package
|
|
35
|
-
require.resolve(`${packageName}/bin/${binaryName}`),
|
|
36
33
|
];
|
|
37
34
|
|
|
38
35
|
for (const binPath of paths) {
|
|
@@ -54,7 +51,8 @@ function getBinaryPath() {
|
|
|
54
51
|
} catch {}
|
|
55
52
|
|
|
56
53
|
console.error(`Could not find binary for platform: ${platformKey}`);
|
|
57
|
-
console.error(`
|
|
54
|
+
console.error(`Checked paths:`);
|
|
55
|
+
paths.forEach(p => console.error(` - ${p}`));
|
|
58
56
|
process.exit(1);
|
|
59
57
|
}
|
|
60
58
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hotwired-sh/hotwired-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "MCP server for Hotwired multi-agent workflow orchestration",
|
|
5
5
|
"author": "Hotwired <hello@hotwired.sh>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"prepare": "husky"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@hotwired-sh/mcp-darwin-arm64": "1.0.
|
|
38
|
-
"@hotwired-sh/mcp-darwin-x64": "1.0.
|
|
39
|
-
"@hotwired-sh/mcp-linux-x64": "1.0.
|
|
40
|
-
"@hotwired-sh/mcp-linux-arm64": "1.0.
|
|
37
|
+
"@hotwired-sh/mcp-darwin-arm64": "1.0.4",
|
|
38
|
+
"@hotwired-sh/mcp-darwin-x64": "1.0.4",
|
|
39
|
+
"@hotwired-sh/mcp-linux-x64": "1.0.4",
|
|
40
|
+
"@hotwired-sh/mcp-linux-arm64": "1.0.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@commitlint/cli": "^19.0.0",
|