@bitkyc08/opencodex 2.29.0 → 2.31.0-preview.20260822
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.md +5 -5
- package/gui/dist/assets/index-DyWYnr-t.js +102 -0
- package/gui/dist/index.html +1 -1
- package/package.json +3 -3
- package/src/adapters/cursor/cursor-errors.ts +65 -6
- package/src/adapters/cursor/discovery.ts +29 -2
- package/src/adapters/cursor/effort-map.ts +6 -0
- package/src/adapters/cursor/h2-pool.ts +123 -0
- package/src/adapters/cursor/images.ts +704 -0
- package/src/adapters/cursor/live-models.ts +21 -26
- package/src/adapters/cursor/live-transport.ts +239 -8
- package/src/adapters/cursor/native-exec-common.ts +17 -0
- package/src/adapters/cursor/native-exec.ts +9 -4
- package/src/adapters/cursor/protobuf-events.ts +5 -1
- package/src/adapters/cursor/protobuf-request.ts +46 -9
- package/src/adapters/cursor/request-builder.ts +29 -14
- package/src/adapters/cursor/tool-definitions.ts +20 -0
- package/src/adapters/cursor/transport.ts +10 -0
- package/src/adapters/cursor/types.ts +8 -1
- package/src/adapters/cursor.ts +23 -5
- package/src/adapters/google.ts +16 -3
- package/src/adapters/openai-responses.ts +66 -20
- package/src/adapters/xai-web-search.ts +185 -0
- package/src/cli/agent.ts +2 -1
- package/src/cli/dispatch.ts +2 -2
- package/src/cli/doctor.ts +89 -0
- package/src/cli/help.ts +2 -0
- package/src/cli/registry.ts +7 -2
- package/src/codex/auth-context.ts +41 -2
- package/src/codex/catalog/effort.ts +1 -1
- package/src/codex/catalog/parsing.ts +2 -0
- package/src/codex/catalog/provider-fetch.ts +20 -5
- package/src/codex/coordinator-doctor.ts +332 -0
- package/src/codex/features.ts +58 -0
- package/src/codex/inject-coordination.ts +39 -6
- package/src/codex/transition-state.ts +12 -12
- package/src/generated/compatibility-version.json +86 -58
- package/src/lib/bun-stream-caps.ts +7 -4
- package/src/lib/errors.ts +8 -2
- package/src/oauth/cursor.ts +21 -0
- package/src/providers/command-code-efforts.ts +7 -0
- package/src/providers/cursor-pool.ts +72 -0
- package/src/providers/derive.ts +3 -0
- package/src/providers/fastwire.ts +12 -1
- package/src/providers/openai-sidecar.ts +1 -0
- package/src/providers/quota.ts +98 -25
- package/src/providers/registry.ts +115 -10
- package/src/providers/service-tier.ts +22 -7
- package/src/responses/custom-tool-compat.ts +24 -8
- package/src/responses/namespace-tool-compat.ts +2 -3
- package/src/router.ts +3 -0
- package/src/server/chat-completions.ts +4 -0
- package/src/server/chat-native.ts +20 -0
- package/src/server/management/agent-settings-routes.ts +16 -5
- package/src/server/management/config-routes.ts +25 -5
- package/src/server/management/vision-sidecar-options.ts +54 -19
- package/src/server/responses/compact.ts +1 -2
- package/src/server/responses/core.ts +54 -13
- package/src/service.ts +122 -14
- package/src/types/config.ts +9 -3
- package/src/types/provider.ts +6 -0
- package/src/usage/cost.ts +52 -38
- package/src/usage/expected-prices.ts +79 -9
- package/src/vision/backends.ts +97 -0
- package/src/vision/eligibility.ts +43 -22
- package/src/vision/index.ts +73 -5
- package/src/vision/routed-describe.ts +175 -0
- package/gui/dist/assets/index-BNESwCzn.js +0 -102
package/README.md
CHANGED
|
@@ -58,12 +58,12 @@ ocx start # or `ocx service` to run it in the backgro
|
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
<details>
|
|
61
|
-
<summary>Install from source (latest dev
|
|
61
|
+
<summary>Install from source (latest dev)</summary>
|
|
62
62
|
|
|
63
63
|
**macOS / Linux:**
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
|
-
curl -fsSL https://bun.sh/install | bash
|
|
66
|
+
curl -fsSL https://bun.sh/install | bash
|
|
67
67
|
git clone https://github.com/lidge-jun/opencodex.git
|
|
68
68
|
cd opencodex && ~/.bun/bin/bun install
|
|
69
69
|
~/.bun/bin/bun run src/cli/index.ts start
|
|
@@ -72,13 +72,13 @@ cd opencodex && ~/.bun/bin/bun install
|
|
|
72
72
|
**Windows (PowerShell):**
|
|
73
73
|
|
|
74
74
|
```powershell
|
|
75
|
-
irm bun.sh/install.ps1 | iex
|
|
75
|
+
irm bun.sh/install.ps1 | iex
|
|
76
76
|
git clone https://github.com/lidge-jun/opencodex.git
|
|
77
77
|
cd opencodex; bun install
|
|
78
78
|
bun run src/cli/index.ts start
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
Source install runs the latest `dev` branch
|
|
81
|
+
Source install runs the latest `dev` branch. Memory ownership
|
|
82
82
|
patches, runtime GC improvements, and unreleased fixes are available here before
|
|
83
83
|
they reach the npm package.
|
|
84
84
|
|
|
@@ -208,7 +208,7 @@ Qwen Cloud, SiliconFlow, and more. Full list: `ocx init` or the
|
|
|
208
208
|
ocx init # interactive setup (writes config, wires Codex, offers the shim)
|
|
209
209
|
ocx start [--port 10100] # start the proxy in the foreground
|
|
210
210
|
ocx stop # stop + restore native Codex
|
|
211
|
-
ocx service [install|start|stop|status|uninstall|remove] # background service
|
|
211
|
+
ocx service [install|repair|restart|start|stop|status|uninstall|remove] # background service
|
|
212
212
|
ocx codex-shim install # start the proxy on demand whenever `codex` launches
|
|
213
213
|
ocx health [--json] # check immediate proxy liveness
|
|
214
214
|
ocx ready [--json] [--wait [--timeout <seconds>]] # check post-sync readiness
|