mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-10 20:39:59 +00:00
* test: add unit tests for shared/orchestrate.ts Add 19 focused tests for runOrchestration covering: - Cloud lifecycle method ordering (authenticate -> provision -> install -> launch) - API key acquisition and injection into agent.envVars - process.exit forwarding of interactiveSession exit codes - Optional hooks: preProvision (non-fatal on error), configure, preLaunch - Model selection gating via agent.modelPrompt / modelDefault - Restart loop wrapping for non-local clouds vs raw passthrough for local - saveLaunchCmd receives unwrapped command - prepareStdinForHandoff and offerGithubAuth integration Fixes #2077 Agent: test-engineer Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * style: fix Biome formatting in orchestrate.test.ts Agent: pr-maintainer Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> --------- Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||