wick-mcp 0.7.1 → 0.8.0

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/wick CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wick-mcp",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "mcpName": "io.github.wickproject/wick",
5
5
  "description": "Browser-grade web access for AI agents. Gives MCP-compatible agents (Claude Code, Cursor, etc.) the same web access their human operators have.",
6
6
  "keywords": ["mcp", "ai-agent", "web-fetch", "browser", "claude", "cursor"],
@@ -16,8 +16,8 @@
16
16
  "scripts": {
17
17
  "postinstall": "node scripts/install.js"
18
18
  },
19
- "os": ["darwin"],
20
- "cpu": ["arm64"],
19
+ "os": ["darwin", "linux"],
20
+ "cpu": ["arm64", "x64"],
21
21
  "files": [
22
22
  "bin/",
23
23
  "scripts/",
@@ -3,13 +3,18 @@ const fs = require("fs");
3
3
  const path = require("path");
4
4
  const { execFileSync } = require("child_process");
5
5
 
6
- const VERSION = "0.7.0";
6
+ const VERSION = "0.8.0";
7
7
  const PLATFORM = `${process.platform}-${process.arch}`;
8
8
 
9
9
  const ASSETS = {
10
10
  "darwin-arm64": {
11
- url: `https://github.com/wickproject/wick/releases/download/v${VERSION}/wick-${VERSION}-darwin-arm64.tar.gz`,
12
- sha256: "766f48f0eb1cfb220352f9fb266fb97504fe456cea9670a1d1f3516b3ae8f725",
11
+ url: `https://github.com/wickproject/wick/releases/download/v${VERSION}/wick-darwin-arm64.tar.gz`,
12
+ sha256: "b91835312547dbc9c24249738248d62ba60d9fc930918468cd1fdd1f3457f540",
13
+ },
14
+ "linux-x64": {
15
+ url: `https://github.com/wickproject/wick/releases/download/v${VERSION}/wick-linux-amd64.tar.gz`,
16
+ sha256: "acc08ade37231376121b50adc588641cb11cd3472373ad53a445c8dd81a13b6e",
17
+ hasLib: true,
13
18
  },
14
19
  };
15
20
 
@@ -61,6 +66,20 @@ async function main() {
61
66
  execFileSync("tar", ["xzf", tarPath, "-C", binDir]);
62
67
  fs.unlinkSync(tarPath);
63
68
  fs.chmodSync(binPath, 0o755);
69
+
70
+ // On Linux, the tarball includes libcronet.so — create a wrapper script
71
+ // so LD_LIBRARY_PATH is set automatically
72
+ const libPath = path.join(binDir, "libcronet.so");
73
+ if (asset.hasLib && fs.existsSync(libPath)) {
74
+ const realBin = path.join(binDir, "wick-bin");
75
+ fs.renameSync(binPath, realBin);
76
+ fs.writeFileSync(
77
+ binPath,
78
+ `#!/bin/sh\nLD_LIBRARY_PATH="${binDir}:$LD_LIBRARY_PATH" exec "${realBin}" "$@"\n`
79
+ );
80
+ fs.chmodSync(binPath, 0o755);
81
+ }
82
+
64
83
  console.log("Wick installed successfully.");
65
84
  }
66
85