Shia LaBeouf I'm Ready to Cop a Plea In My Musical Melee Trial

7/24/2014 7:10 AM PDT

Shia LaBeouf -- I'm Ready to Cop a Plea in My Musical Melee Trial

Breaking News

Shia LaBeouf
 is working out a plea deal in his Broadway meltdown last month ... so says the prosecutor in the disorderly conduct case.

Shia was in court Thursday AM ... and something weird came up.  Shia's lawyer groused there was a notation in the file about Shia not standing up ... presumably at the last court hearing.  Everyone was vague about it ... but not standing up when the judge walks in is a sign of disrespect.

Shia's lawyer appeared to say it was not true ... and based on what we know, he's right.  

As for the plea deal ... the judge is giving both sides until Sept. 10 to hash it out.

As you know ... Shia was kicked out of a performance of "Cabaret" after drunkenly confronting people on stage and in the audience ... then spitting and swearing at cops, allegedly yelling, "Do you know who the f*** I am?"

Shia is now in an outpatient program and seems to be doing a lot better.