Skip to content

Added output-format flag to stream json output#2471

Merged
rekram1-node merged 3 commits into
anomalyco:devfrom
i-m-sid:sid/output-format
Sep 23, 2025
Merged

Added output-format flag to stream json output#2471
rekram1-node merged 3 commits into
anomalyco:devfrom
i-m-sid:sid/output-format

Conversation

@i-m-sid

@i-m-sid i-m-sid commented Sep 6, 2025

Copy link
Copy Markdown
Contributor

fixes: #278
fixes: #2449

Added output-format flag to stream json output
usage: opencode run "prompt" --output-format json

@sjcotto

sjcotto commented Sep 12, 2025

Copy link
Copy Markdown

can we please merge this one? 🙏

@arjun810

Copy link
Copy Markdown
Contributor

Would also appreciate this one!

@rekram1-node

Copy link
Copy Markdown
Collaborator

@thdxr wanted the arg to be called format instead so I am updating for ya

@rekram1-node
rekram1-node merged commit 449994f into anomalyco:dev Sep 23, 2025
2 checks passed
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Co-authored-by: Siddhant Choudhary <sid@treaps.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
Co-authored-by: Siddhant Choudhary <sid@treaps.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Co-authored-by: Siddhant Choudhary <sid@treaps.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Co-authored-by: Siddhant Choudhary <sid@treaps.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Co-authored-by: Siddhant Choudhary <sid@treaps.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
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.

opencode run how to stream responses claude -p --output-format json-like functionality

4 participants