Commit graph

3240 commits

Author SHA1 Message Date
Paul Gauthier
e2c25dc9c0 copy 2024-08-23 08:30:21 -07:00
Paul Gauthier (aider)
8c3c050bf5 style: Run linter on codebase 2024-08-23 06:41:32 -07:00
Paul Gauthier (aider)
bbd56d44e8 fix: Handle tilde paths in cmd_drop for read-only files 2024-08-23 06:41:28 -07:00
Paul Gauthier (aider)
974b151936 style: Fix linter issues 2024-08-23 06:39:16 -07:00
Paul Gauthier (aider)
feae729f98 feat: Expand home directory in cmd_read_only 2024-08-23 06:39:12 -07:00
Paul Gauthier
61f7d60c47 fix: Move run_shell_commands() call after auto_lint and auto_test checks 2024-08-23 06:38:16 -07:00
Paul Gauthier
e6ee7ac370 copy 2024-08-22 16:53:05 -07:00
Paul Gauthier
32a53364c4 cleanup 2024-08-22 16:52:09 -07:00
Paul Gauthier (aider)
837ed0367c fix: Simplify cmd_read_only function 2024-08-22 16:51:51 -07:00
Paul Gauthier
9584a7f296 fix: Simplify file matching logic in commands.py 2024-08-22 16:51:50 -07:00
Paul Gauthier (aider)
9570d71b13 fix: Improve cmd_read_only function in Commands class 2024-08-22 16:48:16 -07:00
Paul Gauthier (aider)
f4efac628f fix: Enhance /read-only command to handle multiple files 2024-08-22 16:45:18 -07:00
Paul Gauthier
56e8f6db40 just show > not code> if in default edit format 2024-08-22 15:51:03 -07:00
Paul Gauthier
d7279a1129 fix: Remove unused get_last_modified method from Coder class 2024-08-22 14:01:20 -07:00
Paul Gauthier
8a4409dd05 fix: Find common root for all absolute file names 2024-08-22 13:59:16 -07:00
Paul Gauthier (aider)
5e93dcf2cc feat: Use safe_abs_path in find_common_root function 2024-08-22 13:57:40 -07:00
Paul Gauthier (aider)
1a50a8cc5e fix: remove unnecessary import in aider/utils.py 2024-08-22 13:55:52 -07:00
Paul Gauthier (aider)
880ade4f12 style: Run linter 2024-08-22 13:55:36 -07:00
Paul Gauthier (aider)
221cde0fed refactor: Move find_common_root into aider/utils.py and update Coder class to use it 2024-08-22 13:55:32 -07:00
Paul Gauthier
8c886d7dd3 refactor to use auto_commit 2024-08-22 13:55:01 -07:00
Paul Gauthier
d5dab29eda copy 2024-08-22 13:35:40 -07:00
Paul Gauthier
8c0603fef6 ssh 2024-08-22 13:33:56 -07:00
Paul Gauthier
771d3e3b73 fix: Add shell_commands attribute to Coder class 2024-08-22 13:30:53 -07:00
Paul Gauthier
544b8dd800 refactor shell_commands, so the run after autocommit 2024-08-22 13:27:01 -07:00
Paul Gauthier
100e0b9856 fix: Update update_cur_messages method in WholeFileCoder class 2024-08-22 12:45:50 -07:00
Paul Gauthier (aider)
e0bab8505a fix: Remove duplicate ChatChunks import and empty lines 2024-08-22 12:39:35 -07:00
Paul Gauthier (aider)
eec086e266 style: Fix linter issues in base_coder.py 2024-08-22 12:39:16 -07:00
Paul Gauthier (aider)
f7d64e4c90 fix: Remove unused imports and move ChatChunks import to top of file 2024-08-22 12:39:12 -07:00
Paul Gauthier (aider)
69131a423e fix: Import ChatChunks class from separate file 2024-08-22 12:33:42 -07:00
Paul Gauthier (aider)
9928d5269b refactor: Move ChatChunks class to its own file 2024-08-22 12:33:32 -07:00
Paul Gauthier
07a939e0da feat: Add chat_chunks.py file 2024-08-22 12:33:30 -07:00
Paul Gauthier
72fd24e071 keep track of edited files during reflections 2024-08-22 12:21:28 -07:00
Paul Gauthier
8c47b5e633 improve auto commit logic, cleanup 2024-08-22 12:15:23 -07:00
Paul Gauthier
4555e36e20 do not treat editblocks as shell commands 2024-08-22 09:26:50 -07:00
Paul Gauthier
f8a1db5318 feat: Add all_fences list to base_coder.py 2024-08-22 08:24:00 -07:00
Paul Gauthier
2c2c0690e0 copy 2024-08-22 06:27:58 -07:00
Paul Gauthier
b2488af638 fix: Handle path-specific edits in base_coder.py
test: Update test_main.py to check for explicit approval of shell commands
2024-08-21 21:47:11 -07:00
Paul Gauthier
3c249c6b3c fix: Require explicit yes for running shell commands 2024-08-21 21:37:07 -07:00
Paul Gauthier (aider)
97b47602e1 feat: Add explicit_yes_required param to confirm_ask 2024-08-21 21:30:36 -07:00
Paul Gauthier
d664c15021 copy 2024-08-21 16:20:58 -07:00
Paul Gauthier
99f330f30b fix: Improve formatting of file list and edit format in input prompt 2024-08-21 16:08:52 -07:00
Paul Gauthier (aider)
c9c45cb3ed style: format code 2024-08-21 16:08:30 -07:00
Paul Gauthier (aider)
6f9d4a2c72 feat: pass "code" instead of self.edit_format when it matches self.main_model.edit_format 2024-08-21 16:08:24 -07:00
Paul Gauthier (aider)
70fb4c2d03 feat: Pass coder.edit_format into get_input 2024-08-21 16:07:49 -07:00
Paul Gauthier (aider)
b79776f78f style: Format code according to linter rules 2024-08-21 16:05:52 -07:00
Paul Gauthier (aider)
a9a1f5e247 fix: Add edit_format to get_input method 2024-08-21 16:05:48 -07:00
Paul Gauthier (aider)
25f9886a40 feat: Always display file(s) on line before prompt 2024-08-21 16:05:24 -07:00
Paul Gauthier (aider)
ff039e80ad style: Format code with linter 2024-08-21 16:03:43 -07:00
Paul Gauthier (aider)
bbb40e3045 feat: Add test for --map-mul option and update RepoMap to print map_mul_no_files 2024-08-21 16:03:37 -07:00
Paul Gauthier
64d47df118 copy 2024-08-21 15:50:14 -07:00