fix(ux): correct reconnect command suggestion from "spawn connect" to "spawn last" (#3311)
Some checks failed
Lint / ShellCheck (push) Waiting to run
Lint / Biome Lint (push) Waiting to run
Lint / macOS Compatibility (push) Waiting to run
CLI Release / Build and release CLI (push) Has been cancelled

"spawn connect" is not a valid top-level CLI command — users following
this guidance after SSH reconnect failure would see "Unknown agent or
cloud: connect". Replace with "spawn last" which correctly reconnects
to the most recent spawn.

Agent: ux-engineer

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
A 2026-04-16 01:39:36 -07:00 committed by GitHub
parent 21eb1bf6e0
commit 513d3448d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "@openrouter/spawn", "name": "@openrouter/spawn",
"version": "1.0.14", "version": "1.0.15",
"type": "module", "type": "module",
"bin": { "bin": {
"spawn": "cli.js" "spawn": "cli.js"

View file

@ -917,7 +917,7 @@ async function postInstall(
if (isConnectionDrop(exitCode)) { if (isConnectionDrop(exitCode)) {
process.stderr.write("\n"); process.stderr.write("\n");
logWarn("Could not reconnect. Server is still running."); logWarn("Could not reconnect. Server is still running.");
logInfo("Reconnect manually: spawn connect"); logInfo("Reconnect manually: spawn last");
} }
if (tunnelHandle) { if (tunnelHandle) {