Description
When a local MCP server is enabled in v1.3.4, assistant responses can fail to render in the UI during tool-using turns.
This appears to come from two regressions in the 1.3.4 refactor:
MessageV2.toModelMessages() changed toModelOutput to expect an object instead of raw output, which can break tool result serialization.
message.part.delta events are now transient bus events instead of sync-backed events, so streamed text deltas can be missed by late/reconnecting subscribers.
Plugins
None required
OpenCode version
v1.3.4
Steps to reproduce
- Configure any local MCP server.
- Start a session on v1.3.4.
- Ask for a prompt that causes MCP tool usage.
- Observe that the model completes work but the assistant response may not render or may render incompletely.
Screenshot and/or share link
N/A
Operating System
macOS
Terminal
N/A
Proposed fix
- Make
toModelOutput backward-compatible with both raw output and { output, ... } input.
- Make
message.part.delta sync-backed again so streamed text survives delayed SSE startup and reconnects.
Description
When a local MCP server is enabled in v1.3.4, assistant responses can fail to render in the UI during tool-using turns.
This appears to come from two regressions in the 1.3.4 refactor:
MessageV2.toModelMessages()changedtoModelOutputto expect an object instead of raw output, which can break tool result serialization.message.part.deltaevents are now transient bus events instead of sync-backed events, so streamed text deltas can be missed by late/reconnecting subscribers.Plugins
None required
OpenCode version
v1.3.4
Steps to reproduce
Screenshot and/or share link
N/A
Operating System
macOS
Terminal
N/A
Proposed fix
toModelOutputbackward-compatible with both raw output and{ output, ... }input.message.part.deltasync-backed again so streamed text survives delayed SSE startup and reconnects.