Files
pikasTech-unidesk/scripts/src/ssh-windows-fs/pwd.ps1
T
Codex 3a17d3b9fd fix: harden Windows trans helpers
Resolve #1691 by preserving argv boundaries, adding bounded native rg and wc/skill query support, surfacing WSL-to-Windows hints, and splitting the oversized SSH module and embedded remote scripts.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-10 13:13:03 +02:00

6 lines
178 B
PowerShell

if ($operation -eq 'pwd') {
if ($toolArgs.Count -ne 0) { Fail 'pwd accepts no arguments on Windows routes' 2 }
[Console]::Out.WriteLine((Resolve-UnideskPath '.'))
exit 0
}