job51-gitlab-cr-node-jt-1 2.0.5 → 2.0.7

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.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -197,8 +197,10 @@ class GitLabCodeReviewer {
197
197
  async reviewDiffWithClaudeUsingFile(filePath) {
198
198
  debugLog(`开始审核文件: ${filePath}`);
199
199
 
200
- const prompt = '请审核如下代码变更,严格按照SKILL.md中规定的格式输出,文件:' + `${filePath}`;
200
+ const prompt = `使用 simple-code-review 技能审核代码变更。
201
+ 文件路径:${filePath}
201
202
 
203
+ 请严格按照 .claude/skills/simple-code-review/SKILL.md 中定义的报告格式输出,必须以 <REPORT> 开始,以 </REPORT> 结束。`;
202
204
  //打印
203
205
  debugLog(`Claude命令: ${prompt}`);
204
206
  // 最多重试5次,直到结果包含"🤖 AI代码审查结果"或达到最大重试次数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job51-gitlab-cr-node-jt-1",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "GitLab merge request code review tool with AI-powered analysis",
5
5
  "main": "index.js",
6
6
  "bin": {