Skip to content

fix: opencode run shouldn't print to stderr #3341

Merged
rekram1-node merged 2 commits into
anomalyco:devfrom
veracioux:fix/print-to-stdout
Oct 22, 2025
Merged

fix: opencode run shouldn't print to stderr #3341
rekram1-node merged 2 commits into
anomalyco:devfrom
veracioux:fix/print-to-stdout

Conversation

@veracioux

@veracioux veracioux commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

Relates to #369 (comment)
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 ...
$

@veracioux
veracioux force-pushed the fix/print-to-stdout branch from 523dae4 to f82e034 Compare October 21, 2025 21:56
@rekram1-node rekram1-node changed the title Fix: Handle CLI command output properly fix: opencode run shouldn't print to stderr Oct 22, 2025
@rekram1-node
rekram1-node merged commit 97c7e94 into anomalyco:dev Oct 22, 2025
3 checks passed
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants