Anthropic has released a new Claude Code update, designated as version 2.1.156, to address specific API errors and improve search tool descriptions. This release arrives exactly six hours, three minutes, and nine seconds after the previous version 2.1.154. The update introduces critical bug fixes for developers using the command-line interface.

Specifically, the release resolves an issue where using the Opus 4.8 model modified thinking blocks. This modification previously led to API errors during execution. Consequently, the fix restores stable API behavior for developers relying on this model.

Technical Changes in the Claude Code update

In addition to the API fix, the update modifies the bundle file size by adding 0.6 kilobytes, representing a minor 0.0% increase. Meanwhile, the update adds three new prompt files, which increases the total by 4.3%. Furthermore, prompt tokens have increased by 4,959, representing a 5.3% growth.

Notably, the prompt token mix by kind has shifted slightly in this release. Tools now make up 83.7% of the mix, up from 82.9%. Conversely, system reminders decreased from 10.1% to 9.6%, while system data dropped from 1.4% to 1.3%.

Grep Tool Enhancements

The update also includes an important modification to the grep tool description. Specifically, the documentation now recommends that developers always use Grep for search tasks. Moreover, the description clarifies that the tool uses ripgrep to deliver faster and more accurate searches.

Additionally, the updated description specifies output modes, line limits, and offset behavior. These changes aim to provide clearer guidance for developers executing search commands within the interface. As a result, users can expect more predictable search results.

Prompt Token Distribution

The remaining prompt token mix includes system prompts at 3.8%, down from 4.0%. Meanwhile, agent tokens remain stable at 0.9%, and skill tokens hold steady at 0.7%. These minor adjustments reflect the ongoing optimization of the command-line tool.

Accessing the Release

Developers can access the complete changelog and files on the official GitHub repository. The release represents a targeted effort to stabilize the developer experience. Consequently, users are encouraged to update to version 2.1.156 to avoid the Opus 4.8 API issues.

This Claude Code update ensures that workflows remain uninterrupted during complex development tasks. By addressing the thinking blocks issue, the tool maintains its reliability for software engineering. Developers can install the update directly through their terminal interface.

Source: X (@ClaudeCodeLog)