[PR #3341] fix: opencode run shouldn't print to stderr #10608

Closed
opened 2026-02-16 18:15:18 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/3341

State: closed
Merged: Yes


Relates to https://github.com/sst/opencode/issues/369#issuecomment-3429028716
Tested by:

opencode run hi

Hi! How can I help with your software engineering tasks?

$
opencode run hi | cat
Hi! How can I help with your software engineering tasks?
$
$ opencode run hi 2>/dev/null
Hi! How can I help with your software engineering tasks?
$
$ opencode run hi >/dev/null
$
$ opencode run hi --print-logs --format=json | jq
... prints correct output and jq doesn't print any errors ...
$
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/3341 **State:** closed **Merged:** Yes --- Relates to https://github.com/sst/opencode/issues/369#issuecomment-3429028716 Tested by: ``` opencode run hi Hi! How can I help with your software engineering tasks? $ ``` ``` opencode run hi | cat Hi! How can I help with your software engineering tasks? $ ``` ``` $ opencode run hi 2>/dev/null Hi! How can I help with your software engineering tasks? $ ``` ``` $ opencode run hi >/dev/null $ ``` ``` $ opencode run hi --print-logs --format=json | jq ... prints correct output and jq doesn't print any errors ... $ ```
yindo added the pull-request label 2026-02-16 18:15:18 -05:00
yindo closed this issue 2026-02-16 18:15:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10608