OpenAI Codex provider for React Grab.
OpenAI Codex provider for React Grab.
``bash`
npm install @react-grab/codex
The server runs on port 7567 and interfaces with the Codex SDK. Add to your package.json:
`json`
{
"scripts": {
"dev": "npx @react-grab/codex@latest && next dev"
}
}
> Note: You must have Codex installed (npm i -g @openai/codex).
Add the client script to your HTML:
`html`
Or import programmatically:
`ts``
import "@react-grab/codex/client";
- Follow-ups: Continue conversations with the same thread
- Undo: Undo the last change made by Codex
- Streaming: Real-time status updates during execution