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 SDK v0.124.0 Moves Files and Skills APIs to General Availability, Adds Computer Use and Browser Use Toolsets
Anthropic released v0.124.0 of its Python SDK, graduating the Files and Skills APIs to general availability and introducing new computer use and browser use toolsets. The release is available now on GitHub.
Anthropic Launches Model Hardware Standard to Let AI Agents Control Lab Robots and Machines
Anthropic has released a research preview of the Model Hardware Standard (MHS), a protocol that lets AI agents discover and control physical devices like robotic arms and liquid handlers through a single interface. Built with HHMI Janelia Research Campus, the spec has been tested by Genentech, Carnegie Mellon, and QuEra, with Anthropic claiming it cuts hardware integration time from weeks to hours.
Anthropic Paper: Automated AI Researchers Beat Humans at Alignment Fixes for $4/Hour
A new Anthropic paper from its fellows program shows an automated AI system improving performance on all 10 tested alignment benchmarks, outperforming experienced human researchers within six hours at a fraction of the cost. The research, led by Anthropic Fellow Chen Yueh-Han, is described as early evidence that automated alignment post-training could become practical soon.
Anthropic Adds Built-In Browser to Claude Cowork Desktop App
Anthropic is embedding a dedicated browser into Claude Cowork's desktop app, opening in a side panel whenever a task requires web access. The browser is isolated from the user's own tabs, bookmarks, and passwords, and rolls out this week to Pro, Max, Team, and Enterprise plans.
Comments
Loading...