MCPcopy Create free account
hub / github.com/Noumena-Network/code / writeHighWaterMark

Function writeHighWaterMark

src/utils/tasks.ts:126–132  ·  view source on GitHub ↗
(
  taskListId: string,
  value: number,
)

Source from the content-addressed store, hash-verified

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

Callers 2

resetTaskListFunction · 0.85
deleteTaskFunction · 0.85

Calls 1

getHighWaterMarkPathFunction · 0.85

Tested by

no test coverage detected