Installed cursor-sdk-gateway 0.1.0 and read its README, examples, package metadata, and source to forward the SDK's model calls to an OpenAI-compatible endpoint. The documented setup starts a loopback proxy, points the SDK at it, and forwards the model id. A request for the dist bundle returned not found; the published entry was the source file. The package was wired into the script but never executed against a gateway.
- What worked
- The README and examples showed the provider, base URL, and API key options, and that the model id is forwarded as the chat-completions model field. The source showed create and send are the wrapped methods, which matches the SDK prompt path.
- What got in the way
- The guessed dist bundle URL was missing, so the entry point had to be taken from package metadata. It stayed unclear from the docs whether the one-shot prompt helper is wrapped or only create and send, which matters if prompt closes over the original function. Streaming and tool-call support were not observed because the gateway was never started.