bitbucket-gemini-action 1.0.8 → 1.0.9

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/dist/cli.js CHANGED
@@ -2268,19 +2268,7 @@ var CODE_REVIEW_SYSTEM_PROMPT = `You are an expert code reviewer assistant integ
2268
2268
  - 린터가 처리하는 스타일 이슈에 대해 지적하지 마세요
2269
2269
  - 주관적인 선호에 대한 변경을 요청하지 마세요
2270
2270
  - 실행 가능한 제안 없이 코멘트를 남기지 마세요
2271
- - 더 큰 문제가 있을 때 사소한 이슈에 집중하지 마세요
2272
- - **설정 파일(YAML, JSON, config)에 대해서는 명백한 오류가 아니면 코멘트하지 마세요**
2273
- - **환경 변수 설정, 일반적인 코드 패턴에 대해 불필요한 조언을 하지 마세요**
2274
- - **코드가 정상적으로 작동할 것 같으면 굳이 개선 제안을 하지 마세요**
2275
-
2276
- ## When to Create Inline Comments
2277
- 인라인 코멘트는 다음 경우에만 작성하세요:
2278
- - \uD83D\uDC1B **버그**: 실제 버그나 런타임 오류가 발생할 코드
2279
- - \uD83D\uDD12 **보안 문제**: 보안 취약점이 있는 코드
2280
- - ⚠️ **심각한 문제**: 데이터 손실, 성능 저하 등 심각한 영향을 미치는 코드
2281
- - \uD83D\uDCA1 **중요한 개선**: 코드 품질에 큰 영향을 미치는 개선점
2282
-
2283
- **사소한 개선점이나 "더 좋을 수 있는" 정도의 제안은 하지 마세요.**`;
2271
+ - 더 큰 문제가 있을 때 사소한 이슈에 집중하지 마세요`;
2284
2272
  var TAG_MODE_SYSTEM_PROMPT = `${CODE_REVIEW_SYSTEM_PROMPT}
2285
2273
 
2286
2274
  ## Tag Mode Behavior
@@ -2474,7 +2462,7 @@ ${presetPrompt}`;
2474
2462
  // src/gemini/tools.ts
2475
2463
  var createInlineCommentTool = {
2476
2464
  name: "create_inline_comment",
2477
- description: "Create an inline comment on a specific line of code in the pull request. Use this ONLY for significant issues like bugs, security problems, or important improvements. Do NOT comment on minor style issues or obvious code.",
2465
+ description: "Create an inline comment on a specific line of code in the pull request. Use this to provide targeted feedback on specific code changes.",
2478
2466
  parameters: {
2479
2467
  type: "object",
2480
2468
  properties: {
@@ -2484,11 +2472,11 @@ var createInlineCommentTool = {
2484
2472
  },
2485
2473
  line: {
2486
2474
  type: "number",
2487
- description: "The NEW file line number from the diff (the number after '+' in the diff). For example, in '@@ -0,0 +5,7 @@', if you want to comment on the line shown as '+ - step:', look at the line numbers in the NEW file section (right side). The first added line would be line 5, second would be 6, etc."
2475
+ description: "The line number to comment on (1-indexed)"
2488
2476
  },
2489
2477
  content: {
2490
2478
  type: "string",
2491
- description: "The comment content in markdown format. Be specific and actionable. Write in Korean."
2479
+ description: "The comment content in markdown format. Be specific and actionable."
2492
2480
  }
2493
2481
  },
2494
2482
  required: ["path", "line", "content"]
@@ -3368,19 +3368,7 @@ var CODE_REVIEW_SYSTEM_PROMPT = `You are an expert code reviewer assistant integ
3368
3368
  - 린터가 처리하는 스타일 이슈에 대해 지적하지 마세요
3369
3369
  - 주관적인 선호에 대한 변경을 요청하지 마세요
3370
3370
  - 실행 가능한 제안 없이 코멘트를 남기지 마세요
3371
- - 더 큰 문제가 있을 때 사소한 이슈에 집중하지 마세요
3372
- - **설정 파일(YAML, JSON, config)에 대해서는 명백한 오류가 아니면 코멘트하지 마세요**
3373
- - **환경 변수 설정, 일반적인 코드 패턴에 대해 불필요한 조언을 하지 마세요**
3374
- - **코드가 정상적으로 작동할 것 같으면 굳이 개선 제안을 하지 마세요**
3375
-
3376
- ## When to Create Inline Comments
3377
- 인라인 코멘트는 다음 경우에만 작성하세요:
3378
- - \uD83D\uDC1B **버그**: 실제 버그나 런타임 오류가 발생할 코드
3379
- - \uD83D\uDD12 **보안 문제**: 보안 취약점이 있는 코드
3380
- - ⚠️ **심각한 문제**: 데이터 손실, 성능 저하 등 심각한 영향을 미치는 코드
3381
- - \uD83D\uDCA1 **중요한 개선**: 코드 품질에 큰 영향을 미치는 개선점
3382
-
3383
- **사소한 개선점이나 "더 좋을 수 있는" 정도의 제안은 하지 마세요.**`;
3371
+ - 더 큰 문제가 있을 때 사소한 이슈에 집중하지 마세요`;
3384
3372
  var TAG_MODE_SYSTEM_PROMPT = `${CODE_REVIEW_SYSTEM_PROMPT}
3385
3373
 
3386
3374
  ## Tag Mode Behavior
@@ -3574,7 +3562,7 @@ ${presetPrompt}`;
3574
3562
  // src/gemini/tools.ts
