beswarm 0.1.40__py3-none-any.whl → 0.1.41__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.
- beswarm/tools/click.py +2 -1
- {beswarm-0.1.40.dist-info → beswarm-0.1.41.dist-info}/METADATA +1 -1
- {beswarm-0.1.40.dist-info → beswarm-0.1.41.dist-info}/RECORD +5 -5
- {beswarm-0.1.40.dist-info → beswarm-0.1.41.dist-info}/WHEEL +0 -0
- {beswarm-0.1.40.dist-info → beswarm-0.1.41.dist-info}/top_level.txt +0 -0
beswarm/tools/click.py
CHANGED
@@ -4,7 +4,6 @@ import re
|
|
4
4
|
import json
|
5
5
|
import time
|
6
6
|
import base64
|
7
|
-
import pyautogui # 用于桌面屏幕点击
|
8
7
|
import pyperclip # 新增:用于操作剪贴板
|
9
8
|
import platform # 新增:用于检测操作系统
|
10
9
|
from PIL import Image, ImageDraw
|
@@ -228,6 +227,7 @@ Returns:
|
|
228
227
|
|
229
228
|
print("正在截取当前屏幕...")
|
230
229
|
try:
|
230
|
+
import pyautogui
|
231
231
|
# 使用 pyautogui 截取屏幕,返回 PIL Image 对象
|
232
232
|
screenshot = pyautogui.screenshot()
|
233
233
|
# img_width, img_height = screenshot.size # 获取截图尺寸
|
@@ -425,6 +425,7 @@ async def scroll_screen(direction: str = "down"):
|
|
425
425
|
return error_msg
|
426
426
|
|
427
427
|
try:
|
428
|
+
import pyautogui
|
428
429
|
pyautogui.scroll(actual_scroll_amount)
|
429
430
|
success_msg = f"✅ 屏幕向 {direction} 滑动 {scroll_offset} 成功。"
|
430
431
|
print(success_msg)
|
@@ -120,14 +120,14 @@ beswarm/queries/tree-sitter-languages/scala-tags.scm,sha256=UxQjz80JIrrJ7Pm56uUn
|
|
120
120
|
beswarm/queries/tree-sitter-languages/typescript-tags.scm,sha256=OMdCeedPiA24ky82DpgTMKXK_l2ySTuF2zrQ2fJAi9E,1253
|
121
121
|
beswarm/tools/UIworker.py,sha256=YRrzW5GxWqA-tcmmm2c6mMbkVI0kHIqosIUz-GcoQOQ,6339
|
122
122
|
beswarm/tools/__init__.py,sha256=-h_zoMEjnLCg9iVgSoor9BI3yK64LdVOQkVB0DgGFmo,1001
|
123
|
-
beswarm/tools/click.py,sha256=
|
123
|
+
beswarm/tools/click.py,sha256=TygaekCXTmU3fIu6Uom7ZcyzEgYMlCC_GX-5SmWHuLI,20762
|
124
124
|
beswarm/tools/edit_file.py,sha256=qKOVanfh_79eavRrqqyFirRo07sZ897jUL2PD4GRKJk,6965
|
125
125
|
beswarm/tools/planner.py,sha256=lguBCS6kpwNPoXQvqH-WySabVubT82iyWOkJnjt6dXw,1265
|
126
126
|
beswarm/tools/repomap.py,sha256=CwvwoN5Swr42EzrORTTeV8MMb7mPviy4a4b0fxBu50k,40828
|
127
127
|
beswarm/tools/search_arxiv.py,sha256=9slwBemXjEqrd7-YgVmyMijPXlkhZCybEDRVhWVQ9B0,7937
|
128
128
|
beswarm/tools/think.py,sha256=WLw-7jNIsnS6n8MMSYUin_f-BGLENFmnKM2LISEp0co,1760
|
129
129
|
beswarm/tools/worker.py,sha256=FfKCx7KFNbMRoAXtjU1_nJQjx9WHny7KBq8OXSYICJs,5334
|
130
|
-
beswarm-0.1.
|
131
|
-
beswarm-0.1.
|
132
|
-
beswarm-0.1.
|
133
|
-
beswarm-0.1.
|
130
|
+
beswarm-0.1.41.dist-info/METADATA,sha256=BKv5PBdq5-WJ9NnWS9qmAHr2-5zLKoP-eS88ZComyko,3150
|
131
|
+
beswarm-0.1.41.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
132
|
+
beswarm-0.1.41.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
|
133
|
+
beswarm-0.1.41.dist-info/RECORD,,
|
File without changes
|
File without changes
|