mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-13 19:46:16 +03:00
mcp: fix status() to not overwrite connected with failed (#3514)
This commit is contained in:
committed by
GitHub
Unverified
parent
46ad456718
commit
5cc37c4ea0
@@ -188,6 +188,7 @@ export namespace MCP {
|
||||
}
|
||||
if (state.clients[key]) {
|
||||
result[key] = "connected"
|
||||
continue
|
||||
}
|
||||
result[key] = "failed"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user