{ "_comment": "Reference template — copy the 'hooks' object into your .qoder/settings.json or ~/.qoder/settings.json. Replace PONYTAIL_DIR with the path to your ponytail checkout (e.g. ~/.qoder/plugins/ponytail or the npm global install path).", "hooks": { "UserPromptSubmit": [ { "hooks": [ { "type": "command", "command": "node PONYTAIL_DIR/hooks/ponytail-mode-tracker.js" } ] } ], "PreToolUse": [ { "matcher": "task|Task", "hooks": [ { "type": "command", "command": "node PONYTAIL_DIR/hooks/ponytail-subagent.js" } ] } ] } }