Complete the Codex host initialization handshake once

This commit is contained in:
2026-11-05 15:49:44 +00:00
parent 46f85556af
commit 1e886faa41
6 changed files with 62 additions and 9 deletions
+3
View File
@@ -54,6 +54,9 @@ func TestEnsureSpawnsReusableDetachedHost(t *testing.T) {
if wsjson.Read(ctx, conn, &msg) != nil {
return
}
if method(msg) == "initialized" {
continue
}
if err := wsjson.Write(ctx, conn, message{"id": msg["id"], "result": json.RawMessage(`{}`)}); err != nil {
return
}