hooks.json 369 B

12345678910111213141516
  1. {
  2. "Comment": "plugin-fmode hooks(Claude-Code 形态; Hermes 走 config.yaml hooks: 块,事件名 on_session_end)",
  3. "hooks": {
  4. "Stop": [
  5. {
  6. "matcher": "",
  7. "hooks": [
  8. {
  9. "type": "command",
  10. "command": "python3 /opt/data/plugins/plugin-fmode/plugin/hooks/poor_guard.py"
  11. }
  12. ]
  13. }
  14. ]
  15. }
  16. }