@@ -423,9 +423,9 @@ async function backfillCommand(options: ParsedArgs, ctx: RunContext, registry?:
423423
424424 if ( action === 'import' && ! options [ 'dry-run' ] ) {
425425 const requested = normalizeBackfillSource ( stringOption ( options . source ) || 'all' )
426- const supported = new Set < string > ( [ 'all' , 'codex' , 'claude-code' , 'opencode' , 'pi' ] )
426+ const supported = new Set < string > ( [ 'all' , 'codex' , 'claude-code' , 'opencode' , 'pi' , 'amp' ] )
427427 if ( ! supported . has ( requested ) ) {
428- write ( ctx . stderr , 'Only Codex, Claude Code, OpenCode, and Pi backfill import are implemented.\n' )
428+ write ( ctx . stderr , `Unsupported backfill source: ${ requested } \n` )
429429 return 1
430430 }
431431 const plan = await createBackfillPlanFromOptions ( options , ctx , 'discover' , reg )
@@ -693,10 +693,10 @@ async function importBackfillPlan(
693693 registry : AdapterRegistry ,
694694) : Promise < number > {
695695 const source = normalizeBackfillSource ( stringOption ( options . source ) || 'all' )
696- const supportedSources = new Set < BackfillSourceId > ( [ 'codex' , 'claude-code' , 'opencode' , 'pi' ] )
696+ const supportedSources = new Set < BackfillSourceId > ( [ 'codex' , 'claude-code' , 'opencode' , 'pi' , 'amp' ] )
697697 const home = resolveHome ( options , ctx )
698698 if ( source !== 'all' && ! supportedSources . has ( source as BackfillSourceId ) ) {
699- write ( ctx . stderr , 'Only Codex, Claude Code, OpenCode, and Pi backfill import are implemented.\n' )
699+ write ( ctx . stderr , `Unsupported backfill source: ${ source } \n` )
700700 return 1
701701 }
702702
0 commit comments