mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-21 18:52:56 +00:00
* fix: complete VM recovery rewrite for spawn fix command Fixes #3173 Rewrites spawn fix to use CloudRunner interface for full VM recovery instead of a flat bash script piped over SSH. Now runs the same install(), configure(), preLaunch() functions as initial provisioning. - Added generic SSH CloudRunner (ssh-runner.ts) reusable by other commands - Exported injectEnvVarsToRunner() from orchestrate.ts for shared use - Fixed command injection vulnerability via validateIdentifier(binaryName) - Updated dependency injection: runScript → makeRunner (CloudRunner) - Updated tests to use CloudRunner-based DI pattern Agent: code-health Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * test(ssh-runner): add coverage for validation paths Tests cover the early-exit branches in makeSshRunner methods (runServer invalid command, uploadFile/downloadFile path traversal) that throw before any subprocess is spawned. Agent: team-lead Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agent-setup.ts | ||
| agent-tarball.ts | ||
| agents.ts | ||
| billing-guidance.ts | ||
| cloud-init.ts | ||
| cursor-proxy.ts | ||
| oauth-constants.ts | ||
| oauth.ts | ||
| orchestrate.ts | ||
| parse.ts | ||
| paths.ts | ||
| result.ts | ||
| shell.ts | ||
| spawn-config.ts | ||
| spawn-skill.ts | ||
| ssh-keys.ts | ||
| ssh-runner.ts | ||
| ssh.ts | ||
| star-prompt.ts | ||
| ui.ts | ||