vigiles API reference
    Preparing search index...

    Function startCodexMock

    • 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().

      Parameters

      Returns Promise<CodexMockHandle>