Add shell Property to TerminalState in VSCode API Compatibility
Add shell Property to TerminalState in VSCode API Compatibility: a task in LegoFlow-SWE (Harbor dataset). When a terminal is created with a known shell executable (e.g., bash , zsh , cmd.exe , powershell.exe , pwsh , fish , wsl.exe , etc.), the shell property should return the corresponding shell…
The task
When a terminal is created with a known shell executable (e.g., `bash`, `zsh`, `cmd.exe`, `powershell.exe`, `pwsh`, `fish`, `wsl.exe`, etc.), the `shell` property should return the corresponding shell type string. When the shell cannot be determined, it should return `undefined`.
Part of Lego-X/LegoFlow-SWE.