0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Claude Code v2.1.148 リリース|毎日Changelog解説

0
Posted at

Claude Codeの公式Changelogをリリースから最速で翻訳・解説しています。

2.1.147 で混入した Bash ツールのデグレを潰す緊急修正リリース。

今回の注目ポイント

  1. Bash ツールが常に exit 127 を返すデグレを修正: 2.1.147 にアップしてからコマンドが何も通らなくなっていた人向け

Bash ツールが exit 127 を吐き続ける問題を解消

対象読者: 2.1.147 へ上げた直後から、Claude Code が動かしたコマンドが片っ端から失敗していた人。

Unix 系で exit code 127 は「command not found」を意味します。シェルが PATH を探してもバイナリを見つけられなかったときの戻り値。

$ nonexistent-command
zsh: command not found: nonexistent-command
$ echo $?
127

2.1.147 では一部ユーザーの環境で、Bash ツール経由のコマンドがすべてこの 127 を返していました。Claude Code から見ると、lsgit statuspwd も「そんなコマンドありません」状態。読み込みでも書き込みでも Bash を介する操作が全部詰む形です。

2.1.148 で戻り値の取り扱いが直り、実コマンドの終了ステータスが Claude Code 側に正しく届きます。

該当バージョン: 2.1.148(2026-05-22 リリース)。2.1.147 を入れていて Bash が死んでいるなら、2.1.148 に上げれば直ります。

まとめ

2.1.148 は 2.1.147 由来のデグレ 1 件のみを潰す緊急パッチ。2.1.147 を踏んでいるなら今すぐ上げる、それだけ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?