fix(terminal): support remote server connections and fix GLIBC compatibility (#11906)

This commit is contained in:
Lucas (TaeYoung) Jo
2026-02-04 20:01:10 +09:00
committed by GitHub
parent d3db87653c
commit 78fd919fa6
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -146,6 +146,7 @@ export const Terminal = (props: TerminalProps) => {
const once = { value: false }
const url = new URL(sdk.url + `/pty/${local.pty.id}/connect?directory=${encodeURIComponent(sdk.directory)}`)
url.protocol = url.protocol === "https:" ? "wss:" : "ws:"
if (window.__OPENCODE__?.serverPassword) {
url.username = "opencode"
url.password = window.__OPENCODE__?.serverPassword
+1 -1
View File
@@ -94,7 +94,7 @@
"ai": "catalog:",
"ai-gateway-provider": "2.3.1",
"bonjour-service": "1.3.0",
"bun-pty": "0.4.4",
"bun-pty": "0.4.8",
"chokidar": "4.0.3",
"clipboardy": "4.0.0",
"decimal.js": "10.5.0",