Fortunately for me, the deadly giant biomechanical insect left me to search for the new capitol building which it appeared to consider to be the location of its new hive, unfortunately for anyone alive in the building.
I calculated that, although they were clearly designed for the mechanical components to compensate for common weaknesses in the insect anatomy, there was a weakness printed between the layers of the rotator cuffs of the wings which would give way if the creature were to attempt to spin quickly around too many times in succession.
I transmitted to Dame Vanya, Chancellor Kanter, the old Vor channel I used to use with Danar Vorpaderon, and all my other allies the image of the killer insect and the aforementioned method to weaken their wings by teamwork.
Vanya replied a link to a file on Darth Caliper, who used modified insects as weapons and had a weakness (found by a Bene Gesseritt Sister) in his force crystals in the form of a resonating frequency which could shatter them (using The Voice to sing that particular frequency).
I theorized that these insects (which appear to contain vat-grown purple energy crystals) might have a similar weakness. I hired all available messenger droids to deliver singing telegrams to the insects at different frequencies and show me their reactions (as they do with any singing telegrams). I found the one that caused the most consternation to the insects, the resonating frequency, and transmitted the information to my allies.
I then hired the messenger droids again to send the correct resonating frequency to the insects. Those still in the air were disoriented, perhaps feeling vertigo or loosing their hivemind communication perhaps. They scattered different directions.
Those that had already landed on the capitol building remained. I ran toward the capitol building.
Many ships were rescuing downed pilots from the raider battle on the south side of the city. Many were fleeing or defending themselves. I saw one which did not match the pattern. It arose from the port and flew fairly slowly across the city. A man(?) leapt from a rooftop onto the ship. It must have been the assassin! I snapped a picture of it as it passed over me.
I quickly PhotoShopped(TM) the image to include a bumper sticker with a message derogatory toward Medusas and transmitted the image to Captain Kolene in her fighter craft. She proceeded to solve the problem.
At the capitol building, Chancellor Kanter and General Kerplokin could be seen through the windows endeavoring not to be thrown out the same windows by the insects. The entrance near me was blocked by three insects who had cocooned two troopers. I got a weak signal to my own force shield belt which I had gifted to the Chancellor earlier that day. Using a software back-door, I programmed it to emit the harmful frequency which repelled the creatures from her... for the moment. Sadly, it was not so useful as a shield at that point, but the creatures stopped attacking her, so she was safe for the moment.
Soon the three bugs entered the building where Kanter and Kerplokin were defending themselves. I ran to the two troopers, spraying the right arm of each one with a cleaning solution of chlorine bleach which thankfully attacked the webbing chemically and freed each enough to free himself with a utility knife. I told them of the harmful frequency and theorized that a three-round burst at that frequency might have enough power to actually shatter their power crystals... maybe. We made the adjustments and proceeded to enter the building.