[Feature]: Support Windows background services in `t3 service install`
Feature request
Add native Windows support to t3 service install and the related service commands so the T3 Code server can keep running after the desktop window or terminal is closed.
Current behavior
The background-service documentation says Windows background services are unsupported. Windows users must either minimize the desktop app instead of closing its last window, or keep t3 serve running in a terminal.
The service manager currently has backends for Linux/systemd and macOS/launchd, but not Windows.
Desired behavior
On Windows, t3 service install, status, restart, and uninstall should manage a persistent server that:
- Keeps running after the desktop window or launching terminal closes.
- Starts automatically at Windows sign-in (or at boot, if compatible with the per-user design).
- Restarts after a crash.
- Preserves the user's environment, provider CLI access, and
service.envconfiguration. - Provides logging, status, update, and clean-shutdown behavior comparable to the existing systemd and launchd backends.
A per-user Scheduled Task or a native Windows Service could provide the lifecycle integration; whichever approach best preserves access to the user's projects, credentials, and provider CLIs would work.
Why native Windows support matters
Running a separate server in WSL is not a complete substitute. It requires systemd and separate management of the WSL instance's lifetime. Microsoft also notes that systemd services do not keep a WSL instance alive.
The original cross-platform service request in #659 included Windows; this issue tracks the remaining Windows-specific support.