環境変数

CLAUDE_CODE_RESUME_INTERRUPTED_TURN

1 に設定すると、前回のセッションがターンの途中で終了した場合に、自動的にそのターンから再開します。

英語原文(公式ドキュメントより)

Set to 1 to automatically resume if the previous session ended mid-turn. Used in SDK mode so the model continues without requiring the SDK to re-send the prompt

関連する変更履歴

v2.1.221(1件)

Fixed
環境変数で自動レジュームを無効化しても動作してしまう問題を修正しました。
英語原文を表示
Fixed CLAUDE_CODE_RESUME_INTERRUPTED_TURN=0 not disabling interrupted-turn auto-resume; falsy values are now honored