@mobilenext/mobile-mcp 0.0.14 → 0.0.15

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/lib/android.js +1 -1
  2. package/package.json +1 -1
package/lib/android.js CHANGED
@@ -139,7 +139,7 @@ class AndroidRobot {
139
139
  this.adb("shell", "input", "swipe", `${x0}`, `${y0}`, `${x1}`, `${y1}`, "1000");
140
140
  }
141
141
  async getScreenshot() {
142
- return this.adb("shell", "screencap", "-p");
142
+ return this.adb("exec-out", "screencap", "-p");
143
143
  }
144
144
  collectElements(node) {
145
145
  const elements = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobilenext/mobile-mcp",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Mobile MCP",
5
5
  "repository": {
6
6
  "type": "git",