* Save state
* Save state
* Save state
* Refactor WSLAUserSession into WSLASessionManager
* Add test coverage
* Disconnect on service stop
* Rework Delete() logic
* Fix WSL tests
* Use a different method to acquire non-elevated tokens
* Fix token generation logic
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix naming issues
* Revert token generation logic
* Apply PR feedback
* Merge with wslc changes
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* WSLA: Switch to using the system distro vhd.
* new system.vhd and fix port mapping for docker v25
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
The ConsoleInput and ConsoleOutput classes used = default move operations, which caused the moved-from temporary's destructor to restore the original console mode (re-enabling ENABLE_PROCESSED_INPUT) after the object was moved into the std::optional. The fix uses emplace() to construct objects directly in-place, avoiding moves entirely. Move operations are now deleted to prevent future misuse.
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
* cleanup: fix UserConfig.cmake.sample in master branch
* remove incorrect wsldevicehost.dll handling, wix file always uses the version from the bin folder
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
* Add API flags for creating & opening persistent sessions
* Properly handle session name conflicts
* Format
* Format
* Save state
* Working end to end pull
* Clean up console cursor logic
* Save state
* Save state
* Implement run
* Merge
* Correctly handle error messages
* Improve error handling
* Add test coverage
* Add API flags for creating & opening persistent sessions
* Properly handle session name conflicts
* Format
* Format
* Fix broken port mapping logic
* PR feedback
* Remove last message reference