bitbucket-gemini-action 1.0.9 → 1.0.10
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
|
@@ -2462,7 +2462,7 @@ ${presetPrompt}`;
|
|
|
2462
2462
|
// src/gemini/tools.ts
|
|
2463
2463
|
var createInlineCommentTool = {
|
|
2464
2464
|
name: "create_inline_comment",
|
|
2465
|
-
description: "Create an inline comment on a specific line of code in the pull request. Use this
|
|
2465
|
+
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.",
|
|
2466
2466
|
parameters: {
|
|
2467
2467
|
type: "object",
|
|
2468
2468
|
properties: {
|
|
@@ -2472,11 +2472,11 @@ var createInlineCommentTool = {
|
|
|
2472
2472
|
},
|
|
2473
2473
|
line: {
|
|
2474
2474
|
type: "number",
|
|
2475
|
-
description: "The line number to comment on (
|
|
2475
|
+
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."
|
|
2476
2476
|
},
|
|
2477
2477
|
content: {
|
|
2478
2478
|
type: "string",
|
|
2479
|
-
description: "The comment content in markdown format. Be specific and actionable."
|
|
2479
|
+
description: "The comment content in markdown format. Be specific and actionable. Write in Korean."
|
|
2480
2480
|
}
|
|
2481
2481
|
},
|
|
2482
2482
|
required: ["path", "line", "content"]
|
|
@@ -3562,7 +3562,7 @@ ${presetPrompt}`;
|
|
|
3562
3562
|
// src/gemini/tools.ts
|
|
3563
3563
|
var createInlineCommentTool = {
|
|
3564
3564
|
name: "create_inline_comment",
|
|
3565
|
-
description: "Create an inline comment on a specific line of code in the pull request. Use this
|
|
3565
|
+
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.",
|
|
3566
3566
|
parameters: {
|
|
3567
3567
|
type: "object",
|
|
3568
3568
|
properties: {
|
|
@@ -3572,11 +3572,11 @@ var createInlineCommentTool = {
|
|
|
3572
3572
|
},
|
|
3573
3573
|
line: {
|
|
3574
3574
|
type: "number",
|
|
3575
|
-
description: "The line number to comment on (
|
|
3575
|
+
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."
|
|
3576
3576
|
},
|
|
3577
3577
|
content: {
|
|
3578
3578
|
type: "string",
|
|
3579
|
-
description: "The comment content in markdown format. Be specific and actionable."
|
|
3579
|
+
description: "The comment content in markdown format. Be specific and actionable. Write in Korean."
|
|
3580
3580
|
}
|
|
3581
3581
|
},
|
|
3582
3582
|
required: ["path", "line", "content"]
|
|
@@ -2461,7 +2461,7 @@ ${presetPrompt}`;
|
|
|
2461
2461
|
// src/gemini/tools.ts
|
|
2462
2462
|
var createInlineCommentTool = {
|
|
2463
2463
|
name: "create_inline_comment",
|
|
2464
|
-
description: "Create an inline comment on a specific line of code in the pull request. Use this
|
|
2464
|
+
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
2465
|
parameters: {
|
|
2466
2466
|
type: "object",
|
|
2467
2467
|
properties: {
|
|
@@ -2471,11 +2471,11 @@ var createInlineCommentTool = {
|
|
|
2471
2471
|
},
|
|
2472
2472
|
line: {
|
|
2473
2473
|
type: "number",
|
|
2474
|
-
description: "The line number to comment on (
|
|
2474
|
+
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
2475
|
},
|
|
2476
2476
|
content: {
|
|
2477
2477
|
type: "string",
|
|
2478
|
-
description: "The comment content in markdown format. Be specific and actionable."
|
|
2478
|
+
description: "The comment content in markdown format. Be specific and actionable. Write in Korean."
|
|
2479
2479
|
}
|
|
2480
2480
|
},
|
|
2481
2481
|
required: ["path", "line", "content"]
|