agent-orchestrator/packages/cli/__tests__/lib
Priyanshu Choudhary 3e3efed949 fix(windows): suppress console flashes, register process runtime, auto-detect Git Bash, chunk PTY input
- platform.ts: add windowsHide:true to pwsh/powershell/taskkill/netstat
  spawns so AO no longer flashes a console window for each subprocess.
- script-runner.ts: auto-detect Git Bash at the common install paths on
  Windows when AO_BASH_PATH is unset; tighter error if neither auto-detect
  nor override succeeds. WSL bash intentionally excluded — invoking it
  from Windows-native Node mixes Linux paths with Windows cwd and
  silently breaks repo scripts. Also adds windowsHide:true to the spawn.
- web/services.ts: register @aoagents/ao-plugin-runtime-process so the
  dashboard can spawn sessions on projects using runtime: process
  (the Windows default per getDefaultRuntime).
- pty-client.ts: chunk ptyHostSendMessage into 512-char frames with a
  15ms gap so large prompts (~3-4KB+) are no longer truncated by
  ConPTY's input buffer. Cross-platform safe; Unix PTYs absorb chunks
  at full speed. Trailing Enter still sent as a separate frame after
  the existing 300ms pause.
- Mock test helpers updated to handle the (cmd, args, options, callback)
  arity introduced by passing windowsHide; new test covers Git Bash
  auto-detection.
2026-04-25 18:54:24 +05:30
..
detect-env.test.ts refactor(cli): extract shared repo helpers and support GitLab subgroups 2026-04-15 12:30:32 +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
lifecycle-service.test.ts refactor(cli): remove lifecycle-worker subprocess, poll in-process (#1186) 2026-04-14 17:23:33 +05:30
openclaw-probe.test.ts fix(windows): address review feedback, fix tests, and improve Windows coverage 2026-04-11 14:48:25 +05:30
plugins.test.ts Reapply "Merge branch 'main' into feat/windows-platform-adapter" 2026-04-10 02:06:19 +05:30
preflight.test.ts Reapply "Merge branch 'main' into feat/windows-platform-adapter" 2026-04-10 02:06:19 +05:30
prevent-sleep.test.ts fix(power): address PR review feedback for sleep prevention 2026-04-11 21:06:32 +05:30
project-resolution.test.ts fix: detect nested project directories in CLI auto-resolution 2026-04-01 18:28:57 +05:30
repo-validation.test.ts refactor(cli): extract shared repo helpers and support GitLab subgroups 2026-04-15 12:30:32 +05:30
running-state.test.ts fix: tighten startup lock cleanup 2026-04-20 13:30:07 +05:30
script-runner.test.ts fix(windows): suppress console flashes, register process runtime, auto-detect Git Bash, chunk PTY input 2026-04-25 18:54:24 +05:30
session-utils.test.ts Add multi-project storage, resolution, and project settings support (#1343) 2026-04-21 17:45:55 +05:30
shell.test.ts fix(windows): update @composio imports to @aoagents scope 2026-04-10 02:28:12 +05:30
update-check.test.ts test(windows): isolate USERPROFILE per test, normalize path assertions 2026-04-25 11:25:34 +05:30