pai
    Preparing search index...

    Type Alias SetupPlan

    What planSetup works out, for applySetup to write.

    type SetupPlan = {
        agents: SetupResult["agents"];
        files: SetupFile[];
        mcp: SetupAgent[];
        notes: string[];
        runs: { agent: SetupAgent; args: string[]; cmd: string }[];
        skipped: { agent: SetupAgent | "shell"; reason: string }[];
    }
    Index

    One entry per agent, as SetupResult reports it.

    files: SetupFile[]

    The files to change.

    mcp: SetupAgent[]

    Agents whose MCP server is added, by a command or a file.

    notes: string[]

    Things to tell the user.

    runs: { agent: SetupAgent; args: string[]; cmd: string }[]

    Commands that add an MCP server, for agents whose CLI adds them.

    Type Declaration

    • agent: SetupAgent

      The agent.

    • args: string[]

      Its arguments.

    • cmd: string

      The program.

    skipped: { agent: SetupAgent | "shell"; reason: string }[]

    What was left out, and why.

    Type Declaration

    • agent: SetupAgent | "shell"

      The agent, or shell for the startup file.

    • reason: string

      Why.