Skip to content

[object Object] error output when running opencode over SSH #5206

Description

@nicehiro

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

  1. On Ubuntu 20 docker image, install opencode using: curl -fsSL https://opencode.ai/install | bash
  2. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions