docs(gui): bring the todo tool note's Chinese side along

master gave 2026-06-29-todo-write-tool a Chinese counterpart; the English
side's web-consumer sentences now translate across (in-body links keep
their .md targets per the pairing contract) and the pair is re-recorded.
The todo-panel fake gains the time/callTime fields ToolResultNode now
requires.
This commit is contained in:
Chinesezjc
2026-07-24 23:10:19 +08:00
parent 729dd3e1b7
commit 62bfc6b4fb
3 changed files with 5 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ describe('TodoPanel', () => {
})
const resultNode = (argsRaw: string, over?: Partial<ToolResultNode>): ToolResultNode => ({
kind: 'tool-result', seq: 10, callId: 'c1',
kind: 'tool-result', seq: 10, time: 2_000, callTime: 1_000, callId: 'c1',
call: { name: 'todo_write', argsRaw },
content: [], isError: false, callView: null, resultView: null, ...over,
})