发布日期: 2026-08-21
版本号: v1.18.20

核心版本修复了多项问题:现在子代理工具调用失败时会提供可恢复的 task_id,并能更全面地重试多种网络错误(包括 network_errornetwork-error 以及 xAI 的容量与临时不可用流式错误);同时优化了失败处理逻辑,不再返回空结果而是显示可恢复的子代理故障,并正确保留了 Cerebras 的 max_completion_tokens 参数。此外,系统现在能响应子代理在 opencode run 过程中触发的权限请求。

更新内容 (中文)

核心

缺陷修复

  • 展示带有可恢复 task_id 的失败子代理工具调用。
  • 重试以 finish_reason: network_error 结束的提供商响应。
  • 重试更多网络错误变体,包括 network-errornetwork_error
  • 展示可恢复的子代理失败,而不是返回空结果。
  • 保留 Cerebras max_completion_tokens,不应用额外的输出上限。
  • 处理 opencode run 期间子代理触发的权限请求。
  • 重试 xAI 容量不足和暂时不可用的流错误。

更新内容 (原始)

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.

下载链接