()
| 73 | } |
| 74 | |
| 75 | function fileHistoryEnabledSdk(): boolean { |
| 76 | return ( |
| 77 | isEnvTruthy(process.env.CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING) && |
| 78 | !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING) |
| 79 | ) |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * Tracks a file edit (and add) by creating a backup of its current contents (if necessary). |
no test coverage detected