@kintsugi-ai/hook
v0.2.2
Published
Agent hook script for Kintsugi visual regression checks
Readme
@kintsugi-ai/hook
Turn-end Stop hook for Kintsugi, the visual UX regression guard for AI coding agents.
Registered by npx @kintsugi-ai/cli init into Claude Code (.claude/settings.json)
and Codex CLI (.codex/hooks.json) as:
npx -y @kintsugi-ai/hook --event stopAt the end of every agent turn it replays all recorded flows, compares them against
baselines, and — when a flow is broken — blocks the stop with actionable fix feedback
in each agent's native protocol (decision: block/continue JSON on stdout, or
exit 2 + stderr for Codex). Escalations feed the VS Code split view.
You normally never install this package directly; the CLI registers it for you.
