@opentiny/webmcp-cli 0.0.6 → 0.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/webmcp-cli",
3
- "version": "0.0.6",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "description": "WebMCP CLI for AI Agents to interact with browser via Puppeteer",
6
6
  "main": "dist/index.js",
@@ -26,7 +26,8 @@
26
26
  "access": "public"
27
27
  },
28
28
  "dependencies": {
29
- "@mcp-b/webmcp-polyfill": "^3.0.0",
29
+ "@mcp-b/webmcp-polyfill": "^5.1.0",
30
+ "@modelcontextprotocol/sdk": "~1.25.2",
30
31
  "@page-agent/page-controller": "^1.10.0",
31
32
  "clipboardy": "^5.3.1",
32
33
  "commander": "^11.1.0",
@@ -34,20 +35,27 @@
34
35
  "marked": "^15.0.7",
35
36
  "picocolors": "^1.0.0",
36
37
  "puppeteer-core": "^22.0.0",
37
- "@opentiny/next-sdk": "^0.4.1"
38
+ "ws": "^8.18.0",
39
+ "zod": "^3.23.0",
40
+ "@opentiny/next-sdk": "^0.4.11"
38
41
  },
39
42
  "devDependencies": {
40
43
  "@types/node": "^20.0.0",
44
+ "@types/ws": "^8.5.10",
41
45
  "esbuild": "^0.25.0",
42
46
  "tsup": "^8.0.2",
43
47
  "tsx": "^4.0.0",
44
- "typescript": "^5.3.3"
48
+ "typescript": "^5.3.3",
49
+ "vitest": "^4.1.10"
45
50
  },
46
51
  "scripts": {
47
52
  "dev": "tsup --watch",
48
53
  "build:inject": "node scripts/build-inject.mjs",
49
54
  "build": "tsup && pnpm run build:inject",
50
55
  "link:global": "npm install -g .",
51
- "start": "node dist/bin.js"
56
+ "start": "node dist/bin.js",
57
+ "test": "vitest run",
58
+ "test:watch": "vitest",
59
+ "test:browser": "vitest run --config vitest.e2e.config.ts"
52
60
  }
53
61
  }
package/dist/bin.d.cts DELETED
@@ -1 +0,0 @@
1
- #!/usr/bin/env node
package/dist/bin.d.ts DELETED
@@ -1 +0,0 @@
1
- #!/usr/bin/env node