fix(ux): add 'spawn last' to reconnect hints in cloud modules - #3337
Merged
Conversation
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: Claude Sonnet 4.5 <noreply@anthropic.com>
AhmedTMM
approved these changes
Apr 22, 2026
AhmedTMM
left a comment
Collaborator
There was a problem hiding this comment.
Consistent UX fix — spawn last as primary reconnect hint across all clouds.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why: Reconnect hints shown after provisioning in all 5 cloud providers only showed raw SSH/CLI commands (
ssh root@IP,gcloud compute ssh ...,sprite console -s ...). Users following these hints got a bare shell without re-entering the agent, missing spawn's SSH key management, tunnel setup, and IP refresh. This is the same class of issue fixed by #3311 and #3312 but in different files that were missed.Changes
packages/cli/src/hetzner/hetzner.ts— addspawn lastas primary reconnect hintpackages/cli/src/aws/aws.ts— addspawn lastas primary reconnect hintpackages/cli/src/digitalocean/digitalocean.ts— addspawn lastas primary reconnect hintpackages/cli/src/gcp/gcp.ts— addspawn lastas primary reconnect hintpackages/cli/src/sprite/sprite.ts— addspawn lastas primary reconnect hintpackages/cli/package.json— version bump 1.0.18 → 1.0.19Test plan
bunx @biomejs/biome checkpasses on all changed filesbun test— 2154 tests pass, 0 failures-- spawn-refactor/ux-engineer