@christiandoxa/prodex 0.205.0 → 0.207.0
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 +38 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ JavaScript clients can use `@christiandoxa/prodex-gateway-sdk` for `/v1/response
|
|
|
103
103
|
<details>
|
|
104
104
|
<summary>Provider behavior details (advanced)</summary>
|
|
105
105
|
|
|
106
|
-
The auto-rotate proxy is intentionally conservative. It rotates only before a request or stream is committed, preserves `previous_response_id`, turn-state, and session affinity, and does not rotate mid-stream. OpenAI/Codex remains the default quota-aware pool. Gemini OAuth, Antigravity CLI, imported Copilot profiles, Anthropic OAuth profiles, DeepSeek API keys, local OpenAI-compatible URLs, and Bedrock/custom Codex providers now have `prodex quota` views. Anthropic, DeepSeek, API-key Gemini, API-key Copilot, Antigravity CLI, local URLs, and Bedrock/custom Codex providers still skip OpenAI quota preflight.
|
|
106
|
+
The auto-rotate proxy is intentionally conservative. It rotates only before a request or stream is committed, preserves `previous_response_id`, turn-state, and session affinity, and does not rotate mid-stream. Prodex does not auto-redeem reset credits by default. If you launch an OpenAI/Codex runtime path with `--auto-redeem`, Prodex may redeem one earned reset credit only when the weekly usage-limit window is exhausted, no other profile in the quota pool still has weekly quota remaining, and the weekly reset is not already imminent, then retries the same profile before rotating. It still does not redeem for merely critical/thin windows or 5h-only exhaustion. You can also run `prodex redeem <profile>` to send one explicit reset-credit consume request for a named OpenAI/Codex profile; the upstream backend decides whether that manual request applies, reports nothing-to-reset, or reports no-credit/already-redeemed. OpenAI/Codex remains the default quota-aware pool. Gemini OAuth, Antigravity CLI, imported Copilot profiles, Anthropic OAuth profiles, DeepSeek API keys, local OpenAI-compatible URLs, and Bedrock/custom Codex providers now have `prodex quota` views. Anthropic, DeepSeek, API-key Gemini, API-key Copilot, Antigravity CLI, local URLs, and Bedrock/custom Codex providers still skip OpenAI quota preflight.
|
|
107
107
|
|
|
108
108
|
Runtime proxy design contract:
|
|
109
109
|
|
|
@@ -812,12 +812,13 @@ prodex quota --all --auth no-auth --once
|
|
|
812
812
|
prodex quota --all --detail --provider openai
|
|
813
813
|
prodex quota --all --provider deepseek --once
|
|
814
814
|
prodex quota --all --provider local --base-url http://127.0.0.1:8131/v1 --once
|
|
815
|
+
prodex redeem main
|
|
815
816
|
prodex dashboard
|
|
816
817
|
```
|
|
817
818
|
|
|
818
819
|
The live `prodex quota --all --detail` view accepts `s` to cycle sort modes and `f` to cycle the provider filter through `all`, `openai`, `gemini`, `anthropic`, `copilot`, `deepseek`, and `local`. Add `--provider openai`, `--provider gemini`, `--provider anthropic`, `--provider copilot`, `--provider deepseek`, or `--provider local` to start locked to a single provider.
|
|
819
820
|
|
|
820
|
-
For OpenAI/Codex profiles, quota views also show earned rate-limit reset credits when the upstream usage API reports them.
|
|
821
|
+
For OpenAI/Codex profiles, quota views also show earned rate-limit reset credits when the upstream usage API reports them. Use `prodex redeem <profile>` when you explicitly want to redeem one reset credit on a named profile, or add `--auto-redeem` to a runtime launch when you want Prodex to consider a guarded automatic redeem after every OpenAI/Codex profile is weekly-exhausted.
|
|
821
822
|
|
|
822
823
|
`prodex dashboard` serves a local browser dashboard at `http://127.0.0.1:8765` by default. It shows profile/account settings, lets you switch or remove profile entries, and renders live usage from the same quota collectors used by `prodex quota`. Use `prodex dashboard --port 0` for an OS-selected free port, or pass `--base-url` for quota checks against a custom Codex-compatible backend. The dashboard has no password auth; keep it on localhost unless the network is trusted.
|
|
823
824
|
|
|
@@ -871,6 +872,41 @@ unless Prodex explicitly owns that command.
|
|
|
871
872
|
|
|
872
873
|
</details>
|
|
873
874
|
|
|
875
|
+
<details>
|
|
876
|
+
<summary>Codex runtime feature overrides and app-server compatibility (advanced)</summary>
|
|
877
|
+
|
|
878
|
+
Prodex keeps recent Codex runtime switches as Codex-owned behavior by rendering launch flags into `codex -c ...` overrides on `prodex run`, `prodex caveman`, and `prodex super`:
|
|
879
|
+
|
|
880
|
+
```bash
|
|
881
|
+
prodex run --web-search indexed
|
|
882
|
+
prodex run --web-search cached
|
|
883
|
+
prodex run --web-search live
|
|
884
|
+
prodex run --web-search disabled
|
|
885
|
+
|
|
886
|
+
prodex run --rollout-budget-tokens 100000
|
|
887
|
+
prodex run --rollout-budget-tokens 100000 --rollout-budget-reminders 75000,50000,25000
|
|
888
|
+
|
|
889
|
+
prodex run --current-time-reminder
|
|
890
|
+
prodex run --current-time-reminder --current-time-reminder-interval 2
|
|
891
|
+
```
|
|
892
|
+
|
|
893
|
+
`--web-search` maps to Codex's top-level `web_search = "disabled" | "cached" | "indexed" | "live"` setting. In Super provider mode, an explicit `--web-search` is appended after the provider default, so it overrides the default bridge choice.
|
|
894
|
+
|
|
895
|
+
`--rollout-budget-tokens` enables Codex's `[features.rollout_budget]` config. If no reminder thresholds are supplied, Prodex provides valid 75%, 50%, and 25% remaining-token thresholds for the selected limit. Use `--rollout-budget-sampling-weight` and `--rollout-budget-prefill-weight` only when you need Codex's weighted accounting knobs.
|
|
896
|
+
|
|
897
|
+
`--current-time-reminder` enables Codex's `[features.current_time_reminder]` config. The default system clock source is owned by Codex. `--current-time-clock-source external` is intended for Codex app-server clients that implement the upstream `currentTime/read` request.
|
|
898
|
+
|
|
899
|
+
Codex `multiAgentMode` is an app-server/thread setting, not a normal TUI `config.toml` launch override. Prodex therefore does not invent a competing CLI config flag. Launch `prodex app-server` or `prodex run app-server` and pass upstream `multiAgentMode` values (`none`, `explicitRequestOnly`, or `proactive`) through the Codex app-server API.
|
|
900
|
+
|
|
901
|
+
Codex plugin catalog commands are managed passthrough by default:
|
|
902
|
+
|
|
903
|
+
```bash
|
|
904
|
+
prodex plugin list
|
|
905
|
+
prodex plugin marketplace
|
|
906
|
+
```
|
|
907
|
+
|
|
908
|
+
</details>
|
|
909
|
+
|
|
874
910
|
## Modes
|
|
875
911
|
|
|
876
912
|
| Mode | Command | Description |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@christiandoxa/prodex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.207.0",
|
|
4
4
|
"description": "Multi-provider Codex wrapper with OpenAI quota-aware routing and Claude Code support",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": {
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"@openai/codex": "latest"
|
|
17
17
|
},
|
|
18
18
|
"optionalDependencies": {
|
|
19
|
-
"@christiandoxa/prodex-linux-x64": "0.
|
|
20
|
-
"@christiandoxa/prodex-linux-arm64": "0.
|
|
21
|
-
"@christiandoxa/prodex-darwin-x64": "0.
|
|
22
|
-
"@christiandoxa/prodex-darwin-arm64": "0.
|
|
23
|
-
"@christiandoxa/prodex-win32-x64": "0.
|
|
24
|
-
"@christiandoxa/prodex-win32-arm64": "0.
|
|
19
|
+
"@christiandoxa/prodex-linux-x64": "0.207.0",
|
|
20
|
+
"@christiandoxa/prodex-linux-arm64": "0.207.0",
|
|
21
|
+
"@christiandoxa/prodex-darwin-x64": "0.207.0",
|
|
22
|
+
"@christiandoxa/prodex-darwin-arm64": "0.207.0",
|
|
23
|
+
"@christiandoxa/prodex-win32-x64": "0.207.0",
|
|
24
|
+
"@christiandoxa/prodex-win32-arm64": "0.207.0",
|
|
25
25
|
"@openai/codex-linux-x64": "npm:@openai/codex@linux-x64",
|
|
26
26
|
"@openai/codex-linux-arm64": "npm:@openai/codex@linux-arm64",
|
|
27
27
|
"@openai/codex-darwin-x64": "npm:@openai/codex@darwin-x64",
|