()
| 1360 | * Removes Codex OAuth tokens from GlobalConfig (e.g., on logout). |
| 1361 | */ |
| 1362 | export function clearCodexOAuthTokens(): void { |
| 1363 | saveGlobalConfig((cfg) => { |
| 1364 | const { codexOAuth: _removed, ...rest } = cfg |
| 1365 | return rest as typeof cfg |
| 1366 | }) |
| 1367 | } |
| 1368 | |
| 1369 | |
| 1370 | let lastCredentialsMtimeMs = 0 |
nothing calls this directly
no test coverage detected