rea-agents - v2.0.0
    Preparing search index...

    Interface SetupHost

    Effects required by the idempotent setup workflow. Implementations report interrupted installers as values: setup must not wait indefinitely for stdin or a GUI response in an unattended agent invocation.

    interface SetupHost {
        nodeVersion: string;
        platform: Platform;
        clientNeedsConfigure(
            client: SetupClient,
            providerEnvironment: SetupProviderEnvironment,
            command: readonly string[],
        ): Promise<boolean>;
        configureClient(
            client: SetupClient,
            providerEnvironment: SetupProviderEnvironment,
            command: readonly string[],
        ): Promise<ClientConfigurationResult>;
        detectedClients(): Promise<readonly SetupClient[]>;
        doctor(): Promise<DoctorReport>;
        hopperPath(): Promise<string | undefined>;
        inspectClientConfiguration?(
            client: SetupClient,
            providerEnvironment: SetupProviderEnvironment,
            command: readonly string[],
        ): Promise<ClientConfigurationInspection>;
        installHopper(replaceExisting: boolean): Promise<SetupHopperInstallResult>;
        installSkill(): Promise<"failed" | "unchanged" | "installed">;
        linuxDistribution(): Promise<LinuxDistribution | undefined>;
        macosVersion(): Promise<string | undefined>;
        providerEnvironment?(): Promise<Readonly<Record<string, string>>>;
        skillNeedsInstall(): Promise<boolean>;
    }
    Index
    nodeVersion: string
    platform: Platform
    • Returns Promise<"failed" | "unchanged" | "installed">

    • Returns Promise<Readonly<Record<string, string>>>