()
| 79 | // ── Hardware & Environment Checks ────────────────────────────────────────── |
| 80 | |
| 81 | function checkCPU(): CheckResult { |
| 82 | const sys = getSystemMeta(); |
| 83 | const model = sys.cpu_model ?? "Unknown"; |
| 84 | const speedStr = sys.cpu_speed ? ` @ ${sys.cpu_speed}MHz` : ""; |
| 85 | return { ok: true, detail: `${sys.cpu_count} cores \u00B7 ${model}${speedStr}` }; |
| 86 | } |
| 87 | |
| 88 | function checkMemory(): CheckResult { |
| 89 | const sys = getSystemMeta(); |
nothing calls this directly
no test coverage detected