Change8

v1.18.20

OpenCode

Summary

This release focuses on improving the reliability and error handling of subagent tool calls and provider responses. It ensures that network errors and subagent failures are handled more robustly, with retries implemented for various error conditions and clearer surfacing of resumable task information.

Bug Fixes

  • Fixed an issue where failed subagent tool calls were not surfaced with a resumable `task_id`.
  • Resolved an issue where provider responses ending with `finish_reason: network_error` were not retried.
  • Improved retry logic to handle more network error variants, including `network-error` and `network_error`.
  • Ensured that resumable subagent failures are now surfaced instead of returning an empty result.
  • Corrected an issue where Cerebras `max_completion_tokens` were not preserved due to an extra output cap.
  • Fixed a problem that prevented answering permission requests triggered by subagents during `opencode run`.
  • Enabled retries for xAI capacity and temporary unavailability stream errors.

OpenCode Documentation