Commit Graph

22 Commits

Author SHA1 Message Date
Zvonimir Sabljic
eea80d1d9c A couple of fixes 2023-08-11 10:53:46 +02:00
Zvonimir Sabljic
6b7e77b46a Set limits to executing commandss 2023-08-10 08:38:56 +02:00
Zvonimir Sabljic
d4a888600e Added connecting dev_step/user_input/command_run with the previous step in the database 2023-08-09 08:38:21 +02:00
Zvonimir Sabljic
2fe6a8d525 Implemented fetching of directory tree with descriptions 2023-08-08 15:46:34 +02:00
Zvonimir Sabljic
8a9497310c Changes in the debugging process 2023-08-08 12:54:52 +02:00
Zvonimir Sabljic
f89ce318e3 Refactored questionary and implemented saving and restoring user input 2023-08-05 09:36:08 +02:00
Zvonimir Sabljic
3bcfa4a70e Kill the process and the subprocesses after running a command + add both stdout and stderr to the return value of running a command 2023-08-05 08:36:12 +02:00
Zvonimir Sabljic
b3e2009469 Print fix after streaming GPT response + show CLI response when going into debugging 2023-08-04 13:34:46 +02:00
Zvonimir Sabljic
08187cd93f Make timeout at least 2000ms while running commands 2023-08-04 10:13:52 +02:00
Zvonimir Sabljic
72e4a1cf64 Implemented initial version for debugging 2023-08-04 08:23:21 +02:00
Zvonimir Sabljic
ef03879f86 Added human intervention step + renamed verification to intervention 2023-08-03 21:23:30 +02:00
Zvonimir Sabljic
6395f6fba7 Added saving command run responses and restoring them 2023-08-03 20:40:49 +02:00
Zvonimir Sabljic
548913a066 Simplifying the flow - changed processing command timeout from seconds to miliseconds 2023-08-03 18:52:40 +02:00
Zvonimir Sabljic
5720a915a6 Fixed running commands (it was hanging while getting the stderr) 2023-08-03 16:20:03 +02:00
Zvonimir Sabljic
270f5f9e2a Added root folder parameter from which commands will be ran 2023-08-03 11:17:06 +02:00
Zvonimir Sabljic
60805a5408 Added ask_for_human_verification and get_test_directory_tree to the Project class + added so that directory tree is created from within the folder 2023-08-03 11:16:17 +02:00
Zvonimir Sabljic
9bb1d897f2 Moved code execution functions to cli helper 2023-08-01 17:53:22 +02:00
Zvonimir Sabljic
aaf12bb658 Fixes for running CLI commands 2023-07-31 11:29:20 +02:00
Zvonimir Sabljic
3730735594 Ask user before running a CLI command 2023-07-31 11:01:09 +02:00
Zvonimir Sabljic
87ac2efcb6 Added showing stderr output is stdout is empty(''), fixed so we can stop a command if it takes too long or hangs, and show the CLI output in real-time as is being logged 2023-07-29 13:00:00 +02:00
Zvonimir Sabljic
e21f38814b Added a function that returns a directory tree 2023-07-27 15:30:32 +02:00
Zvonimir Sabljic
c0f8cc7b6f Implemented a function for executing a cli command and getting the output 2023-07-27 15:05:08 +02:00