@@ -23,7 +23,6 @@ import {
2323 ConfigServiceState ,
2424 SERVICE_NAMES ,
2525 ServiceInitOptions ,
26- ServiceInitResult ,
2726 WorkflowServiceState ,
2827} from "./types.js" ;
2928import { UpdateService } from "./UpdateService.js" ;
@@ -48,23 +47,19 @@ const systemMessageService = new SystemMessageService();
4847 * Initialize all services and register them with the service container
4948 * Handles onboarding internally for TUI mode unless skipOnboarding is true
5049 */
51- export async function initializeServices (
52- initOptions : ServiceInitOptions = { } ,
53- ) : Promise < ServiceInitResult > {
50+ export async function initializeServices ( initOptions : ServiceInitOptions = { } ) {
5451 logger . debug ( "Initializing service registry" ) ;
5552
56- let wasOnboarded = false ;
5753 const commandOptions = initOptions . options || { } ;
5854
5955 // Handle onboarding for TUI mode (headless: false) unless explicitly skipped
6056 if ( ! initOptions . headless && ! initOptions . skipOnboarding ) {
6157 const authConfig = loadAuthConfig ( ) ;
62- const onboardingResult = await initializeWithOnboarding (
58+ await initializeWithOnboarding (
6359 authConfig ,
6460 commandOptions . config ,
6561 commandOptions . rule ,
6662 ) ;
67- wasOnboarded = onboardingResult . wasOnboarded ;
6863 }
6964
7065 // Handle ANTHROPIC_API_KEY in headless mode when no config path is provided
@@ -287,8 +282,6 @@ export async function initializeServices(
287282 await serviceContainer . initializeAll ( ) ;
288283
289284 logger . debug ( "Service registry initialized" ) ;
290-
291- return { wasOnboarded } ;
292285}
293286
294287/**
0 commit comments