mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-31 21:52:54 +00:00
* Reconnect OpenCode agents to the new server after the old one exits When the OpenCode server process exits, Paseo starts the next one on a new port, but existing sessions kept their client bound to the old port and failed every turn with ECONNREFUSED until the agent was reloaded. A session now marks its connection dead when the server exits and connects to the current server before its next turn, rewind, history read, mode or command lookup. Closes #5307 * Settle the exited OpenCode server's events before reconnecting A queued exit from the old server could otherwise fail a turn started on the new one. * Re-add a reconnected OpenCode session's MCP servers on the new server reconnect() reset mcpConfigured but left mcpSetupPromise holding the first server's resolved setup, so the next turn awaited it and never called mcp.add on the new server. Track MCP setup with one field that reconnect clears. * Re-run CI after an unrelated macOS file-observation flake * Re-run CI after an unrelated website WebKit timeout --------- Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>