Reading the comments on the issue shows how to configure it
"env": {
"CLAUDE_AFK_TIMEOUT_MS" : "<massive number>"
}
https://github.com/anthropics/claude-code/issues/73125#issue...