From 659e1f0f80f212661d5ec811bc247dfeb4c3fabb Mon Sep 17 00:00:00 2001 From: Anshuman Sharma <69304992+and-human@users.noreply.github.com> Date: Tue, 5 May 2026 17:14:52 +0530 Subject: [PATCH] fix(cli): drop unsupported --no-banner flag for copilotkit v2 copilotkit@2.0.0 rewrote its CLI and removed --no-banner. The create-ag-ui-app scaffolder still passes the flag to `npx copilotkit@latest create`, causing "Unknown option '--no-banner'" and aborting project creation whenever a user picks CopilotKit/Next.js. The flag was cosmetic in v1 (banner suppression only) and has no v2 replacement, so removing it is sufficient. The CopilotKit banner now prints during nested creation, which is harmless. Fixes #1627 --- sdks/typescript/packages/cli/src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/sdks/typescript/packages/cli/src/index.ts b/sdks/typescript/packages/cli/src/index.ts index 6ba14b53cb..fbc405caf1 100644 --- a/sdks/typescript/packages/cli/src/index.ts +++ b/sdks/typescript/packages/cli/src/index.ts @@ -130,7 +130,6 @@ async function handleCopilotKitNextJs() { [ "copilotkit@latest", "create", - "--no-banner", "-n", projectName.name, ...frameworkArgs, ],