feat: support MCP elicitation and rebuild release

This commit is contained in:
shiyue
2026-08-24 17:39:41 +08:00
parent dd233a40e8
commit bd20a79d4b
69 changed files with 8978 additions and 13 deletions

View File

@@ -0,0 +1,19 @@
[
{
"name": "push-event",
"headers": {"x-gitea-event": "push", "x-gitea-delivery": "delivery-push-001"},
"payload": {"repository": {"owner": "acme", "name": "widget"}, "sender": {"login": "alice"}},
"expected": {"accepted": false, "reason": "unsupported_event"}
},
{
"name": "comment-without-mention",
"headers": {"x-gitea-event": "issue_comment", "x-gitea-delivery": "delivery-no-mention-001"},
"payload": {
"repository": {"owner": "acme", "name": "widget"},
"issue": {"number": 42, "pull_request": false},
"comment": {"id": 404, "body": "请看看这个问题", "user": {"login": "alice"}},
"sender": {"login": "alice", "is_bot": false}
},
"expected": {"accepted": false, "reason": "missing_mention"}
}
]