環境変数
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
まだ変更履歴との関連付けはありません