( taskListId: string, value: number, )
| 123 | } |
| 124 | |
| 125 | async function writeHighWaterMark( |
| 126 | taskListId: string, |
| 127 | value: number, |
| 128 | ): Promise<void> { |
| 129 | const path = getHighWaterMarkPath(taskListId) |
| 130 | await writeFile(path, String(value)) |
| 131 | } |
| 132 | |
| 133 | export function isTodoV2Enabled(): boolean { |
| 134 | // Force-enable tasks in non-interactive mode (e.g. SDK users who want Task tools over TodoWrite) |
no test coverage detected