OpenCode v1.15.13: Session Metadata API, Adaptive Reasoning Fix for Anthropic Opus 4.7+

Tools official 1 src. ~1 min

OpenCode v1.15.13 (released May 30, 2026) fixes a bug where Anthropic Gateway's Opus 4.7+ adaptive reasoning returned empty thinking blocks instead of summarized thinking. Sessions can now store custom metadata via the API and SDK for workflow automation. Config loading was also improved to apply directory-specific settings more predictably when traversing up the directory tree.

Why it matters

Adaptive reasoning support for Opus 4.7+ is a key differentiator for open-source coding agents; the metadata API enables richer integrations with CI/CD and orchestration tools.

Importance: 2/5

Official GitHub release for popular open-source coding agent.

Sources