From 84e01eb8e80b1d5647bce6a8b7fd2780ec186246 Mon Sep 17 00:00:00 2001 From: zhangxiang Date: Sun, 20 Sep 2026 09:18:29 +0800 Subject: [PATCH] =?UTF-8?q?chore(codex):=20=E6=96=B0=E5=A2=9E=20.codex/hoo?= =?UTF-8?q?ks.json=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .codex/hooks.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .codex/hooks.json diff --git a/.codex/hooks.json b/.codex/hooks.json new file mode 100644 index 0000000..a565830 --- /dev/null +++ b/.codex/hooks.json @@ -0,0 +1,31 @@ +{ + "hooks": { + "PostToolUse": [ + { + "matcher": "Edit|Write|apply_patch", + "hooks": [ + { + "type": "command", + "command": "[ ! -f \".agents/skills/impeccable/scripts/impeccable\" ] || \".agents/skills/impeccable/scripts/impeccable\" hook", + "commandWindows": "if exist \".agents/skills/impeccable/scripts/impeccable.cmd\" (\".agents/skills/impeccable/scripts/impeccable.cmd\" hook & exit /b)", + "timeout": 5, + "statusMessage": "Checking UI changes" + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "[ ! -f \".agents/skills/impeccable/scripts/impeccable\" ] || \".agents/skills/impeccable/scripts/impeccable\" hook", + "commandWindows": "if exist \".agents/skills/impeccable/scripts/impeccable.cmd\" (\".agents/skills/impeccable/scripts/impeccable.cmd\" hook & exit /b)", + "timeout": 30, + "statusMessage": "Design deep pass" + } + ] + } + ] + } +}