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