Paul Gauthier
|
c71a92ac84
|
fix: handle empty original content when creating new files
|
2024-11-05 09:14:01 -08:00 |
|
Paul Gauthier
|
966a613ffe
|
fix: handle non-existent files in EditBlockCoder #2233
|
2024-11-04 09:08:00 -08:00 |
|
Paul Gauthier
|
e1d55c82b1
|
refactor: Improve edit handling with dry run and path resolution
|
2024-10-29 14:31:12 -07:00 |
|
Paul Gauthier (aider)
|
5b6be29c1c
|
chore: remove obsolete comment about path variable
|
2024-10-29 14:28:39 -07:00 |
|
Paul Gauthier
|
28d9f6f8da
|
refactor: add dry run mode to apply_edits method
|
2024-10-29 14:28:38 -07:00 |
|
Paul Gauthier
|
87a31a583a
|
refactor: remove unused comment in EditBlockCoder
|
2024-10-29 14:11:13 -07:00 |
|
Paul Gauthier (aider)
|
7553104433
|
refactor: handle updated edits array returned from apply_edits
|
2024-10-29 14:10:21 -07:00 |
|
Paul Gauthier
|
f9604633e6
|
fix: handle updated edits array in apply_edits return value
|
2024-10-29 14:10:19 -07:00 |
|
Paul Gauthier (aider)
|
04a2cbb494
|
refactor: update regex patterns to match complete lines with optional whitespace
|
2024-10-05 12:31:23 -07:00 |
|
Paul Gauthier
|
2b4206fd57
|
paul-gauthier -> Aider-AI
|
2024-10-04 13:06:38 -07:00 |
|
Paul Gauthier (aider)
|
454a2ebdcf
|
style: format code using linter
|
2024-09-20 13:44:07 -07:00 |
|
Paul Gauthier (aider)
|
7fa1620f58
|
feat: Allow flexible matching of 5-9 characters in SEARCH/REPLACE block prefixes
|
2024-09-20 13:44:02 -07:00 |
|
Nikolay Sedelnikov
|
976d2bfd87
|
fix: handle edge case when next line after HEAD is missing
|
2024-08-30 16:21:56 +02:00 |
|
Nikolay Sedelnikov
|
e8e1bd556f
|
fix: Handle new file creation in the same folder
|
2024-08-30 15:52:05 +02:00 |
|
Paul Gauthier
|
35eecee739
|
better
|
2024-08-27 10:50:31 -07:00 |
|
Paul Gauthier (aider)
|
cc8f488b23
|
fix: Remove unused 'subprocess' import in editblock_coder.py
|
2024-08-27 09:15:13 -07:00 |
|
Paul Gauthier
|
089863cf32
|
fix: Remove unused run_interactive_subprocess method from EditBlockCoder
|
2024-08-27 09:15:07 -07:00 |
|
Paul Gauthier
|
66e9c3834a
|
fix: Improve filename detection in find_filename function
|
2024-08-26 13:52:35 -07:00 |
|
Paul Gauthier (aider)
|
a716fda897
|
fix: Handle partial filename matches correctly in find_filename
|
2024-08-26 13:49:11 -07:00 |
|
Paul Gauthier
|
5b672e9bfd
|
only take fuzzy matches that match a single valid fname
|
2024-08-26 12:11:49 -07:00 |
|
Paul Gauthier (aider)
|
e17a1fff3a
|
feat: implement fuzzy filename matching
|
2024-08-26 12:10:33 -07:00 |
|
Paul Gauthier
|
dfce19f186
|
fix: Add fuzzy matching for finding filename in editblock_coder
|
2024-08-26 12:10:32 -07:00 |
|
Paul Gauthier
|
4b2227c71f
|
don't disrupt \_ in filenames #1158
|
2024-08-26 12:08:46 -07:00 |
|
Paul Gauthier
|
8c766f81b2
|
use valid_fnames to improve find_filename
|
2024-08-26 12:03:36 -07:00 |
|
Paul Gauthier
|
544b8dd800
|
refactor shell_commands, so the run after autocommit
|
2024-08-22 13:27:01 -07:00 |
|
Paul Gauthier
|
72fd24e071
|
keep track of edited files during reflections
|
2024-08-22 12:21:28 -07:00 |
|
Paul Gauthier
|
4555e36e20
|
do not treat editblocks as shell commands
|
2024-08-22 09:26:50 -07:00 |
|
Paul Gauthier
|
3c249c6b3c
|
fix: Require explicit yes for running shell commands
|
2024-08-21 21:37:07 -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 (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
|
3e5554c24f
|
fix: Update confirm_ask prompts to use consistent formatting
|
2024-08-21 08:08:31 -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 (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
|
fd5eb164b5
|
bold the command
|
2024-08-20 18:52:38 -07:00 |
|