aider-ce 0.87.13.dev3__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.

Files changed (60) hide show
  1. aider/__init__.py +1 -1
  2. aider/_version.py +2 -2
  3. aider/args.py +6 -0
  4. aider/coders/architect_coder.py +3 -3
  5. aider/coders/base_coder.py +505 -184
  6. aider/coders/context_coder.py +1 -1
  7. aider/coders/editblock_func_coder.py +2 -2
  8. aider/coders/navigator_coder.py +451 -649
  9. aider/coders/navigator_legacy_prompts.py +49 -284
  10. aider/coders/navigator_prompts.py +46 -473
  11. aider/coders/search_replace.py +0 -0
  12. aider/coders/wholefile_func_coder.py +2 -2
  13. aider/commands.py +56 -44
  14. aider/history.py +14 -12
  15. aider/io.py +354 -117
  16. aider/llm.py +12 -4
  17. aider/main.py +22 -19
  18. aider/mcp/__init__.py +65 -2
  19. aider/mcp/server.py +37 -11
  20. aider/models.py +45 -20
  21. aider/onboarding.py +4 -4
  22. aider/repo.py +7 -7
  23. aider/resources/model-metadata.json +8 -8
  24. aider/scrape.py +2 -2
  25. aider/sendchat.py +185 -15
  26. aider/tools/__init__.py +44 -23
  27. aider/tools/command.py +18 -0
  28. aider/tools/command_interactive.py +18 -0
  29. aider/tools/delete_block.py +23 -0
  30. aider/tools/delete_line.py +19 -1
  31. aider/tools/delete_lines.py +20 -1
  32. aider/tools/extract_lines.py +25 -2
  33. aider/tools/git.py +142 -0
  34. aider/tools/grep.py +47 -2
  35. aider/tools/indent_lines.py +25 -0
  36. aider/tools/insert_block.py +26 -0
  37. aider/tools/list_changes.py +15 -0
  38. aider/tools/ls.py +24 -1
  39. aider/tools/make_editable.py +18 -0
  40. aider/tools/make_readonly.py +19 -0
  41. aider/tools/remove.py +22 -0
  42. aider/tools/replace_all.py +21 -0
  43. aider/tools/replace_line.py +20 -1
  44. aider/tools/replace_lines.py +21 -1
  45. aider/tools/replace_text.py +22 -0
  46. aider/tools/show_numbered_context.py +18 -0
  47. aider/tools/undo_change.py +15 -0
  48. aider/tools/update_todo_list.py +131 -0
  49. aider/tools/view.py +23 -0
  50. aider/tools/view_files_at_glob.py +32 -27
  51. aider/tools/view_files_matching.py +51 -37
  52. aider/tools/view_files_with_symbol.py +41 -54
  53. aider/tools/view_todo_list.py +57 -0
  54. aider/waiting.py +20 -203
  55. {aider_ce-0.87.13.dev3.dist-info → aider_ce-0.88.0.dist-info}/METADATA +21 -5
  56. {aider_ce-0.87.13.dev3.dist-info → aider_ce-0.88.0.dist-info}/RECORD +59 -56
  57. {aider_ce-0.87.13.dev3.dist-info → aider_ce-0.88.0.dist-info}/WHEEL +0 -0
  58. {aider_ce-0.87.13.dev3.dist-info → aider_ce-0.88.0.dist-info}/entry_points.txt +0 -0
  59. {aider_ce-0.87.13.dev3.dist-info → aider_ce-0.88.0.dist-info}/licenses/LICENSE.txt +0 -0
  60. {aider_ce-0.87.13.dev3.dist-info → aider_ce-0.88.0.dist-info}/top_level.txt +0 -0
aider/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  from packaging import version
2
2
 
3
- __version__ = "0.87.13.dev"
3
+ __version__ = "0.88.0.dev"
4
4
  safe_version = __version__
5
5
 
6
6
  try:
aider/_version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.87.13.dev3'
32
- __version_tuple__ = version_tuple = (0, 87, 13, 'dev3')
31
+ __version__ = version = '0.88.0'
32
+ __version_tuple__ = version_tuple = (0, 88, 0)
33
33
 
34
34
  __commit_id__ = commit_id = None
aider/args.py CHANGED
@@ -770,6 +770,12 @@ def get_parser(default_config_files, git_root):
770
770
 
771
771
  ######
772
772
  group = parser.add_argument_group("Other settings")
773
+ group.add_argument(
774
+ "--preserve-todo-list",
775
+ action="store_true",
776
+ help="Preserve the existing .aider.todo.txt file on startup (default: False)",
777
+ default=False,
778
+ )
773
779
  group.add_argument(
774
780
  "--disable-playwright",
775
781
  action="store_true",
@@ -8,7 +8,7 @@ class ArchitectCoder(AskCoder):
8
8
  gpt_prompts = ArchitectPrompts()
9
9
  auto_accept_architect = False
10
10
 
11
- def reply_completed(self):
11
+ async def reply_completed(self):
12
12
  content = self.partial_response_content
13
13
 
14
14
  if not content or not content.strip():
@@ -34,14 +34,14 @@ class ArchitectCoder(AskCoder):
34
34
  new_kwargs = dict(io=self.io, from_coder=self)
35
35
  new_kwargs.update(kwargs)
36
36
 
37
- editor_coder = Coder.create(**new_kwargs)
37
+ editor_coder = await Coder.create(**new_kwargs)
38
38
  editor_coder.cur_messages = []
39
39
  editor_coder.done_messages = []
40
40
 
41
41
  if self.verbose:
42
42
  editor_coder.show_announcements()
43
43
 
44
- editor_coder.run(with_message=content, preproc=False)
44
+ await editor_coder.run(with_message=content, preproc=False)
45
45
 
46
46
  self.move_back_cur_messages("I made those changes to the files.")
47
47
  self.total_cost = editor_coder.total_cost