@antmanler/websearch-mcp 0.2.0 → 0.2.2
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/README.md +2 -0
- package/bin/darwin-arm64/websearch-mcp +0 -0
- package/bin/linux-amd64/websearch-mcp +0 -0
- package/bin/linux-arm64/websearch-mcp +0 -0
- package/bin/websearch-mcp +0 -0
- package/install.js +2 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -60,12 +60,14 @@ The client loads `.env` from the nearest parent directory (repo root) to pick up
|
|
|
60
60
|
|
|
61
61
|
This project bundles platform binaries in the npm package and installs the right one at postinstall time. It supports:
|
|
62
62
|
- Linux amd64
|
|
63
|
+
- Linux arm64
|
|
63
64
|
- macOS arm64
|
|
64
65
|
|
|
65
66
|
Build local binaries and bundle into `bin/<platform>/websearch-mcp`:
|
|
66
67
|
|
|
67
68
|
```bash
|
|
68
69
|
npm run build:linux
|
|
70
|
+
npm run build:linux-arm64
|
|
69
71
|
npm run build:macos
|
|
70
72
|
```
|
|
71
73
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/websearch-mcp
CHANGED
|
Binary file
|
package/install.js
CHANGED
|
@@ -10,6 +10,8 @@ if (platform === "linux" && arch === "x64") {
|
|
|
10
10
|
subdir = "linux-amd64";
|
|
11
11
|
} else if (platform === "darwin" && arch === "arm64") {
|
|
12
12
|
subdir = "darwin-arm64";
|
|
13
|
+
} else if (platform === "linux" && arch === "arm64") {
|
|
14
|
+
subdir = "linux-arm64";
|
|
13
15
|
} else {
|
|
14
16
|
console.error(`Unsupported platform/arch: ${platform}/${arch}`);
|
|
15
17
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antmanler/websearch-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Go-based MCP web search server",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.js",
|
|
@@ -10,19 +10,21 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "./build.sh --linux-amd64",
|
|
12
12
|
"build:linux": "./build.sh --linux-amd64",
|
|
13
|
+
"build:linux-arm64": "./build.sh --linux-arm64",
|
|
13
14
|
"build:macos": "./build.sh --macos",
|
|
14
|
-
"build:package": "./build.sh --linux-amd64 --package && ./build.sh --macos --package",
|
|
15
|
+
"build:package": "./build.sh --linux-amd64 --package && ./build.sh --linux-arm64 --package && ./build.sh --macos --package",
|
|
15
16
|
"clean": "rm -rf ./bin ./dist ./*.tgz",
|
|
16
17
|
"test": "/usr/local/go/bin/go test ./...",
|
|
17
18
|
"client": "./run-client.sh",
|
|
18
19
|
"npx-test": "./npx-test.sh",
|
|
19
20
|
"postinstall": "node install.js",
|
|
20
|
-
"pack": "npm run clean && npm run build:linux && npm run build:macos && npm pack",
|
|
21
|
+
"pack": "npm run clean && npm run build:linux && npm run build:linux-arm64 && npm run build:macos && npm pack",
|
|
21
22
|
"publish": "npm run pack && npm publish --access public --registry=https://registry.npmjs.org/"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {},
|
|
24
25
|
"files": [
|
|
25
26
|
"bin/linux-amd64/websearch-mcp",
|
|
27
|
+
"bin/linux-arm64/websearch-mcp",
|
|
26
28
|
"bin/darwin-arm64/websearch-mcp",
|
|
27
29
|
"install.js",
|
|
28
30
|
"package.json",
|