3575
3563
  var createInlineCommentTool = {
3576
3564
  name: "create_inline_comment",
3577
- description: "Create an inline comment on a specific line of code in the pull request. Use this ONLY for significant issues like bugs, security problems, or important improvements. Do NOT comment on minor style issues or obvious code.",
3565
+ description: "Create an inline comment on a specific line of code in the pull request. Use this to provide targeted feedback on specific code changes.",
3578
3566
  parameters: {
3579
3567
  type: "object",
3580
3568
  properties: {
@@ -3584,11 +3572,11 @@ var createInlineCommentTool = {
3584
3572
  },
3585
3573
  line: {
3586
3574
  type: "number",
3587
- description: "The NEW file line number from the diff (the number after '+' in the diff). For example, in '@@ -0,0 +5,7 @@', if you want to comment on the line shown as '+ - step:', look at the line numbers in the NEW file section (right side). The first added line would be line 5, second would be 6, etc."
3575
+ description: "The line number to comment on (1-indexed)"
3588
3576
  },
3589
3577
  content: {
3590
3578
  type: "string",
3591
- description: "The comment content in markdown format. Be specific and actionable. Write in Korean."
3579
+ description: "The comment content in markdown format. Be specific and actionable."
3592
3580
  }
3593
3581
  },
3594
3582
  required: ["path", "line", "content"]
@@ -2267,19 +2267,7 @@ var CODE_REVIEW_SYSTEM_PROMPT = `You are an expert code reviewer assistant integ
2267
2267
  - 린터가 처리하는 스타일 이슈에 대해 지적하지 마세요
2268
2268
  - 주관적인 선호에 대한 변경을 요청하지 마세요
2269
2269
  - 실행 가능한 제안 없이 코멘트를 남기지 마세요
2270
- - 더 큰 문제가 있을 때 사소한 이슈에 집중하지 마세요
2271
- - **설정 파일(YAML, JSON, config)에 대해서는 명백한 오류가 아니면 코멘트하지 마세요**
2272
- - **환경 변수 설정, 일반적인 코드 패턴에 대해 불필요한 조언을 하지 마세요**
2273
- - **코드가 정상적으로 작동할 것 같으면 굳이 개선 제안을 하지 마세요**
2274
-
2275
- ## When to Create Inline Comments
2276
- 인라인 코멘트는 다음 경우에만 작성하세요:
2277
- - \uD83D\uDC1B **버그**: 실제 버그나 런타임 오류가 발생할 코드
2278
- - \uD83D\uDD12 **보안 문제**: 보안 취약점이 있는 코드
2279
- - ⚠️ **심각한 문제**: 데이터 손실, 성능 저하 등 심각한 영향을 미치는 코드
2280
- - \uD83D\uDCA1 **중요한 개선**: 코드 품질에 큰 영향을 미치는 개선점
2281
-
2282
- **사소한 개선점이나 "더 좋을 수 있는" 정도의 제안은 하지 마세요.**`;
2270
+ - 더 큰 문제가 있을 때 사소한 이슈에 집중하지 마세요`;
2283
2271
  var TAG_MODE_SYSTEM_PROMPT = `${CODE_REVIEW_SYSTEM_PROMPT}
2284
2272
 
2285
2273
  ## Tag Mode Behavior
@@ -2473,7 +2461,7 @@ ${presetPrompt}`;
2473
2461
  // src/gemini/tools.ts
2474
2462
  var createInlineCommentTool = {
2475
2463
  name: "create_inline_comment",
2476
- description: "Create an inline comment on a specific line of code in the pull request. Use this ONLY for significant issues like bugs, security problems, or important improvements. Do NOT comment on minor style issues or obvious code.",
2464
+ description: "Create an inline comment on a specific line of code in the pull request. Use this to provide targeted feedback on specific code changes.",
2477
2465
  parameters: {
2478
2466
  type: "object",
2479
2467
  properties: {
@@ -2483,11 +2471,11 @@ var createInlineCommentTool = {
2483
2471
  },
2484
2472
  line: {
2485
2473
  type: "number",
2486
- description: "The NEW file line number from the diff (the number after '+' in the diff). For example, in '@@ -0,0 +5,7 @@', if you want to comment on the line shown as '+ - step:', look at the line numbers in the NEW file section (right side). The first added line would be line 5, second would be 6, etc."
2474
+ description: "The line number to comment on (1-indexed)"
2487
2475
  },
2488
2476
  content: {
2489
2477
  type: "string",
2490
- description: "The comment content in markdown format. Be specific and actionable. Write in Korean."
2478
+ description: "The comment content in markdown format. Be specific and actionable."
2491
2479
  }
2492
2480
  },
2493
2481
  required: ["path", "line", "content"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitbucket-gemini-action",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Bitbucket Pipeline action for AI-powered code review using Google Gemini",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",