quash-mcp 0.2.3__py3-none-any.whl → 0.2.4__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.
- quash_mcp/backend_client.py +7 -6
- {quash_mcp-0.2.3.dist-info → quash_mcp-0.2.4.dist-info}/METADATA +1 -1
- {quash_mcp-0.2.3.dist-info → quash_mcp-0.2.4.dist-info}/RECORD +5 -5
- {quash_mcp-0.2.3.dist-info → quash_mcp-0.2.4.dist-info}/WHEEL +0 -0
- {quash_mcp-0.2.3.dist-info → quash_mcp-0.2.4.dist-info}/entry_points.txt +0 -0
quash_mcp/backend_client.py
CHANGED
|
@@ -245,19 +245,20 @@ class BackendClient:
|
|
|
245
245
|
# Convert to JSON string
|
|
246
246
|
data_json = json.dumps(data_dict)
|
|
247
247
|
|
|
248
|
-
# Prepare
|
|
249
|
-
|
|
250
|
-
"data": ("data.json", data_json, "application/json")
|
|
251
|
-
}
|
|
248
|
+
# Prepare form data (data field as string)
|
|
249
|
+
form_data = {"data": data_json}
|
|
252
250
|
|
|
253
|
-
#
|
|
251
|
+
# Prepare files dict (only screenshot if provided)
|
|
252
|
+
files = {}
|
|
254
253
|
if screenshot_bytes:
|
|
255
254
|
files["screenshot"] = ("screenshot.png", screenshot_bytes, "image/png")
|
|
256
255
|
|
|
257
256
|
async with httpx.AsyncClient(timeout=self.timeout) as client:
|
|
257
|
+
# Send both form data and files (multipart/form-data)
|
|
258
258
|
response = await client.post(
|
|
259
259
|
f"{self.base_url}/api/agent/step",
|
|
260
|
-
|
|
260
|
+
data=form_data,
|
|
261
|
+
files=files if files else None
|
|
261
262
|
)
|
|
262
263
|
|
|
263
264
|
if response.status_code == 200:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quash-mcp
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
quash_mcp/__init__.py,sha256=LImiWCRgjAbb5DZXBq2DktUEAbftvnO61Vil4Ayun9A,39
|
|
2
2
|
quash_mcp/__main__.py,sha256=WCg5OlnXhr6i0XJHAUGpbhliMy3qE2SJkFzVD4wO-lw,239
|
|
3
|
-
quash_mcp/backend_client.py,sha256=
|
|
3
|
+
quash_mcp/backend_client.py,sha256=FvrchO5R4fByTlSh_LosFSKXOZSsPKYEsRZ3LNioDdk,9998
|
|
4
4
|
quash_mcp/server.py,sha256=scUGnplxjsvyYLK2q6hrjl-5Chkdnat9pODDtLzsQFY,15519
|
|
5
5
|
quash_mcp/state.py,sha256=Tnt795GnZcas-h62Y6KYyIZVopeoWPM0TbRwOeVFYj4,4394
|
|
6
6
|
quash_mcp/device/__init__.py,sha256=6e8CtHolt-vJKPxZUU_Vsd6-QGqos9VrFykaLTT90rk,772
|
|
@@ -17,7 +17,7 @@ quash_mcp/tools/execute_v2_backup.py,sha256=waWnaD0dEVcOJgRBbqZo3HnxME1s6YUOn8aR
|
|
|
17
17
|
quash_mcp/tools/execute_v3.py,sha256=z8aNTyA9bdfc3Ub4LBd1HWaUWyTUEwsWc557USlHI9M,11089
|
|
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.
|
|
21
|
-
quash_mcp-0.2.
|
|
22
|
-
quash_mcp-0.2.
|
|
23
|
-
quash_mcp-0.2.
|
|
20
|
+
quash_mcp-0.2.4.dist-info/METADATA,sha256=Hhm57GjXV_rz9KOhTelfjZB3q41mtXGi3YKhcmzeUo4,8129
|
|
21
|
+
quash_mcp-0.2.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
22
|
+
quash_mcp-0.2.4.dist-info/entry_points.txt,sha256=9sbDxrx0ApGDVRS-IE3mQgSao3DwKnnV_k-_ipFn9QI,52
|
|
23
|
+
quash_mcp-0.2.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|