# pi-ts-aperture: v0.16.0

release · 2026-09-28 · #pi-ts-aperture · v0.16.0

### Minor Changes

- 20c96b1: Allow manual pairing of local Pi providers with differently named Aperture gateway providers in proxy settings.

### Patch Changes

- 4360fc7: Fix model catalog refresh for proxied providers with a `models.json` override. Keep inherited provider methods anchored to the original provider so Pi's recomposed `refreshModels` cannot call itself after the gateway catalog sync.
- 194c812: Fix unhandled rejections and spurious extension errors when a session is replaced (`/new`, `/fork`, `/resume`, `/switch`, reload) while the gateway catalog or model refresh is still in flight. The `onSync` fire-and-forget chains in the aperture extension now terminate in a catch that drops pi's stale-ctx guard error (pi installs no `unhandledRejection` handler, so it was fatal to the process), and the connectors `session_start` handler drops the same error instead of surfacing it as an extension error. The replacement session's `session_start` re-runs the sync with a fresh ctx in both cases.

- [GitHub release](https://github.com/aliou/pi-ts-aperture/releases/tag/v0.16.0)
- [npm](https://www.npmjs.com/package/@aliou/pi-ts-aperture/v/0.16.0)
