settings.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "hooks": {
  3. "SessionStart": [
  4. {
  5. "hooks": [
  6. {
  7. "type": "http",
  8. "url": "http://localhost:8045/api/event",
  9. "timeout": 5,
  10. "async": true
  11. }
  12. ]
  13. }
  14. ],
  15. "PreToolUse": [
  16. {
  17. "matcher": "Bash|Edit|Write|NotebookEdit",
  18. "hooks": [
  19. {
  20. "type": "http",
  21. "url": "http://localhost:8045/api/event",
  22. "timeout": 5,
  23. "async": true
  24. }
  25. ]
  26. }
  27. ],
  28. "PostToolUse": [
  29. {
  30. "matcher": "Bash|Edit|Write|NotebookEdit",
  31. "hooks": [
  32. {
  33. "type": "http",
  34. "url": "http://localhost:8045/api/event",
  35. "timeout": 5,
  36. "async": true
  37. }
  38. ]
  39. }
  40. ],
  41. "Stop": [
  42. {
  43. "hooks": [
  44. {
  45. "type": "http",
  46. "url": "http://localhost:8045/api/event",
  47. "timeout": 5,
  48. "async": true
  49. }
  50. ]
  51. }
  52. ]
  53. }
  54. }