()
| 35 | } |
| 36 | |
| 37 | async function readCredentials(): Promise<Record<string, unknown>> { |
| 38 | return JSON.parse(await readFile(credentialsPath(), 'utf8')) as Record< |
| 39 | string, |
| 40 | unknown |
| 41 | > |
| 42 | } |
| 43 | |
| 44 | function setTrustedDeviceGate(enabled: boolean): void { |
| 45 | process.env.CLAUDE_INTERNAL_FC_OVERRIDES = JSON.stringify({ |
no test coverage detected