feat: complete REA remediation program

This commit is contained in:
N0zoM1z0
2026-07-22 22:09:12 +09:00
committed by N0zoM1z0
parent 737940c90c
commit d25e98c3f9
460 changed files with 13985 additions and 1877 deletions
+2 -4
View File
@@ -13,6 +13,7 @@ import type {
SetupProgressEvent,
SetupResult,
} from "./application/Setup.js";
import { projectDoctorReport } from "./application/DoctorProjection.js";
import { SUPPORTED_CLIENT_DEFINITIONS } from "./application/SupportedClients.js";
const clientDisplayNames: ReadonlyMap<string, string> = new Map(
@@ -112,10 +113,7 @@ export const conciseSetupResult = (result: SetupResult) => ({
plannedActions: result.plannedActions,
appliedActions: result.appliedActions,
clients: result.clients,
doctor: {
healthy: result.doctor.healthy,
checks: result.doctor.checks.filter(({ ok }) => !ok),
},
doctor: projectDoctorReport(result.doctor, "summary"),
...(result.code === undefined ? {} : { code: result.code }),
...(result.remediation === undefined
? {}