Skip to content

v0.4.5

Choose a tag to compare

@github-actions github-actions released this 08 Jun 14:41
· 43 commits to main since this release

[0.4.5] - 2026-06-08

Reverts the reactive device-loss machinery added in 0.4.2 and 0.4.3 back to the simpler, proven 0.4.1 load and stream path, and arms idle resource release at model load. (0.4.4 was an internal rollback build and was never published.)

Changed

  • Reverted the 0.4.2 and 0.4.3 device-loss layers. Removed the navigator.gpu capture wrapper (gpu-capture.ts), the SESSION_POISONED-driven offscreen recreate, the panel/offscreen pin ports (panel-pin.ts), and the zero-chunk poisoned-stream detection (stream-finalize.ts); the load and stream path returns to 0.4.1 behavior. That machinery added offscreen-recreate churn and a GPU-device wrapper that ran before every load, and did not address the failure it was chasing — a device or tab low on RAM cannot allocate the multi-GB model regardless of session health, which is the actual cause of the load failures observed on constrained ChromeOS hardware. Device-loss handling will be reworked separately. The reverted code is preserved in history at tag v0.4.3.

Fixed

  • Idle release now arms on model load, not only after a generation. The panel auto-warms the model on open, so a user who loaded the model and walked away without sending a message previously left a multi-GB session resident with no release scheduled (touchIdle fired only at generation start and end). The inactivity countdown now starts at load completion, so an unused model is reclaimed after the configured timeout (default 15 min, configurable in settings) instead of staying resident until the next interaction.