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

Function parseHookInput

continual-learning/hooks/continual-learning-stop.ts:141–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141async function parseHookInput<T>(): Promise<T> {
142 const text = await stdin.text();
143 return JSON.parse(text) as T;
144}
145
146async function main(): Promise<number> {
147 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected