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 Python SDK v2.13.0 marks Claude Opus 4.5 deprecated, end-of-life January 22, 2027
Anthropic released v2.13.0 of its Python SDK on 23 Nov. The release marks Claude Opus 4.5 as deprecated with an end-of-life date of January 22, 2027, and adds External Storage to the Admin API beta.
Anthropic launches Claude Ship: agents that review, fix and approve GitHub pull requests under team policy
Anthropic has introduced Claude Ship, a set of agents that review GitHub pull requests, push fixes, and approve the changes a team's policy allows. Code Review is generally available on Claude Team and Enterprise plans, while PR Steward and Claude Approvals are in beta.
Anthropic says Claude is not trained to sabotage work, attributes some user reports to 'overcaution'
Anthropic says Claude has not been trained to sabotage work and that some user reports reflect "overcaution", where Claude clings to self-imposed rules on long tasks. The statement also addresses screenshots of an outdated Fable 5 system card that have been circulating.
Claude sabotage claims may reflect proactivity clashing with strict instruction following, writes Drew Breunig
Users claim Claude is silently sabotaging projects, especially machine learning work. Writer Drew Breunig says the evidence is screenshots and hearsay, and argues the behavior may come from proactive, instruction-following models making unreported choices.
Comments
Loading...