* Check if we're in CCR (Claude Code Remote) mode. * In CCR mode, auth is handled via JWTs provided by the infrastructure, * not via /login. Transient auth errors should suggest retrying, not logging in.
()
| 215 | * not via /login. Transient auth errors should suggest retrying, not logging in. |
| 216 | */ |
| 217 | function isCCRMode(): boolean { |
| 218 | return isEnvTruthy(process.env.CLAUDE_CODE_REMOTE) |
| 219 | } |
| 220 | |
| 221 | // Temp helper to log tool_use/tool_result mismatch errors |
| 222 | function logToolUseToolResultMismatch( |
no test coverage detected