The Red Sox are not just cleaning house.

They are gutting it.

A proposed megadeal between the Red Sox and the Dodgers was in deep discussion last night according to a Red Sox source, a blockbuster that would send Josh Beckett, Adrian Gonzalez, Carl Crawford and Nick Punto to the Dodgers.

In exchange, the Red Sox would receive hundreds of millions of dollars in salary relief — more than 95 percent of the remaining money on the books of those four players — as well as five Dodgers who were, according to Fox Sports, major league first baseman James Loney and four minor leaguers: right-hander Allen Webster (a top pitching prospect), right-hander Rubby de la Rosa, outfielder Jerry Sands and second baseman Ivan De Jesus.

The deal was not consummated as of last night, but both Gonzalez and Loney were scratched from their starts.

As of last night, manager Bobby Valentine said that Beckett was still his starter tonight.

"(Pitching coach) Randy (Niemann) just asked me that and I could only tell him, to the best of my knowledge, yes," said Valentine.

There were two possible hitches that could complicate matters.

The Dodgers were still reviewing the medical reports on the Red Sox — those of Beckett and Crawford, who just had Tommy John surgery, are critical. If those were cleared, the Red Sox would then have to present the trade to both Beckett and Crawford, each of whom has the right to veto the deal.