From 4bc6853a327ddca9e920fadeb6630aec5b4bac59 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 19 Aug 2026 10:07:30 -0700 Subject: [PATCH] fix(onboard): keep agent names on guided setup (#126365) --- src/commands/onboard.test.ts | 1 + src/commands/onboard.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/onboard.test.ts b/src/commands/onboard.test.ts index 3d2b853c8b7e..e0048fdf9e2a 100644 --- a/src/commands/onboard.test.ts +++ b/src/commands/onboard.test.ts @@ -959,6 +959,7 @@ describe("setupWizardCommand", () => { }); it.each([ + ["--agent-name", { agentName: "robby" }], ["--tui", { tui: true }], ["--skip-ui", { skipUi: true }], ])("keeps %s on guided onboarding", async (_label, opts) => { diff --git a/src/commands/onboard.ts b/src/commands/onboard.ts index fd3d46473a5b..60a661253644 100644 --- a/src/commands/onboard.ts +++ b/src/commands/onboard.ts @@ -423,7 +423,7 @@ const GUIDED_SAFE_ONBOARD_KEYS = new Set([ "reset", "resetScope", "nonInteractive", - "classic", + "agentName", "tui", "skipUi", ]);