Member Junction
    Preparing search index...

    Progress callbacks for installation operations. Follows the same callback pattern as mj-sync's PushCallbacks.

    interface AppInstallCallbacks {
        OnConfirm?: (message: string) => Promise<boolean>;
        OnError?: (phase: string, message: string) => void;
        OnLog?: (message: string) => void;
        OnProgress?: (phase: string, message: string) => void;
        OnPromptConfirm?: (
            message: string,
            opts?: { default?: boolean },
        ) => Promise<boolean>;
        OnPromptInput?: (
            message: string,
            opts?: { default?: string },
        ) => Promise<string>;
        OnPromptPassword?: (message: string) => Promise<string>;
        OnPromptSelect?: (
            message: string,
            choices: { name: string; value: string }[],
        ) => Promise<string>;
        OnSuccess?: (phase: string, message: string) => void;
        OnWarn?: (phase: string, message: string) => void;
    }
    Index

    Properties

    OnConfirm?: (message: string) => Promise<boolean>

    Called when the engine needs user confirmation (e.g. destructive actions)

    OnError?: (phase: string, message: string) => void

    Called when an operation phase encounters an error

    OnLog?: (message: string) => void

    Called for general log messages

    OnProgress?: (phase: string, message: string) => void

    Called when an operation phase progresses (e.g. "Fetching manifest...")

    OnPromptConfirm?: (
        message: string,
        opts?: { default?: boolean },
    ) => Promise<boolean>

    Prompt for a yes/no confirmation with an optional default.

    OnPromptInput?: (
        message: string,
        opts?: { default?: string },
    ) => Promise<string>

    Prompt for free-text input.

    OnPromptPassword?: (message: string) => Promise<string>

    Prompt for a masked secret (e.g. an API key).

    OnPromptSelect?: (
        message: string,
        choices: { name: string; value: string }[],
    ) => Promise<string>

    Prompt to choose one option from a list.

    OnSuccess?: (phase: string, message: string) => void

    Called when an operation phase completes successfully

    OnWarn?: (phase: string, message: string) => void

    Called for non-fatal warnings during an operation