Skip to content

Commit 91e8fc0

Browse files
authored
feat: add PR conversation support and improve fork repository handling (#344)
* feat: add PR conversation support and improve fork repository handling - Add @qiniu-ci mention command support for PR conversations - Implement PR comment reply functionality with enhanced context - Improve fork repository PR handling by using base branch for cloning - Rename CommandClaude to CommandMention for better clarity - Update container image version to v0.5.1 - Add better error logging for git commands * refactor: improve logging and context handling in GitHub client * fix: properly retrieve full PR info when processing PR comments - Use GitHub API to get complete PR object instead of creating temporary PR - Add proper error handling for PR retrieval - Add logging for PR head and base branch info - Add note about potential duplicate event handling for PR review comments * refactor: remove DefaultPromptGenerator and update TagHandler to use TemplatePromptGenerator * refactor: remove MCP comment reply logic in favor of Claude automatic handling * feat: add trigger_comment metadata to prompt building * feat: add MCP-based reply functionality for issue comments
1 parent 7fed2b2 commit 91e8fc0

File tree

9 files changed

+279
-351
lines changed

9 files changed

+279
-351
lines changed

cmd/server/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ workspace:
1919

2020
claude:
2121
# api_key: 通过 --claude-api-key 参数或 CLAUDE_API_KEY 环境变量设置
22-
container_image: "goplusorg/codeagent:v0.5"
22+
container_image: "goplusorg/codeagent:v0.5.1"
2323
timeout: "30m"
2424
interactive: false
2525

2626
gemini:
27-
container_image: "goplusorg/codeagent:v0.5"
27+
container_image: "goplusorg/codeagent:v0.5.1"
2828
timeout: "30m"
2929

3030
review:

internal/context/generator.go

Lines changed: 0 additions & 284 deletions
This file was deleted.

0 commit comments

Comments
 (0)