Claude-Code v2.1.31 Release: Key Updates and Bug Fixes

This update covers the release v2.1.31 of Claude-Code, which introduces several notable improvements and fixes. Key changes include the addition of session resume hints that guide users on how to continue conversations after exiting. The update also expands support for full-width (zenkaku) spaces input using the Japanese IME in checkbox selections.
Several bugs have been addressed in this release. Notably, issues causing sessions to lock up due to too-large PDF file errors have been fixed, allowing smoother resumption of tasks without needing to start anew. Additionally, bash commands will no longer incorrectly report failures with "Read-only file system" errors when sandbox mode is enabled.
A critical fix was made to the streaming API path where the temperatureOverride parameter was previously ignored. All streaming requests erroneously defaulted to a temperature value of 1, regardless of configuration. This version now respects the specified temperature override, providing more expected behavior.
The update enhances system prompts to better utilize dedicated tools (e.g., Read, Edit, Glob, Grep) instead of relying on bash equivalents. This reduces unnecessary bash command usage. Error messages related to PDF and request sizes have been clarified to show the actual limits of 100 pages and 20MB.
For developers using strict language servers, LSP shutdown/exit compatibility is improved to handle null parameters. Additionally, misleading Anthropic API pricing has been removed from the model selector for users relying on third-party providers like Bedrock, Vertex, and Foundry.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Is OpenClaw Living Up to Expectations?
OpenClaw, a highly anticipated AI coding agent, is causing a stir among users. While some praise its capabilities, others express disappointment. Here’s a closer look at the community's feedback.

1-Bit Bonsai Image 4B: On-Device Image Generation via Binary/Ternary FLUX.2
PrismML releases Bonsai Image 4B, a binary (1.125-bit) and ternary (1.71-bit) FLUX.2 Klein 4B variant that shrinks the diffusion transformer to 0.93 GB / 1.21 GB, enabling 512x512 image generation on iPhone 17 Pro Max in 9.4 seconds.

Opus 4.7 Prompt Injects Itself and Leaks System Prompt
Claude Opus 4.7 users report model injecting fake system prompts and leaking parts of actual system prompts without any user trigger.

OpenAI Frontier Models and Codex Now Available on AWS
OpenAI's frontier models and Codex are now generally available on AWS, letting enterprises use OpenAI via their existing AWS environments and procurement workflows.