@@ -177,7 +177,7 @@ export class CLI {
177177 public rl ! : readline . Interface
178178
179179 private constructor (
180- readyPromise : Promise < [ ProjectFileContext , void ] > ,
180+ readyPromise : Promise < [ ProjectFileContext , void , void ] > ,
181181 { git, costMode, model, agent, params, print, trace } : CliOptions ,
182182 ) {
183183 this . git = git
@@ -206,13 +206,12 @@ export class CLI {
206206 } )
207207
208208 this . readyPromise = Promise . all ( [
209- readyPromise . then ( ( [ fileContext ] ) => {
209+ readyPromise . then ( ( [ fileContext , , ] ) => {
210210 const client = Client . getInstance ( )
211211 client . initSessionState ( fileContext )
212212 return client . warmContextCache ( )
213213 } ) ,
214214 Client . getInstance ( ) . connect ( ) ,
215- getLocalAgentInfo ( ) , // Initialize agent cache
216215 ] )
217216
218217 this . setPrompt ( )
@@ -264,7 +263,7 @@ export class CLI {
264263 }
265264
266265 public static initialize (
267- readyPromise : Promise < [ ProjectFileContext , void ] > ,
266+ readyPromise : Promise < [ ProjectFileContext , void , void ] > ,
268267 options : CliOptions ,
269268 ) : void {
270269 if ( CLI . instance ) {
0 commit comments