@hotwired-sh/hotwired-mcp 1.0.3 → 1.0.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.
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
- // Check in the platform package
27
+ // Paths to check, in order of priority
29
28
  const paths = [
30
- // When installed as a dependency
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(`Expected package: ${packageName}`);
54
+ console.error(`Checked paths:`);
55
+ paths.forEach(p => console.error(` - ${p}`));
58
56
  process.exit(1);
59
57
  }
60
58
 
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotwired-sh/mcp-darwin-arm64",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "hotwired-mcp binary for macOS ARM64",
5
5
  "license": "MIT",
6
6
  "repository": {
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotwired-sh/mcp-darwin-x64",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "hotwired-mcp binary for macOS x64",
5
5
  "license": "MIT",
6
6
  "repository": {
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotwired-sh/mcp-linux-arm64",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "hotwired-mcp binary for Linux ARM64",
5
5
  "license": "MIT",
6
6
  "repository": {
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotwired-sh/mcp-linux-x64",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "hotwired-mcp binary for Linux x64",
5
5
  "license": "MIT",
6
6
  "repository": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotwired-sh/hotwired-mcp",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "MCP server for Hotwired multi-agent workflow orchestration",
5
5
  "author": "Hotwired <hello@hotwired.sh>",
6
6
  "license": "MIT",
@@ -29,15 +29,14 @@
29
29
  "npm"
30
30
  ],
31
31
  "scripts": {
32
- "postinstall": "node scripts/postinstall.js",
33
32
  "test": "cargo test",
34
33
  "prepare": "husky"
35
34
  },
36
35
  "optionalDependencies": {
37
- "@hotwired-sh/mcp-darwin-arm64": "1.0.3",
38
- "@hotwired-sh/mcp-darwin-x64": "1.0.3",
39
- "@hotwired-sh/mcp-linux-x64": "1.0.3",
40
- "@hotwired-sh/mcp-linux-arm64": "1.0.3"
36
+ "@hotwired-sh/mcp-darwin-arm64": "1.0.5",
37
+ "@hotwired-sh/mcp-darwin-x64": "1.0.5",
38
+ "@hotwired-sh/mcp-linux-x64": "1.0.5",
39
+ "@hotwired-sh/mcp-linux-arm64": "1.0.5"
41
40
  },
42
41
  "devDependencies": {
43
42
  "@commitlint/cli": "^19.0.0",