{
  "repo": "pingcap/tiproxy",
  "binary": "replayer",
  "binary_path": "cmd/replayer/main.go",
  "surface_kind": "worker_service",
  "type": "worker_service",
  "services": [
    {
      "name": "ReplayerLifecycle",
      "package": "main",
      "methods": [
        {
          "name": "RunReplayJob",
          "name_key": "Runtime ReplayerLifecycle.RunReplayJob",
          "input": "traffic files + downstream TiDB address + replay flags",
          "output": "traffic replay worker with optional API/pprof surface"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "replayer is not CLI-only. service-mode and pprof/API flags make it a long-running worker runtime.",
      "The runtime may expose traffic capture, replay, cancel, and show endpoints when API mode is enabled."
    ]
  }
}
