Files
oh-my-pi/packages/coding-agent/src/utils
HugoAir Dev f1dc1e9d76 fix(coding-agent): route native win32 clipboard text reads through the shared PowerShell bridge
Self-review follow-up to 5cd9c01: the smart-paste fallback promotes
readTextFromClipboard's win32 branch to a primary path, and the legacy
execSync Get-Clipboard shell-out there had the same two defects the
review flagged on the WSL branch — it blocks the event loop and, worse,
reads through the console codepage so non-ASCII clipboard text arrives
mangled on non-UTF-8 Windows locales. Native win32 now shares
readTextViaPowerShell (UTF-8-forced, -Raw, async, CRLF-normalized).
2026-06-10 18:08:16 +09:00
..