feat: implement AI-assisted rename prompting feature
- Added data model for AI-assisted renaming including structures for prompts, responses, and policies. - Created implementation plan detailing the integration of Google Genkit into the CLI for renaming tasks. - Developed quickstart guide for setting up and using the new AI rename functionality. - Documented research decisions regarding Genkit orchestration and prompt composition. - Established tasks for phased implementation, including setup, foundational work, and user stories. - Implemented contract tests to ensure AI rename policies and ledger metadata are correctly applied. - Developed integration tests for validating AI rename flows, including preview, apply, and undo functionalities. - Added tooling to pin Genkit dependency for consistent builds.
This commit is contained in:
@@ -15,8 +15,9 @@ var rootCmd = &cobra.Command{
|
||||
Use: "renamer",
|
||||
Short: "Safe, scriptable batch renaming utility",
|
||||
Long: `Renamer provides preview-first, undoable rename operations for files and directories.
|
||||
Use subcommands like "preview", "rename", and "list" with shared scope flags to target exactly
|
||||
the paths you intend to change.`,
|
||||
Use subcommands like "list", "replace", "ai", and "undo" with shared scope flags to target
|
||||
the paths you intend to change. Each command supports --dry-run previews and ledger-backed undo
|
||||
workflows so you can safely iterate before applying changes.`,
|
||||
}
|
||||
|
||||
// Execute adds all child commands to the root command and sets flags appropriately.
|
||||
@@ -52,6 +53,7 @@ func NewRootCommand() *cobra.Command {
|
||||
cmd.AddCommand(newRegexCommand())
|
||||
cmd.AddCommand(newSequenceCommand())
|
||||
cmd.AddCommand(newUndoCommand())
|
||||
cmd.AddCommand(newAICommand())
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user