Skip to content

cli: open reconnecting SSH tabs - #184

Closed
khoi wants to merge 1 commit into
fix/ghostty-securityfrom
feat/ssh-tab-reconnect
Closed

cli: open reconnecting SSH tabs#184
khoi wants to merge 1 commit into
fix/ghostty-securityfrom
feat/ssh-tab-reconnect

Conversation

@khoi

@khoi khoi commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Why

The public sp ssh command only replaced the current process. It did not provide the tab-opening or reconnect flow requested for remote work.

What changed

sp ssh <destination> now opens and focuses a normally placed tab. --name locks its title. The hidden session runner retries only exit 255 with 2, 4, 8, 16, then capped 30-second waits. Other exits and Control-C stop retrying and return the tab to its local login shell.

sp internal ssh remains the exec shim for shell integration and inherited remote sessions. Help, user docs, developer docs, Ghostty routing, and bundled skill data now describe the split.

Verification

  • Final SSH, help, parser, request, retry, and inheritance suites passed
  • Full Mac suite passed 1,727 tests; only the unrelated key-window test failed
  • make mac-check, docs check, validation, build, and dead-code scan passed
  • Bundled skill tests passed 4/4

Depends on supabitapp/ghostty:fix/supaterm-internal-ssh-route and supabitapp/supaterm-skills:docs/ssh-tab-reconnect.

Deliberately out of scope: ControlMaster policy, drag-and-drop uploads, and structured remote notifications.

Related to SUP-132.

The shell wrapper should preserve the current pane and recover dropped
interactive sessions. Route public calls through tab creation while keeping
direct system SSH launch internal for inherited sessions.
@khoi khoi added the enhancement New feature or request label Aug 8, 2026
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

SupaReview

Review failed.

View action run

@khoi

khoi commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

Closing this scope. sp ssh remains a hidden internal exec route. Supaterm will not add tab-opening or reconnect behavior.

@khoi khoi closed this Aug 8, 2026
@khoi
khoi deleted the feat/ssh-tab-reconnect branch August 8, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant