Commit graph

6586 commits

Author SHA1 Message Date
Paul Gauthier (aider)
a9002a3d30 test: add test for suggest_shell_commands functionality 2024-08-27 14:01:14 -07:00
Paul Gauthier (aider)
7815087444 style: format code with black 2024-08-27 13:57:04 -07:00
Paul Gauthier (aider)
d01e9ef7a4 test: update shell command handling checks in test_apply_shell_commands_with_no_suggest 2024-08-27 13:56:59 -07:00
Paul Gauthier
6a55708357 test: update assertions for shell command suggestion behavior 2024-08-27 13:56:58 -07:00
Paul Gauthier (aider)
59cc799b0d style: format code with linter in test_main.py 2024-08-27 13:53:27 -07:00
Paul Gauthier (aider)
3bc1b7c2b7 test: print confirm_ask args in test_apply_shell_commands_with_no_suggest 2024-08-27 13:53:22 -07:00
Paul Gauthier
ac3df464e1 test: verify shell command suggestion behavior with --no-suggest-shell-commands flag 2024-08-27 13:53:21 -07:00
Paul Gauthier
1569995d26 refactor: simplify shell command tests and add TODOs for confirm_ask checks 2024-08-27 13:41:20 -07:00
Paul Gauthier (aider)
8735efc2b1 test: add tests for --no-suggest-shell-commands behavior 2024-08-27 13:33:56 -07:00
Paul Gauthier (aider)
a41ad9e778 test: add tests for --suggest-shell-commands option 2024-08-27 13:32:34 -07:00
Paul Gauthier (aider)
6f70cb3780 style: remove trailing whitespace in base_coder.py 2024-08-27 13:31:49 -07:00
Paul Gauthier (aider)
b178fe85d8 feat: add suggest_shell_commands option to control shell command suggestions 2024-08-27 13:31:43 -07:00
Paul Gauthier (aider)
f33850ceab feat: add --suggest-shell-commands option with default true 2024-08-27 13:30:31 -07:00
Paul Gauthier (aider)
c6c57f0b6e style: remove unused import of Text from rich.text 2024-08-27 13:29:43 -07:00
Paul Gauthier
6f6b016d0f refactor: remove pagination from web command 2024-08-27 13:29:30 -07:00
Paul Gauthier
ffa30983c7 copy 2024-08-27 13:13:15 -07:00
Paul Gauthier (aider)
ba5624992a style: make video responsive for mobile devices 2024-08-27 13:12:27 -07:00
Paul Gauthier
c2e9d01b12 show the video on aider.chat 2024-08-27 13:08:21 -07:00
Paul Gauthier
aae862f499 copy 2024-08-27 12:46:52 -07:00
Paul Gauthier
57809fbbbb copy 2024-08-27 11:51:38 -07:00
Paul Gauthier
d8adc75d7b copy 2024-08-27 11:29:31 -07:00
Paul Gauthier
64c8bd06e1 copy 2024-08-27 11:21:59 -07:00
Paul Gauthier
2b2569b787 feat: enhance shell command output handling and chat integration 2024-08-27 11:17:59 -07:00
Paul Gauthier (aider)
cd48eda88c feat: accumulate and return output in run_shell_commands 2024-08-27 11:12:33 -07:00
Paul Gauthier
474b657221 refactor: Improve handling of command output in chat confirmation 2024-08-27 11:12:31 -07:00
Paul Gauthier (aider)
1c37924472 feat: accumulate shell command output and optionally add to chat 2024-08-27 11:10:52 -07:00
Paul Gauthier
c1d1c24dbb improve commit message prompt 2024-08-27 11:09:41 -07:00
Paul Gauthier
eed7e0b652 fix: Add missing utils import to base_coder.py
feat: Improve prompt for adding tool output to chat
2024-08-27 10:58:23 -07:00
Paul Gauthier
35eecee739 better 2024-08-27 10:50:31 -07:00
Paul Gauthier (aider)
d2d6e94ddb style: Run linter 2024-08-27 10:41:44 -07:00
Paul Gauthier (aider)
5ecce49abd fix: Update imports and function calls in base_coder.py 2024-08-27 10:41:40 -07:00
Paul Gauthier (aider)
03dfda782c style: Fix import order in aider/commands.py 2024-08-27 10:41:24 -07:00
Paul Gauthier (aider)
cefa3e2cf2 fix: Update imports and function calls for run_interactive_command 2024-08-27 10:41:21 -07:00
Paul Gauthier (aider)
80abb5c812 refactor: Move run_interactive_command functions to run_cmd.py 2024-08-27 10:39:50 -07:00
Paul Gauthier (aider)
ec7e0cdb72 refactor: move run_interactive_command funcs to run_cmd 2024-08-27 10:39:33 -07:00
Paul Gauthier
fefda7d337 fix: Add run_cmd.py 2024-08-27 10:39:32 -07:00
Paul Gauthier (aider)
8af705482e feat: Check if stdin is a TTY before using pexpect in run_interactive_command 2024-08-27 10:38:06 -07:00
Paul Gauthier
71066b8954 copy 2024-08-27 10:29:37 -07:00
Paul Gauthier
3c11d9b61c copy 2024-08-27 10:29:19 -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 (aider)
15639d8801 style: Fix import statement formatting 2024-08-27 09:11:50 -07:00
Paul Gauthier (aider)
bbc619fdba fix: Use run_interactive_command for shell commands 2024-08-27 09:11:46 -07:00
Paul Gauthier (aider)
79ffc2405a style: Fix formatting in utils.py 2024-08-27 09:09:28 -07:00
Paul Gauthier (aider)
6d02c14fe4 fix: Use SHELL environment variable in run_interactive_command_pexpect 2024-08-27 09:09:25 -07:00
Paul Gauthier
ec935842ab fix: Improve error handling in run_interactive_command_pexpect 2024-08-27 09:09:24 -07:00
Paul Gauthier (aider)
46ce049777 feat: Update cmd_run to use run_interactive_command 2024-08-27 09:04:29 -07:00
Paul Gauthier (aider)
27e8780cbe style: Fix formatting in utils.py 2024-08-27 09:02:25 -07:00
Paul Gauthier (aider)
15521c41d1 feat: Introduce run_interactive_command that uses pexpect if available, otherwise falls back to subprocess 2024-08-27 09:02:21 -07:00
Paul Gauthier
444416638a fix: Rename run_interactive_command to run_interactive_command_pexpect 2024-08-27 09:02:20 -07:00