opencode
opencode copied to clipboard
bash tool: truncate long output by keeping the tail; prepend notice header
I think returning the tail of the output is a better heuristic in this case.
running tests...
[thousands of lines of debug logs]
10 tests run, 1 failed