Commit graph

5725 commits

Author SHA1 Message Date
Paul Gauthier (aider)
c1ef85640f fix: Remove unused confirm import from prompt_toolkit.shortcuts 2024-08-09 17:35:18 -04:00
Paul Gauthier (aider)
4e01668054 feat: replace confirm() with prompt() in confirm_ask method 2024-08-09 17:35:07 -04:00
Paul Gauthier (aider)
996649fd98 fix: Remove unnecessary f-string 2024-08-09 17:33:23 -04:00
Paul Gauthier
2a9d181efc fix: Add output messages for scraping process 2024-08-09 17:33:14 -04:00
Paul Gauthier
709c31fbf5 copy 2024-08-09 17:33:00 -04:00
Paul Gauthier
11820ba6c1 Don't paginate cmd_web/diff except as / commands 2024-08-09 17:29:52 -04:00
Paul Gauthier
c3e08a80eb fix: Add paginate option to cmd_diff method 2024-08-09 17:27:58 -04:00
Paul Gauthier
566ac8d641 fix: Remove unnecessary else block in Commands.run_pager method 2024-08-09 17:27:43 -04:00
Paul Gauthier (aider)
584813c0f3 feat: Add paginate parameter to cmd_web 2024-08-09 17:25:20 -04:00
Paul Gauthier
e255c28353 fix: Use consistent code fence syntax in file content display 2024-08-09 17:24:29 -04:00
Paul Gauthier
2f225a853e Add pypager dep 2024-08-09 17:23:28 -04:00
Paul Gauthier (aider)
10fdb26cd1 refactor: Move imports to the top 2024-08-09 17:19:24 -04:00
Paul Gauthier (aider)
8cf26407b9 style: Fix linter issues in commands.py 2024-08-09 17:17:31 -04:00
Paul Gauthier (aider)
5fd864f5e9 feat: Replace SystemPager with pypager in cmd_web 2024-08-09 17:17:27 -04:00
Paul Gauthier
c290001a9f fix: Update web command description to better reflect functionality 2024-08-09 17:12:45 -04:00
Paul Gauthier
57a1aafdfd cleanup cmd_drop test 2024-08-09 17:08:01 -04:00
Paul Gauthier (aider)
e42a7caf1b fix: Handle read-only files separately in cmd_drop 2024-08-09 17:03:17 -04:00
Paul Gauthier (aider)
39fffd81d5 style: Format code with linter 2024-08-09 16:59:01 -04:00
Paul Gauthier (aider)
b73d274e01 fix: Use os.path.samefile() to compare external file path in test_cmd_read_with_external_file 2024-08-09 16:57:45 -04:00
Paul Gauthier (aider)
5365305440 feat: Use GitTemporaryDirectory in test_cmd_read and test_cmd_read_with_external_file 2024-08-09 16:53:28 -04:00
Paul Gauthier (aider)
61c124604d feat: add test_cmd_read_with_external_file for cmd_read 2024-08-09 16:51:58 -04:00
Paul Gauthier
16700e6916 copy 2024-08-09 16:50:59 -04:00
Paul Gauthier (aider)
366da70907 fix: Resolve symlinks in external file path for test 2024-08-09 16:44:21 -04:00
Paul Gauthier (aider)
3549ed1205 style: Fix formatting and linting issues in test_main.py 2024-08-09 16:43:27 -04:00
Paul Gauthier (aider)
da5ea3a767 feat: add test for reading external file with --read option 2024-08-09 16:43:08 -04:00
Paul Gauthier (aider)
27a1d9e60f style: Fix linter issues in test_main.py 2024-08-09 16:41:22 -04:00
Paul Gauthier (aider)
6146ea0189 feat: Add test for --read option 2024-08-09 16:41:02 -04:00
Paul Gauthier (aider)
1557bb0c00 feat: add tests for /read and /drop commands 2024-08-09 16:38:42 -04:00
Paul Gauthier
d54f25d63b fix: Rename completions_read to completions_add 2024-08-09 16:30:03 -04:00
Paul Gauthier
f1cfbe9c36 cleanup 2024-08-09 16:49:51 -03:00
Paul Gauthier
2edace4e5f copy 2024-08-09 16:45:47 -03:00
Paul Gauthier
247b258c19 copy 2024-08-09 16:45:33 -03:00
Paul Gauthier (aider)
a321764b92 fix: Check if read-only files exist in __init__ 2024-08-09 16:39:56 -03:00
Paul Gauthier
2199b1c74e fix: Initialize abs_read_only_fnames after finding common root 2024-08-09 16:39:55 -03:00
Paul Gauthier (aider)
064b0d954f feat: Add --read parameter to specify read-only files 2024-08-09 16:34:06 -03:00
Paul Gauthier (aider)
ee6641f2e7 style: Fix formatting and encoding in base_coder.py 2024-08-09 16:32:20 -03:00
Paul Gauthier (aider)
25c36503ff fix: Handle non-existent files in apply_edits 2024-08-09 16:32:15 -03:00
Paul Gauthier (aider)
210d313d52 feat: initialize abs_read_only_fnames using read_only_fnames parameter 2024-08-09 16:31:38 -03:00
Paul Gauthier (aider)
83b142a1bd feat: Add read_only_fnames parameter to __init__ and update create method 2024-08-09 16:30:28 -03:00
Paul Gauthier (aider)
4a39f7c0ca feat: Copy read-only files when creating a new coder from an existing one 2024-08-09 16:28:22 -03:00
Paul Gauthier
d2bd3645ec feat: Add read-only file handling to Coder class 2024-08-09 16:28:19 -03:00
Paul Gauthier (aider)
d0afacd745 feat: Add support for dropping read-only files in /drop command 2024-08-09 16:24:21 -03:00
Paul Gauthier (aider)
f9bc52daea feat: add read-only files to the tokens report 2024-08-09 16:22:33 -03:00
Paul Gauthier
77985f00cf fix: Initialize abs_read_only_fnames set if it doesn't exist 2024-08-09 16:22:32 -03:00
Paul Gauthier (aider)
e7cdd1d7b8 feat: add read-only files messages with read_only_files_prefix before files_content 2024-08-09 16:16:28 -03:00
Paul Gauthier (aider)
9bb2fdf65c feat: add get_read_only_files_content function 2024-08-09 16:14:17 -03:00
Paul Gauthier (aider)
f72e3b3a9b feat: include abs_read_only_fnames when picking the fences 2024-08-09 16:12:21 -03:00
Paul Gauthier
e6f5958278 fix: Add read-only file tracking to base coder 2024-08-09 16:12:19 -03:00
Paul Gauthier (aider)
dad8b6f171 style: Apply linter formatting changes 2024-08-09 16:08:52 -03:00
Paul Gauthier (aider)
598ae7b6b9 feat: Add /read command to load files from anywhere 2024-08-09 16:08:46 -03:00