mise API - v0.0.0
    Preparing search index...

    Interface PromptRequest

    A request to prompt the user for a line of input.

    wants is what the question is asking FOR, so a surface can choose the instrument that answers it — a browser to walk for a location, a masked field for a secret, two capsules for a yes/no — rather than reading the wording and guessing. A terminal ignores all of it and reads a line, which is why every field beyond message is optional.

    interface PromptRequest {
        commit?: string;
        hidden?: boolean;
        message: string;
        path?: { anchor?: string; suggest?: string; wantsDirectory: boolean };
        wants?: "path" | "confirm" | "text" | "secret";
    }
    Index
    commit?: string

    The word the committing control should read.

    hidden?: boolean

    When true, the entered text is not echoed; requires the hiddenInput capability. Kept beside wants because it is what an older surface reads.

    message: string

    The prompt text to display.

    path?: { anchor?: string; suggest?: string; wantsDirectory: boolean }

    Where browsing starts and what to compose, for a path.

    wants?: "path" | "confirm" | "text" | "secret"

    The kind of value that answers this.