Commit graph

12805 commits

Author SHA1 Message Date
Paul Gauthier
72476f0967 bump deps 2025-05-05 19:05:11 -07:00
Paul Gauthier
a9883ccc25 copy 2025-05-05 19:03:32 -07:00
Paul Gauthier
3b9b93a8a4 Merge branch 'main' of github.com:Aider-AI/aider 2025-05-05 19:03:07 -07:00
Paul Gauthier
f90b7bfb09 better 2025-05-05 19:02:43 -07:00
Titusz
edc941eb9e
Merge branch 'main' into fix/shlex 2025-05-04 13:11:19 +02:00
paul-gauthier
5e7ef6c50e
Merge pull request #3931 from elohmeier/main 2025-05-02 07:21:29 -07:00
Enno Richter
fdc7be1318 docs: update lint/test pre-commit shell script example to use "$@" for proper argument handling 2025-05-02 05:49:02 +02:00
paul-gauthier
f00c1bf61b
Merge pull request #3930 from erykwieliczko/main 2025-05-01 20:03:17 -07:00
Eryk Wieliczko
09030de0b5 Show dates on "Release history" chart 2025-05-02 04:38:38 +02:00
Paul Gauthier
bdba0ca1c5 refactor: Move shell command prompts to shell.py, add final reminders 2025-05-01 17:31:22 -07:00
Paul Gauthier (aider)
e17c7d938c refactor: add normalize_language and improve get_user_language to return readable names 2025-05-01 17:29:14 -07:00
Paul Gauthier (aider)
433f2908a0 feat: add language normalization to convert locale codes to names using Babel or fallback map 2025-05-01 17:28:56 -07:00
Paul Gauthier
9fa5f5ace1 refactor: remove redundant dump call from prompt formatting in base_coder.py 2025-05-01 17:28:55 -07:00
Paul Gauthier
849a379a8c refactor: Move lazy/overeager prompts to final reminders in system prompt 2025-05-01 17:24:14 -07:00
Amar Sood (tekacs)
4bb786c1e0 Allow printing enhanced context blocks 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
b8f7757435 Bring accurate enhanced context token counts to /tokens 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
b155143845 Try to have legacy navigator mode use SEARCH/REPLACE blocks more cleanly 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
02c092afff Try for more cache-friendly prompt ordering 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
930880151e Try to improve InsertBlock 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
b36aaa6f62 feat: make search/replace blocks trigger another turn in navigator mode 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
b4141c6537 Move enhanced context to the end, to help prompt caching 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
209518b73f Remove some unnecessary code 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
6b901b84ba feat: enhance context summary with additional context blocks and token counts 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
da63acde22 Fix missing argument in ViewFilesMatching 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
9f8fde2411 Add context_before and context_after arguments to Grep tool 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
7c0765d7f8 Offer up Grep as an alternative to ViewFilesMatching 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
dc2f8a9cf1 Add a Grep tool 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
b3dbb79795 Disable granular editing by default, until tools stabilize 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
4b6254c77d Split out NavigatorLegacyPrompts, to use until granular editing tools stabilize 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
e9c0774f1f Fix some LLM-generated mixups 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
9b56e1f099 refactor: Improve error handling and reporting in tool executions 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
10d0f90cb5 More guidance/reminder around UndoChange 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
29d2963f18 Remove some spurious comments 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
9e347034fc More tweaks to try to get the LLM to reliably use granular tools 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
26ec1c4f82 Fix ReplaceAll, using new git diff helper 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
46b0bee184 Add some defensive coding to ChangeTracker 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
8e964bf6e2 Add a regex parameter to ViewFilesMatching 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
7676425d1f Remove no longer used diff helpers 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
a4bcf4f938 Add more real Git-style diffs in command feedback 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
b717384420 Put tool calls on multiple lines when a multi-line tool use is used 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
4b2202cd26 Even more strident (and proximal) reminders to use tool-use editing 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
1841d105fe Allow the user to confirm commands forever 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
b51abd7fe7 Capture TreeSitter ranges for tools to use 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
d6e58ce063 Emit more than 3 tool calls on separate lines 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
e039543e15 Require a justification when using SEARCH/REPLACE 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
123879fad5 Only process SEARCH/REPLACE blocks before the tool call separator 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
5e81b6c1c4 Replace ShowNumberedContext for tool_utils 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
18a942759c Make tools even more favored over SEARCH/REPLACE blocks 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
7eac68e267 Refactor the indent lines function to use tool_utils 2025-04-30 19:39:50 -04:00
Amar Sood (tekacs)
c55d789c25 Try factoring out some common functionality. Incremental commit. 2025-04-30 19:39:50 -04:00