prr-kit 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prr-kit",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "AI-driven Pull Request Review Kit — structured agent workflows for thorough, consistent code review",
5
5
  "main": "tools/cli/prr-cli.js",
6
6
  "bin": {
@@ -17,8 +17,6 @@ module.exports = {
17
17
  ['--user-name <name>', 'Name for agents to use'],
18
18
  ['--communication-language <lang>', 'Language for agent communication (default: English)'],
19
19
  ['--output-folder <path>', 'Output folder relative to project root (default: _prr-output)'],
20
- ['--target-repo <path>', 'Path to git repository to review (default: .)'],
21
- ['--github-repo <owner/repo>', 'GitHub repository for posting comments (optional)'],
22
20
  ['-y, --yes', 'Accept all defaults and skip prompts'],
23
21
  ],
24
22
  action: async (options) => {
@@ -65,15 +65,6 @@ class UI {
65
65
  || (!cliOptions.yes && await this._ask('Output folder (relative to project root)?', '_prr-output'))
66
66
  || '_prr-output';
67
67
 
68
- // PRR module config
69
- const targetRepo = cliOptions.targetRepo
70
- || (!cliOptions.yes && await this._ask('Path to the git repo to review?', '.'))
71
- || '.';
72
-
73
- const githubRepo = cliOptions.githubRepo
74
- || (!cliOptions.yes && await this._ask('GitHub repo for posting comments? (owner/repo, blank to skip)', ''))
75
- || '';
76
-
77
68
  // Modules (default: prr)
78
69
  const modulesInput = cliOptions.modules
79
70
  ? parseList(cliOptions.modules)
@@ -95,6 +86,7 @@ class UI {
95
86
  label: ide.name,
96
87
  hint: ide.preferred ? 'recommended' : undefined,
97
88
  })),
89
+ initialValues: availableIdes.filter((ide) => ide.preferred).map((ide) => ide.value),
98
90
  required: false,
99
91
  });
100
92
  selectedIdes = clack.isCancel(choices) ? [] : choices;
@@ -110,8 +102,6 @@ class UI {
110
102
  userName,
111
103
  communicationLanguage,
112
104
  outputFolder,
113
- targetRepo,
114
- githubRepo,
115
105
  selectedModules: modulesInput,
116
106
  selectedIdes,
117
107
  existing,