Commit graph

1037 commits

Author SHA1 Message Date
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
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)
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)
6e866d7e8a fix: Remove unnecessary f-string prefix 2024-08-21 15:36:44 -07:00
Paul Gauthier
f723fbefc3 fix: Improve error handling in EditBlockCoder 2024-08-21 15:36:36 -07:00
Paul Gauthier (aider)
f5a546834d fix: Move try/except into run_interactive_subprocess and print tool_error on non-zero exit status 2024-08-21 15:32:43 -07:00
Paul Gauthier
26edd52d9d fix: Add command to input history before running it 2024-08-21 15:32:40 -07:00
Paul Gauthier (aider)
7eb761fd98 style: format code with linter 2024-08-21 15:23:12 -07:00
Paul Gauthier (aider)
aac2274851 fix: Use singular or plural prompt for shell commands 2024-08-21 15:23:09 -07:00
Paul Gauthier (aider)
b8ed449806 fix: Remove unused 'os' import from editblock_coder.py 2024-08-21 15:20:37 -07:00
Paul Gauthier
377da1537d fix: Improve run_interactive_subprocess method in EditBlockCoder 2024-08-21 15:20:31 -07:00
Paul Gauthier
a2cb660183 pty.spawn is not good 2024-08-21 15:12:43 -07:00
Paul Gauthier (aider)
656d224bf5 style: Fix formatting and linting issues in editblock_coder.py 2024-08-21 13:23:06 -07:00
Paul Gauthier (aider)
d893b54b0a refactor: Extract shell command handling into a separate method 2024-08-21 13:23:03 -07:00
Paul Gauthier
eb43a1fb43 fix: Handle empty and commented shell commands in EditBlockCoder 2024-08-21 13:23:01 -07:00
Paul Gauthier (aider)
a9fe599591 style: format code using linter 2024-08-21 13:12:06 -07:00
Paul Gauthier (aider)
9706d54293 feat: Handle multi-line shell commands in EditBlockCoder 2024-08-21 13:12:02 -07:00
Paul Gauthier
d5f1359cc2 prompt for dependencies 2024-08-21 10:14:54 -07:00
Paul Gauthier (aider)
f7f64d6cc1 feat: Add support for alternative HEAD/DIVIDER/DIVIDER format in S/R blocks 2024-08-21 09:14:44 -07:00
Paul Gauthier
c351d76c2b remind about suggesting shell commands 2024-08-21 09:08:08 -07:00
Paul Gauthier
3e5554c24f fix: Update confirm_ask prompts to use consistent formatting 2024-08-21 08:08:31 -07:00
Paul Gauthier (aider)
ad77fe20b5 fix: Remove unnecessary f-strings 2024-08-21 05:38:24 -07:00
Paul Gauthier
ba746dd211 fix: Improve confirm dialog messages 2024-08-21 05:38:13 -07:00
Paul Gauthier (aider)
4537e1a9f5 feat: Add shell command to input history before execution 2024-08-21 05:17:18 -07:00
Paul Gauthier
623e4bb2d9 prompt copy 2024-08-21 05:07:42 -07:00
Paul Gauthier
6201796181 prompt whitespace 2024-08-21 05:07:07 -07:00
Paul Gauthier (aider)
0006d70a7c style: Fix import order and formatting in editblock_coder.py 2024-08-20 19:25:13 -07:00
Paul Gauthier (aider)
4917054518 fix: Implement portable way to run interactive subprocesses 2024-08-20 19:25:09 -07:00
Paul Gauthier (aider)
15ebdcc45c fix: run subprocess with no stdin 2024-08-20 19:21:07 -07:00
Paul Gauthier
cbe76bb49a +To rename files, use shell commands. 2024-08-20 18:54:32 -07:00
Paul Gauthier
fd5eb164b5 bold the command 2024-08-20 18:52:38 -07:00
Paul Gauthier
989c557314 shell cmds, not code 2024-08-20 18:02:44 -07:00
Paul Gauthier
919ea05482 ignore shell edits in base coder 2024-08-20 17:50:31 -07:00
Paul Gauthier
fa7be35ec9 fix: Handle errors in EditBlockCoder more gracefully 2024-08-20 17:33:23 -07:00
Paul Gauthier (aider)
b229661d0a style: Format code with linter 2024-08-20 17:31:40 -07:00
Paul Gauthier (aider)
359e4129c6 fix: Combine stdout and stderr, output directly without additional messages 2024-08-20 17:31:36 -07:00
Paul Gauthier
8d0c2b1667 fix: Remove unnecessary debug statements and improve shell command confirmation prompt 2024-08-20 17:31:34 -07:00
Paul Gauthier (aider)
7bcd6d4ebb style: format code with linter 2024-08-20 17:28:08 -07:00
Paul Gauthier (aider)
6f0d9a09df feat: Implement shell command execution in EditBlockCoder 2024-08-20 17:28:04 -07:00
Paul Gauthier
682294118d fix: Dump edits in EditBlockCoder 2024-08-20 17:28:03 -07:00
Paul Gauthier (aider)
9f3cdf1a94 fix: Remove unused variable shell_type 2024-08-20 17:04:34 -07:00