kimi-code/packages/kaos
wszqkzqk 83370f17ef
fix(kaos): detect bash when git comes from a native MSYS2 toolchain (#1580)
git --exec-path of a native MSYS2 git returns a path under the
modern toolchain prefixes (ucrt64, clang64, clangarm64), but the root
inference scan only covered the legacy mingw32/mingw64 prefixes, so
detection fell through to KaosShellNotFoundError on hosts without
Git for Windows even though MSYS2 bash exists at <root>\usr\bin.

Extend the segment scan to all current MSYS2 prefixes so the MSYS2
root is inferred correctly. mingw32/mingw64 stay for Git for Windows
compatibility.
2026-07-13 13:45:04 +08:00
..
src fix(kaos): detect bash when git comes from a native MSYS2 toolchain (#1580) 2026-07-13 13:45:04 +08:00
test fix(kaos): detect bash when git comes from a native MSYS2 toolchain (#1580) 2026-07-13 13:45:04 +08:00
CHANGELOG.md ci: release packages (#803) 2026-06-16 21:23:58 +08:00
package.json ci: release packages (#803) 2026-06-16 21:23:58 +08:00
README.md Kimi For Coding 2026-05-22 15:54:50 +08:00
tsconfig.json Kimi For Coding 2026-05-22 15:54:50 +08:00
tsdown.config.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
vitest.config.ts refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00

@moonshot-ai/kaos

Execution environment abstraction used by Kimi Code.

Part of the Kimi Code monorepo.

See the main repository for documentation, issues, and contribution guidelines.

License

MIT