Member Junction
    Preparing search index...

    Input context for the scaffold phase.

    ScaffoldPhase.Run

    interface ScaffoldContext {
        Dir: string;
        Emitter: InstallerEventEmitter;
        IncludeClaudePack?: boolean;
        InstallMode?: "distribution" | "monorepo";
        RepoUrl?: string;
        Tag?: string;
        Yes: boolean;
    }
    Index

    Properties

    Dir: string

    Absolute path to the target directory for extraction.

    Event emitter for progress, prompt, and log events.

    IncludeClaudePack?: boolean

    Whether to include the Claude Code pack in the scaffold output. Defaults to true so new installs get the pack out of the box (design doc Goal #1). Pass false to honor --no-claude-pack. Applies only to distribution mode; monorepo mode always extracts the full repo, which already contains the pack source tree under templates/claude-pack/.

    InstallMode?: "distribution" | "monorepo"

    Installation mode. distribution (default) sparse-checks-out the source at the resolved tag and assembles the distribution layout; monorepo downloads and extracts the full repository zip.

    RepoUrl?: string

    Canonical repo clone URL for the distribution sparse fetch (defaults to the MJ repo).

    Tag?: string

    Release tag to install (e.g., "v5.1.0"). If undefined, version selection is interactive (or auto-selects latest in --yes mode).

    Yes: boolean

    Non-interactive mode — auto-selects latest version and skips confirmation prompts.