From cf70c5f6b198b2e2647f4e130412b41f35f99f43 Mon Sep 17 00:00:00 2001 From: Jesse Turner Date: Mon, 27 Apr 2026 15:43:35 +0000 Subject: [PATCH] fix(import): remove experimental warning from import command The import feature has stabilized and no longer needs the experimental label. --- src/cli/commands/import/command.ts | 2 +- src/cli/tui/screens/import/ImportSelectScreen.tsx | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/cli/commands/import/command.ts b/src/cli/commands/import/command.ts index 3fd4f745d..01ada8915 100644 --- a/src/cli/commands/import/command.ts +++ b/src/cli/commands/import/command.ts @@ -12,7 +12,7 @@ const { green, yellow, cyan, dim, reset } = ANSI; export const registerImport = (program: Command) => { const importCmd = program .command('import') - .description('Import a runtime, memory, or starter toolkit into this project. [experimental]'); + .description('Import a runtime, memory, or starter toolkit into this project.'); // Existing YAML flow: agentcore import --source importCmd diff --git a/src/cli/tui/screens/import/ImportSelectScreen.tsx b/src/cli/tui/screens/import/ImportSelectScreen.tsx index 21ab114f8..092e255b5 100644 --- a/src/cli/tui/screens/import/ImportSelectScreen.tsx +++ b/src/cli/tui/screens/import/ImportSelectScreen.tsx @@ -1,6 +1,5 @@ import type { SelectableItem } from '../../components/SelectList'; import { SelectScreen } from '../../components/SelectScreen'; -import { Text } from 'ink'; export type ImportType = 'runtime' | 'memory' | 'evaluator' | 'online-eval' | 'starter-toolkit'; @@ -42,17 +41,5 @@ interface ImportSelectScreenProps { } export function ImportSelectScreen({ onSelect, onExit }: ImportSelectScreenProps) { - return ( - - Experimental: this feature imports resources that are already deployed, use with caution - - } - items={IMPORT_OPTIONS} - onSelect={item => onSelect(item.id)} - onExit={onExit} - /> - ); + return onSelect(item.id)} onExit={onExit} />; }