[PR #11906] fix(terminal): support remote server connections and fix GLIBC compatibility #13977

Closed
opened 2026-02-16 18:18:48 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11906

State: closed
Merged: Yes


Fixes #12070

Summary

This PR fixes two critical issues that prevent the terminal from working when OpenCode is hosted on a remote server or older Linux distributions.

Changes

  1. Updated bun-pty to 0.4.8: Version 0.4.4 required GLIBC 2.32+, which caused library load failures on older systems like Ubuntu 20.04 (DGX servers, etc.). 0.4.8 is compatible with older GLIBC versions.
  2. WebSocket Protocol Handling: Fixed a bug where the terminal would fail to connect because it didn't convert http/https to ws/wss when establishing WebSocket connections to remote servers.
  3. JSX Configuration: Added JSX runtime settings to bunfig.toml to ensure proper SolidJS rendering when running from source.

Verified on a remote DGX server with Ubuntu 20.04.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11906 **State:** closed **Merged:** Yes --- Fixes #12070 ## Summary This PR fixes two critical issues that prevent the terminal from working when OpenCode is hosted on a remote server or older Linux distributions. ### Changes 1. **Updated `bun-pty` to `0.4.8`**: Version `0.4.4` required GLIBC 2.32+, which caused library load failures on older systems like Ubuntu 20.04 (DGX servers, etc.). `0.4.8` is compatible with older GLIBC versions. 2. **WebSocket Protocol Handling**: Fixed a bug where the terminal would fail to connect because it didn't convert `http/https` to `ws/wss` when establishing WebSocket connections to remote servers. 3. **JSX Configuration**: Added JSX runtime settings to `bunfig.toml` to ensure proper SolidJS rendering when running from source. Verified on a remote DGX server with Ubuntu 20.04.
yindo added the pull-request label 2026-02-16 18:18:48 -05:00
yindo closed this issue 2026-02-16 18:18:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13977