fix(canvas): 画布版本 - 合并 PR #528 防止旧内容覆盖并支持历史恢复
将画布 revision CAS 与历史快照接到 schema v23,保留当前顶栏积分弹窗和已有菜单入口。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
aae7b15ccc
69 files changed
+3571
-293
No files matched your search
@@ -539,7 +539,7 @@ func saveCloudAgentDocument(repo *repository.Repository, canvas *model.CanvasPro
|
||||
}
|
||||
before := canvas.PayloadJSON
|
||||
canvas.PayloadJSON = string(raw)
|
||||
return repo.CompareSaveCreationCanvas(canvas, before)
|
||||
return saveCreationCanvasWithHistory(repo, canvas, before)
|
||||
}
|
||||
|
||||
// Called inside the same transaction as the task, charge reservation and Agent checkpoint.
|
||||
|
||||
Reference in new issue
Block a user