agent-orchestrator/packages/cli/__tests__
Priyanshu Choudhary ca49af8df9 fix(cli): script-runner always uses bash on Unix, getShell() only on Windows
getShell() on Unix returns process.env.SHELL || /bin/sh, which may be zsh,
fish, or plain sh. When a script file is passed as an argument to these
shells (file mode), the #!/bin/bash shebang is ignored and bash-specific
syntax in ao-doctor.sh / ao-update.sh / setup.sh breaks.

Fix: hardcode bash on Unix (AO_BASH_PATH still overrides it), use getShell()
only on Windows where bash is unavailable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 01:03:59 +05:30
..
commands fix(windows): cross-platform process management (PR 2/6) (#1028) 2026-04-10 01:03:53 +05:30
lib fix(cli): script-runner always uses bash on Unix, getShell() only on Windows 2026-04-10 01:03:59 +05:30
options refactor CLI version wiring for diff coverage 2026-04-02 17:34:19 +05:30
scripts Handle send errors and stabilize script tests 2026-03-27 00:25:10 +05:30
index.test.ts refactor CLI version wiring for diff coverage 2026-04-02 17:34:19 +05:30
lifecycle-service.test.ts fix(cli): suppress consistent-type-imports lint error in test mock factory 2026-04-10 01:03:56 +05:30
program.test.ts refactor CLI version wiring for diff coverage 2026-04-02 17:34:19 +05:30