agent-orchestrator/packages/cli/__tests__/lib
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
..
dashboard-rebuild.test.ts fix(windows): cross-platform process management (PR 2/6) (#1028) 2026-04-10 01:03:53 +05:30
format.test.ts feat: implement CLI with all commands (init, status, spawn, session, send, review-check, dashboard, open) (#6) 2026-02-14 16:14:27 +05:30
openclaw-probe.test.ts enhance openclaw-probe with installation detection 2026-03-31 04:02:33 +05:30
plugins.test.ts use plugin store for shared loader paths 2026-03-31 04:02:25 +05:30
preflight.test.ts fix: reduce dashboard JS bundle from 1.7MB to 170KB (#792) (#928) 2026-04-07 16:12:51 +05:30
project-resolution.test.ts fix: detect nested project directories in CLI auto-resolution 2026-04-01 18:28:57 +05:30
script-runner.test.ts fix(cli): script-runner always uses bash on Unix, getShell() only on Windows 2026-04-10 01:03:59 +05:30
session-utils.test.ts fix(cli): replace all tmux attach output with dashboard URLs (#947) 2026-04-08 03:40:06 +05:30
shell.test.ts feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30