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