You've already forked agentic-coding-workflow
bugfix
This commit is contained in:
@@ -131,3 +131,10 @@ type commitLogResp struct {
|
||||
func toCommitLogResp(c git.Commit) commitLogResp {
|
||||
return commitLogResp{Hash: c.Hash, Author: c.Author, Email: c.Email, Date: c.Date, Subject: c.Subject}
|
||||
}
|
||||
|
||||
// diffResp 是 GET /diff 的响应体:原始 unified-diff 文本 + 截断标志。
|
||||
// 不在后端解析 hunk,由前端 DiffViewer 负责。
|
||||
type diffResp struct {
|
||||
Diff string `json:"diff"`
|
||||
Truncated bool `json:"truncated"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user