{
  "description": "Hooks for Straion",
  "hooks": {
    "SessionStart": [
      {
        "matcher": "startup|clear|compact",
        "hooks": [
          {
            "type": "command",
            "command": "straion automode register session-start --agent claude-code",
            "timeout": 10
          }
        ]
      }
    ],
    "SessionEnd": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "straion trajectory collect --agent claude-code",
            "async": true
          }
        ]
      }
    ]
  }
}
