Case Study: Migrating a Cloud Wrapper to a Local-First AI PWA