Commit graph

335 commits

Author SHA1 Message Date
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
Paul Gauthier
c67d10749c fix: Remove unused spinner method from InputOutput class 2024-08-05 19:31:54 -03:00
Paul Gauthier (aider)
f8d161382e style: Format code with linter 2024-08-05 19:31:21 -03:00
Paul Gauthier (aider)
b1003949c0 fix: Remove unused imports and fix undefined Spinner issue in aider/io.py 2024-08-05 19:31:18 -03:00
Paul Gauthier (aider)
d3a9247b3c style: Apply linter formatting to aider/io.py 2024-08-05 19:31:06 -03:00
Paul Gauthier (aider)
30b2460a7a feat: Move Spinner class to utils.py 2024-08-05 19:31:03 -03:00
Paul Gauthier
c2254001b5 fix: Remove unused Spinner class
diff --git a/aider/io.py b/aider/io.py
index ea4d25d0..d4d4d4d0 100644
--- a/aider/io.py
+++ b/aider/io.py
@@ -420,4 +420,4 @@ class InputOutput:
                 f.write(text)

     def spinner(self, text):
-        return Spinner(text)
+        return Spinner(self, text)
2024-08-05 19:31:01 -03:00
Paul Gauthier
49874cb8a1 fix: Improve spinner behavior 2024-08-05 19:30:40 -03:00
Paul Gauthier (aider)
168a1d070d feat: add delay before showing spinner and text 2024-08-05 17:44:30 -03:00
Paul Gauthier
c160a5fa65 show progress of the repo map 2024-08-05 17:39:21 -03:00
Paul Gauthier (aider)
249c85e20f fix: Replace dump('end') with traceback.print_stack() in Spinner.end() 2024-08-05 17:37:38 -03:00
Paul Gauthier
44e05e82b0 fix: Add logging to Spinner.end method 2024-08-05 17:37:37 -03:00
Paul Gauthier (aider)
54a481813a fix: update spinner every 0.1 sec at most 2024-08-05 17:32:07 -03:00
Paul Gauthier
b76434f5e0 fix: Add space before spinner text 2024-08-05 17:32:06 -03:00
Paul Gauthier (aider)
44f3ed6433 fix: Move Spinner class to top level and remove elapsed time display 2024-08-05 17:25:55 -03:00
Paul Gauthier (aider)
17f1f2862d style: Apply linter formatting changes 2024-08-05 17:25:23 -03:00
Paul Gauthier (aider)
5cac0b764f feat: move Spinner to top level, don't show elapsed 2024-08-05 17:25:20 -03:00
Paul Gauthier (aider)
8f8b0ed06e fix: limit spinner update rate to at most 1/10 second 2024-08-05 17:24:54 -03:00
Paul Gauthier (aider)
11bf7defea style: Apply linter formatting to io.py 2024-08-05 17:24:20 -03:00
Paul Gauthier (aider)
49b33ec85e feat: Add spinner functionality to IO class 2024-08-05 17:24:16 -03:00
Paul Gauthier
1677f7ede8 Do general autocomplete if /cmd doesn't have its own 2024-07-30 16:43:29 -03:00
Paul Gauthier (aider)
5d0ba54e07 Refactor get_completions method to extract command completion logic into a separate function 2024-07-30 16:36:13 -03:00