/** * Unit tests for the machine-identity auth mode in cognito-auth.ts. * * Machine identities (company agents) carry long-lived Cognito creds at * ~/.hq-agent/machine-creds.json (HQ_MACHINE_CREDS_FILE override) and mint * sessions via USER_PASSWORD_AUTH on demand — no browser, no refresh token. * The contract under test: * - detection: creds file present + well-formed → machine mode * - minting: BOTH tokens cached with correct field semantics * - re-mint on expiry; cache hit when valid * - getValidAccessToken short-circuits into machine mode (never browser) */ export {}; //# sourceMappingURL=machine-auth.test.d.ts.map