beswarm 0.1.38__py3-none-any.whl → 0.1.39__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/aient/setup.py CHANGED
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
4
4
 
5
5
  setup(
6
6
  name="aient",
7
- version="1.0.94",
7
+ version="1.0.95",
8
8
  description="Aient: The Awakening of Agent.",
9
9
  long_description=Path.open(Path("README.md"), encoding="utf-8").read(),
10
10
  long_description_content_type="text/markdown",
@@ -6,7 +6,6 @@ import threading
6
6
  import time as record_time
7
7
  from itertools import islice
8
8
  from bs4 import BeautifulSoup
9
- from duckduckgo_search import DDGS
10
9
  from .registry import register_tool
11
10
 
12
11
  class ThreadWithReturnValue(threading.Thread):
@@ -178,6 +177,7 @@ def get_url_content(url: str) -> str:
178
177
 
179
178
  def getddgsearchurl(query, max_results=4):
180
179
  try:
180
+ from duckduckgo_search import DDGS
181
181
  results = []
182
182
  with DDGS() as ddgs:
183
183
  ddgs_gen = ddgs.text(query, safesearch='Off', timelimit='y', backend="lite")
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beswarm
3
- Version: 0.1.38
3
+ Version: 0.1.39
4
4
  Summary: MAS
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
7
7
  Requires-Dist: beautifulsoup4>=4.13.4
8
8
  Requires-Dist: diskcache>=5.6.3
9
- Requires-Dist: duckduckgo-search==5.3.1
10
9
  Requires-Dist: fake-useragent>=2.2.0
11
10
  Requires-Dist: fastapi>=0.115.12
12
11
  Requires-Dist: grep-ast>=0.8.1
@@ -28,6 +27,8 @@ Requires-Dist: pytz>=2025.2
28
27
  Requires-Dist: requests>=2.32.3
29
28
  Requires-Dist: scipy>=1.15.2
30
29
  Requires-Dist: tqdm>=4.67.1
30
+ Provides-Extra: search
31
+ Requires-Dist: duckduckgo-search==5.3.1; extra == "search"
31
32
 
32
33
  # beswarm
33
34
 
@@ -1,7 +1,7 @@
1
1
  beswarm/__init__.py,sha256=HZjUOJtZR5QhMuDbq-wukQQn1VrBusNWai_ysGo-VVI,20
2
2
  beswarm/utils.py,sha256=AdDCcqAIIKQEMl7PfryVgeT9G5sHe7QNsZnrvmTGA8E,283
3
3
  beswarm/aient/main.py,sha256=SiYAIgQlLJqYusnTVEJOx1WNkSJKMImhgn5aWjfroxg,3814
4
- beswarm/aient/setup.py,sha256=YAgceIK7MVm6FbCxH6-wz10BjoSX2wbYg6jfpbUgBxA,487
4
+ beswarm/aient/setup.py,sha256=gX6fAYtVyLi9NHeEKPMGPF4IxtQ9MvEnJy1besWMS5U,487
5
5
  beswarm/aient/src/aient/__init__.py,sha256=SRfF7oDVlOOAi6nGKiJIUK6B_arqYLO9iSMp-2IZZps,21
6
6
  beswarm/aient/src/aient/core/__init__.py,sha256=NxjebTlku35S4Dzr16rdSqSTWUvvwEeACe8KvHJnjPg,34
7
7
  beswarm/aient/src/aient/core/log_config.py,sha256=kz2_yJv1p-o3lUQOwA3qh-LSc3wMHv13iCQclw44W9c,274
@@ -32,7 +32,7 @@ beswarm/aient/src/aient/plugins/list_directory.py,sha256=5ubm-mfrj-tanGSDp4M_Tmb
32
32
  beswarm/aient/src/aient/plugins/read_file.py,sha256=cJxGnhcz1_gjkgeemVyixLUiCvf-dWm-UtDfrbFdlLE,4857
33
33
  beswarm/aient/src/aient/plugins/registry.py,sha256=YknzhieU_8nQ3oKlUSSWDB4X7t2Jx0JnqT2Jd9Xsvfk,3574
34
34
  beswarm/aient/src/aient/plugins/run_python.py,sha256=dgcUwBunMuDkaSKR5bToudVzSdrXVewktDDFUz_iIOQ,4589
35
- beswarm/aient/src/aient/plugins/websearch.py,sha256=yiBzqXK5X220ibR-zko3VDsn4QOnLu1k6E2YOygCeTQ,15185
35
+ beswarm/aient/src/aient/plugins/websearch.py,sha256=a-JJZjEZ5MEQ9WBMkD7okBHYehLSzApoLMiyqBnxDqs,15193
36
36
  beswarm/aient/src/aient/plugins/write_file.py,sha256=qmT6iQ3mDyVAa9Sld1jfJq0KPZj0w2kRIHq0JyjpGeA,1853
37
37
  beswarm/aient/src/aient/prompt/__init__.py,sha256=GBtn6-JDT8KHFCcuPpfSNE_aGddg5p4FEyMCy4BfwGs,20
38
38
  beswarm/aient/src/aient/prompt/agent.py,sha256=3VycHGnUq9OdR5pd_RM0AeLESlpAgBcmzrsesfq82X0,23856
@@ -127,7 +127,7 @@ beswarm/tools/repomap.py,sha256=CwvwoN5Swr42EzrORTTeV8MMb7mPviy4a4b0fxBu50k,4082
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.38.dist-info/METADATA,sha256=F67KnWGHVHRPZJi-uQxVCaGGoe3IMcBgmBdiMPz0wCQ,3166
131
- beswarm-0.1.38.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
132
- beswarm-0.1.38.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
133
- beswarm-0.1.38.dist-info/RECORD,,
130
+ beswarm-0.1.39.dist-info/METADATA,sha256=pOFh4a12JYNDKCeFjK6k9LoB6JGlqvc7EFVNVSWsqg8,3208
131
+ beswarm-0.1.39.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
132
+ beswarm-0.1.39.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
133
+ beswarm-0.1.39.dist-info/RECORD,,