@bitkyc08/opencodex 2.6.21 → 2.6.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ko.md +2 -2
- package/README.md +12 -9
- package/README.zh-CN.md +2 -2
- package/gui/dist/assets/{index-npFbiPU_.js → index-C0YNrCNA.js} +1 -1
- package/gui/dist/index.html +1 -1
- package/package.json +1 -1
- package/src/adapters/cursor/live-transport.ts +9 -4
- package/src/adapters/cursor/native-exec-fs.ts +45 -0
- package/src/adapters/cursor/native-exec-network.ts +11 -0
- package/src/adapters/cursor/native-exec-shell.ts +63 -0
- package/src/adapters/cursor/native-exec.ts +45 -3
- package/src/cli-help.ts +6 -3
- package/src/codex-auth-collision.ts +2 -2
- package/src/codex-home.ts +91 -0
- package/src/codex-paths.ts +2 -2
- package/src/doctor.ts +5 -11
- package/src/providers/registry.ts +2 -2
- package/src/service.ts +17 -3
- package/src/types.ts +9 -0
package/README.ko.md
CHANGED
|
@@ -202,7 +202,7 @@ ocx login <xai|anthropic|kimi> # OAuth 로그인
|
|
|
202
202
|
ocx logout <provider> # 저장된 로그인 정보 삭제
|
|
203
203
|
ocx gui # 웹 대시보드 열기
|
|
204
204
|
ocx codex-shim install # codex 실행 시 `ocx ensure` 실행
|
|
205
|
-
ocx service
|
|
205
|
+
ocx service [install|start|stop|status|uninstall] # 백그라운드 서비스 설치/갱신/시작
|
|
206
206
|
ocx update [--tag preview] # opencodex 업데이트; preview 설치는 @preview 유지
|
|
207
207
|
```
|
|
208
208
|
|
|
@@ -210,7 +210,7 @@ ocx update [--tag preview] # opencodex 업데이트; preview 설치는 @prev
|
|
|
210
210
|
|
|
211
211
|
opencodex에는 프록시를 자동 시작하는 두 가지 방법이 있습니다:
|
|
212
212
|
|
|
213
|
-
| | `ocx service install` | `ocx codex-shim install` |
|
|
213
|
+
| | `ocx service` / `ocx service install` | `ocx codex-shim install` |
|
|
214
214
|
|---|---|---|
|
|
215
215
|
| **방식** | OS 서비스 관리자 (launchd / systemd / schtasks) | `codex` 스크립트 런처를 래핑하며 실제 `codex.exe`는 건드리지 않음 |
|
|
216
216
|
| **시점** | 로그인 후 항상 실행 | 온디맨드 — `codex` 실행 시 `ocx ensure` 실행 |
|
package/README.md
CHANGED
|
@@ -186,7 +186,7 @@ next Codex session. opencodex keeps two separate behaviors:
|
|
|
186
186
|
| Kimi (Moonshot) | `openai-chat` | oauth / key |
|
|
187
187
|
| Google Gemini | `google` | key |
|
|
188
188
|
| Azure OpenAI | `azure-openai` | key |
|
|
189
|
-
| Cursor (experimental) | `cursor` | dashboard/local config; live transport
|
|
189
|
+
| Cursor (experimental) | `cursor` | dashboard/local config; live transport; unsafe native local exec is opt-in |
|
|
190
190
|
| Ollama Cloud + 17-provider catalog | `openai-chat` | key |
|
|
191
191
|
| Ollama / vLLM / LM Studio (local) | `openai-chat` | key (usually blank) |
|
|
192
192
|
| Any OpenAI-compatible endpoint | `openai-chat` | key |
|
|
@@ -195,11 +195,14 @@ Plus DeepSeek, Groq, OpenRouter, Together, Fireworks, Cerebras, Mistral, Hugging
|
|
|
195
195
|
|
|
196
196
|
Cursor support is a staged experimental bridge: it appears in `ocx init` and the dashboard Add
|
|
197
197
|
Provider 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
|
|
199
|
-
read/write/delete/ls/grep/shell/fetch
|
|
200
|
-
and
|
|
201
|
-
|
|
202
|
-
|
|
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.
|
|
203
206
|
|
|
204
207
|
## CLI
|
|
205
208
|
|
|
@@ -213,10 +216,10 @@ ocx ensure # start if needed + refresh Codex config/cache
|
|
|
213
216
|
ocx sync # refresh models + re-inject into Codex
|
|
214
217
|
ocx codex-shim install # run `ocx ensure` whenever `codex` is launched
|
|
215
218
|
ocx status # is the proxy running?
|
|
216
|
-
ocx login <
|
|
219
|
+
ocx login <provider> # OAuth login (xai, anthropic, kimi, cursor, ...)
|
|
217
220
|
ocx logout <provider> # remove a stored login
|
|
218
221
|
ocx gui # open the web dashboard
|
|
219
|
-
ocx service
|
|
222
|
+
ocx service [install|start|stop|status|uninstall] # install/update/start background service
|
|
220
223
|
ocx update [--tag preview] # update opencodex; preview installs stay on @preview
|
|
221
224
|
```
|
|
222
225
|
|
|
@@ -224,7 +227,7 @@ ocx update [--tag preview] # update opencodex; preview installs stay on @pre
|
|
|
224
227
|
|
|
225
228
|
opencodex has two ways to auto-start the proxy:
|
|
226
229
|
|
|
227
|
-
| | `ocx service install` | `ocx codex-shim install` |
|
|
230
|
+
| | `ocx service` / `ocx service install` | `ocx codex-shim install` |
|
|
228
231
|
|---|---|---|
|
|
229
232
|
| **How** | OS service manager (launchd / systemd / schtasks) | Wraps script launchers for `codex`; real `codex.exe` is left untouched |
|
|
230
233
|
| **When** | Always running after login | On-demand — runs `ocx ensure` when `codex` is launched |
|
package/README.zh-CN.md
CHANGED
|
@@ -197,7 +197,7 @@ ocx login <xai|anthropic|kimi> # OAuth 登录
|
|
|
197
197
|
ocx logout <provider> # 移除已保存的登录
|
|
198
198
|
ocx gui # 打开 Web 仪表盘
|
|
199
199
|
ocx codex-shim install # 运行 codex 时自动启动代理
|
|
200
|
-
ocx service
|
|
200
|
+
ocx service [install|start|stop|status|uninstall] # 安装/更新/启动后台服务
|
|
201
201
|
ocx update [--tag preview] # 更新 opencodex;preview 安装保持 @preview
|
|
202
202
|
```
|
|
203
203
|
|
|
@@ -205,7 +205,7 @@ ocx update [--tag preview] # 更新 opencodex;preview 安装保持 @previe
|
|
|
205
205
|
|
|
206
206
|
opencodex 提供两种自动启动代理的方式:
|
|
207
207
|
|
|
208
|
-
| | `ocx service install` | `ocx codex-shim install` |
|
|
208
|
+
| | `ocx service` / `ocx service install` | `ocx codex-shim install` |
|
|
209
209
|
|---|---|---|
|
|
210
210
|
| **方式** | OS 服务管理器(launchd / systemd / schtasks) | 包装 `codex` 脚本启动器;不会改动真实 `codex.exe` |
|
|
211
211
|
| **时机** | 登录后始终运行 | 按需 — 仅在运行 `codex` 时启动 |
|