Claude Code v2.1.156 to v2.1.158 Major Updates

Claude Code v2.1.156 to v2.1.158 Major Updates

Claude Code v2.1.156 to v2.1.158 (2026-05-28 to 2026-05-30) update summary. In addition to new features such as plugin auto-loading and expanded Auto mode support infrastructure, the updates focus on stability fixes for Opus 4.8 and improvements to IDE and terminal integration.
2026.05.30

This page has been translated by machine translation. View original

This is Ishikawa from the Cloud Business Division. Here is a summary of the Claude Code updates from v2.1.156 to v2.1.158 (2026-05-28 to 2026-05-30).

Update Summary

This article covers 3 versions (v2.1.156 to v2.1.158, 2026-05-28 to 2026-05-30), excluding v2.1.155 (a missing number not published to npm).

In addition to new features such as automatic loading of plugins under .claude/skills and expanded Auto mode support infrastructure, the updates primarily include stability fixes around Opus 4.8 and numerous bug fixes related to IDE/terminal integration and worktree operations. The majority of changes are included in v2.1.157, with v2.1.156 serving as an important fix for Opus 4.8, and v2.1.158 expanding the Auto mode support infrastructure. While the startup banner and hint toast have been removed, there are no breaking changes or deprecations.

Highlights

  • New Feature: Plugins under .claude/skills are now automatically loaded without needing a marketplace registration (v2.1.157).
  • New Feature: Auto mode is now available for Opus 4.7/Opus 4.8 on Amazon Bedrock, Google Vertex AI, and Microsoft Foundry (v2.1.158).
  • Bug Fix: A bug where thinking blocks were being modified when using Opus 4.8, leading to API errors, has been fixed (v2.1.156).

Target Versions and Period

Version Release Date
v2.1.156 2026-05-28
v2.1.157 2026-05-29
v2.1.158 2026-05-30

New Features

  • Automatic loading of plugins under .claude/skills (v2.1.157): Plugins placed in the .claude/skills directory are now automatically loaded without needing to be registered in a marketplace. A new claude plugin init <name> command has also been added to generate a new plugin template in .claude/skills. This makes it easier to bundle plugins in a repository and share them within a team.
  • Auto mode now supports Bedrock, Vertex, and Foundry (v2.1.158): Claude Code's Auto mode is now available for Opus 4.7 and Opus 4.8 on Amazon Bedrock, Google Vertex AI, and Microsoft Foundry. Opt in by setting the environment variable CLAUDE_CODE_ENABLE_AUTO_MODE=1. Note that it is not automatically enabled in all environments — it requires the target platform, target model, and opt-in conditions to be met.
  • Ability to specify a default agent with claude agents (v2.1.157): The agent field in settings.json is now also applied in dispatched sessions. You can override it individually with --agent <name>.
  • Mid-session switching with EnterWorktree (v2.1.157): EnterWorktree now allows switching between Claude-managed worktrees even in the middle of a session.
  • More detailed telemetry (v2.1.157): Setting OTEL_LOG_TOOL_DETAILS=1 will now include tool_parameters (bash commands and MCP/skill names) in tool_decision telemetry events.
  • Added "Workflow keyword trigger" setting (v2.1.157): A setting has been added to /config to prevent the word "workflow" in prompts from accidentally triggering dynamic workflows.

Improvements

  • Performance improvements for long and resumed conversations (v2.1.157): Redundant recalculations in message rendering have been eliminated, making long conversations and resumed sessions feel lighter.
  • Easier cleanup of Claude-managed worktrees (v2.1.157): Claude-managed worktrees are now left in an unlocked state when an agent ends, making it possible to clean them up with git worktree remove/prune.
  • Garbled text fix for /terminal-setup (v2.1.157): /terminal-setup now disables GPU acceleration in the integrated terminals of VS Code, Cursor, and Windsurf to prevent garbled text.
  • Argument completion for /plugin (v2.1.157): Completion has been added for /plugin arguments (subcommands, installed plugin names, and known marketplace plugins). Slash command completion in claude agents dispatch input also now supports substring matching.
  • Cleaner startup display (v2.1.157): The "bash commands will be sandboxed" startup banner and the "/ide for …" hint toast have been removed. Sandbox status can still be checked in /status or when a command is blocked. Additionally, Feature of the Week billing status is now displayed as a notification in the status area.
  • Canceling accidental workflow triggers (v2.1.157): Pressing backspace immediately after a workflow trigger keyword now cancels the workflow request (similar to alt+w) instead of deleting a character.

Fixes (Major)

Here is a selection of fixes primarily related to stability and usability.

  • Fixed API errors caused by modification of thinking blocks in Opus 4.8 (v2.1.156): A bug where thinking blocks were being modified when using Opus 4.8, leading to API errors, has been resolved.
  • Fixed crashes caused by corrupted or zero-byte images (v2.1.157): A bug where unprocessable images (zero-byte or corrupted files) attached via paste, MCP, or dialog would crash the request instead of becoming a text placeholder has been fixed.
  • Fixed incorrect display of sandbox/permission prompts (v2.1.157): A bug where sandbox network permission prompts were being displayed even in auto mode or bypass-permissions mode when using the desktop app, IDE extension, or SDK has been fixed.
  • Fixed terminal freeze on startup (v2.1.157): A bug where the terminal would freeze after approving a managed-settings security dialog at startup has been fixed.
  • Fixed Stop not working in IDE (v2.1.157): A bug where clicking Stop while a background sub-agent was running would not actually stop it has been fixed.
  • Fixed image paste and screenshots in WSL (v2.1.157): Image paste (alt+v) and screenshot paste on Windows 11 in WSL have been fixed, and drag-and-drop of images from Windows Explorer is now supported.
  • In addition, numerous minor bugs have been fixed, including issues with claude agents session retirement and Esc behavior, orphaned .claude/worktrees/ directories, --resume state display, tmux clipboard integration (a regression in 2.1.153), --worktree return destination, /model picker display, and right-click paste in VS Code, Cursor, and Windsurf integrated terminals.

Closing

In this update range, two new features stand out: automatic loading of plugins under .claude/skills and the expanded Auto mode support infrastructure. In addition, many fixes have been made to stability around Opus 4.8, IDE/terminal integration, and worktree operations, raising the overall level of day-to-day usability. In particular, if you are using Opus 4.8, we recommend updating to v2.1.156 or later, which includes the API error fix. If any of these changes interest you, please update and check them out.

Recent Updates

https://dev.classmethod.jp/articles/20260524-claude-code-updates-v2-1-150/

https://dev.classmethod.jp/articles/20260524-claude-code-updates-v2-1-152/

https://dev.classmethod.jp/articles/20260528-claude-code-updates-v2-1-153/

https://dev.classmethod.jp/articles/20260529-cc-updates-v2-1-158/

References

https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

https://code.claude.com/docs/en/changelog


Claudeならクラスメソッドにお任せください

クラスメソッドは、Anthropic社とリセラー契約を締結しています。各種製品ガイドから、業種別の活用法、フェーズごとのお悩み解決などサービス支援ページにまとめております。まずはご覧いただき、お気軽にご相談ください。

サービス詳細を見る

Share this article

AWSのお困り事はクラスメソッドへ