My question involves criminal law for the state of: California

I was caught shoplifting from a Rite Aid ($45 bottle of Jack Daniels) and was subsequently written a citation for petty theft by a police officer, I overheard him ask the manager at the time if she wanted to prosecute and she said yes--what does that mean for me?

Will I be offered a pretrial diversion program without having to ask for it in court (since it's my first offense)?

What other ways could I negotiate in court?