{
  "description": "Claude-session compatibility hook for dev-loop. On session start, nudge the per-project hub daemon + web UI via the idempotent `dev-loop daemon up` path. The standalone lifecycle is owned by the dev-loop CLI (`dev-loop daemon up`, `up-all`, and `install-autostart`); this hook is only a Claude plugin convenience. Safe-by-construction: `up` is cwd-resolved and a clean no-op for non-service / unresolved projects. localhost-only (§16); output is swallowed and the exit forced 0 so SessionStart never pollutes context or aborts startup.",
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "if [ -f \"${CLAUDE_PLUGIN_ROOT}/dist/hook-session-start.js\" ]; then node \"${CLAUDE_PLUGIN_ROOT}/dist/hook-session-start.js\"; else node \"${CLAUDE_PLUGIN_ROOT}/hub/src/hook-session-start.ts\"; fi >/dev/null 2>&1 || true",
            "timeout": 15
          }
        ]
      }
    ]
  }
}
