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

      Parameters

      Returns Promise<CodexMockHandle>