Skip to content

Commit 678ce7c

Browse files
committed
v0.4.9: add zod dep to mcp-server, read version from package.json, auto-publish both packages on tag
1 parent da8d29b commit 678ce7c

6 files changed

Lines changed: 24 additions & 7 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- 'v*'
1010

1111
jobs:
12-
publish:
12+
publish-root:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
@@ -21,3 +21,18 @@ jobs:
2121
env:
2222
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
2323

24+
publish-mcp:
25+
runs-on: ubuntu-latest
26+
defaults:
27+
run:
28+
working-directory: mcp-server
29+
steps:
30+
- uses: actions/checkout@v4
31+
- uses: actions/setup-node@v4
32+
with:
33+
node-version: 20
34+
registry-url: https://registry.npmjs.org/
35+
- run: npm install --omit=dev
36+
- run: npm publish
37+
env:
38+
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "Human Browser Bridge",
4-
"version": "0.4.7",
4+
"version": "0.4.9",
55
"author": "Hugo Palma",
66
"homepage_url": "https://github.com/hugopalma17/webpilot",
77
"description": "Browser control runtime for agents over WebSocket",

gemini-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpilot",
3-
"version": "0.4.7",
3+
"version": "0.4.9",
44
"description": "CDP-free browser automation with human-like behavior. Drive a real browser via WebSocket from any AI agent.",
55
"contextFileName": "SKILL.md",
66
"mcpServers": {

mcp-server/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ function currentTabShape() {
6868
};
6969
}
7070

71+
const mcpPkg = require('./package.json');
7172
const server = new McpServer({
7273
name: 'webpilot-mcp',
73-
version: '0.3.8',
74+
version: mcpPkg.version,
7475
});
7576

7677
// Navigation / page state

mcp-server/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpilot-mcp",
3-
"version": "0.4.3",
3+
"version": "0.4.9",
44
"description": "MCP adapter for the Webpilot browser runtime",
55
"main": "index.js",
66
"bin": {
@@ -36,6 +36,7 @@
3636
},
3737
"dependencies": {
3838
"@modelcontextprotocol/sdk": "^1.27.0",
39-
"ws": "^8.19.0"
39+
"ws": "^8.19.0",
40+
"zod": "^3.25 || ^4.0"
4041
}
4142
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "h17-webpilot",
3-
"version": "0.4.7",
3+
"version": "0.4.9",
44
"description": "Browser control framework for agents via Chrome extension + WebSocket",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)