From 0642b47b2795ad1d57f22a57dfef9da4efb062da Mon Sep 17 00:00:00 2001 From: xiaoxing0135 <706015750@qq.com> Date: Tue, 2 Jun 2026 02:28:05 +0800 Subject: [PATCH] fix: correct Stop hook schema in project settings Wrap flat command into matcher + hooks array format required by Claude Code. --- .claude/settings.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .claude/settings.json diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..e0a9797 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,16 @@ +{ + "hooks": { + "Stop": [ + { + "matcher": "", + "hooks": [ + { + "type": "command", + "command": "python check_version.py" + } + ], + "description": "Check for Test-Agent updates (24h cooldown)" + } + ] + } +}