Commit graph

256 commits

Author SHA1 Message Date
Paul Gauthier (aider)
231e962c7f feat: Expand valid_responses to their whole words 2024-08-24 08:57:28 -07:00
Paul Gauthier
b26550d93f fix: Add ConfirmGroup to confirm URL addition 2024-08-23 16:50:38 -07:00
Paul Gauthier
47294e7609 fix: Add show_group attribute to ConfirmGroup and initialize it based on the number of items 2024-08-23 16:44:58 -07:00
Paul Gauthier
f85db450a1 fix: Improve input validation and handling for yes/no/all/skip options 2024-08-23 16:42:29 -07:00
Paul Gauthier (aider)
3e0c7fd248 build: build the list of valid responses in parallel to building question, but don't change the logic for question 2024-08-23 16:25:05 -07:00
Paul Gauthier
2dc2b45d15 fix: Update input prompt for yes/no questions 2024-08-23 16:24:16 -07:00
Paul Gauthier (aider)
3055f14d70 fix: only show All and Skip options if group is not none 2024-08-23 16:20:58 -07:00
Paul Gauthier (aider)
9ed83dd467 style: Improve readability of conditional expressions 2024-08-23 16:20:08 -07:00
Paul Gauthier (aider)
2643cc8643 fix: Exclude "All" option and don't honor group preference when explicit_yes_required is True 2024-08-23 16:20:04 -07:00
Paul Gauthier (aider)
6aae2bc794 fix: Move imports to the top of the file
feat: Implement ConfirmGroup preference handling in confirm_ask
2024-08-23 16:19:05 -07:00
Paul Gauthier (aider)
c0871449ac style: Format code with consistent indentation 2024-08-23 16:18:55 -07:00
Paul Gauthier (aider)
1be65f9c77 feat: Add group parameter to confirm_ask function 2024-08-23 16:18:52 -07:00
Paul Gauthier (aider)
16c1d21bc0 style: Run linter 2024-08-23 16:17:21 -07:00
Paul Gauthier (aider)
577c38ec29 feat: Add ConfirmGroup dataclass 2024-08-23 16:17:17 -07:00
Paul Gauthier (aider)
6185f8f271 style: Fix formatting in io.py 2024-08-23 16:15:02 -07:00
Paul Gauthier (aider)
7805aafe0a fix: Update confirm_ask function in aider/io.py 2024-08-23 16:14:59 -07:00
Paul Gauthier (aider)
97b47602e1 feat: Add explicit_yes_required param to confirm_ask 2024-08-21 21:30:36 -07:00
Paul Gauthier
99f330f30b fix: Improve formatting of file list and edit format in input prompt 2024-08-21 16:08:52 -07:00
Paul Gauthier (aider)
b79776f78f style: Format code according to linter rules 2024-08-21 16:05:52 -07:00
Paul Gauthier (aider)
a9a1f5e247 fix: Add edit_format to get_input method 2024-08-21 16:05:48 -07:00
Paul Gauthier (aider)
25f9886a40 feat: Always display file(s) on line before prompt 2024-08-21 16:05:24 -07:00
Paul Gauthier (aider)
9fc8b00a13 style: Improve string formatting in io.py 2024-08-21 15:21:35 -07:00
Paul Gauthier (aider)
b9f2a415ce feat: Pad multiline subjects in confirm_ask 2024-08-21 15:21:31 -07:00
Paul Gauthier
9eac88f734 fix: Remove unused WordCompleter import from aider/io.py 2024-08-21 10:49:50 -07:00
Paul Gauthier
b4cbd9e4bd Merge branch 'main' into shell-commands-new 2024-08-21 09:40:07 -07:00
Paul Gauthier (aider)
dc16bf6cda style: Format code using linter rules 2024-08-21 09:33:20 -07:00
Paul Gauthier (aider)
387441b48a style: remove backticks from filename autocomplete 2024-08-21 09:33:16 -07:00
Paul Gauthier
c351d76c2b remind about suggesting shell commands 2024-08-21 09:08:08 -07:00
Paul Gauthier
454d0206bc fix: Update prompt_ask function to use default value correctly 2024-08-21 08:17:35 -07:00
Paul Gauthier (aider)
5bdb5489dd feat: Add style to prompt_ask 2024-08-21 08:13:00 -07:00
Paul Gauthier (aider)
b23b8958f8 feat: move prompt_toolkit imports to the top 2024-08-21 08:09: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
ba746dd211 fix: Improve confirm dialog messages 2024-08-21 05:38:13 -07:00
Paul Gauthier (aider)
72ebc7868a feat: add subject to confirm_ask 2024-08-21 05:24:56 -07:00
Paul Gauthier
7e6794d2c7 fix: Remove subject from chat history entry 2024-08-21 05:24:54 -07:00
Paul Gauthier (aider)
95d1ea37be feat: add subject parameter to prompt_ask 2024-08-21 05:20:44 -07:00
Paul Gauthier (aider)
bcc7b4c120 style: Apply consistent string formatting in io.py 2024-08-21 05:17:23 -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
543fa68b45 fix: Use Text() to format user input in console.print() 2024-08-11 10:09:36 -07:00
Paul Gauthier
9cf672b428 fix: Add bold formatting to announcement messages
feat: Add bold formatting to commit message output
refactor: Simplify tool_output method in io.py
2024-08-09 19:26:22 -04:00
Paul Gauthier (aider)
416fd164d8 fix: Handle None value for abs_read_only_fnames in AutoCompleter 2024-08-09 18:47:21 -04:00
Paul Gauthier (aider)
31606d5d70 style: Apply linter formatting to io.py 2024-08-09 18:46:53 -04:00
Paul Gauthier (aider)
26698488d3 feat: make abs_read_only_fnames optional in get_input 2024-08-09 18:46:49 -04:00
Paul Gauthier (aider)
f542c65b58 feat: make abs_read_only_fnames an optional param in AutoCompleter class 2024-08-09 18:45:57 -04:00
Paul Gauthier (aider)
ac4c339904 style: Format AutoCompleter class constructor 2024-08-09 18:39:35 -04:00
Paul Gauthier (aider)
f77c6719fe feat: Add abs_read_only_fnames to io.get_input() and AutoCompleter 2024-08-09 18:39:31 -04:00
Paul Gauthier
e984d9cd66 fix: Add abs_read_only_fnames parameter to AutoCompleter and get_input 2024-08-09 18:39:29 -04:00
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
51ec18b711 fix: Replace prompt with confirm for yes/no questions 2024-08-08 15:35:35 -03:00