Uses of Record Class
io.github.jbastgen.stemma.app.ai.CoworkPrompts.Prompt
Packages that use CoworkPrompts.Prompt
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.
Modal dialogs and overlays: the form dialog, information dialogs, the repository creation dialog, the Git Flow wizard, the
merge tool and the interactive rebase.
-
Uses of CoworkPrompts.Prompt in io.github.jbastgen.stemma.app.ai
Methods in io.github.jbastgen.stemma.app.ai that return types with arguments of type CoworkPrompts.PromptModifier and TypeMethodDescriptionstatic List<CoworkPrompts.Prompt> The ready-made prompts that are not hidden and then the user's own, in the order they are shown.static List<CoworkPrompts.Prompt> CoworkPrompts.builtIn()The ready-made prompts, by category.static List<CoworkPrompts.Prompt> The prompts of the library that are favourites, in the order they are shown.static List<CoworkPrompts.Prompt> The prompts the user wrote.Methods in io.github.jbastgen.stemma.app.ai with parameters of type CoworkPrompts.PromptModifier and TypeMethodDescriptionstatic voidCoworkPrompts.override(Path file, CoworkPrompts.Prompt builtIn, String category, String title, String text) Replaces a ready-made prompt by an edited copy of one's own, in the given category: the original is hidden.static voidCoworkPrompts.override(Path file, CoworkPrompts.Prompt builtIn, String category, String title, String text, Boolean favorite) Replaces a built-in prompt by an edited copy: the copy is added and the original hidden.static voidCoworkPrompts.setFavorite(Path file, CoworkPrompts.Prompt p, boolean favorite) Makes a prompt of the library a favourite or not. -
Uses of CoworkPrompts.Prompt in io.github.jbastgen.stemma.app.ui.dialog
Methods in io.github.jbastgen.stemma.app.ui.dialog with parameters of type CoworkPrompts.PromptModifier and TypeMethodDescriptionvoidPromptActions.editPrompt(CoworkPrompts.Prompt p) A form to change a prompt.voidPromptActions.removePrompt(CoworkPrompts.Prompt p) Asks, then deletes one of the user's own prompts, or hides a ready-made one.voidPromptActions.setFavorite(CoworkPrompts.Prompt p, boolean favorite) Marks the prompt as a favourite or not.Constructor parameters in io.github.jbastgen.stemma.app.ui.dialog with type arguments of type CoworkPrompts.PromptModifierConstructorDescriptionPromptManagerDialog(PromptActions actions, Path file, Runnable close, Consumer<CoworkPrompts.Prompt> onPick)