quash-mcp 0.2.8__py3-none-any.whl → 0.2.9__py3-none-any.whl

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.

Potentially problematic release.


This version of quash-mcp might be problematic. Click here for more details.

@@ -55,9 +55,13 @@ def get_accessibility_tree(serial: str, tcp_port: int = 8080) -> str:
55
55
  )
56
56
 
57
57
  if response.status_code == 200:
58
- # Portal returns JSON with the tree
58
+ # Portal returns JSON with status and data fields
59
59
  data = response.json()
60
- return data.get("a11y_tree", "<hierarchy></hierarchy>")
60
+ if data.get("status") == "success":
61
+ return data.get("data", "<hierarchy></hierarchy>")
62
+ else:
63
+ logger.warning(f"Portal error: {data.get('error', 'Unknown error')}")
64
+ return "<hierarchy></hierarchy>"
61
65
  else:
62
66
  logger.warning(f"Failed to get accessibility tree: HTTP {response.status_code}")
63
67
  return "<hierarchy></hierarchy>"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quash-mcp
3
- Version: 0.2.8
3
+ Version: 0.2.9
4
4
  Summary: Model Context Protocol server for Quash - AI-powered mobile automation agent
5
5
  Project-URL: Homepage, https://quashbugs.com
6
6
  Project-URL: Repository, https://github.com/quash/quash-mcp
@@ -6,7 +6,7 @@ quash_mcp/state.py,sha256=Tnt795GnZcas-h62Y6KYyIZVopeoWPM0TbRwOeVFYj4,4394
6
6
  quash_mcp/device/__init__.py,sha256=6e8CtHolt-vJKPxZUU_Vsd6-QGqos9VrFykaLTT90rk,772
7
7
  quash_mcp/device/adb_tools.py,sha256=Q0HIZHLBswaD94Qa7AA2VtjY31EZ68l0YClJDmMjOBU,3778
8
8
  quash_mcp/device/portal.py,sha256=sDLJOruUwwNNxIDriiXB4vT0BZYILidgzVgdhHCEkDY,5241
9
- quash_mcp/device/state_capture.py,sha256=eAHhx1Ad9f9nh9T0VvhqAMR8UHRlReKcFWahTmiuwTk,3135
9
+ quash_mcp/device/state_capture.py,sha256=2aq7A-CwKRSbXZAob-JdoK6FfGfLJRB77tMYyo-O2Vo,3349
10
10
  quash_mcp/tools/__init__.py,sha256=r4fMAjHDjHUbimRwYW7VYUDkQHs12UVsG_IBmWpeX9s,249
11
11
  quash_mcp/tools/build.py,sha256=M6tGXWrQNkdtCYYrK14gUaoufQvyoor_hNN0lBPSVHY,30321
12
12
  quash_mcp/tools/build_old.py,sha256=6M9gaqZ_dX4B7UFTxSMD8T1BX0zEwQUL7RJ8ItNfB54,6016
@@ -17,7 +17,7 @@ quash_mcp/tools/execute_v2_backup.py,sha256=waWnaD0dEVcOJgRBbqZo3HnxME1s6YUOn8aR
17
17
  quash_mcp/tools/execute_v3.py,sha256=Ya3XEh2fOBgVmytIShLkiWuAbpQKE4CNGUSamwJD92I,14250
18
18
  quash_mcp/tools/runsuite.py,sha256=gohLk9FpN8v7F0a69fspqOqUexTcslpYf3qU-iIZZ3s,7220
19
19
  quash_mcp/tools/usage.py,sha256=g76A6FO36fThoyRFG7q92QmS3Kh1pIKOrhYOzUdIubA,1155
20
- quash_mcp-0.2.8.dist-info/METADATA,sha256=njKbaAYNYzRw5NyS6QOw1K1-y6V92nhuucj3j9jc0ig,8129
21
- quash_mcp-0.2.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
22
- quash_mcp-0.2.8.dist-info/entry_points.txt,sha256=9sbDxrx0ApGDVRS-IE3mQgSao3DwKnnV_k-_ipFn9QI,52
23
- quash_mcp-0.2.8.dist-info/RECORD,,
20
+ quash_mcp-0.2.9.dist-info/METADATA,sha256=l22Tc-iKIlk17y6MzziulgCopPJ4kdkKq_P_Bw470rU,8129
21
+ quash_mcp-0.2.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
22
+ quash_mcp-0.2.9.dist-info/entry_points.txt,sha256=9sbDxrx0ApGDVRS-IE3mQgSao3DwKnnV_k-_ipFn9QI,52
23
+ quash_mcp-0.2.9.dist-info/RECORD,,