{
  "repo": "tidbcloud/topsql-agent",
  "scan_version": "4.4",
  "scan_status": "completed",
  "scan_at": "2026-03-25T05:20:35.528700",
  "file_count": 18,
  "language": "Go",
  "repo_kind": "service",
  "type": "service",
  "binaries": [
    {
      "name": "topsql-agent",
      "path": "main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "cobra"
        },
        "grpc": {
          "source": "internal/app/server.go"
        },
        "http_api": {
          "source": "internal/supervisor/main.go"
        }
      },
      "role": "worker"
    }
  ],
  "summary": {
    "total_binaries": 1,
    "has_cli": true,
    "has_http": true,
    "has_grpc": true,
    "binary_names": [
      "topsql-agent"
    ],
    "interfaces": [
      "cli",
      "grpc",
      "http_api"
    ],
    "build_manifests": [
      "makefile",
      "dockerfile",
      "go.mod"
    ]
  }
}
