Class CoworkContext

java.lang.Object
io.github.jbastgen.stemma.app.ai.CoworkContext

public final class CoworkContext extends Object
Puts data of the repository into a prompt of the Cowork view. Only what a prompt asks for by name is added: {repo}, {branch}, {tags}, {commits} (short id, subject, date and labels, never the author or the changes), {changes} (status and path of the changed files, never their content; files that match the privacy patterns are left out) and {committers} (the number of commits per person). A prompt without these words sends nothing but the repository's name and the branch.