You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 6, 2026. It is now read-only.
release: bump to 1.0.3 with chcp 65001 + WSL UTF-8 locale before agent exec
Fixes Chinese-input garbling when typing into hermes / openclaw gateway
from the PowerShell window the Windows installer hands off to.
Background: setting [Console]::OutputEncoding / InputEncoding to UTF-8
(done in wsl-common.ps1 previously) only affects the CURRENT PowerShell
process. Child processes — cmd.exe, wsl.exe, and anything spawned from
bash inside the distro — inherit the console's CODEPAGE, not .NET's
Encoding property. On zh-CN hosts that codepage is still 936 (GBK), so
keystrokes reach hermes as GBK bytes and the agent garbles them on the
UTF-8 decode.
Add Set-ConsoleUtf8CodePage (runs `chcp 65001` via cmd.exe) to
wsl-common.ps1 and call it right before each `wsl.exe -- bash -lc ...`
handoff in install-hermes.ps1 / install-openclaw.ps1. Also prepend
LANG=C.UTF-8 LC_ALL=C.UTF-8 to the bash command so readline-based tools
inside WSL read multibyte input correctly regardless of the distro's
default locale.
We don't call chcp at installer start because our own Write-Host output
is already UTF-8-correct via the .NET Encoding setters; flipping the
codepage that early would risk minor rendering inconsistencies during
the long-running install.
Version strings bumped in installer.iss, build-pkg.sh, and README tables.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,9 +89,9 @@ Pre-built installers live on the [GitHub Releases page](https://github.com/Sense
89
89
90
90
| Platform | Download | How to Use |
91
91
|----------|----------|------------|
92
-
| Windows |[`AgentPack-1.0.2-windows-x64.exe`](https://github.com/SenseTime-FVG/agent_pack/releases/latest/download/AgentPack-1.0.2-windows-x64.exe)| Double-click and follow the wizard; installation runs inside WSL2, and the PowerShell window is taken over by the installed agent when setup finishes |
93
-
| macOS |[`AgentPack-1.0.2-macos-universal.pkg`](https://github.com/SenseTime-FVG/agent_pack/releases/latest/download/AgentPack-1.0.2-macos-universal.pkg)| Double-click, then complete setup in the Terminal window that opens; the same window becomes the agent's REPL / gateway once installation finishes |
94
-
| Linux |[`AgentPack-1.0.2-linux.sh`](https://github.com/SenseTime-FVG/agent_pack/releases/latest/download/AgentPack-1.0.2-linux.sh)*or* the one-liner below | Download and run `chmod +x AgentPack-1.0.2-linux.sh && ./AgentPack-1.0.2-linux.sh`, or paste `curl -fsSL https://raw.githubusercontent.com/SenseTime-FVG/agent_pack/main/linux/install.sh \| bash` — either way the shell that ran the installer is handed over to the agent via `exec`|
92
+
| Windows |[`AgentPack-1.0.3-windows-x64.exe`](https://github.com/SenseTime-FVG/agent_pack/releases/latest/download/AgentPack-1.0.3-windows-x64.exe)| Double-click and follow the wizard; installation runs inside WSL2, and the PowerShell window is taken over by the installed agent when setup finishes |
93
+
| macOS |[`AgentPack-1.0.3-macos-universal.pkg`](https://github.com/SenseTime-FVG/agent_pack/releases/latest/download/AgentPack-1.0.3-macos-universal.pkg)| Double-click, then complete setup in the Terminal window that opens; the same window becomes the agent's REPL / gateway once installation finishes |
94
+
| Linux |[`AgentPack-1.0.3-linux.sh`](https://github.com/SenseTime-FVG/agent_pack/releases/latest/download/AgentPack-1.0.3-linux.sh)*or* the one-liner below | Download and run `chmod +x AgentPack-1.0.3-linux.sh && ./AgentPack-1.0.3-linux.sh`, or paste `curl -fsSL https://raw.githubusercontent.com/SenseTime-FVG/agent_pack/main/linux/install.sh \| bash` — either way the shell that ran the installer is handed over to the agent via `exec`|
0 commit comments