spawn/packages
B 7acbe8078f refactor(run): extract 4 helpers from 243-line cmdRunHeadless
Break cmdRunHeadless into focused, independently testable phases:
- validateHeadlessInputs: input validation + manifest loading + entity checks
- fetchAndRunWindows: Windows bundle download + execution path
- fetchAndRunUnix: macOS/Linux script download + execution path
- extractConnectionFields: post-run record lookup + field validation

cmdRunHeadless is now ~30 lines of orchestration.

Agent: complexity-hunter

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-14 14:51:46 +00:00
..
cli refactor(run): extract 4 helpers from 243-line cmdRunHeadless 2026-05-14 14:51:46 +00:00
shared fix: rethrow normalized Error in tryCatchIf/asyncTryCatchIf (#2930) 2026-03-23 19:33:05 -07:00