You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e7659e1
Browse filesBrowse the repository at this point in the historyBrowse files
An OpenCode session refuses work only when CawCo's own MCP server does not connect
The gate (opencode-client.ts waitForMcp) refused a session when any MCP
server failed or needed sign-in, so a fleet OAuth server the hub is not
signed in to (ElevenLabs, answering 503) stopped every OpenCode session
on the fleet. Now:
- A failed or needs_auth server is settled: not waited for, not refused.
- A pending server is still waited for up to MCP_CONNECT_TIMEOUT_MS
(a prompt sent while it connects loses its tools for the turn,
anomalyco/opencode#54794, #51812); one still pending then is settled.
- CawCo's server ("cawco") must reach connected: failed, needs_auth or
disabled refuses at once, not connected at the deadline refuses then.
- Every other server that did not connect is said once per session start
(core MCP_NOT_CONNECTED, a ui.system_note): live, and as resume:false
synthetic input under the same id, so the model is told and a transcript
read gives the same line back.
Also fixes OpenCode's paged history read: 2.0.28 refuses a page asked with
both cursor and order ("Cursor cannot be combined with order"), and names a
next cursor whenever a page holds a message, so every read of a non-empty
session failed. The order now goes on the first page only.
Proved by scripts/probe-opencode-mcp-gate.ts on a scratch fleet (OpenCode
2.0.28): a 503 fleet server noted and the turn run, a slow server's tool in
the first turn, and a session refused when CawCo's MCP answers 503.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments