BingZ and Jinwoo Hong
5b1b8cc61f
fix(preflight): resolve WSL/SSH agent paths past shell aliases ( #7867 )
...
* fix(preflight): resolve WSL/SSH agent paths past shell aliases
LeanCTX and similar tools wrap claude/codex as interactive shell aliases.
command -v then returns alias text, which fails absolute-path detection and
hides installed agents (#7816 ).
Prefer bash type -P, then zsh type -p, then command -v for dash/sh fallback
in WSL agent discovery, WSL isCommandOnPath, and remote relay probes.
* fix(preflight): harden alias-safe PATH lookup chain
Require non-empty results between type -P, type -p, and command -v so bash
type -p empty success cannot skip later lookups.
* fix(preflight): resolve agent executables directly from PATH
---------
Co-authored-by: Jinwoo Hong <73622457+Jinwoo-H@users.noreply.github.com >
2026-07-09 17:08:35 -07:00
..
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-07-05 23:56:37 -07:00
2026-05-29 02:00:53 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-07-06 17:10:04 -07:00
2026-07-06 17:10:04 -07:00
2026-06-29 22:38:29 -07:00
2026-05-31 10:48:16 -07:00
2026-06-29 22:38:29 -07:00
2026-07-06 17:10:04 -07:00
2026-07-08 12:01:06 -07:00
2026-06-29 22:38:29 -07:00
2026-06-19 17:14:55 -07:00
2026-06-29 22:38:29 -07:00
2026-07-08 12:01:06 -07:00
2026-06-29 22:38:29 -07:00
2026-07-08 12:01:06 -07:00
2026-07-08 12:01:06 -07:00
2026-06-29 22:38:29 -07:00
2026-07-06 17:10:04 -07:00
2026-07-02 18:17:47 -07:00
2026-06-29 22:38:29 -07:00
2026-07-06 02:12:32 -07:00
2026-07-08 12:01:06 -07:00
2026-07-08 12:01:06 -07:00
2026-07-08 12:01:06 -07:00
2026-07-08 12:01:06 -07:00
2026-07-06 17:10:04 -07:00
2026-07-06 17:10:04 -07:00
2026-06-15 22:13:46 -07:00
2026-06-29 22:38:29 -07:00
2026-06-13 18:53:01 -07:00
2026-06-13 18:53:01 -07:00
2026-06-15 22:13:46 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 00:39:45 -07:00
2026-06-19 17:14:55 -07:00
2026-06-08 13:19:45 -07:00
2026-07-05 23:56:37 -07:00
2026-06-29 22:38:29 -07:00
2026-06-16 18:10:01 -07:00
2026-06-16 18:10:01 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-07-03 12:56:38 -07:00
2026-07-03 12:56:38 -07:00
2026-05-31 01:50:16 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-07-09 16:24:20 -07:00
2026-07-09 16:24:20 -07:00
2026-06-28 23:43:33 -07:00
2026-06-28 23:43:33 -07:00
2026-06-29 15:25:13 -07:00
2026-06-29 15:25:13 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-05-25 18:35:48 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-05-14 16:06:23 -07:00
2026-05-14 16:06:23 -07:00
2026-06-19 17:14:55 -07:00
2026-07-05 23:56:37 -07:00
2026-07-09 17:08:35 -07:00
2026-07-09 17:08:35 -07:00
2026-05-11 14:28:59 -07:00
2026-07-06 17:10:04 -07:00
2026-07-06 21:41:23 -07:00
2026-07-06 21:41:23 -07:00
2026-07-03 17:16:29 -07:00
2026-07-05 21:49:04 -07:00
2026-07-06 21:41:23 -07:00
2026-07-06 21:41:23 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-07-08 13:06:39 -07:00
2026-07-08 13:06:39 -07:00
2026-06-29 22:38:29 -07:00
2026-07-08 13:06:39 -07:00
2026-06-29 22:38:29 -07:00
2026-07-08 13:06:39 -07:00
2026-07-08 13:59:42 -07:00
2026-07-08 13:59:42 -07:00
2026-07-08 13:59:42 -07:00
2026-07-08 13:59:42 -07:00
2026-07-08 13:59:42 -07:00
2026-07-08 13:59:42 -07:00
2026-06-29 22:38:29 -07:00
2026-07-06 02:12:32 -07:00
2026-06-09 01:17:34 -07:00
2026-07-05 23:56:37 -07:00
2026-06-29 22:38:29 -07:00
2026-06-29 22:38:29 -07:00
2026-05-14 23:30:22 -07:00