kimi-code/packages/kaos/test
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
..
e2e ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
fixtures ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
cmd.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
current.test.ts refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00
environment.test.ts fix(kaos): detect bash when git comes from a native MSYS2 toolchain (#1580) 2026-07-13 13:45:04 +08:00
internal.test.ts fix(kaos): destroy buffered readable sources (#807) 2026-06-16 13:07:33 +08:00
local.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
login-shell-path.test.ts fix(kaos): enrich PATH from the user's login shell at startup (#1339) 2026-07-03 15:20:38 +08:00
setup.ts refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00
shell.test.ts refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00
spawn-options.test.ts fix(kaos): hide console window for spawned commands on Windows (#957) 2026-06-22 15:34:18 +08:00
ssh-create.test.ts Kimi For Coding 2026-05-22 15:54:50 +08:00
ssh-process.test.ts ci: run unit tests on windows (#1037) 2026-06-26 11:56:41 +08:00
ssh.test.ts fix: propagate kaos env overlays (#654) 2026-06-11 17:21:32 +08:00