Description
Hi,
When running opencode via SSH on a remote server, the application outputs [object Object] instead of a proper error message or UI. Additionally, terminal escape sequences are not handled correctly, resulting in garbled output.
OpenCode version
1.0.134
Steps to reproduce
- On Ubuntu 20 docker image, install opencode using:
curl -fsSL https://opencode.ai/install | bash
- Run
opencode --print-logs --log-level DEBUG
Screenshot and/or share link
root@subgoalvla-111010-task1-0:~/openpi# opencode --print-logs --log-level DEBUG
INFO 2025-12-07T15:09:43 +169ms service=default version=1.0.134 args=["--print-logs","--log-level","DEBUG"] opencode
[object Object]
root@subgoalvla-111010-task1-0:~/openpi# :>|ghostty 1.2.3^[\^[[?0u^[[4;1720;3000t
Operating System
Ubuntu 22.04
Terminal
Using ghostty on MacOS to connect remote by ssh
Description
Hi,
When running opencode via SSH on a remote server, the application outputs
[object Object]instead of a proper error message or UI. Additionally, terminal escape sequences are not handled correctly, resulting in garbled output.OpenCode version
1.0.134
Steps to reproduce
curl -fsSL https://opencode.ai/install | bashopencode --print-logs --log-level DEBUGScreenshot and/or share link
Operating System
Ubuntu 22.04
Terminal
Using ghostty on MacOS to connect remote by ssh