OpenCode v1.15.13 Adds Session Metadata API, Fixes Anthropic Opus 4.7 Adaptive Reasoning Bug
OpenCode v1.15.13 introduces custom session metadata storage through its API and SDK. The release fixes a bug where Anthropic's Opus 4.7+ adaptive reasoning returned empty thinking blocks instead of summarized thinking.
OpenCode v1.15.13 Adds Session Metadata API, Fixes Anthropic Opus 4.7 Adaptive Reasoning Bug
OpenCode released version 1.15.13 with session metadata storage capabilities and a critical fix for Anthropic's Opus 4.7+ models.
Core Updates
The release adds custom metadata storage for sessions through OpenCode's API and SDK, contributed by community member @shantur. This allows developers to attach and retrieve custom data to coding sessions programmatically.
A notable bugfix addresses Anthropic's Claude Opus 4.7 and later versions when using adaptive reasoning mode. Previously, the gateway returned empty thinking blocks; the update now preserves summarized thinking content instead.
Configuration loading behavior changed to scan upward from the opened location. According to OpenCode, this makes directory-specific settings and provider policies apply more predictably across different project structures.
TUI Improvements
The terminal user interface received two bugfixes. Wrapped inline tool rows now maintain proper alignment, and failed inline tools can expand error details directly in place rather than requiring separate views.
What This Means
The session metadata feature gives developers structured storage for context, user preferences, or debugging information tied to specific coding sessions. This could enable more sophisticated workflow tracking and personalization in AI-assisted development tools.
The Anthropic Opus fix is particularly relevant for teams using Claude's latest models with chain-of-thought reasoning. Empty thinking blocks would have prevented visibility into the model's reasoning process, which is a key feature for understanding and debugging AI-generated code suggestions. The fix ensures summarized thinking remains accessible even when full reasoning chains are condensed.
Related Articles
Anthropic raises $65B at $965B valuation, releases Claude Opus 4.8, plans wider Mythos rollout
Anthropic closed a $65 billion Series H at a $965 billion valuation, making it the most valuable AI startup globally and surpassing OpenAI's $852 billion March valuation. The company simultaneously released Claude Opus 4.8 and announced plans to bring its Mythos cyber-focused model to all customers within weeks.
Anthropic Python SDK v0.105.0 Adds Claude Opus 4-8 Support and Mid-Conversation System Blocks
Anthropic released version 0.105.0 of its Python SDK on May 28, 2026, adding support for the Claude Opus 4-8 model. The update includes mid-conversation system blocks and detailed output token usage tracking.
Anthropic releases Claude Opus 4.8 with Dynamic Workflows for multi-agent tasks
Anthropic released Claude Opus 4.8 on Thursday, its fastest upgrade cycle at 41 days since the previous Opus 4.7. The model includes a new Dynamic Workflows feature designed to manage complex tasks across hundreds of parallel subagents, with pricing unchanged from previous Opus releases.
Anthropic Python SDK v0.104.0 adds thinking token count estimates for streaming responses
Anthropic released version 0.104.0 of its Python SDK on May 21, 2026. The update adds support for a thinking-token-count beta feature that provides estimated token counts in thinking block deltas when streaming responses from reasoning models.
Comments
Loading...