使用 dsh-bash-encoding 修復 DeepSeek Harness 的 bash 中文亂碼
dsh-bash-encoding 是 lhh010 維護的 DSH 宿主側插件(BSD-3-Clause)。它替換 ctx.bash,自管 spawn 並收集原始字節,自動識別 UTF-16LE、UTF-8、GBK 等編碼,修復 Windows + WSL 下 bash 中文亂碼。安裝:dsh plugin add github:lhh010/dsh-bash-encoding。同一 context 只能有一個 ctx.bash;Windows 原生 pwsh profile 默認停用。
閱讀全文