My Failed Attempt to Build a Dictation Gadget

I’ve been playing around with my app Dictant and wanted to build a mini gadget so I could walk away from my computer and dictate stuff. And have it inserted wherever I need it. Burned through a ton of tokens and learned a few things: