#!/usr/bin/env bun /** * safety-guard hook — blocks dangerous commands and content patterns. * * Single-channel plugin hook: the logic lives in `safetyGuardHandler` * (a typed HookImplementation contributed by @rig/guard-plugin). The * self-exec guard at the bottom keeps the standalone per-run binary and * the seed's basename-role dispatch working by running the same handler * through @rig/core/hook-protocol's `runTypedHook`. */ import type { HookContext, HookResult } from "@rig/contracts"; export { SAFETY_GUARD_HOOK_ID } from "../hook-ids"; export declare function safetyGuardHandler(ctx: HookContext): Promise;