Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

264 B
Raw Blame
// Emit a PreToolUse "block" decision on stdout — the channel Claude Code reads to
// deny a tool call while surfacing `reason` to the agent.
export function decisionBlock(reason) {
  process.stdout.write(JSON.stringify({ decision: "block", reason }) + "\n");
}