Uses of Record Class
io.github.jbastgen.stemma.app.ai.CommitData
Packages that use CommitData
Package
Description
Everything that uses an AI service or prepares text for one: providers, prompts, the Cowork prompt library and export, the
proposals for changelogs, merge resolutions and translated messages, and the cache of commit summaries.
Application services between the UI and the
git-api: loading repositories as snapshots, running operations one at a
time per repository, watching and fetching, plus the pure logic around git data (merge sessions, discard plans, line
selection, release ranges, statistics, ignore files, remote URLs, message templates).Commit labels: the label definitions and assignments, suggestions from branch names and files, and estimating labels for
many commits at once.
-
Uses of CommitData in io.github.jbastgen.stemma.app.ai
Methods in io.github.jbastgen.stemma.app.ai that return types with arguments of type CommitDataModifier and TypeMethodDescriptionstatic List<CommitData> CommitDataLoader.load(io.github.jbastgen.stemma.git.api.GitRepository repo, List<String> commitIds, AiConfig config) Reads what the AI is told about the commits: message, author and changed files with their line counts.Method parameters in io.github.jbastgen.stemma.app.ai with type arguments of type CommitDataModifier and TypeMethodDescriptionstatic StringCommitSummary.buildPrompt(String template, String repo, String branch, List<CommitData> commits, AiConfig config) Fills the template.static StringCommitSummary.buildPrompt(String template, String repo, String branch, List<CommitData> commits, AiConfig config, String language) As above;languageis the English name of the language the answer is written in ({language}of the template; empty = the language of the commit messages).CommitSummarizer.describe(String repo, String branch, List<CommitData> data) Builds the prompt fromdata, asks, reads the answer and remembers it.AsCommitSummarizer.describe(String, String, List); a local tool runs inrepository, the repository's folder. -
Uses of CommitData in io.github.jbastgen.stemma.app.git
Methods in io.github.jbastgen.stemma.app.git that return types with arguments of type CommitDataModifier and TypeMethodDescriptionRealRepoController.loadCommitData(List<String> ids) Reads message and changes of the commits for a description (off the JavaFX thread). -
Uses of CommitData in io.github.jbastgen.stemma.app.label
Methods in io.github.jbastgen.stemma.app.label that return CommitDataModifier and TypeMethodDescriptionReads what the AI is told about a commit.Methods in io.github.jbastgen.stemma.app.label with parameters of type CommitDataModifier and TypeMethodDescriptionstatic StringLabelEstimator.buildPrompt(String template, String repo, String branch, CommitData commit, List<LabelIndex.LabelDef> labels, AiConfig config) Fills the template for one commit:{labels}with the configured labels, and (as for the description of a commit){repo},{branch},{commits}and{diff}.Constructor parameters in io.github.jbastgen.stemma.app.label with type arguments of type CommitDataModifierConstructorDescriptionJob(LabelEstimator.Loader loader, Function<CommitData, String> promptFor, LabelEstimator.Asker asker, List<LabelIndex.LabelDef> labels, LabelEstimator.Sink sink)