fix(tmux): use stable fallback server URL

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-27 13:24:50 +09:00
parent c46b712997
commit f1353cd9a8
+1 -2
View File
@@ -72,8 +72,7 @@ export class TmuxSessionManager {
this.client = ctx.client
this.tmuxConfig = tmuxConfig
this.deps = deps
const defaultPort = process.env.OPENCODE_PORT ?? "4096"
const fallbackUrl = `http://localhost:${defaultPort}`
const fallbackUrl = "http://localhost:4096"
const rawServerUrl = ctx.serverUrl?.toString()
try {
if (rawServerUrl) {