os/windows: support cmd.exe and git-bash shell strategy variants
Apra Fleet is an open-source MCP server
Brought to you by:
apralabs
Originally created by: kumaakh
Currently all Windows SSH members assume PowerShell. Two additional shell strategies should be supported:
windows-cmdExe — for members running cmd.exewindows-gitbash — for members running Git Bash (bash.exe via SSH)Each variant needs its own OsCommands implementation (or strategy flags within WindowsCommands).
Backlog item [#10] from docs/MCP-BACKLOG.md. Low priority.
Originally posted by: kumaakh
Technical direction: The existing WindowsCommands class in src/os/os-commands.ts (or equivalent) should be refactored:
egister_member) / update_member: add shell param accepting powershell (default), cmd, gitbash.
Low priority but useful for enterprise environments where PowerShell execution policy is locked down. gitbash variant also directly addresses the worktree path issue in [#91].
Related
Tickets: #91