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
+3 -1
View File
@@ -13,6 +13,7 @@ import type {
SetupHost,
SetupProviderEnvironment,
} from "./Setup.js";
import type { DoctorScope } from "./Doctor.js";
/** Preflighted client mutation admitted into the setup plan. */
type SetupClientPlan = Readonly<{
@@ -102,9 +103,10 @@ export const discoverSetupActions = async (input: {
readonly proposeHopper: boolean;
readonly selectedClientIds: readonly string[] | undefined;
readonly installSkillSelection: boolean | undefined;
readonly doctorScope: DoctorScope | undefined;
}) => {
const { host, providerEnvironment, command } = input;
const initialDoctor = await host.doctor();
const initialDoctor = await host.doctor(input.doctorScope);
const linuxHopperRepairNeeded = initialDoctor.checks.some(
({ name, ok, detail }) =>
!ok &&