mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 11:59:29 +00:00
fix(ux): add 'spawn last' to reconnect hints in cloud modules (#3337)
The reconnect hints shown after provisioning in all 5 cloud providers (Hetzner, AWS, DigitalOcean, GCP, Sprite) only showed raw SSH/CLI commands. Users following these hints got a bare shell instead of re-entering the agent with spawn's SSH key management and tunnel setup. Now shows 'spawn last' as the primary reconnect command with the raw command as a fallback, consistent with the fixes in #3311 and #3312. Agent: ux-engineer Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: Ahmed Abushagur <ahmed@abushagur.com>
This commit is contained in:
parent
de2883ee2b
commit
ede351e2b4
6 changed files with 11 additions and 6 deletions
|
|
@ -938,7 +938,8 @@ export async function interactiveSession(cmd: string, ip?: string): Promise<numb
|
|||
logInfo("To delete from CLI:");
|
||||
logInfo(" spawn delete");
|
||||
logInfo("To reconnect:");
|
||||
logInfo(` ssh root@${serverIp}`);
|
||||
logInfo(" spawn last");
|
||||
logInfo(` or: ssh root@${serverIp}`);
|
||||
|
||||
return exitCode;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue