@react-grab/codex
v0.0.94
Published
OpenAI Codex provider for React Grab.
Downloads
2,492
Readme
@react-grab/codex
OpenAI Codex provider for React Grab.
Installation
npm install @react-grab/codexUsage
Server
The server runs on port 7567 and interfaces with the Codex SDK. Add to your package.json:
{
"scripts": {
"dev": "npx @react-grab/codex@latest && next dev"
}
}Note: You must have Codex installed (
npm i -g @openai/codex).
Client
Add the client script to your HTML:
<script src="//unpkg.com/@react-grab/codex/dist/client.global.js"></script>Or import programmatically:
import "@react-grab/codex/client";Features
- Follow-ups: Continue conversations with the same thread
- Undo: Undo the last change made by Codex
- Streaming: Real-time status updates during execution
