mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## What changed - On macOS, inspect the hardware profile before opening a remote-control WebSocket and send `x-codex-host-device-kind: mac_mini` when the machine name is exactly `Mac mini`. - Cache successful detection results, bound the profile lookup to two seconds, and omit the header on other platforms or when detection fails. ## Testing - Add parser coverage for Mac mini, other machine names, empty profiles, and malformed profile data. GitOrigin-RevId: d2a4589bec0c879957f14ab4a195fd54747cc122