Claude Code v2.1.91 リリース - MCPツール結果の永続化とEditツールの最適化
Claude Code v2.1.91ではMCPツールの結果サイズの上書き、シェル実行の制御強化、Editツールの効率改善などが行われた。
Anthropicは2026年4月2日にClaude Code v2.1.91をリリースした。この更新では、MCPツールの結果の永続化、シェル実行の制御強化、Editツールの効率改善など、複数の重要な改善が行われている。
主な変更点
MCPツールの結果サイズの上書き
開発者は_meta["anthropic/maxResultSizeChars"]アノテーションを使用して、MCPツール出力のデフォルトサイズ制限を上書きできるようになった 最大50万文字までの結果を切り詰めずに取得できる。これは大きなデータベーススキーマや広範なAPI応答場合に特に有用である。
disableSkillShellExecution設定
スキル、カスタムスラッシュコマンド、プラグインコマンドにおけるインラインシェル実行を無効にする新しい設定disableSkillShellExecutionが追加された。外部ソースからのシェルコマンド実行を制限したいチームにとって、より良いセキュリティ制御を提供する。
ディープリンクでのマルチラインパromptサポート
claude-cli://open?q=ディープリンクがマルチラインパromptをサポートようになった。これまではエンコードされた改行文字(%0A)が拒否されていたが、この制限が削除され、より複雑なクエリの作成が可能になった。
プラグインの実行ファイルサポート
プラグインはbin/ディレクトリ下に実行ファイルを配置し、Bashツールからベアコマンドとして呼び出すことができるようになり、プラグインの機能と統合オプションが拡張された。
Editツールの最適化
Editツールがより短いold_stringアンカーを使用するようになり、出力トークンを削減し、コード変更時の全体的な効率が向上した。
パフォーマンス改善
- Bunでの
stripAnsiをBun.stripANSI経由で高速化 - キャッシュキー検索時のMCPツールスキーマの毎ターンJSON.stringifyを排除
バグ修正
--resumeでのトランスクリプトチェーンの断裂による会話履歴の損失を修正- iTerm2、kitty、WezTerm、Ghostty、Windows Terminalでの
cmd+delete動作を修正 - リモートセッションでのプランファイル追跡をコンテナ再起動後に維持
- settings.jsonの
permissions.defaultMode: "auto"に対するJSONスキーマ検証を修正 - Windowsのバージョンクリーンアップがアクティブなバージョンのロールバックコピーを保護するように
/feedbackが使用不可の理由を説明するよう改善
コミュニティの文脈
v2.1.88ではnpmパッケージに.mapファイルが誤って含まれるという問題が発生し、リリース検証プロセスについて議論が促された。コミュニティはAnthropicの対応を注視しており、v2.1.91リリースはこの種の問題を起こことなく進行しているようです。
Related Articles
Thousands of CEOs Admit AI Had No Impact on Employment or Productivity — The 40-Year-Old 'Productivity Paradox' Returns
Survey of 6,000 executives finds 90% report AI had no impact on employment or productivity over the past three years, contradicting Spotify CEO's claims. Solow's 1987 productivity paradox returns as $250B AI investment fails to deliver promised gains.
Unlock Claude Code's 1M Token Context Window: Two Lines in settings.json Eliminate Auto-Compaction
Set ANTHROPIC_DEFAULT_HAIKU_MODEL and ANTHROPIC_DEFAULT_SONNET_MODEL to claude-sonnet-4-6-1m in .claude/settings.json to run all Claude Code tasks on the 1M token context window. Build an entire SaaS in one session without auto-compaction interrupting your flow.
Claude Code v2.1.47 Released: 40+ Bug Fixes, Windows Overhaul, Memory Improvements, and Faster Startup
Anthropic ships Claude Code v2.1.47 with over 40 bug fixes targeting Windows rendering bugs, long-session memory leaks, a ~500ms startup improvement, plan mode preservation after compaction, and a revamped background agent kill shortcut.
Popular Articles
Claude Code v2.1.93 Released - Deferred Permission Decisions, Flicker-Free Rendering, and More
Anthropic releases Claude Code v2.1.93 with deferred permission decisions for PreToolUse hooks, flicker-free rendering option, PermissionDenied hook, and named subagent typeahead support.
Claude Code v2.1.92 Released - forceRemoteSettingsRefresh, Bedrock Setup Wizard, and More
Anthropic releases Claude Code v2.1.92 with forceRemoteSettingsRefresh policy setting, AWS Bedrock setup wizard, /cost command improvements, and numerous bug fixes.
Claude Code v2.1.84 Release - PowerShell Tool Preview and Environment Configuration Enhancements
Claude Code v2.1.84 introduces PowerShell tool for Windows, new environment variable overrides for model selection, idle session handling improvements, and various stability fixes.
Latest Articles
Claude Code v2.1.93 Released - Deferred Permission Decisions, Flicker-Free Rendering, and More
Anthropic releases Claude Code v2.1.93 with deferred permission decisions for PreToolUse hooks, flicker-free rendering option, PermissionDenied hook, and named subagent typeahead support.
Claude Code v2.1.92 Released - forceRemoteSettingsRefresh, Bedrock Setup Wizard, and More
Anthropic releases Claude Code v2.1.92 with forceRemoteSettingsRefresh policy setting, AWS Bedrock setup wizard, /cost command improvements, and numerous bug fixes.
Claude Code v2.1.91 Released - MCP Tool Result Persistence and Improved Edit Tool
Claude Code v2.1.91 introduces MCP tool result persistence override, improved shell execution controls, and enhanced Edit tool efficiency.