fix: restore OpenCode health compatibility for startup (#1542)

This commit is contained in:
Bohdan Triapitsyn
2026-06-05 18:43:13 +03:00
parent 0f6602aabd
commit 3e0a105dfe
5 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -547,7 +547,7 @@ export async function activate(context: vscode.ExtensionContext) {
};
const probeTargets: Array<{ label: string; path: string; includeDirectory?: boolean; timeoutMs?: number }> = [
{ label: 'health', path: '/api/health', includeDirectory: false },
{ label: 'health', path: '/global/health', includeDirectory: false },
{ label: 'config', path: '/config', includeDirectory: true },
{ label: 'providers', path: '/config/providers', includeDirectory: true },
// Can be slower on large configs; keep the probe from producing false negatives.