@@ -186,7 +186,7 @@ next Codex session. opencodex keeps two separate behaviors:
186186| Kimi (Moonshot) | ` openai-chat ` | oauth / key |
187187| Google Gemini | ` google ` | key |
188188| Azure OpenAI | ` azure-openai ` | key |
189- | Cursor (experimental) | ` cursor ` | dashboard/local config; live transport + native exec |
189+ | Cursor (experimental) | ` cursor ` | dashboard/local config; live transport; unsafe native local exec is opt-in |
190190| Ollama Cloud + 17-provider catalog | ` openai-chat ` | key |
191191| Ollama / vLLM / LM Studio (local) | ` openai-chat ` | key (usually blank) |
192192| Any OpenAI-compatible endpoint | ` openai-chat ` | key |
@@ -195,11 +195,14 @@ Plus DeepSeek, Groq, OpenRouter, Together, Fireworks, Cerebras, Mistral, Hugging
195195
196196Cursor support is a staged experimental bridge: it appears in ` ocx init ` and the dashboard Add
197197Provider picker as a local config with Cursor's static public model catalog. Live
198- HTTP/2 transport is enabled when a Cursor access token is configured, and Cursor native
199- read/write/delete/ls/grep/shell/fetch requests are handled by opencodex. MCP, screen recording,
200- and computer-use are exposed through executor hooks; when no local executor is configured,
201- opencodex returns typed no-executor results instead of policy-blocking the request. Cursor OAuth
202- and live model discovery remain separate future phases.
198+ HTTP/2 transport is enabled when a Cursor access token is configured. Cursor server-driven native
199+ read/write/delete/ls/grep/shell/fetch execution is disabled by default because it bypasses Codex's
200+ approval and sandbox path; set ` unsafeAllowNativeLocalExec: true ` only for trusted local
201+ experiments. The older ` allowNativeLocalExec ` spelling is accepted as a deprecated transition
202+ alias.
203+ MCP, screen recording, and computer-use are exposed through executor hooks; when no local executor
204+ is configured, opencodex returns typed no-executor results instead of policy-blocking the request.
205+ Cursor OAuth and live model discovery are enabled for the experimental Cursor adapter.
203206
204207## CLI
205208
@@ -213,18 +216,18 @@ ocx ensure # start if needed + refresh Codex config/cache
213216ocx sync # refresh models + re-inject into Codex
214217ocx codex-shim install # run `ocx ensure` whenever `codex` is launched
215218ocx status # is the proxy running?
216- ocx login < xai | anthropic | kimi > # OAuth login
219+ ocx login < provider > # OAuth login (xai, anthropic, kimi, cursor, ...)
217220ocx logout < provider> # remove a stored login
218221ocx gui # open the web dashboard
219- ocx service < install| start| stop| status| uninstall> # background service (launchd/systemd/schtasks)
222+ ocx service [ install| start| stop| status| uninstall] # install/update/start background service
220223ocx update [--tag preview] # update opencodex; preview installs stay on @preview
221224```
222225
223226### Autostart: service vs shim
224227
225228opencodex has two ways to auto-start the proxy:
226229
227- | | ` ocx service install ` | ` ocx codex-shim install ` |
230+ | | ` ocx service ` / ` ocx service install` | ` ocx codex-shim install ` |
228231| ---| ---| ---|
229232| ** How** | OS service manager (launchd / systemd / schtasks) | Wraps script launchers for ` codex ` ; real ` codex.exe ` is left untouched |
230233| ** When** | Always running after login | On-demand — runs ` ocx ensure ` when ` codex ` is launched |
0 commit comments