It is indeed remarkable that you were able to go from receiving a warrant of arrest out of Lancaster, PA; the fulfillment or waiver of the protracted extradition processes; deal with the issuance and service of a NY Governor's warrant; select, consult and hire a Pennsylvania criminal defense attorney; complete various journeys to and from Lancaster; appear for criminal arraignment in Pennsylvania with the setting of an appearance bond; undergo, trial preparation, trial scheduling, jury selection if requested: appear at a trial, negotiate with Lancaster County district attorney; etc., all within the short span of 20 working days! (5/5/23 to 6/2/23)
(Normally that would take months and months if not years. You must have hired a legal magician and one so moved by your dilemma that he performed his act gratuitously.)