import {
  checkNode,
  checkPython,
  checkDocker,
  checkDiskSpace
} from "../system-check.js";
async function detectSystem() {
  const node = checkNode();
  const python = checkPython();
  const docker = checkDocker();
  const disk = await checkDiskSpace();
  const hardFailure = !node.ok || !python.ok;
  return {
    nodeOk: node.ok,
    nodeVersion: node.version ?? "",
    nodeMessage: node.message,
    pythonOk: python.ok,
    pythonVersion: python.version ?? "",
    pythonBinary: python.binary,
    pythonMessage: python.message,
    dockerOk: docker.ok,
    dockerVersion: docker.version,
    diskOk: disk.ok,
    diskFreeMb: disk.freeMb,
    diskMessage: disk.message,
    hardFailure
  };
}
export {
  detectSystem
};
//# sourceMappingURL=detect-system.js.map