Jarvis-Brain 0.1.11.9__py3-none-any.whl → 0.1.11.10__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.
- {jarvis_brain-0.1.11.9.dist-info → jarvis_brain-0.1.11.10.dist-info}/METADATA +1 -1
- {jarvis_brain-0.1.11.9.dist-info → jarvis_brain-0.1.11.10.dist-info}/RECORD +5 -5
- mcp_tools/dp_tools.py +2 -2
- {jarvis_brain-0.1.11.9.dist-info → jarvis_brain-0.1.11.10.dist-info}/WHEEL +0 -0
- {jarvis_brain-0.1.11.9.dist-info → jarvis_brain-0.1.11.10.dist-info}/entry_points.txt +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
mcp_tools/__init__.py,sha256=_ZzedxbxmVkdRH00ONOjQR31pZW-B8WPn5P2qE6T-Iw,3012
|
|
2
|
-
mcp_tools/dp_tools.py,sha256=
|
|
2
|
+
mcp_tools/dp_tools.py,sha256=QK7xcW7s8mieXaNXtCdOALPqSOVYIg72lheneu3xopA,18980
|
|
3
3
|
mcp_tools/main.py,sha256=Fgq2PPuc7XCCwXCSVsyoADB0z1vI_gZ07lnLChcrjjg,1167
|
|
4
4
|
tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
tools/browser_manager.py,sha256=zeYcWuzxoohMdnYUoZbRH7axFC_VtV8MsncfN8y0yw0,2023
|
|
6
6
|
tools/browser_proxy.py,sha256=VAhuVrBIoXmKyXvCmJh4eRYCWpLIhbTYmFHK8l8eoTA,6590
|
|
7
7
|
tools/tools.py,sha256=KvBzefiQbgR-Qa1FsTOGMbVuwTzrK3iXXJgZuFU3UVg,10926
|
|
8
|
-
jarvis_brain-0.1.11.
|
|
9
|
-
jarvis_brain-0.1.11.
|
|
10
|
-
jarvis_brain-0.1.11.
|
|
11
|
-
jarvis_brain-0.1.11.
|
|
8
|
+
jarvis_brain-0.1.11.10.dist-info/METADATA,sha256=MSfujcJnzXUlBHucOnEcs4mzkcUbU26FEd4jX6BdzuE,265
|
|
9
|
+
jarvis_brain-0.1.11.10.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
10
|
+
jarvis_brain-0.1.11.10.dist-info/entry_points.txt,sha256=YFQT4xpkUqt5dM5wlKPQQOqcjMuFrT9iuRAzIpAyH7U,51
|
|
11
|
+
jarvis_brain-0.1.11.10.dist-info/RECORD,,
|
mcp_tools/dp_tools.py
CHANGED
|
@@ -325,9 +325,9 @@ def register_get_screenshot(mcp: FastMCP, browser_manager):
|
|
|
325
325
|
os.makedirs(html_source_code_local_save_path)
|
|
326
326
|
timestamp = int(time.time() * 1000)
|
|
327
327
|
# time.sleep(1)
|
|
328
|
-
origin_png = target_tab.get_screenshot(as_bytes="
|
|
328
|
+
origin_png = target_tab.get_screenshot(as_bytes="jpg", full_page=True)
|
|
329
329
|
compress_png = compress_image_bytes(origin_png, 0.5)
|
|
330
|
-
image_path = os.path.join(html_source_code_local_save_path, f"{browser_port}_{tab_id}_{timestamp}.
|
|
330
|
+
image_path = os.path.join(html_source_code_local_save_path, f"{browser_port}_{tab_id}_{timestamp}.jpg")
|
|
331
331
|
with open(image_path, "wb") as f:
|
|
332
332
|
f.write(compress_png)
|
|
333
333
|
return dp_mcp_message_pack(
|
|
File without changes
|
|
File without changes
|