feat: consolidate local-first mnote web runtime
This commit is contained in:
@@ -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(" | "),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user