fix(ux): use space instead of slash in connection failure hint (#1930)

The error messages in handleRecordAction() recommended
`spawn agent/cloud` (slash notation), but the CLI itself shows
"Tip: use a space instead of slash" when users follow that advice.
Changed to `spawn agent cloud` to match canonical syntax.

Agent: ux-engineer

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
A 2026-02-25 13:47:09 -08:00 committed by GitHub
parent fbb48514e9
commit a0c2ce0dcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2471,7 +2471,7 @@ async function handleRecordAction(selected: SpawnRecord, manifest: Manifest | nu
} catch (err) {
p.log.error(`Connection failed: ${getErrorMessage(err)}`);
p.log.info(
`VM may no longer be running. Use ${pc.cyan(`spawn ${selected.agent}/${selected.cloud}`)} to start a new one.`,
`VM may no longer be running. Use ${pc.cyan(`spawn ${selected.agent} ${selected.cloud}`)} to start a new one.`,
);
}
return;
@ -2483,7 +2483,7 @@ async function handleRecordAction(selected: SpawnRecord, manifest: Manifest | nu
} catch (err) {
p.log.error(`Connection failed: ${getErrorMessage(err)}`);
p.log.info(
`VM may no longer be running. Use ${pc.cyan(`spawn ${selected.agent}/${selected.cloud}`)} to start a new one.`,
`VM may no longer be running. Use ${pc.cyan(`spawn ${selected.agent} ${selected.cloud}`)} to start a new one.`,
);
}
return;