From d6fe9aa12396587b309b121ed0c45b5046ea025a Mon Sep 17 00:00:00 2001 From: MoerAI Date: Wed, 4 Mar 2026 10:17:12 +0900 Subject: [PATCH] fix(tmux): use correct health check endpoint /global/health The server health check was using /health which returns HTTP 403 since the endpoint doesn't exist in OpenCode. The correct endpoint is /global/health as defined in OpenCode's server routes. Fixes #2260 --- src/shared/tmux/tmux-utils/server-health.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/tmux/tmux-utils/server-health.ts b/src/shared/tmux/tmux-utils/server-health.ts index f45d8d01b..d9e3aee7f 100644 --- a/src/shared/tmux/tmux-utils/server-health.ts +++ b/src/shared/tmux/tmux-utils/server-health.ts @@ -10,7 +10,7 @@ export async function isServerRunning(serverUrl: string): Promise { return true } - const healthUrl = new URL("/health", serverUrl).toString() + const healthUrl = new URL("/global/health", serverUrl).toString() const timeoutMs = 3000 const maxAttempts = 2