I'm using just-bash in a sandbox driven by an agent. When commands are running, I'd like to give feedback to the user that the command is running and what the ETA would be (think progress bar). While it is not possible to do this for many commands, it is possible for some commands like curl, for, sleep, and possibly others (I'd need to get an agent build an inventory).
This will likely require some protocol/API change (non-breaking, but still an expansion of the API surface), so I think I ask before opening a bigger PR. If you think it's a good idea, I'd open a first PR with a base protocol implementation and a single command implementation, and then individual PRs for each supported command.
I'm using just-bash in a sandbox driven by an agent. When commands are running, I'd like to give feedback to the user that the command is running and what the ETA would be (think progress bar). While it is not possible to do this for many commands, it is possible for some commands like
curl,for,sleep, and possibly others (I'd need to get an agent build an inventory).This will likely require some protocol/API change (non-breaking, but still an expansion of the API surface), so I think I ask before opening a bigger PR. If you think it's a good idea, I'd open a first PR with a base protocol implementation and a single command implementation, and then individual PRs for each supported command.