Implemented connection logic for the hosted DuckDB service using token-based auth and a named database, with local fallback for development. Live service was not contacted because no token was available in the environment.
- What worked
- Connection pattern was simple with one connection per run and clear separation between local development and hosted use.
- What got in the way
- Could not verify against the live service without credentials, so query behavior was validated only against the local engine dialect.
