beswarm 0.2.49__py3-none-any.whl → 0.2.51__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 beswarm might be problematic. Click here for more details.
- beswarm/agents/chatgroup.py +2 -2
- beswarm/agents/planact.py +2 -2
- beswarm/aient/{src/aient → aient}/core/response.py +2 -0
- beswarm/aient/aient/models/__init__.py +2 -0
- beswarm/aient/{src/aient → aient}/plugins/excute_command.py +1 -1
- beswarm/aient/{src/aient → aient}/plugins/read_file.py +1 -1
- beswarm/aient/{src/aient → aient}/plugins/websearch.py +1 -1
- beswarm/aient/{src/aient → aient}/plugins/write_file.py +1 -1
- beswarm/aient/{src/aient → aient}/utils/scripts.py +1 -1
- beswarm/aient/main.py +8 -43
- beswarm/knowledge_graph.py +59 -1
- beswarm/taskmanager.py +1 -1
- beswarm/tools/__init__.py +1 -1
- beswarm/tools/click.py +3 -3
- beswarm/tools/completion.py +1 -1
- beswarm/tools/edit_file.py +2 -2
- beswarm/tools/graph.py +1 -1
- beswarm/tools/planner.py +3 -3
- beswarm/tools/repomap.py +1 -1
- beswarm/tools/request_input.py +1 -1
- beswarm/tools/screenshot.py +1 -1
- beswarm/tools/search_arxiv.py +1 -1
- beswarm/tools/search_web.py +1 -1
- beswarm/tools/subtasks.py +1 -1
- beswarm/tools/worker.py +1 -1
- beswarm/tools/write_csv.py +1 -1
- beswarm/utils.py +1 -1
- {beswarm-0.2.49.dist-info → beswarm-0.2.51.dist-info}/METADATA +1 -1
- beswarm-0.2.51.dist-info/RECORD +123 -0
- beswarm/aient/setup.py +0 -15
- beswarm/aient/src/aient/models/__init__.py +0 -9
- beswarm/aient/src/aient/models/claude.py +0 -573
- beswarm/aient/src/aient/models/duckduckgo.py +0 -241
- beswarm/aient/src/aient/models/gemini.py +0 -357
- beswarm/aient/src/aient/models/groq.py +0 -234
- beswarm/aient/src/aient/models/vertex.py +0 -420
- beswarm/aient/test/chatgpt.py +0 -161
- beswarm/aient/test/claude.py +0 -32
- beswarm/aient/test/test.py +0 -2
- beswarm/aient/test/test_API.py +0 -6
- beswarm/aient/test/test_Deepbricks.py +0 -20
- beswarm/aient/test/test_aiwaves.py +0 -25
- beswarm/aient/test/test_aiwaves_arxiv.py +0 -19
- beswarm/aient/test/test_ask_gemini.py +0 -8
- beswarm/aient/test/test_class.py +0 -17
- beswarm/aient/test/test_claude.py +0 -23
- beswarm/aient/test/test_claude_zh_char.py +0 -26
- beswarm/aient/test/test_download_pdf.py +0 -56
- beswarm/aient/test/test_gemini.py +0 -97
- beswarm/aient/test/test_get_token_dict.py +0 -21
- beswarm/aient/test/test_jieba.py +0 -32
- beswarm/aient/test/test_json.py +0 -65
- beswarm/aient/test/test_logging.py +0 -32
- beswarm/aient/test/test_py_run.py +0 -26
- beswarm/aient/test/test_requests.py +0 -162
- beswarm/aient/test/test_tikitoken.py +0 -19
- beswarm/aient/test/test_token.py +0 -94
- beswarm/aient/test/test_wildcard.py +0 -20
- beswarm-0.2.49.dist-info/RECORD +0 -151
- /beswarm/aient/{src/aient → aient}/__init__.py +0 -0
- /beswarm/aient/{src/aient → aient}/core/__init__.py +0 -0
- /beswarm/aient/{src/aient → aient}/core/log_config.py +0 -0
- /beswarm/aient/{src/aient → aient}/core/models.py +0 -0
- /beswarm/aient/{src/aient → aient}/core/request.py +0 -0
- /beswarm/aient/{src/aient → aient}/core/test/test_base_api.py +0 -0
- /beswarm/aient/{src/aient → aient}/core/test/test_geminimask.py +0 -0
- /beswarm/aient/{src/aient → aient}/core/test/test_image.py +0 -0
- /beswarm/aient/{src/aient → aient}/core/test/test_payload.py +0 -0
- /beswarm/aient/{src/aient → aient}/core/utils.py +0 -0
- /beswarm/aient/{src/aient → aient}/models/audio.py +0 -0
- /beswarm/aient/{src/aient → aient}/models/base.py +0 -0
- /beswarm/aient/{src/aient → aient}/models/chatgpt.py +0 -0
- /beswarm/aient/{src/aient → aient}/plugins/__init__.py +0 -0
- /beswarm/aient/{src/aient → aient}/plugins/arXiv.py +0 -0
- /beswarm/aient/{src/aient → aient}/plugins/config.py +0 -0
- /beswarm/aient/{src/aient → aient}/plugins/get_time.py +0 -0
- /beswarm/aient/{src/aient → aient}/plugins/image.py +0 -0
- /beswarm/aient/{src/aient → aient}/plugins/list_directory.py +0 -0
- /beswarm/aient/{src/aient → aient}/plugins/read_image.py +0 -0
- /beswarm/aient/{src/aient → aient}/plugins/readonly.py +0 -0
- /beswarm/aient/{src/aient → aient}/plugins/registry.py +0 -0
- /beswarm/aient/{src/aient → aient}/plugins/run_python.py +0 -0
- /beswarm/aient/{src/aient → aient}/utils/__init__.py +0 -0
- /beswarm/aient/{src/aient → aient}/utils/prompt.py +0 -0
- {beswarm-0.2.49.dist-info → beswarm-0.2.51.dist-info}/WHEEL +0 -0
- {beswarm-0.2.49.dist-info → beswarm-0.2.51.dist-info}/top_level.txt +0 -0
beswarm/agents/chatgroup.py
CHANGED
|
@@ -15,8 +15,8 @@ from typing import List, Dict, Union
|
|
|
15
15
|
from ..broker import MessageBroker
|
|
16
16
|
from ..bemcp.bemcp import MCPManager
|
|
17
17
|
from ..utils import register_mcp_tools
|
|
18
|
-
from ..aient.
|
|
19
|
-
from ..aient.
|
|
18
|
+
from ..aient.aient.models import chatgpt
|
|
19
|
+
from ..aient.aient.plugins import get_function_call_list, registry
|
|
20
20
|
|
|
21
21
|
worker_system_prompt = """
|
|
22
22
|
你是{name}。帮助用户头脑风暴。请分析不同用户的观点,并给出你的观点。
|
beswarm/agents/planact.py
CHANGED
|
@@ -10,8 +10,8 @@ from datetime import datetime
|
|
|
10
10
|
from typing import List, Dict, Union
|
|
11
11
|
|
|
12
12
|
from ..broker import MessageBroker
|
|
13
|
-
from ..aient.
|
|
14
|
-
from ..aient.
|
|
13
|
+
from ..aient.aient.models import chatgpt
|
|
14
|
+
from ..aient.aient.plugins import get_function_call_list, registry
|
|
15
15
|
from ..prompt import worker_system_prompt, instruction_system_prompt
|
|
16
16
|
from ..utils import extract_xml_content, get_current_screen_image_message, replace_xml_content, register_mcp_tools, setup_logger
|
|
17
17
|
|
|
@@ -33,6 +33,8 @@ def gemini_json_poccess(response_str):
|
|
|
33
33
|
promptTokenCount = safe_get(response_json, "usageMetadata", "promptTokenCount", default=0)
|
|
34
34
|
candidatesTokenCount = safe_get(response_json, "usageMetadata", "candidatesTokenCount", default=0)
|
|
35
35
|
totalTokenCount = safe_get(response_json, "usageMetadata", "totalTokenCount", default=0)
|
|
36
|
+
if finishReason != "STOP":
|
|
37
|
+
logger.error(f"finishReason: {finishReason}")
|
|
36
38
|
|
|
37
39
|
content = reasoning_content = safe_get(json_data, "parts", 0, "text", default="")
|
|
38
40
|
b64_json = safe_get(json_data, "parts", 0, "inlineData", "data", default="")
|
|
@@ -276,4 +276,4 @@ for i in content.split("\\n"):
|
|
|
276
276
|
# print(excute_command(python_long_task_command))
|
|
277
277
|
|
|
278
278
|
# print(get_python_executable("python -c 'print(123)'"))
|
|
279
|
-
# python -m beswarm.aient.
|
|
279
|
+
# python -m beswarm.aient.aient.plugins.excute_command
|
|
@@ -181,7 +181,7 @@ Examples:
|
|
|
181
181
|
return f"<tool_error>读取文件时发生错误: {e}</tool_error>"
|
|
182
182
|
|
|
183
183
|
if __name__ == "__main__":
|
|
184
|
-
# python -m beswarm.aient.
|
|
184
|
+
# python -m beswarm.aient.aient.plugins.read_file
|
|
185
185
|
result = read_file("./work/cax/Lenia Notebook.ipynb")
|
|
186
186
|
print(result)
|
|
187
187
|
print(len(result))
|
|
@@ -344,7 +344,7 @@ async def get_search_results(query):
|
|
|
344
344
|
|
|
345
345
|
if __name__ == "__main__":
|
|
346
346
|
os.system("clear")
|
|
347
|
-
# python -m beswarm.aient.
|
|
347
|
+
# python -m beswarm.aient.aient.plugins.websearch
|
|
348
348
|
print(get_url_content(""))
|
|
349
349
|
# from aient.models import chatgpt
|
|
350
350
|
# print(get_search_results("今天的微博热搜有哪些?", chatgpt.chatgpt_api_url.v1_url))
|
beswarm/aient/main.py
CHANGED
|
@@ -1,50 +1,15 @@
|
|
|
1
1
|
import os
|
|
2
|
-
from datetime import datetime
|
|
3
2
|
|
|
4
|
-
from
|
|
5
|
-
from
|
|
6
|
-
|
|
7
|
-
GPT_ENGINE = os.environ.get('GPT_ENGINE', 'gpt-4-turbo-2024-04-09')
|
|
3
|
+
from aient.utils import prompt
|
|
4
|
+
from aient.models import chatgpt
|
|
5
|
+
GPT_ENGINE = os.environ.get('MODEL')
|
|
8
6
|
|
|
9
|
-
API = os.environ.get('
|
|
10
|
-
API_URL = os.environ.get('
|
|
7
|
+
API = os.environ.get('API_KEY')
|
|
8
|
+
API_URL = os.environ.get('BASE_URL', None)
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
GOOGLE_AI_API_KEY = os.environ.get('GOOGLE_AI_API_KEY', None)
|
|
14
|
-
GROQ_API_KEY = os.environ.get('GROQ_API_KEY', None)
|
|
15
|
-
|
|
16
|
-
current_date = datetime.now()
|
|
17
|
-
Current_Date = current_date.strftime("%Y-%m-%d")
|
|
18
|
-
|
|
19
|
-
message = "https://arxiv.org/abs/2404.02041 这篇论文讲了啥?"
|
|
10
|
+
message = "hi"
|
|
20
11
|
systemprompt = os.environ.get('SYSTEMPROMPT', prompt.chatgpt_system_prompt)
|
|
21
|
-
|
|
22
|
-
# systemprompt = (
|
|
23
|
-
# "你是一位旅行专家。你可以规划旅行行程,如果用户有预算限制,还需要查询机票价格。结合用户的出行时间,给出合理的行程安排。"
|
|
24
|
-
# "在规划行程之前,必须先查找旅行攻略搜索景点信息,即使用 get_city_tarvel_info 查询景点信息。查询攻略后,你需要分析用户个性化需求给出合理的行程安排。充分考虑用户的年龄,情侣,家庭,朋友,儿童,独自旅行等情况。"
|
|
25
|
-
# "你需要根据用户给出的地点和预算,给出真实准确的行程,包括游玩时长、景点之间的交通方式和移动距离,每天都要给出总的游玩时间。"
|
|
26
|
-
# "给用户介绍景点的时候,根据查到的景点介绍结合你自己的知识,景点介绍尽量丰富精彩,吸引用户眼球,不要直接复述查到的景点介绍。"
|
|
27
|
-
# "尽量排满用户的行程,不要有太多空闲时间。"
|
|
28
|
-
# "你还可以根据用户的需求,给出一些旅行建议。"
|
|
29
|
-
# )
|
|
12
|
+
|
|
30
13
|
bot = chatgpt(api_key=API, api_url=API_URL , engine=GPT_ENGINE, system_prompt=systemprompt)
|
|
31
|
-
# bot = claude3(api_key=CLAUDE_API, engine=GPT_ENGINE, system_prompt=systemprompt)
|
|
32
|
-
# bot = gemini(api_key=GOOGLE_AI_API_KEY, engine=GPT_ENGINE, system_prompt=systemprompt)
|
|
33
|
-
# bot = groq(api_key=GROQ_API_KEY, engine=GPT_ENGINE, system_prompt=systemprompt)
|
|
34
14
|
for text in bot.ask_stream(message):
|
|
35
|
-
|
|
36
|
-
# for text in bot.ask_stream("250m usd = cny"):
|
|
37
|
-
# for text in bot.ask_stream("我在广州市,想周一去香港,周四早上回来,是去游玩,请你帮我规划整个行程。包括细节,如交通,住宿,餐饮,价格,等等,最好细节到每天各个部分的时间,花费,等等,尽量具体,用户一看就能直接执行的那种"):
|
|
38
|
-
# for text in bot.ask_stream("英伟达最早支持杜比视界的显卡是哪一代"):
|
|
39
|
-
# for text in bot.ask_stream("100个斐波纳切数列的和是多少"):
|
|
40
|
-
# for text in bot.ask_stream("上海有哪些好玩的地方?"):
|
|
41
|
-
# for text in bot.ask_stream("https://arxiv.org/abs/2404.02041 这篇论文讲了啥?"):
|
|
42
|
-
# for text in bot.ask_stream("今天伊朗总统目前的情况怎么样?"):
|
|
43
|
-
# for text in bot.ask_stream("我不是很懂y[..., 2],y[..., 2] - y[:, 0:1, 0:1, 2],y[:, 0:1, 0:1, 2]这些对张量的slice操作,给我一些练习demo代码,专门给我巩固这些张量复杂操作。让我从易到难理解透彻所有这样类型的张量操作。"):
|
|
44
|
-
# for text in bot.ask_stream("just say test"):
|
|
45
|
-
# for text in bot.ask_stream("画一只猫猫"):
|
|
46
|
-
# for text in bot.ask_stream("我在上海想去重庆旅游,我只有2000元预算,我想在重庆玩一周,你能帮我规划一下吗?"):
|
|
47
|
-
# for text in bot.ask_stream("我在上海想去重庆旅游,我有一天的时间。你能帮我规划一下吗?"):
|
|
48
|
-
print(text, end="")
|
|
49
|
-
|
|
50
|
-
# print("\n bot tokens usage", bot.tokens_usage)
|
|
15
|
+
print(text, end="")
|
beswarm/knowledge_graph.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import uuid
|
|
2
2
|
import networkx as nx
|
|
3
3
|
from pathlib import Path
|
|
4
|
+
from .aient.aient.utils.scripts import unescape_html
|
|
4
5
|
|
|
5
6
|
class KnowledgeGraphManager:
|
|
6
7
|
"""
|
|
@@ -68,6 +69,7 @@ class KnowledgeGraphManager:
|
|
|
68
69
|
if path is None or not path.strip() or path.strip() in ['.', '/']:
|
|
69
70
|
return "root"
|
|
70
71
|
|
|
72
|
+
path = unescape_html(path)
|
|
71
73
|
segments = [s for s in path.strip('/').split('/') if s and s != '.']
|
|
72
74
|
current_node_id = "root"
|
|
73
75
|
|
|
@@ -104,6 +106,9 @@ class KnowledgeGraphManager:
|
|
|
104
106
|
|
|
105
107
|
def add_node(self, parent_path: str, node_name: str, description: str = "", tags: list[str] = None) -> str:
|
|
106
108
|
"""在指定父节点下添加一个新节点。"""
|
|
109
|
+
parent_path = unescape_html(parent_path)
|
|
110
|
+
node_name = unescape_html(node_name)
|
|
111
|
+
description = unescape_html(description)
|
|
107
112
|
if not node_name.strip():
|
|
108
113
|
return "❌ 错误:节点名称不能为空。"
|
|
109
114
|
if '/' in node_name:
|
|
@@ -125,6 +130,32 @@ class KnowledgeGraphManager:
|
|
|
125
130
|
self._save_graph()
|
|
126
131
|
return f"✅ 成功在 '{parent_path}' 下添加节点 '{node_name}'。"
|
|
127
132
|
|
|
133
|
+
def _get_path_by_node_id(self, node_id: str) -> str:
|
|
134
|
+
"""通过节点ID获取其在图中的完整路径。"""
|
|
135
|
+
if node_id == "root":
|
|
136
|
+
return "."
|
|
137
|
+
|
|
138
|
+
path_segments = []
|
|
139
|
+
current_id = node_id
|
|
140
|
+
while current_id != "root":
|
|
141
|
+
if current_id not in self.graph:
|
|
142
|
+
return None
|
|
143
|
+
|
|
144
|
+
# 假设每个节点只有一个父节点(树状结构)
|
|
145
|
+
predecessors = list(self.graph.predecessors(current_id))
|
|
146
|
+
if not predecessors:
|
|
147
|
+
return None
|
|
148
|
+
|
|
149
|
+
parent_id = predecessors[0]
|
|
150
|
+
node_name = self.graph.nodes[current_id].get('name')
|
|
151
|
+
if node_name is None:
|
|
152
|
+
return None
|
|
153
|
+
|
|
154
|
+
path_segments.append(node_name)
|
|
155
|
+
current_id = parent_id
|
|
156
|
+
|
|
157
|
+
return "/".join(reversed(path_segments))
|
|
158
|
+
|
|
128
159
|
def _get_tags(self, node_id: str) -> list[str]:
|
|
129
160
|
"""获取节点的标签列表。"""
|
|
130
161
|
tags_str = self.graph.nodes[node_id].get('tags', '')
|
|
@@ -138,6 +169,7 @@ class KnowledgeGraphManager:
|
|
|
138
169
|
|
|
139
170
|
def add_tags_to_node(self, node_path: str, tags_to_add: list[str]) -> str:
|
|
140
171
|
"""向指定节点添加一个或多个标签。"""
|
|
172
|
+
node_path = unescape_html(node_path)
|
|
141
173
|
node_id = self._get_node_id_by_path(node_path)
|
|
142
174
|
if node_id is None:
|
|
143
175
|
return f"❌ 错误:路径 '{node_path}' 不存在。"
|
|
@@ -150,6 +182,7 @@ class KnowledgeGraphManager:
|
|
|
150
182
|
|
|
151
183
|
def remove_tags_from_node(self, node_path: str, tags_to_remove: list[str]) -> str:
|
|
152
184
|
"""从指定节点移除一个或多个标签。"""
|
|
185
|
+
node_path = unescape_html(node_path)
|
|
153
186
|
node_id = self._get_node_id_by_path(node_path)
|
|
154
187
|
if node_id is None:
|
|
155
188
|
return f"❌ 错误:路径 '{node_path}' 不存在。"
|
|
@@ -169,6 +202,7 @@ class KnowledgeGraphManager:
|
|
|
169
202
|
|
|
170
203
|
def delete_node(self, node_path: str) -> str:
|
|
171
204
|
"""删除一个节点及其所有子孙节点。"""
|
|
205
|
+
node_path = unescape_html(node_path)
|
|
172
206
|
if node_path is None or node_path.strip() in ['.', '/']:
|
|
173
207
|
return "❌ 错误:不能删除根节点。"
|
|
174
208
|
|
|
@@ -185,6 +219,8 @@ class KnowledgeGraphManager:
|
|
|
185
219
|
|
|
186
220
|
def rename_node(self, node_path: str, new_name: str) -> str:
|
|
187
221
|
"""重命名一个节点。"""
|
|
222
|
+
node_path = unescape_html(node_path)
|
|
223
|
+
new_name = unescape_html(new_name)
|
|
188
224
|
if not new_name.strip():
|
|
189
225
|
return "❌ 错误:新名称不能为空。"
|
|
190
226
|
if '/' in new_name:
|
|
@@ -207,6 +243,8 @@ class KnowledgeGraphManager:
|
|
|
207
243
|
|
|
208
244
|
def move_node(self, source_path: str, target_parent_path: str) -> str:
|
|
209
245
|
"""将一个节点移动到另一个父节点下。"""
|
|
246
|
+
source_path = unescape_html(source_path)
|
|
247
|
+
target_parent_path = unescape_html(target_parent_path)
|
|
210
248
|
source_id = self._get_node_id_by_path(source_path)
|
|
211
249
|
if source_id is None:
|
|
212
250
|
return f"❌ 错误:源路径 '{source_path}' 不存在。"
|
|
@@ -233,9 +271,29 @@ class KnowledgeGraphManager:
|
|
|
233
271
|
|
|
234
272
|
def get_node_details(self, node_path: str) -> str:
|
|
235
273
|
"""获取指定路径节点的所有详细信息。"""
|
|
274
|
+
node_path = unescape_html(node_path)
|
|
236
275
|
node_id = self._get_node_id_by_path(node_path)
|
|
237
276
|
if node_id is None:
|
|
238
|
-
|
|
277
|
+
path_segments = [s for s in node_path.strip('/').split('/') if s and s != '.']
|
|
278
|
+
if not path_segments:
|
|
279
|
+
return f"❌ 错误:路径 '{node_path}' 不存在。"
|
|
280
|
+
|
|
281
|
+
target_name = path_segments[-1]
|
|
282
|
+
suggestions = []
|
|
283
|
+
for n_id, data in self.graph.nodes(data=True):
|
|
284
|
+
if n_id != 'root' and target_name in data.get('name', ''):
|
|
285
|
+
full_path = self._get_path_by_node_id(n_id)
|
|
286
|
+
if full_path:
|
|
287
|
+
suggestions.append(full_path)
|
|
288
|
+
|
|
289
|
+
if suggestions:
|
|
290
|
+
# 去重并排序
|
|
291
|
+
suggestions = sorted(list(set(suggestions)))
|
|
292
|
+
message = f"❌ 错误:路径 '{node_path}' 不存在。\n\n您是不是要找:\n"
|
|
293
|
+
message += "\n".join([f"- {s}" for s in suggestions])
|
|
294
|
+
return message
|
|
295
|
+
else:
|
|
296
|
+
return f"❌ 错误:路径 '{node_path}' 不存在。"
|
|
239
297
|
|
|
240
298
|
node_data = self.graph.nodes[node_id]
|
|
241
299
|
description = node_data.get('description', '无描述。')
|
beswarm/taskmanager.py
CHANGED
beswarm/tools/__init__.py
CHANGED
|
@@ -21,7 +21,7 @@ from .click import find_and_click_element, scroll_screen
|
|
|
21
21
|
from .subtasks import create_task, resume_task, get_all_tasks_status, get_task_result, create_tasks_from_csv
|
|
22
22
|
|
|
23
23
|
#显式导入 aient.plugins 中的所需内容
|
|
24
|
-
from ..aient.
|
|
24
|
+
from ..aient.aient.plugins import (
|
|
25
25
|
get_time,
|
|
26
26
|
read_file,
|
|
27
27
|
read_image,
|
beswarm/tools/click.py
CHANGED
|
@@ -7,10 +7,10 @@ import base64
|
|
|
7
7
|
import pyperclip # 新增:用于操作剪贴板
|
|
8
8
|
import platform # 新增:用于检测操作系统
|
|
9
9
|
from PIL import Image, ImageDraw
|
|
10
|
-
from ..aient.
|
|
10
|
+
from ..aient.aient.plugins import register_tool
|
|
11
11
|
|
|
12
|
-
from ..aient.
|
|
13
|
-
from ..aient.
|
|
12
|
+
from ..aient.aient.models import chatgpt
|
|
13
|
+
from ..aient.aient.core.utils import get_image_message, get_text_message
|
|
14
14
|
|
|
15
15
|
def display_image_with_bounding_boxes_and_masks_py(
|
|
16
16
|
original_image,
|
beswarm/tools/completion.py
CHANGED
beswarm/tools/edit_file.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import re
|
|
3
3
|
import difflib
|
|
4
|
-
from ..aient.
|
|
5
|
-
from ..aient.
|
|
4
|
+
from ..aient.aient.plugins import register_tool
|
|
5
|
+
from ..aient.aient.utils.scripts import unescape_html
|
|
6
6
|
|
|
7
7
|
@register_tool()
|
|
8
8
|
def edit_file(file_path, diff_content, match_precision=0.9):
|
beswarm/tools/graph.py
CHANGED
|
@@ -2,7 +2,7 @@ import ast
|
|
|
2
2
|
from typing import List
|
|
3
3
|
|
|
4
4
|
from ..core import kgm
|
|
5
|
-
from ..aient.
|
|
5
|
+
from ..aient.aient.plugins import register_tool
|
|
6
6
|
|
|
7
7
|
@register_tool()
|
|
8
8
|
def add_knowledge_node(parent_path: str, node_name: str, description: str = "", tags: List[str] = None) -> str:
|
beswarm/tools/planner.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import os
|
|
2
|
-
from ..aient.
|
|
2
|
+
from ..aient.aient.plugins import register_tool, get_function_call_list
|
|
3
3
|
|
|
4
|
-
from ..aient.
|
|
5
|
-
from ..aient.
|
|
4
|
+
from ..aient.aient.models import chatgpt
|
|
5
|
+
from ..aient.aient.prompt import planner_system_prompt
|
|
6
6
|
|
|
7
7
|
@register_tool()
|
|
8
8
|
async def planner(goal, tools, work_dir):
|
beswarm/tools/repomap.py
CHANGED
|
@@ -10,7 +10,7 @@ import warnings
|
|
|
10
10
|
from pathlib import Path
|
|
11
11
|
from collections import Counter, defaultdict, namedtuple
|
|
12
12
|
|
|
13
|
-
from ..aient.
|
|
13
|
+
from ..aient.aient.plugins import register_tool
|
|
14
14
|
|
|
15
15
|
from tqdm import tqdm
|
|
16
16
|
from diskcache import Cache
|
beswarm/tools/request_input.py
CHANGED
beswarm/tools/screenshot.py
CHANGED
beswarm/tools/search_arxiv.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import requests
|
|
2
2
|
import csv
|
|
3
3
|
from datetime import datetime
|
|
4
|
-
from ..aient.
|
|
4
|
+
from ..aient.aient.plugins import register_tool
|
|
5
5
|
|
|
6
6
|
@register_tool()
|
|
7
7
|
def search_arxiv(query, max_results=5, sort_by='relevance', sort_order='descending',
|
beswarm/tools/search_web.py
CHANGED
|
@@ -4,7 +4,7 @@ import json
|
|
|
4
4
|
import httpx
|
|
5
5
|
import threading
|
|
6
6
|
|
|
7
|
-
from ..aient.
|
|
7
|
+
from ..aient.aient.plugins import register_tool, get_url_content # Assuming a similar plugin structure
|
|
8
8
|
|
|
9
9
|
class ThreadWithReturnValue(threading.Thread):
|
|
10
10
|
def run(self):
|
beswarm/tools/subtasks.py
CHANGED
beswarm/tools/worker.py
CHANGED
|
@@ -4,7 +4,7 @@ from typing import List, Dict, Union
|
|
|
4
4
|
from ..core import mcp_manager, broker, task_manager, kgm
|
|
5
5
|
from ..agents.planact import BrokerWorker
|
|
6
6
|
from ..agents.chatgroup import ChatGroupWorker
|
|
7
|
-
from ..aient.
|
|
7
|
+
from ..aient.aient.plugins import register_tool
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
@register_tool()
|
beswarm/tools/write_csv.py
CHANGED
beswarm/utils.py
CHANGED
|
@@ -37,7 +37,7 @@ def replace_xml_content(original_string: str, tag_name: str, replacement_content
|
|
|
37
37
|
|
|
38
38
|
import io
|
|
39
39
|
import base64
|
|
40
|
-
from .aient.
|
|
40
|
+
from .aient.aient.core.utils import get_image_message, get_text_message
|
|
41
41
|
|
|
42
42
|
async def get_current_screen_image_message(prompt):
|
|
43
43
|
print("instruction agent 正在截取当前屏幕...")
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
beswarm/__init__.py,sha256=HZjUOJtZR5QhMuDbq-wukQQn1VrBusNWai_ysGo-VVI,20
|
|
2
|
+
beswarm/broker.py,sha256=64Y-djrKYaZfBQ8obwHOmr921QgZeu9BtScZWaYLfDo,9887
|
|
3
|
+
beswarm/core.py,sha256=htssaaeIBZ_yOqvX9VtANoVWaZHt_7oWcxyDI1z0paQ,310
|
|
4
|
+
beswarm/knowledge_graph.py,sha256=oiOMknAJzGrOHc2AyQgvrCcZAkGLhFnsnvSBdfFBWMw,14831
|
|
5
|
+
beswarm/prompt.py,sha256=n0a1a6NThIxAYSkisg1sEKjvz2w0tozpKL4BIplaAkI,32286
|
|
6
|
+
beswarm/taskmanager.py,sha256=ErgZa9_aBeWdmt5neRw6sDVdwSWewxip458gAjeQhS4,12188
|
|
7
|
+
beswarm/utils.py,sha256=0J-b38P5QGT-A_38co7FjzaUNJykaskI7mbbcQ4w_68,8215
|
|
8
|
+
beswarm/agents/chatgroup.py,sha256=PzrmRcDKAbB7cxL16nMod_CzPosDV6bfTmXxQVuv-AQ,12012
|
|
9
|
+
beswarm/agents/planact.py,sha256=xK9QDob5ONFVgHJJoj4fWlXKPLWufHxnz8vi2soz-aM,19560
|
|
10
|
+
beswarm/aient/main.py,sha256=jc1vXL9gxhxZLbb6ZhZmf5ZI7Fv0XNcTC1rTaqMxQwo,433
|
|
11
|
+
beswarm/aient/aient/__init__.py,sha256=SRfF7oDVlOOAi6nGKiJIUK6B_arqYLO9iSMp-2IZZps,21
|
|
12
|
+
beswarm/aient/aient/core/__init__.py,sha256=NxjebTlku35S4Dzr16rdSqSTWUvvwEeACe8KvHJnjPg,34
|
|
13
|
+
beswarm/aient/aient/core/log_config.py,sha256=kz2_yJv1p-o3lUQOwA3qh-LSc3wMHv13iCQclw44W9c,274
|
|
14
|
+
beswarm/aient/aient/core/models.py,sha256=d4MISNezTSe0ls0-fjuToI2SoT-sk5fWqAJuKVinIlo,7502
|
|
15
|
+
beswarm/aient/aient/core/request.py,sha256=M1AfroPgFDG7oTLE2gisvR4BdkUeWqoTwfpxl_nxYB8,76923
|
|
16
|
+
beswarm/aient/aient/core/response.py,sha256=KbaNZYl1lwdt6itdJq2SSc5zmcaLSZ0wqLAbMqS6ODU,33760
|
|
17
|
+
beswarm/aient/aient/core/utils.py,sha256=8TR442o3VV7Kl9l6f6LlmOUQ1UDZ-aXMzQqm-qIrqE4,28166
|
|
18
|
+
beswarm/aient/aient/core/test/test_base_api.py,sha256=pWnycRJbuPSXKKU9AQjWrMAX1wiLC_014Qc9hh5C2Pw,524
|
|
19
|
+
beswarm/aient/aient/core/test/test_geminimask.py,sha256=HFX8jDbNg_FjjgPNxfYaR-0-roUrOO-ND-FVsuxSoiw,13254
|
|
20
|
+
beswarm/aient/aient/core/test/test_image.py,sha256=_T4peNGdXKBHHxyQNx12u-NTyFE8TlYI6NvvagsG2LE,319
|
|
21
|
+
beswarm/aient/aient/core/test/test_payload.py,sha256=8jBiJY1uidm1jzL-EiK0s6UGmW9XkdsuuKFGrwFhFkw,2755
|
|
22
|
+
beswarm/aient/aient/models/__init__.py,sha256=ZTiZgbfBPTjIPSKURE7t6hlFBVLRS9lluGbmqc1WjxQ,43
|
|
23
|
+
beswarm/aient/aient/models/audio.py,sha256=kRd-8-WXzv4vwvsTGwnstK-WR8--vr9CdfCZzu8y9LA,1934
|
|
24
|
+
beswarm/aient/aient/models/base.py,sha256=z-Z0pJfTN2x0cuwfvu0BdMRY9O-RmLwHEnBIJN1x4Fg,6719
|
|
25
|
+
beswarm/aient/aient/models/chatgpt.py,sha256=LXSMwKRIbWIaPa1Ejk8oCEXVmjZ0rpgFLss35Attn-Q,53493
|
|
26
|
+
beswarm/aient/aient/plugins/__init__.py,sha256=p3KO6Aa3Lupos4i2SjzLQw1hzQTigOAfEHngsldrsyk,986
|
|
27
|
+
beswarm/aient/aient/plugins/arXiv.py,sha256=yHjb6PS3GUWazpOYRMKMzghKJlxnZ5TX8z9F6UtUVow,1461
|
|
28
|
+
beswarm/aient/aient/plugins/config.py,sha256=2DXH-LP9KGl_P4467chJu3q4AAbX5nSn4DIkdI0aYH8,7105
|
|
29
|
+
beswarm/aient/aient/plugins/excute_command.py,sha256=urbOFUI-Wd-XaNyH3EfNBn7vnimzF84b2uq4jMXPxYM,10642
|
|
30
|
+
beswarm/aient/aient/plugins/get_time.py,sha256=Ih5XIW5SDAIhrZ9W4Qe5Hs1k4ieKPUc_LAd6ySNyqZk,654
|
|
31
|
+
beswarm/aient/aient/plugins/image.py,sha256=ZElCIaZznE06TN9xW3DrSukS7U3A5_cjk1Jge4NzPxw,2072
|
|
32
|
+
beswarm/aient/aient/plugins/list_directory.py,sha256=V_uKkLx_fQDL5z__bSDC-PqAP-o32KmQW6Pdhx0Fx0s,1433
|
|
33
|
+
beswarm/aient/aient/plugins/read_file.py,sha256=AOGGzSzkALG1R_ncpDmegX_zKFZBZr8ZhTBQCiwhZfU,8691
|
|
34
|
+
beswarm/aient/aient/plugins/read_image.py,sha256=4FbIiMNVFUQpNyiH5ApGSRvOD9ujcXGyuqlGTJMd7ac,4017
|
|
35
|
+
beswarm/aient/aient/plugins/readonly.py,sha256=qK5-kBM3NDH1b-otFxFHpAjV5BXEY_e7cTWBcpP7G5k,710
|
|
36
|
+
beswarm/aient/aient/plugins/registry.py,sha256=YknzhieU_8nQ3oKlUSSWDB4X7t2Jx0JnqT2Jd9Xsvfk,3574
|
|
37
|
+
beswarm/aient/aient/plugins/run_python.py,sha256=MohvdtZUTDLrHBDtJ9L2_Qu1pWAGrkbzsGmmn5tMN20,4614
|
|
38
|
+
beswarm/aient/aient/plugins/websearch.py,sha256=aPsBjUQ3zQ4gzNrbVq7BMh28ENj9h_fSAeJFF2h9TNk,15334
|
|
39
|
+
beswarm/aient/aient/plugins/write_file.py,sha256=Jt8fOEwqhYiSWpCbwfAr1xoi_BmFnx3076GMhuL06uI,3949
|
|
40
|
+
beswarm/aient/aient/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
|
+
beswarm/aient/aient/utils/prompt.py,sha256=UcSzKkFE4-h_1b6NofI6xgk3GoleqALRKY8VBaXLjmI,11311
|
|
42
|
+
beswarm/aient/aient/utils/scripts.py,sha256=CjB4qq6MoltfT0AnoekFqhw3p5sH7iWz65RuImTipVo,40905
|
|
43
|
+
beswarm/aient/test/test_Web_crawler.py,sha256=l-DY0xwVPBfeEitUASkcIf19b4XwGrN-Ql_p7Dsbg_A,11410
|
|
44
|
+
beswarm/aient/test/test_ddg_search.py,sha256=HnM72mwi4Yp87BymMmQ0eRd0-OJtyWEIUvJvN9QBhdg,1498
|
|
45
|
+
beswarm/aient/test/test_google_search.py,sha256=rPaKqD_N3ogHYE5DrMfRmKumcVAHKC7LcYw5euR_zGM,1035
|
|
46
|
+
beswarm/aient/test/test_ollama.py,sha256=ywy9l06S1g1AnWQvlBbhpac7i-hBB9bpwi-pk0Afivc,1325
|
|
47
|
+
beswarm/aient/test/test_plugin.py,sha256=0sBwpf1YdKba-IVPZwBMKbLR7buHfudLS9NOETm7BTc,779
|
|
48
|
+
beswarm/aient/test/test_search.py,sha256=-SRNOo2PvAAVmqIASFVq8WYmXqjLRonmHVEcBZkJAek,1171
|
|
49
|
+
beswarm/aient/test/test_url.py,sha256=ASE3kT2-ooaX6Flw4botjXnuqaBgutqRWPx3fow5nLg,1894
|
|
50
|
+
beswarm/aient/test/test_whisper.py,sha256=GxKYzhh3lA8t62V_DDj42VQTXkdjocSFcl5u96WF580,378
|
|
51
|
+
beswarm/aient/test/test_yjh.py,sha256=MsHuBLNOqi3fyX-uboBKmTevkZW_KVv12p-pkF5ir3Y,787
|
|
52
|
+
beswarm/bemcp/bemcp/__init__.py,sha256=Ss6bDXiZJgVIZS6KWytcGwXmIFu7SsagIXa5NpeWJ7c,140
|
|
53
|
+
beswarm/bemcp/bemcp/decorator.py,sha256=23bNgwLjuUkpod5VcRv-UqlJTf91_wfztf8ls7-Gg08,3218
|
|
54
|
+
beswarm/bemcp/bemcp/main.py,sha256=gtl3oyjAM_rwFw3kR-m-cUpS0FFTASnUOB8-fMrVT7g,8608
|
|
55
|
+
beswarm/bemcp/bemcp/utils.py,sha256=CVclpjEmQrUt5pDYnBMkqPk32nTYcXp6-HM7eOutXrE,1057
|
|
56
|
+
beswarm/bemcp/test/client.py,sha256=j7PDg5Esyri-e2vz2ubZ4foDSAq5Iv8Yfl_xyzTDsFY,1593
|
|
57
|
+
beswarm/bemcp/test/server.py,sha256=XqSrk88FC-dk7AcEn-OyS_fR0W0V9OnL2ONpkNEKJKE,1159
|
|
58
|
+
beswarm/queries/tree-sitter-language-pack/README.md,sha256=ivZSEuWqYfUVLZl2AZZGRlm0bQsaG-VTBKBwACyM07k,291
|
|
59
|
+
beswarm/queries/tree-sitter-language-pack/arduino-tags.scm,sha256=HbgdothT9Jjk56COXTtUkVAdZ14rZNnqzLbWVLeRs5U,177
|
|
60
|
+
beswarm/queries/tree-sitter-language-pack/c-tags.scm,sha256=EIz45o5hBh8yEuck5ZR_4IpcGyWSeNrzxFmtkKZGt2k,461
|
|
61
|
+
beswarm/queries/tree-sitter-language-pack/chatito-tags.scm,sha256=ISkmrp5gIVxoYIPnoqxxqBlZj5G9tzhwJMx6b0dEKnQ,338
|
|
62
|
+
beswarm/queries/tree-sitter-language-pack/commonlisp-tags.scm,sha256=GYJlluTPEdrxn4jpYTX5YQAqk171rVBw7IBiCygMgtw,4713
|
|
63
|
+
beswarm/queries/tree-sitter-language-pack/cpp-tags.scm,sha256=2fSqTUcc01ABMHkA0JeG8axEOEXRfEIul8UKc9_tKGI,809
|
|
64
|
+
beswarm/queries/tree-sitter-language-pack/csharp-tags.scm,sha256=KORfK3ehKor6Pf6T5iniuoQr16EcHtUe0q3XIsCjPJs,1162
|
|
65
|
+
beswarm/queries/tree-sitter-language-pack/d-tags.scm,sha256=LDP3orqZ98TTFSkV_PODEs8LspTcCqUMvKcLdZwtgkc,1420
|
|
66
|
+
beswarm/queries/tree-sitter-language-pack/dart-tags.scm,sha256=Pa_leZjxxXQO7mH_zF5o-kZ5lqVxgvbyp8oQb_nZ9KA,2267
|
|
67
|
+
beswarm/queries/tree-sitter-language-pack/elisp-tags.scm,sha256=1r8iOMM_DEpXEvlA1rE7KlhGEzcqa2W6eH4F2d1iu7Y,246
|
|
68
|
+
beswarm/queries/tree-sitter-language-pack/elixir-tags.scm,sha256=fg9TDpbCixLr8UXNcNnfgFlR3Y7d3vtzLRb3LK84UaQ,1682
|
|
69
|
+
beswarm/queries/tree-sitter-language-pack/elm-tags.scm,sha256=Wp1D5wEGzFa_2biBWRaKbghDs57lDGqqsZd7DbPkdn4,953
|
|
70
|
+
beswarm/queries/tree-sitter-language-pack/gleam-tags.scm,sha256=wdFVAkepPAZ10-5sBIVQSl45v95wZP9Foi_iYvM4YII,1416
|
|
71
|
+
beswarm/queries/tree-sitter-language-pack/go-tags.scm,sha256=TE4fQ7PtQvHKPetrhHeDqjMz01KFKFsxFjypnJMv8pI,1339
|
|
72
|
+
beswarm/queries/tree-sitter-language-pack/java-tags.scm,sha256=Xid8cnOPL1v5SOtxfq8dOi98bWrUPL7XeO8_I2qBrfE,624
|
|
73
|
+
beswarm/queries/tree-sitter-language-pack/javascript-tags.scm,sha256=0qlZIwDdsvoEGM0cYD3s2ez27FbYuz8epZAo-cLP1uI,2306
|
|
74
|
+
beswarm/queries/tree-sitter-language-pack/lua-tags.scm,sha256=lqhCVn7KnBVhW8oo_wY9me15nEBTu9BS5YlF1zUTOPs,945
|
|
75
|
+
beswarm/queries/tree-sitter-language-pack/pony-tags.scm,sha256=gGNWmiHzv8Ge0HZo81tev-xIqHIQqjRxPR52G048-zs,2191
|
|
76
|
+
beswarm/queries/tree-sitter-language-pack/properties-tags.scm,sha256=AbcjxhGpG6F6lpCHs83HRXD223b-wrHQYv-i9j09wtc,135
|
|
77
|
+
beswarm/queries/tree-sitter-language-pack/python-tags.scm,sha256=KDCrM7iaUwXZ_hb2wVHrE2_EVCq_ASo3-BmbzsLtFk0,437
|
|
78
|
+
beswarm/queries/tree-sitter-language-pack/r-tags.scm,sha256=3cb2Wt-8Tt1RGBNDPgo4nI9qROf00ONNVqPHv8Th-Mk,461
|
|
79
|
+
beswarm/queries/tree-sitter-language-pack/racket-tags.scm,sha256=iri2aFEabiim-geb-t3ClDVp1Zi8T_rX1H9L0tlpqK8,224
|
|
80
|
+
beswarm/queries/tree-sitter-language-pack/ruby-tags.scm,sha256=vIidsCeE2A0vdFN18yXKqUWmpXMrGXyo4un_0Mxqr6s,1290
|
|
81
|
+
beswarm/queries/tree-sitter-language-pack/rust-tags.scm,sha256=3rz1XqKaOPKPWRUNPTW5OX_TYEDj5tQZfMxBH3EMB6g,1451
|
|
82
|
+
beswarm/queries/tree-sitter-language-pack/solidity-tags.scm,sha256=3uCJsbhwp-dVTiSsrGLt-PQ0uAnjmqUeHFPSEXd2JvM,1395
|
|
83
|
+
beswarm/queries/tree-sitter-language-pack/swift-tags.scm,sha256=ZvJcfjmUDZ9w14AXKSPPxf4gvpdE_qzBxDjfCczYrIQ,1439
|
|
84
|
+
beswarm/queries/tree-sitter-language-pack/udev-tags.scm,sha256=avj3u4prIR7o8hymHezOsqrOqjPSLGYo7C_lOL4Dxlg,417
|
|
85
|
+
beswarm/queries/tree-sitter-languages/README.md,sha256=xE2gaSTeKL13T-ebi3S_PxbPTwRQOm9ymcisZwt6-qI,2467
|
|
86
|
+
beswarm/queries/tree-sitter-languages/c-tags.scm,sha256=EIz45o5hBh8yEuck5ZR_4IpcGyWSeNrzxFmtkKZGt2k,461
|
|
87
|
+
beswarm/queries/tree-sitter-languages/c_sharp-tags.scm,sha256=wKyFtOFIk-kqIFB2yJBbu1VGRUhdkAnDpxo8sXubkjw,1025
|
|
88
|
+
beswarm/queries/tree-sitter-languages/cpp-tags.scm,sha256=cAFwtQk3ZKsvCVWrp1fmhSwOP8WGTCEDRR5CQuzLlY4,803
|
|
89
|
+
beswarm/queries/tree-sitter-languages/dart-tags.scm,sha256=AjxpyJIXuLjP5u3U89bhWergxus0fbUKk1x1uIHCKPw,2251
|
|
90
|
+
beswarm/queries/tree-sitter-languages/elisp-tags.scm,sha256=wjm1YYD1vgjBbh0E2CzUnmagl82Uq6-LcEojmvhiJkY,332
|
|
91
|
+
beswarm/queries/tree-sitter-languages/elixir-tags.scm,sha256=eO20nPIwI7_vq4Fob6U5RjX1wLKgn6Gglj41ITpE6eg,1605
|
|
92
|
+
beswarm/queries/tree-sitter-languages/elm-tags.scm,sha256=4qTEWJCAd7_BOfwyky0q_NYzAMtGdiq7qwo1GIhXmag,951
|
|
93
|
+
beswarm/queries/tree-sitter-languages/go-tags.scm,sha256=mHtS5NEuxWJGfVz1rq4YlJRMYVDAl5tf7iYnm6RikVE,848
|
|
94
|
+
beswarm/queries/tree-sitter-languages/hcl-tags.scm,sha256=yOVCBeF4C3ZrFG-gg0adWg2QkxylPcI2dbVeEgD7EPE,2137
|
|
95
|
+
beswarm/queries/tree-sitter-languages/java-tags.scm,sha256=7WKb-djGv0Ief6XEWQPYpfLpgJHtMPPukIUi55PegvE,627
|
|
96
|
+
beswarm/queries/tree-sitter-languages/javascript-tags.scm,sha256=svVct6pxbcYP_-xEBwzGy6t1SlN7ajkEUCivUkBZn_Q,2251
|
|
97
|
+
beswarm/queries/tree-sitter-languages/kotlin-tags.scm,sha256=ugk8v7Or3PXiBk-_HfZznwLuV-b-s3TYm03Wm3q2h_o,632
|
|
98
|
+
beswarm/queries/tree-sitter-languages/ocaml-tags.scm,sha256=NAcyzmQuQPUjkchrQvcfhsvKqdcqbAt5eFb1chfEhMA,2695
|
|
99
|
+
beswarm/queries/tree-sitter-languages/php-tags.scm,sha256=vmE5CH2N46HiQxUpR_FL41ilQqsWsigojiacWXtwTuE,714
|
|
100
|
+
beswarm/queries/tree-sitter-languages/python-tags.scm,sha256=6-npVJM6y6C1q7d6VgcfohN75_iu7QtrLnvwO_L2EmA,325
|
|
101
|
+
beswarm/queries/tree-sitter-languages/ql-tags.scm,sha256=9qVpBGSgFC9fSK4E_5sO2gYe4_jPvN-D18SD6S5lNR8,707
|
|
102
|
+
beswarm/queries/tree-sitter-languages/ruby-tags.scm,sha256=vIidsCeE2A0vdFN18yXKqUWmpXMrGXyo4un_0Mxqr6s,1290
|
|
103
|
+
beswarm/queries/tree-sitter-languages/rust-tags.scm,sha256=9ljM1nzhfPs_ZTRw7cr2P9ToOyhGcKkCoN4_HPXSWi4,1451
|
|
104
|
+
beswarm/queries/tree-sitter-languages/scala-tags.scm,sha256=UxQjz80JIrrJ7Pm56uUnQyThfmQNvwk7aQzPNypB-Ao,1761
|
|
105
|
+
beswarm/queries/tree-sitter-languages/typescript-tags.scm,sha256=OMdCeedPiA24ky82DpgTMKXK_l2ySTuF2zrQ2fJAi9E,1253
|
|
106
|
+
beswarm/tools/__init__.py,sha256=CPFj04Lm6TEol_2BFX-mVrpzvVIsmPcfTWhRg3xex7Q,2077
|
|
107
|
+
beswarm/tools/click.py,sha256=wu-Ov5U2ZZLcU0gennDVh_2w_Td7F4dbVJcmu_dfHV4,20872
|
|
108
|
+
beswarm/tools/completion.py,sha256=-ozGZoHDBB50bbdnwenb7p_KRmi3iXmS7z6Wfu85lBo,601
|
|
109
|
+
beswarm/tools/edit_file.py,sha256=ZTJvbpsfRlp2t98kTn9XQ5qZBTdsWJVWv9t0lvK4RfU,9147
|
|
110
|
+
beswarm/tools/graph.py,sha256=IJ-wExgSEDLGYXTRtCtyxMM2wkA1gg40Z-KI3iyQThE,5084
|
|
111
|
+
beswarm/tools/planner.py,sha256=vsHd7rE8RQHJrZ7BQ0ZXhbt4Fjh3DeyxU4piA5R-VPM,1253
|
|
112
|
+
beswarm/tools/repomap.py,sha256=w98aHmjNjtvcUVc5maWORqzKqDy2KVGLooOe__uJVCU,45235
|
|
113
|
+
beswarm/tools/request_input.py,sha256=3n2UW8m8Q7dxGhd7L7hzSJ1kk4ekMbtdtNZZT3dJf20,938
|
|
114
|
+
beswarm/tools/screenshot.py,sha256=hyL6F8_k9Y03Nb_X18cY-klCpWWdkqyC-iGXfKX-7jc,1007
|
|
115
|
+
beswarm/tools/search_arxiv.py,sha256=NLiJV1B7Um6EuZXLxnL950d837_he2LGG7qaGACSgwg,10750
|
|
116
|
+
beswarm/tools/search_web.py,sha256=NYrb5KL_WUGPm-fOKT8Cyjon04lxBU-gaLdrVjeYgGo,16143
|
|
117
|
+
beswarm/tools/subtasks.py,sha256=mIjA2QrRy9Fos4rYm8fCfu2QrsE_MGnQI9IR8dOxsGs,9885
|
|
118
|
+
beswarm/tools/worker.py,sha256=_cSkRUKRJMAiZiTfnBze_e9Kc7k7KvbB5hdxdvp4FW4,2009
|
|
119
|
+
beswarm/tools/write_csv.py,sha256=u0Hq18Ksfheb52MVtyLNCnSDHibITpsYBPs2ub7USYA,1466
|
|
120
|
+
beswarm-0.2.51.dist-info/METADATA,sha256=sq79jhu7xWTj0O39mXZOIWck-_SYYgxCQIYgSdHQ3E8,3878
|
|
121
|
+
beswarm-0.2.51.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
122
|
+
beswarm-0.2.51.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
|
|
123
|
+
beswarm-0.2.51.dist-info/RECORD,,
|
beswarm/aient/setup.py
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
from pathlib import Path
|
|
2
|
-
|
|
3
|
-
from setuptools import setup, find_packages
|
|
4
|
-
|
|
5
|
-
setup(
|
|
6
|
-
name="aient",
|
|
7
|
-
version="1.1.57",
|
|
8
|
-
description="Aient: The Awakening of Agent.",
|
|
9
|
-
long_description=Path.open(Path("README.md"), encoding="utf-8").read(),
|
|
10
|
-
long_description_content_type="text/markdown",
|
|
11
|
-
packages=find_packages("src"),
|
|
12
|
-
package_dir={"": "src"},
|
|
13
|
-
install_requires=Path.open(Path("requirements.txt"), encoding="utf-8").read().splitlines(),
|
|
14
|
-
include_package_data=True,
|
|
15
|
-
)
|