opencode-pty
Background terminal sessions for the OpenCode agent
What it is
Lets the agent start long-running or interactive processes such as dev servers, watch modes and REPLs in separate PTY sessions, send keystrokes and read buffered output later, rather than blocking on each command.
Good for
- Run a dev server while editing
- Drive an interactive REPL
- Watch test output continuously
Install or run
"plugin": ["opencode-pty"] in opencode.jsonCommand as given in the project README. Read the repository before you run anything on your machine.
Sources
- https://github.com/shekohex/opencode-pty (project README, read 13 Nov 2026)
- https://api.github.com/repos/shekohex/opencode-pty (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.