v1.18.20

anomalyco/opencodev1.18.20Aug 21, 2026by opencode-agent[bot]

AI Summary

This release focuses on improving reliability and error handling for subagents and network requests. It introduces resumable task IDs for failed operations and refines retry logic for various network error conditions.

Key Highlights

  • Introduced resumable task IDs for failed subagent tool calls
  • Expanded retry logic for network errors and provider capacity issues
  • Fixed permission request handling during 'opencode run'
  • Preserved Cerebras token limits without extra output caps

New Features

  • Resumable task IDs for failed subagent tool calls
  • Enhanced retry logic for network errors
  • Permission request handling for subagents
  • Preserved Cerebras max_completion_tokens

Full Release Notes

## Core
### Bugfixes
- Surface failed subagent tool calls with a resumable `task_id`.
- Retry provider responses that end with `finish_reason: network_error`.
- Retry more network error variants, including `network-error` and `network_error`.
- Surface resumable subagent failures instead of returning an empty result.
- Preserve Cerebras `max_completion_tokens` without applying an extra output cap.
- Answer permission requests triggered by subagents during `opencode run`.
- Retry xAI capacity and temporary unavailability stream errors.