MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / cursorHooks

Function cursorHooks

scripts/spec-init.ts:110–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108}
109
110function cursorHooks(): string {
111 const hooks = {
112 version: 1,
113 hooks: {
114 preToolUse: [
115 {
116 matcher: "Write|Edit|MultiEdit",
117 command: "bun tools/spec-loop/hooks/gate.ts"
118 }
119 ]
120 }
121 };
122
123 return JSON.stringify(hooks, null, 2) + "\n";
124}
125
126/*
127 * Merge Claude Code's settings.json instead of clobbering: a forker may

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected