@@ -2240,15 +2240,15 @@ it.layer(McpProviderSessions.layer)("OpenCode2 adapter", (it) => {
22402240 // session.command returns 204 without an inbox id; the stream drops before session.inbox.enqueued provides it.
22412241 const { runtime, thread } = yield * resumed ( [
22422242 out ( "command.list" , "<any>" ) ,
2243- reply ( "command.list" , { location : { directory : WORK } , data : [ { name : "hello" } ] } ) ,
2243+ reply ( "command.list" , { location : { directory : WORK } , data : [ { name : "git/ hello" } ] } ) ,
22442244 out ( "message.list" , { sessionID : SESSION , order : "desc" , limit : "1" } ) ,
22452245 reply ( "message.list" , {
22462246 data : [
22472247 { id : "msg_idle_before" , time : { created : 1 } , type : "idle" , outcome : "succeeded" } ,
22482248 ] ,
22492249 cursor : { } ,
22502250 } ) ,
2251- out ( "session.command" , { sessionID : SESSION , name : "hello" , text : "WORLD" } ) ,
2251+ out ( "session.command" , { sessionID : SESSION , name : "git/ hello" , text : "WORLD" } ) ,
22522252 reply ( "session.command" , null ) ,
22532253 { type : "runtime_exit" , status : "success" } as const ,
22542254 out ( "event.subscribe" ) ,
@@ -2285,7 +2285,7 @@ it.layer(McpProviderSessions.layer)("OpenCode2 adapter", (it) => {
22852285 ) ;
22862286 yield * runtime . startTurn ( {
22872287 ...turnInput ( thread ) ,
2288- message : { ...turnInput ( thread ) . message , text : "/hello WORLD" } ,
2288+ message : { ...turnInput ( thread ) . message , text : "/git/ hello WORLD" } ,
22892289 } ) ;
22902290 const collected = yield * Fiber . join ( events ) ;
22912291 const texts = collected . flatMap ( ( event ) =>
0 commit comments