You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMPORTANT: For this inline PR review comment, you have been provided with ONLY the mcp__gitea__update_pull_request_comment tool to update this specific review comment.
602
-
603
-
Tool usage example for mcp__gitea__update_pull_request_comment:
604
-
{
605
-
"body": "Your comment text here"
606
-
}
607
-
All four parameters (owner, repo, commentId, body) are required.
608
-
</comment_tool_info>`
609
-
: `<comment_tool_info>
604
+
${`<comment_tool_info>
610
605
IMPORTANT: For this event type, you have been provided with ONLY the mcp__gitea__update_issue_comment tool to update comments.
611
606
612
607
Tool usage example for mcp__gitea__update_issue_comment:
@@ -617,8 +612,7 @@ Tool usage example for mcp__gitea__update_issue_comment:
617
612
"body": "Your comment text here"
618
613
}
619
614
All four parameters (owner, repo, commentId, body) are required.
620
-
</comment_tool_info>`
621
-
}
615
+
</comment_tool_info>`}
622
616
623
617
Your task is to analyze the context, understand the request, and provide helpful responses and/or implement code changes as needed.
624
618
@@ -632,7 +626,7 @@ Follow these steps:
632
626
1. Create a Todo List:
633
627
- Use your Gitea comment to maintain a detailed task list based on the request.
634
628
- Format todos as a checklist (- [ ] for incomplete, - [x] for complete).
635
-
- Update the comment using ${eventData.eventName==="pull_request_review_comment" ? "mcp__gitea__update_pull_request_comment" : "mcp__gitea__update_issue_comment"} with each task completion.
629
+
- Update the comment using mcp__gitea__update_issue_comment with each task completion.
636
630
637
631
2. Gather Context:
638
632
- Analyze the pre-fetched data provided above.
@@ -738,8 +732,8 @@ ${!eventData.isPR || !eventData.claudeBranch ? `6. Final Update:` : `5. Final Up
738
732
739
733
Important Notes:
740
734
- All communication must happen through Gitea PR comments.
741
-
- Never create new comments. Only update the existing comment using ${eventData.eventName==="pull_request_review_comment" ? "mcp__gitea__update_pull_request_comment" : "mcp__gitea__update_issue_comment"} with comment_id: ${context.claudeCommentId}.
742
-
- This includes ALL responses: code reviews, answers to questions, progress updates, and final results.${eventData.isPR ? "\n- PR CRITICAL: After reading files and forming your response, you MUST post it by calling mcp__gitea__update_issue_comment. Do NOT just respond with a normal response, the user will not see it." : ""}
735
+
- Never create new comments. Only update the existing comment using mcp__gitea__update_issue_comment with comment_id: ${context.claudeCommentId}.
736
+
- This includes ALL responses: code reviews, answers to questions, progress updates, and final results.${eventData.isPR ? `\n- PR CRITICAL: After reading files and forming your response, you MUST post it by calling mcp__gitea__update_issue_comment. Do NOT just respond with a normal response, the user will not see it.` : ""}
743
737
- You communicate exclusively by editing your single comment - not through any other means.
744
738
- Use this spinner HTML when work is in progress: <img src="https://raw.githubusercontent.com/markwylde/claude-code-gitea-action/refs/heads/gitea/assets/spinner.gif" width="14px" height="14px" style="vertical-align: middle; margin-left: 4px;" />
745
739
${eventData.isPR&&!eventData.claudeBranch ? `- Always push to the existing branch when triggered on a PR.` : eventData.claudeBranch ? `- IMPORTANT: You are already on the correct branch (${eventData.claudeBranch}). Do not create additional branches.` : `- IMPORTANT: You are currently on the base branch (${eventData.baseBranch}). First check for existing claude branches for this ${eventData.isPR ? "PR" : "issue"} and use them if found, otherwise create a new branch using mcp__local_git_ops__create_branch.`}
@@ -750,8 +744,8 @@ ${eventData.isPR && !eventData.claudeBranch ? `- Always push to the existing bra
- Display the todo list as a checklist in the Gitea comment and mark things off as you go.
752
746
- All communication must happen through Gitea PR comments.
753
-
- Never create new comments. Only update the existing comment using ${eventData.eventName==="pull_request_review_comment" ? "mcp__gitea__update_pull_request_comment" : "mcp__gitea__update_issue_comment"}.
754
-
- This includes ALL responses: code reviews, answers to questions, progress updates, and final results.${eventData.isPR ? "\n- PR CRITICAL: After reading files and forming your response, you MUST post it by calling mcp__gitea__update_issue_comment. Do NOT just respond with a normal response, the user will not see it." : ""}
747
+
- Never create new comments. Only update the existing comment using mcp__gitea__update_issue_comment.
748
+
- This includes ALL responses: code reviews, answers to questions, progress updates, and final results.${eventData.isPR ? `\n- PR CRITICAL: After reading files and forming your response, you MUST post it by calling mcp__gitea__update_issue_comment. Do NOT just respond with a normal response, the user will not see it.` : ""}
755
749
- You communicate exclusively by editing your single comment - not through any other means.
756
750
- Use this spinner HTML when work is in progress: <img src="https://github.com/user-attachments/assets/5ac382c7-e004-429b-8e35-7feb3e8f9c6f" width="14px" height="14px" style="vertical-align: middle; margin-left: 4px;" />
757
751
${eventData.isPR&&!eventData.claudeBranch ? `- Always push to the existing branch when triggered on a PR.` : `- IMPORTANT: You are already on the correct branch (${eventData.claudeBranch||"the created branch"}). Never create new branches when triggered on issues or closed/merged PRs.`}
0 commit comments