agent-orchestrator/packages/plugins
Priyanshu Choudhary 43de59de23 fix(agents): use shell:true on Windows in detect() to honor PATHEXT
execFileSync with a bare command name on Windows does not consult
PATHEXT — it only finds literal .exe files. CLIs installed via
npm install -g land at %APPDATA%\npm\<name>.cmd, which detect() can't
see, so AO reports the agent as not installed.

Add shell: isWindows() so cmd.exe handles PATHEXT and finds .cmd shims.
Adds windowsHide: true while we're there to suppress conhost flashes.

Affects all 5 agent plugins: aider, claude-code, codex, cursor, opencode.
Reproduced with codex installed via npm on a Windows EC2 box where
where.exe codex resolved to codex.cmd but detect() returned false.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 18:49:52 +05:30
..
agent-aider fix(agents): use shell:true on Windows in detect() to honor PATHEXT 2026-04-27 18:49:52 +05:30
agent-claude-code fix(agents): use shell:true on Windows in detect() to honor PATHEXT 2026-04-27 18:49:52 +05:30
agent-codex fix(agents): use shell:true on Windows in detect() to honor PATHEXT 2026-04-27 18:49:52 +05:30
agent-cursor fix(agents): use shell:true on Windows in detect() to honor PATHEXT 2026-04-27 18:49:52 +05:30
agent-opencode fix(agents): use shell:true on Windows in detect() to honor PATHEXT 2026-04-27 18:49:52 +05:30
notifier-composio Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-desktop fix(windows): junctions/hardlinks for symlinks, WinRT toast notifier, DPI re-fit 2026-04-25 21:29:49 +05:30
notifier-discord Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-openclaw Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-slack Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-webhook Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
runtime-process fix(windows): suppress console flashes, register process runtime, auto-detect Git Bash, chunk PTY input 2026-04-25 18:54:24 +05:30
runtime-tmux feat(core): opt-in gh CLI tracer + scm/tracker migration (Phase A1a) (#1238) 2026-04-25 18:57:04 +05:30
scm-github fix(windows): resolve gh.exe via PATHEXT and fix path-shape test regexes 2026-04-25 21:08:21 +05:30
scm-gitlab feat(core): opt-in gh CLI tracer + scm/tracker migration (Phase A1a) (#1238) 2026-04-25 18:57:04 +05:30
terminal-iterm2 fix: model missing activity evidence explicitly (#122) 2026-04-17 19:28:56 +05:30
terminal-web fix: model missing activity evidence explicitly (#122) 2026-04-17 19:28:56 +05:30
tracker-github fix(windows): resolve gh.exe via PATHEXT and fix path-shape test regexes 2026-04-25 21:08:21 +05:30
tracker-gitlab refactor: clean up redundant requireRepo calls and nullish coalescing 2026-04-14 22:13:02 +05:30
tracker-linear Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
workspace-clone fix(windows): plugin runtime gaps + ConPTY graceful shutdown 2026-04-25 11:25:19 +05:30
workspace-worktree fix(windows): junctions/hardlinks for symlinks, WinRT toast notifier, DPI re-fit 2026-04-25 21:29:49 +05:30