ohos-playwright-mcp 0.2.3 → 0.2.4

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/server.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ohos-playwright-mcp",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "MCP server for HarmonyOS / OpenHarmony ArkWeb — playwright-core over CDP. 61 tools: navigation, input, network, cookies, storage, snapshot, tracing. The ohos counterpart of @playwright/mcp.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  "node": ">=24"
39
39
  },
40
40
  "peerDependencies": {
41
- "ohos-playwright": ">=0.2.3",
41
+ "ohos-playwright": ">=0.2.4",
42
42
  "playwright-core": ">=1.59.0"
43
43
  },
44
44
  "publishConfig": {
package/server.mjs CHANGED
@@ -708,7 +708,7 @@ async function handle(msg) {
708
708
  try {
709
709
  switch (msg.method) {
710
710
  case 'initialize':
711
- return { protocolVersion: '2024-11-05', capabilities: { tools: {} }, serverInfo: { name: 'ohos-playwright-mcp', version: '0.2.3' } }
711
+ return { protocolVersion: '2024-11-05', capabilities: { tools: {} }, serverInfo: { name: 'ohos-playwright-mcp', version: '0.2.4' } }
712
712
  case 'notifications/initialized':
713
713
  return null
714
714
  case 'tools/list':