Major Updates in Claude Code v2.1.156 to v2.1.158

Major Updates in Claude Code v2.1.156 to v2.1.158

Claude Code v2.1.156 to v2.1.158 (2026-05-28 to 2026-05-30) update summary. The main highlights include new features such as plugin auto-loading and expanded Auto mode support infrastructure, along with 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 (missing number) which was not published to npm.

The updates include new features such as automatic loading of plugins under .claude/skills and expanded infrastructure support for Auto mode, along with 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 focused on critical Opus 4.8 fixes and v2.1.158 on expanded infrastructure for Auto mode. The startup banner and hint toasts have been removed, but there are no breaking changes or deprecations.

Highlighted Updates

  • New Feature: Plugins under .claude/skills are now automatically loaded without requiring 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 the marketplace. Additionally, the claude plugin init <name> command has been added to generate a new plugin template in .claude/skills. This makes it easier to bundle plugins with 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 does not automatically become available in all environments — there are conditions: supported platform, supported model, and opt-in.
  • Ability to specify default agent with claude agents (v2.1.157): The agent field in settings.json is now also applied in dispatched sessions. It can be overridden individually with --agent <name>.
  • Mid-session switching with EnterWorktree (v2.1.157): EnterWorktree now allows switching between Claude-managed worktrees even mid-session.
  • More detailed telemetry (v2.1.157): Setting OTEL_LOG_TOOL_DETAILS=1 now includes 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 exits, allowing cleanup 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 via /status or when a command is blocked. Additionally, the 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 the character.

Fixes (Major)

A selection of fixes related to stability and usability.

  • Fixed API errors caused by modification of Opus 4.8 thinking blocks (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 were crashing requests instead of being replaced with text placeholders has been fixed.
  • Fixed incorrect display of sandbox/permission prompts (v2.1.157): A bug where the sandbox network permission prompt was appearing 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 on 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 claude agents session retirement and Esc behavior, orphaned .claude/worktrees/ entries, --resume status display, tmux clipboard integration (a regression from 2.1.153), --worktree return destination, /model picker display, and right-click paste in VS Code, Cursor, and Windsurf integrated terminals.

Closing

The highlights of this range are two new features: automatic loading of plugins under .claude/skills and the expanded infrastructure support for Auto mode. In addition, many fixes have been made to Opus 4.8 stability, IDE/terminal integration, and worktree operations, raising the overall quality of everyday 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 catch your eye, give the update a try.

References

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

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


生成AI活用はクラスメソッドにお任せ

過去に支援してきた生成AIの支援実績100+を元にホワイトペーパーを作成しました。御社が抱えている課題のうち、どれが解決できて、どのようなサービスが受けられるのか?4つのフェーズに分けてまとめています。どうぞお気軽にご覧ください。

生成AI資料イメージ

無料でダウンロードする

Share this article

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