beswarm 0.1.36__py3-none-any.whl → 0.1.37__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/UIworker.py CHANGED
@@ -3,7 +3,6 @@ import io
3
3
  import copy
4
4
  import base64
5
5
  import platform
6
- import pyautogui
7
6
  from datetime import datetime
8
7
  from ..aient.src.aient.plugins import register_tool, get_function_call_list
9
8
 
@@ -16,6 +15,7 @@ from ..utils import extract_xml_content
16
15
  async def get_current_screen_image_message(prompt):
17
16
  print("instruction agent 正在截取当前屏幕...")
18
17
  try:
18
+ import pyautogui
19
19
  # 使用 pyautogui 截取屏幕,返回 PIL Image 对象
20
20
  screenshot = pyautogui.screenshot()
21
21
  # img_width, img_height = screenshot.size # 获取截图尺寸
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beswarm
3
- Version: 0.1.36
3
+ Version: 0.1.37
4
4
  Summary: MAS
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -119,7 +119,7 @@ beswarm/queries/tree-sitter-languages/ruby-tags.scm,sha256=vIidsCeE2A0vdFN18yXKq
119
119
  beswarm/queries/tree-sitter-languages/rust-tags.scm,sha256=9ljM1nzhfPs_ZTRw7cr2P9ToOyhGcKkCoN4_HPXSWi4,1451
120
120
  beswarm/queries/tree-sitter-languages/scala-tags.scm,sha256=UxQjz80JIrrJ7Pm56uUnQyThfmQNvwk7aQzPNypB-Ao,1761
121
121
  beswarm/queries/tree-sitter-languages/typescript-tags.scm,sha256=OMdCeedPiA24ky82DpgTMKXK_l2ySTuF2zrQ2fJAi9E,1253
122
- beswarm/tools/UIworker.py,sha256=9e0iWBIi-ET6OvhRftuMSphixihySlTjvB4pCZvKuAU,6331
122
+ beswarm/tools/UIworker.py,sha256=YRrzW5GxWqA-tcmmm2c6mMbkVI0kHIqosIUz-GcoQOQ,6339
123
123
  beswarm/tools/__init__.py,sha256=-h_zoMEjnLCg9iVgSoor9BI3yK64LdVOQkVB0DgGFmo,1001
124
124
  beswarm/tools/click.py,sha256=vjCN6_00xJw-dcMZEv9sneTBmuKI7lFN4xApZZizd5k,20760
125
125
  beswarm/tools/edit_file.py,sha256=qKOVanfh_79eavRrqqyFirRo07sZ897jUL2PD4GRKJk,6965
@@ -128,7 +128,7 @@ beswarm/tools/repomap.py,sha256=CwvwoN5Swr42EzrORTTeV8MMb7mPviy4a4b0fxBu50k,4082
128
128
  beswarm/tools/search_arxiv.py,sha256=9slwBemXjEqrd7-YgVmyMijPXlkhZCybEDRVhWVQ9B0,7937
129
129
  beswarm/tools/think.py,sha256=WLw-7jNIsnS6n8MMSYUin_f-BGLENFmnKM2LISEp0co,1760
130
130
  beswarm/tools/worker.py,sha256=FfKCx7KFNbMRoAXtjU1_nJQjx9WHny7KBq8OXSYICJs,5334
131
- beswarm-0.1.36.dist-info/METADATA,sha256=SrywCezGn-Q5A64VxtiYcJKwWtzPQip0Rdz38b6Qrxk,3197
132
- beswarm-0.1.36.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
133
- beswarm-0.1.36.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
134
- beswarm-0.1.36.dist-info/RECORD,,
131
+ beswarm-0.1.37.dist-info/METADATA,sha256=aBx-kjQIXjn2HYky3L99c2oBOXJRWYNRP7xF0Ndj9h4,3197
132
+ beswarm-0.1.37.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
133
+ beswarm-0.1.37.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
134
+ beswarm-0.1.37.dist-info/RECORD,,