Skip to content

Consistent stdout convention for non-research commands#186

Merged
TimNooren merged 2 commits intomainfrom
fix/stdout-convention
Mar 2, 2026
Merged

Consistent stdout convention for non-research commands#186
TimNooren merged 2 commits intomainfrom
fix/stdout-convention

Conversation

@TimNooren
Copy link
Contributor

Summary

  • Trade commands output to stdout (log()) instead of stderr (errorOutput())
  • Wallet send prints human-readable text instead of JSON
  • All wallet handlers return undefined instead of data objects (prevents double output)
  • Drop "structured JSON output" from branding; keep "designed for AI agents"

Closes #167.

Test plan

  • npm test — all 688 tests pass
  • Manual: node src/index.js trade quote --help outputs to stdout
  • Manual: node src/index.js wallet list outputs text only, no JSON

🤖 Generated with Claude Code

TimNooren and others added 2 commits March 2, 2026 12:46
Trade commands now output to stdout (via log()) instead of stderr
(via errorOutput()). Wallet send prints human-readable text instead
of JSON. Drop "structured JSON output" from branding.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@TimNooren TimNooren requested a review from kome12 March 2, 2026 12:09
@TimNooren TimNooren merged commit feecc50 into main Mar 2, 2026
5 checks passed
@github-actions github-actions bot mentioned this pull request Mar 2, 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.

1 participant