Skip to content

v2.1.3

Choose a tag to compare

@1amSheldon 1amSheldon released this 15 Sep 20:45
f2851fa

Fix console windows flashing during Windows logon and five-minute watchdog checks.

Also remove the runtime npx/cmd.exe chain, which could leave a visible Windows Terminal window. The supervisor installs package updates through a hidden direct Node/npm CLI process with lifecycle scripts disabled, then runs the server entrypoint directly. If a refresh fails, an already installed runtime can still start.

Existing Windows users should run npx -y --prefer-online @1amsheldon/mail-mcp@latest --install-codex once outside a source checkout to replace the old supervisor. Package auto-updates alone do not replace an already running supervisor.

The scheduled task now starts Windows Script Host, a GUI executable, which launches PowerShell hidden at process creation and waits for it to exit. Previously the task started powershell.exe directly; its console could appear before -WindowStyle Hidden took effect.

Existing managed Windows services migrate their exact legacy task action when the updated service starts. The migration preserves triggers, settings and the running service, backs up the old task definition, and leaves unrelated/custom tasks alone. Installations also snapshot the new launcher for rollback.

Stop requests are now observed while the server is running. Upgrading an older supervisor first waits for it to stop; if needed, it terminates only a process tree whose ancestry and exact supervisor command match this installation. Unverified listeners are left untouched.

Validation: 800 tests, full release checks, a local scheduled-task trigger and a successful local installer migration. The live server runs directly beneath its Node supervisor, with no npx or cmd.exe in the chain. HTTP health is ok and no WindowsTerminal/OpenConsole processes remained after replacing the old tree. Mailboxes were not accessed.