MCPcopy Create free account
hub / github.com/cursor/plugins / shouldCountTurn

Function shouldCountTurn

continual-learning/hooks/continual-learning-stop.ts:137–139  ·  view source on GitHub ↗
(input: StopHookInput)

Source from the content-addressed store, hash-verified

135}
136
137function shouldCountTurn(input: StopHookInput): boolean {
138 return input.status === "completed" && input.loop_count === 0;
139}
140
141async function parseHookInput<T>(): Promise<T> {
142 const text = await stdin.text();

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected