環境変数
CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING
非対話型実行におけるファイルチェックポイント機能を有効にし、ファイルの状態をリワインド可能にします。
英語原文(公式ドキュメントより)
Enable file checkpointing for a non-interactive CLI run, so claude -p --resume <session-id> --rewind-files <checkpoint-uuid> can rewind files. The Agent SDK sets this internally when enable_file_checkpointing (Python) or enableFileCheckpointing (TypeScript) is enabled; the bare CLI never sets it. Without it, a non-interactive rewind fails with "File rewinding is not enabled". See https://code.claude.com/docs/en/agent-sdk/file-checkpointing
関連ドキュメント
まだ変更履歴との関連付けはありません