### Description I was **very** happy to finally see the piping feature landing via f5015017911c81c6d89d0a3dcdbe475b948c6829 so I immediately tried. 😊 ### OpenCode version 1.0.20 ### Steps to reproduce Use stdout pipe - echo Hi | opencode - Breaks ### Screenshot and/or share link <img width="947" height="640" alt="Image" src="https://github.com/user-attachments/assets/9f0c4fb9-fc6a-4749-889b-e9c5fa204f0b" /> <img width="1852" height="1021" alt="Image" src="https://github.com/user-attachments/assets/da68bb00-2e33-4d04-818e-fcfe856742b6" /> > oof ### Operating System macOS Sequoia 15.6.1 arm64 ### Terminal Ghostty 1.3.0-main+3f75c66e8
Activity
rekram1-node commentedon Nov 4, 2025
I guess it was breaking before and it still breaks
kunaljaykam commentedon Nov 4, 2025
it does work fine with;
echo 'Hi' | opencode runthe easy fix would probably be to add this error log;
Cannot run TUI with piped input. Use 'opencode run' instead: echo 'Hi' | opencode runrichard-hajek commentedon Nov 4, 2025
Might be relevant: https://stackoverflow.com/questions/6868296/whats-the-difference-between-stdin-and-tty-at-all
tldr:
if user wants to maintain TUI but also pipe in some data, app must open /dev/tty and read from that
kunaljaykam commentedon Nov 5, 2025
i see it’s already assigned, but i’d like to help or take over if that’s okay. @kommander
veracioux commentedon Nov 5, 2025
@kunaljaykam Sorry I started working on this before I saw your comment. I think I saved you a bit of headache tho.
fabioalmeidaweb commentedon Nov 5, 2025
Same issue here.