feat: add get_single_issue_comment_by_index operation #77
Reference in New Issue
Block a user
No description provided.
Delete Branch "fdrake/gitea-mcp:comment-index"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am contributing back a feature that I am using for my own Claude Code workflow with sub agents. I use Gitea Issues to track my features and have sub agents (product owner, code architect, engineer, reviewer) add comments throughout the issue. When I need a sub agent to look at another sub agent's comment, I can't have the LLM read all comments because it is too long overall. So I use this to give them a specific comment ID to look up.
Claude Code translated the Chinese so please let me know if a better translation is required in the README files.
@@ -342,0 +367,4 @@
if !ok {
return to.ErrorResult(fmt.Errorf("commentIndex is required"))
}
comment, _, err := gitea.Client().GetIssueComment(owner, repo, int64(commentIndex))
The last param is the comment id not index. There is no index for comment.
Updated variable to correctly identify as an ID, not an index.
47ced44b2e
to50fb3bd626
@fdrake There are still several areas that need to be updated. i.e.
get_single_issue_comment_by_index
->get_single_issue_comment_by_id
.@monkeycode-ai review it
⏳ MonkeyCode-AI 正在分析,请稍等片刻...
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.