fix: reorder interactive menu — "Create" before "Connect" (#2619)

Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
A 2026-03-14 12:25:16 -07:00 committed by GitHub
parent 3c11bf33d7
commit 689989005a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

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

View file

@ -225,14 +225,14 @@ export async function cmdInteractive(): Promise<void> {
const topChoice = await p.select({
message: "What would you like to do?",
options: [
{
value: "connect",
label: "Connect to existing server",
},
{
value: "create",
label: "Create a new server",
},
{
value: "connect",
label: "Connect to existing server",
},
],
});
if (p.isCancel(topChoice)) {