kimi-code/packages/kaos/src
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
..
current.ts refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00
environment.ts fix(kaos): detect bash when git comes from a native MSYS2 toolchain (#1580) 2026-07-13 13:45:04 +08:00
errors.ts refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00
index.ts refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00
internal.ts perf(kaos): optimize large file reads (#971) 2026-06-23 15:07:40 +08:00
kaos.ts fix: propagate kaos env overlays (#654) 2026-06-11 17:21:32 +08:00
local.ts fix(kaos): enrich PATH from the user's login shell at startup (#1339) 2026-07-03 15:20:38 +08:00
login-shell-path.ts fix(kaos): enrich PATH from the user's login shell at startup (#1339) 2026-07-03 15:20:38 +08:00
process.ts fix: dispose process stdio after managed commands (#822) 2026-06-16 22:09:11 +08:00
ssh.ts fix: dispose process stdio after managed commands (#822) 2026-06-16 22:09:11 +08:00
types.ts Kimi For Coding 2026-05-22 15:54:50 +08:00