mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-22 23:26:12 +00:00
Some Git for Windows installations have bash.exe only at <root>\usr\bin\bash.exe while <root>\bin\bash.exe does not exist. Add usr\bin\bash.exe candidates alongside each bin\bash.exe entry in both the hardcoded fallback list and the git.exe inference logic. Also add @moonshot-ai/kimi-code-sdk to the changeset since the SDK bundles agent-core code and calls detectEnvironmentFromNode() on session creation, so Windows SDK users also need this fix.
264 B
264 B
| @moonshot-ai/kimi-code | @moonshot-ai/kimi-code-sdk |
|---|---|
| patch | patch |
Fix Git Bash path detection on Windows by also searching usr\bin\bash.exe locations, which is where bash lives in many Git for Windows installations where bin\bash.exe does not exist.