Stream bash tool call results
primary intention is to decrease perceived latency during long running tools
- add support to stream tool call results
- support is only implemented in the bash tool
not sure how to handle the sdk changes since I believe that is autogenerated in CI, but I manually changed it here
Demo
https://github.com/user-attachments/assets/01d5624c-942e-4dad-b95c-02f4e139fbac
this is a good feature although i think there's a .metadata function in the object passed to the second arg to progressively update metadata
you can see how task tool uses it
this is a good feature although i think there's a
.metadatafunction in the object passed to the second arg to progressively update metadatayou can see how task tool uses it
haha thanks- updated PR
one challenge with this is that some bash tools may have an excessively long output, longer than the tool can support: see #1829