repo2post - v0.1.1
    Preparing search index...

    Interface PromptInput

    Inputs to buildPrompt.

    interface PromptInput {
        changes: ChangeSet;
        description?: string;
        guidance?: string;
        includeDiff?: boolean;
        maxCommits?: number;
        maxFiles?: number;
        project?: string;
        style: StyleName;
        title?: string;
    }
    Index

    Properties

    changes: ChangeSet
    description?: string
    guidance?: string

    Optional extra guidance from the user, woven into the system prompt.

    includeDiff?: boolean

    Include the shaped diff (changes.diff) in the prompt. Default true.

    maxCommits?: number

    Soft cap on commits rendered into the prompt. Default 120.

    maxFiles?: number

    Soft cap on changed-file lines rendered. Default 60.

    project?: string

    Optional project name to anchor the writing.

    style: StyleName
    title?: string

    Optional PR title/description when the source is a pull request.