CC Guide
2.1.108

Claude Code 2.1.108 - リリースノート

2026年4月14日
Claude Code

日本語サマリー

以下は Claude Code 2.1.108 のリリースノート要約です。

【破壊的変更・重要な修正】

  • 破壊的変更や重大なセキュリティ修正はありませんが、DISABLE_TELEMETRYを設定している環境でプロンプトキャッシュが意図せず短時間(5分)に制限されていた不具合が修正されました。

【主要な変更点】

  • 新しい環境変数: 1時間のプロンプトキャッシュTTLを有効にする ENABLE_PROMPT_CACHING_1H と、5分間のTTLを強制する FORCE_PROMPT_CACHING_5M が追加されました。
  • セッション再開時の要約: 以前のコンテキストを要約して提供する /recap 機能が追加されました(/config で設定可能、環境変数 CLAUDE_CODE_ENABLE_AWAY_SUMMARY での強制も可能)。
  • モデルの組み込みコマンド呼び出し: モデルが Skill tool を使用して、/init/review/security-review などの組み込みスラッシュコマンドを自動検出・実行できるようになりました。
  • コマンドの改善:
    • /undo/rewind のエイリアスとして追加されました。
    • /model でのモデル切替時、全履歴の未キャッシュ読み込みが発生する事前警告を追加しました。
    • /resume のセッション選択UIが改善され、デフォルトでカレントディレクトリのセッションを表示します(Ctrl+A で全プロジェクト表示)。
  • エラーメッセージの改善: レート制限とプラン利用制限のエラーを明確に区別し、5xx/529エラー時に status.claude.com へのリンクを表示するようになりました。
  • パフォーマンス向上: ファイルの読み込み、編集、シンタックスハイライト時のメモリ使用量削減のため、言語グラマーをオンデマンドでロードするように改善されました。
  • その他の修正:
    • language 設定使用時に、アクセント記号(ウムラウト等)がレスポンスから欠落する不具合を修正しました。
    • --teleport--resume <id> 実行時の事前エラー(dirty git treeなど)がメッセージを出さずに終了していた不具合を修正しました。
    • CLAUDE_ENV_FILE(例: ~/.zprofile)が # のコメント行で終わっている場合に Bash tool の出力がなくなる不具合を修正しました。

原文(Release Notes)

What's changed

  • Added ENABLE_PROMPT_CACHING_1H env var to opt into 1-hour prompt cache TTL on API key, Bedrock, Vertex, and Foundry (ENABLE_PROMPT_CACHING_1H_BEDROCK is deprecated but still honored), and FORCE_PROMPT_CACHING_5M to force 5-minute TTL
  • Added recap feature to provide context when returning to a session, configurable in /config and manually invocable with /recap; force with CLAUDE_CODE_ENABLE_AWAY_SUMMARY if telemetry disabled.
  • The model can now discover and invoke built-in slash commands like /init, /review, and /security-review via the Skill tool
  • /undo is now an alias for /rewind
  • Improved /model to warn before switching models mid-conversation, since the next response re-reads the full history uncached
  • Improved /resume picker to default to sessions from the current directory; press Ctrl+A to show all projects
  • Improved error messages: server rate limits are now distinguished from plan usage limits; 5xx/529 errors show a link to status.claude.com; unknown slash commands suggest the closest match
  • Reduced memory footprint for file reads, edits, and syntax highlighting by loading language grammars on demand
  • Added "verbose" indicator when viewing the detailed transcript (Ctrl+O)
  • Added a warning at startup when prompt caching is disabled via DISABLE_PROMPT_CACHING* environment variables
  • Fixed paste not working in the /login code prompt (regression in 2.1.105)
  • Fixed subscribers who set DISABLE_TELEMETRY falling back to 5-minute prompt cache TTL instead of 1 hour
  • Fixed Agent tool prompting for permission in auto mode when the safety classifier's transcript exceeded its context window
  • Fixed Bash tool producing no output when CLAUDE_ENV_FILE (e.g. ~/.zprofile) ends with a # comment line
  • Fixed claude --resume <session-id> losing the session's custom name and color set via /rename
  • Fixed session titles showing placeholder example text when the first message is a short greeting
  • Fixed terminal escape codes appearing as garbage text in the prompt input after --teleport
  • Fixed /feedback retry: pressing Enter to resubmit after a failure now works without first editing the description
  • Fixed --teleport and --resume <id> precondition errors (e.g. dirty git tree, session not found) exiting silently instead of showing the error message
  • Fixed Remote Control session titles set in the web UI being overwritten by auto-generated titles after the third message
  • Fixed --resume truncating sessions when the transcript contained a self-referencing message
  • Fixed transcript write failures (e.g., disk full) being silently dropped instead of being logged
  • Fixed diacritical marks (accents, umlauts, cedillas) being dropped from responses when the language setting is configured
  • Fixed policy-managed plugins never auto-updating when running from a different project than where they were first installed