Repository navigation
v1.4.2
Fixed
bin/rails claude_agent_sdk:install_cli(andCLIInstaller.installwheneverEncoding.default_internalis set) no longer fails withEncoding::UndefinedConversionError(issue #177). The download was opened withFile::BINARY, which is 0 outside Windows, so the file was in text mode; Rails setsdefault_internalto UTF-8, and each write then transcoded the binary chunks and raised on the first byte that is not valid UTF-8. The file is now opened withbinmode: true.
What's changed
- #179 CLIInstaller: write the downloaded CLI in binary mode on every platform — @ya-luotao
Full Changelog: v1.4.1...v1.4.2
gem install claude-agent-sdk -v 1.4.2