opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Support for running commands that use raw mode stdin

Open chebykinn opened this issue 9 months ago • 3 comments

Currently, if I try to run a command that uses raw mode for TUI, it would either fail or hang the whole interface. I want to be able to open them and return back to the opencode UI.

chebykinn avatar Jul 21 '25 00:07 chebykinn

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

rekram1-node avatar Dec 28 '25 01:12 rekram1-node

Hey, this issue is still super relevant. We should be able to utilize interactive commands within opencode! Currently, as far as I'm aware:

  1. we cannot see the streamed output until after it exits
  2. the user has no way to input keystrokes or stdin during an interactive command
  3. I'm not sure, but it seems that the agent has no way to input keystrokes during a long-running command

ericvicenti avatar Dec 29 '25 22:12 ericvicenti

For 1. that's not accurate? Dont think 2. Yeah on the list 3. Tell it to use tmux

rekram1-node avatar Dec 29 '25 23:12 rekram1-node