Skip to content

Lexicon v0.5.15

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Jul 22:25

Lexicon v0.5.15

Changes:

  1. Windows Job Object Integration (main.rs):

    • Added low-level Windows kernel Job Object bindings (CreateJobObjectW, SetInformationJobObject, AssignProcessToJobObject) with JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.
    • Every spawned instance of lexicon-backend.exe is bound to this Job Object upon startup.
    • Result: If Lexicon.exe is terminated via Task Manager "End Task", crashes, or exits unexpectedly, the Windows kernel OS immediately and atomically terminates lexicon-backend.exe and any child java.exe processes, eliminating orphaned background processes.
  2. Silent Focus Pre-Warming (api.js & App.jsx):

    • Exported ensureBackend() from api.js.
    • Added silent background pre-warming event handlers to both TipTap editor canvas focus (handleFocus) and window focus (window.onFocus).
    • Result: When returning to Lexicon after an idle period, offloaded tiers begin re-warming in the background before the user finishes typing their first sentence, completely silently with zero UI toasts or notification banners.