feat: consolidate local-first mnote web runtime

This commit is contained in:
lix-2026
2026-05-28 22:01:44 +08:00
parent 7354807ee9
commit 39b9a0183a
154 changed files with 13591 additions and 12728 deletions
+2 -2
View File
@@ -169,7 +169,7 @@ async function main() {
details: `收到 ${receivedDeltas.length} 条 delta 事件`,
});
// ── 6. 验证编辑器内容已更新(通过回读 Convex ──
// ── 6. 验证编辑器内容已更新(通过 runtime 回读) ──
const readbackRes = await callTool(request, {
toolName: "mnote.doc.fetch",
workspaceId: target.workspaceId,
@@ -185,7 +185,7 @@ async function main() {
const finalBlocks = readbackRes.body?.blockDocument?.blocks || [];
const hasReplaced = finalBlocks.some((b) => b.text?.includes("段落B已替换"));
report.checks.push({
name: "Convex 回读确认替换成功",
name: "runtime 回读确认替换成功",
passed: hasReplaced,
details: finalBlocks.map((b) => b.text).join(" | "),
});