Start the scripted Codex Responses mock on a free port. Each
POST /v1/responses consumes the next scripted turn (the last turn repeats if
codex asks for more); HEAD and any other path get {}. Resolves to a handle
with the base url, the port, the recorded requests, and close().
Start the scripted Codex Responses mock on a free port. Each
POST /v1/responsesconsumes the next scripted turn (the last turn repeats if codex asks for more); HEAD and any other path get{}. Resolves to a handle with the baseurl, theport, the recordedrequests, andclose().