From 68910124f261c2a8422095a70e2809f59b569710 Mon Sep 17 00:00:00 2001 From: Tejas Kashinath Date: Thu, 18 Jun 2026 16:37:45 -0400 Subject: [PATCH] fix(create): use harness-first language when project already exists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When a user runs `agentcore create` inside an existing project, the existing-project-error screen now leads with `add harness` and offers `add agent` as the code-based alternative, instead of pointing only at `add agent`. Part of the harness GA cutover (single CLI, harness as a first-class create option). Unconditional — no isPreviewEnabled() branch — matching the post-merge GA state. --- src/cli/tui/screens/create/CreateScreen.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/cli/tui/screens/create/CreateScreen.tsx b/src/cli/tui/screens/create/CreateScreen.tsx index d0fe55294..582076fae 100644 --- a/src/cli/tui/screens/create/CreateScreen.tsx +++ b/src/cli/tui/screens/create/CreateScreen.tsx @@ -364,9 +364,12 @@ export function CreateScreen({ cwd, isInteractive, onExit, onNavigate }: CreateS A project already exists at this location. {flow.existingProjectPath && Found: {flow.existingProjectPath}} - + - Use add agent to create a new agent in the existing project. + Use add harness to add a harness to the existing project. + + + Or use add agent to add a code-based agent.