* Check if we're in CCR (NCode 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.
()
| 213 | * not via /login. Transient auth errors should suggest retrying, not logging in. |
| 214 | */ |
| 215 | function isCCRMode(): boolean { |
| 216 | return isEnvTruthy(process.env.CLAUDE_CODE_REMOTE) |
| 217 | } |
| 218 | |
| 219 | function getCurrentErrorSession() { |
| 220 | try { |
no test coverage detected