Start the scripted Codex Responses mock on a free port. Each
POST /v1/responses consumes the next scripted turn; one past the end of the
script is a 400, never a copy of the last turn (#340); 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; one past the end of the script is a 400, never a copy of the last turn (#340); HEAD and any other path get{}. Resolves to a handle with the baseurl, theport, the recordedrequests, andclose().