aider-ce 0.87.13__py3-none-any.whl → 0.88.0__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 aider-ce might be problematic. Click here for more details.
- aider/__init__.py +1 -1
- aider/_version.py +2 -2
- aider/args.py +6 -0
- aider/coders/architect_coder.py +3 -3
- aider/coders/base_coder.py +505 -184
- aider/coders/context_coder.py +1 -1
- aider/coders/editblock_func_coder.py +2 -2
- aider/coders/navigator_coder.py +451 -649
- aider/coders/navigator_legacy_prompts.py +49 -284
- aider/coders/navigator_prompts.py +46 -473
- aider/coders/search_replace.py +0 -0
- aider/coders/wholefile_func_coder.py +2 -2
- aider/commands.py +56 -44
- aider/history.py +14 -12
- aider/io.py +354 -117
- aider/llm.py +12 -4
- aider/main.py +22 -19
- aider/mcp/__init__.py +65 -2
- aider/mcp/server.py +37 -11
- aider/models.py +45 -20
- aider/onboarding.py +4 -4
- aider/repo.py +7 -7
- aider/resources/model-metadata.json +8 -8
- aider/scrape.py +2 -2
- aider/sendchat.py +185 -15
- aider/tools/__init__.py +44 -23
- aider/tools/command.py +18 -0
- aider/tools/command_interactive.py +18 -0
- aider/tools/delete_block.py +23 -0
- aider/tools/delete_line.py +19 -1
- aider/tools/delete_lines.py +20 -1
- aider/tools/extract_lines.py +25 -2
- aider/tools/git.py +142 -0
- aider/tools/grep.py +47 -2
- aider/tools/indent_lines.py +25 -0
- aider/tools/insert_block.py +26 -0
- aider/tools/list_changes.py +15 -0
- aider/tools/ls.py +24 -1
- aider/tools/make_editable.py +18 -0
- aider/tools/make_readonly.py +19 -0
- aider/tools/remove.py +22 -0
- aider/tools/replace_all.py +21 -0
- aider/tools/replace_line.py +20 -1
- aider/tools/replace_lines.py +21 -1
- aider/tools/replace_text.py +22 -0
- aider/tools/show_numbered_context.py +18 -0
- aider/tools/undo_change.py +15 -0
- aider/tools/update_todo_list.py +131 -0
- aider/tools/view.py +23 -0
- aider/tools/view_files_at_glob.py +32 -27
- aider/tools/view_files_matching.py +51 -37
- aider/tools/view_files_with_symbol.py +41 -54
- aider/tools/view_todo_list.py +57 -0
- aider/waiting.py +20 -203
- {aider_ce-0.87.13.dist-info → aider_ce-0.88.0.dist-info}/METADATA +21 -5
- {aider_ce-0.87.13.dist-info → aider_ce-0.88.0.dist-info}/RECORD +59 -56
- {aider_ce-0.87.13.dist-info → aider_ce-0.88.0.dist-info}/WHEEL +0 -0
- {aider_ce-0.87.13.dist-info → aider_ce-0.88.0.dist-info}/entry_points.txt +0 -0
- {aider_ce-0.87.13.dist-info → aider_ce-0.88.0.dist-info}/licenses/LICENSE.txt +0 -0
- {aider_ce-0.87.13.dist-info → aider_ce-0.88.0.dist-info}/top_level.txt +0 -0
aider/coders/context_coder.py
CHANGED
|
@@ -18,7 +18,7 @@ class ContextCoder(Coder):
|
|
|
18
18
|
self.repo_map.max_map_tokens *= self.repo_map.map_mul_no_files
|
|
19
19
|
self.repo_map.map_mul_no_files = 1.0
|
|
20
20
|
|
|
21
|
-
def reply_completed(self):
|
|
21
|
+
async def reply_completed(self):
|
|
22
22
|
content = self.partial_response_content
|
|
23
23
|
if not content or not content.strip():
|
|
24
24
|
return True
|
|
@@ -92,7 +92,7 @@ class EditBlockFunctionCoder(Coder):
|
|
|
92
92
|
res = json.dumps(args, indent=4)
|
|
93
93
|
return res
|
|
94
94
|
|
|
95
|
-
def _update_files(self):
|
|
95
|
+
async def _update_files(self):
|
|
96
96
|
name = self.partial_response_function_call.get("name")
|
|
97
97
|
|
|
98
98
|
if name and name != "replace_lines":
|
|
@@ -121,7 +121,7 @@ class EditBlockFunctionCoder(Coder):
|
|
|
121
121
|
if updated and not updated.endswith("\n"):
|
|
122
122
|
updated += "\n"
|
|
123
123
|
|
|
124
|
-
full_path = self.allowed_to_edit(path)
|
|
124
|
+
full_path = await self.allowed_to_edit(path)
|
|
125
125
|
if not full_path:
|
|
126
126
|
continue
|
|
127
127
|
content = self.io.read_text(full_path)
|