@christiandoxa/prodex 0.130.0 → 0.132.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.
Files changed (2) hide show
  1. package/README.md +22 -3
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -364,9 +364,10 @@ prodex profile import-current main
364
364
  prodex login
365
365
  prodex profile add second
366
366
  prodex login --profile second
367
+ prodex login --with-google
367
368
  ```
368
369
 
369
- Interactive `prodex login` now asks for the login method before starting a browser. Choose ChatGPT browser login, device-code login, or API-key login. For API-key profiles, you can also set an OpenAI-compatible backend URL:
370
+ Interactive `prodex login` now asks for the login method before starting a browser. Choose ChatGPT browser login, device-code login, API-key login, or Google sign-in for Gemini. For API-key profiles, you can also set an OpenAI-compatible backend URL:
370
371
 
371
372
  ```bash
372
373
  printf '%s\n' "$OPENAI_API_KEY" | prodex login --with-api-key --base-url http://localhost:11434/v1
@@ -628,6 +629,7 @@ RTK is still an external binary. Install it separately if `rtk gain` is unavaila
628
629
  prodex s
629
630
  prodex s exec "review this repo"
630
631
  DEEPSEEK_API_KEY=... prodex s --provider deepseek --model deepseek-v4-pro
632
+ prodex s --provider gemini
631
633
  prodex super
632
634
  prodex super --profile main
633
635
  prodex super --dry-run
@@ -662,6 +664,17 @@ prodex s --provider deepseek --model deepseek-v4-pro --api-key "$DEEPSEEK_API_KE
662
664
 
663
665
  If `--api-key` is omitted, Prodex reads `DEEPSEEK_API_KEY`. This path injects a temporary `prodex-deepseek` Codex provider, exposes a local `/v1/responses` adapter to Codex, forwards to DeepSeek's OpenAI-format chat API, and keeps quota preflight/account rotation disabled. Prodex also injects a one-model Codex catalog for the selected DeepSeek model, so `/model` stays on that model and offers the DeepSeek-compatible `high`/`xhigh` effort choices. The Super optional tools still run normally because they are local launch overlays around Codex. Remote compact is not implemented for this adapter yet, so the default DeepSeek context window is large and `--auto-compact-token-limit` defaults high.
664
666
 
667
+ Use `--provider gemini` when you want the Codex/Super front end with Gemini upstream:
668
+
669
+ ```bash
670
+ prodex login --with-google
671
+ prodex s --provider gemini
672
+ GEMINI_API_KEY=... prodex s --provider gemini --model gemini-2.5-pro
673
+ prodex s --provider gemini --model gemini-2.5-pro --api-key "$GEMINI_API_KEY"
674
+ ```
675
+
676
+ Without `--api-key`, Prodex uses the Google OAuth profile created by `prodex login` and routes through Google's Code Assist Gemini endpoint. With `--api-key`, or `GEMINI_API_KEY` / `GOOGLE_API_KEY`, Prodex routes through the public Gemini API. The default model is `gemini-2.5-pro`, matching Gemini CLI's current default, and the injected catalog exposes Gemini reasoning efforts with the 2.5 default thinking budget of 8192. `prodex quota` reads the same Google OAuth profile and fetches Gemini Code Assist `retrieveUserQuota` bucket data. The Super optional tools still run as local Codex overlays on this path.
677
+
665
678
  Before launch, Super asks whether to add Presidio redaction. Empty input or `n` keeps Presidio disabled; answer `y` or pass `--presidio` to add the `presidio` prefix. Use `--no-presidio` to make the disabled choice explicit for non-interactive use.
666
679
 
667
680
  It keeps exact pass-through for continuation-sensitive requests. When safe, it uses adaptive token budgeting, artifact-backed large tool outputs, duplicate suppression, blob/noise detection, stable cache-friendly context framing, and critical-signal self-checks to reduce token load without dropping failure details.
@@ -796,6 +809,8 @@ git diff | prodex context compact-output --kind git-diff
796
809
 
797
810
  For full policy keys, environment overrides, and runtime log path resolution, see [docs/runtime-policy.md](./docs/runtime-policy.md).
798
811
 
812
+ When a support case appears to come from upstream Codex itself, run `codex doctor --json` in the same environment as Prodex. Codex 0.135.0 and newer reports richer environment, Git, terminal, app-server, and thread-inventory diagnostics than Prodex's runtime-proxy doctor owns.
813
+
799
814
  </details>
800
815
 
801
816
  ## Advanced behavior
@@ -811,7 +826,11 @@ On Unix-like systems, this is usually:
811
826
  ~/.codex
812
827
  ```
813
828
 
814
- In practice, profile `history.jsonl`, `sessions`, `config.toml`, `environments.toml`, plugins, skills, and related shared files link to the same Codex home that direct Codex uses.
829
+ In practice, profile `history.jsonl`, `sessions`, `config.toml`, `environments.toml`, plugins, skills, app-server plugin state, memory-extension state, and Codex runtime SQLite files such as `state_*`, `goals_*`, `logs_*`, and `memories_*` link to the same Codex home that direct Codex uses.
830
+
831
+ Prodex does not synthesize legacy Codex `[profiles.*]` behavior. File-based Codex profile config selected by `--profile` stays in shared Codex state, while Prodex-owned account selection remains in Prodex profile metadata.
832
+
833
+ Prodex also leaves packaged Codex runtime resources alone, including Codex 0.135.0's bundled patched zsh helper under the Codex package layout. Do not set `zsh_path` through Prodex unless you are intentionally debugging direct Codex config.
815
834
 
816
835
  This matches direct Codex behavior: logging out or switching accounts does not hide chat history.
817
836
 
@@ -824,7 +843,7 @@ Set `PRODEX_SHARED_CODEX_HOME` only when you intentionally want a different shar
824
843
  <details>
825
844
  <summary>Bedrock and custom providers</summary>
826
845
 
827
- Auto-rotate and quota checks apply to supported OpenAI/Codex profiles.
846
+ Auto-rotate and quota checks apply to supported OpenAI/Codex profiles. `prodex quota` also supports Google Gemini OAuth profiles and imported Copilot accounts through their provider quota APIs.
828
847
 
829
848
  If a profile's `config.toml` sets `model_provider` to a non-OpenAI backend such as `amazon-bedrock`, `prodex run` and `prodex caveman` launch Codex directly without quota preflight or the local auto-rotate proxy.
830
849
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christiandoxa/prodex",
3
- "version": "0.130.0",
3
+ "version": "0.132.0",
4
4
  "description": "Safe multi-account auto-rotate for Codex CLI with isolated CODEX_HOME profiles",
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.130.0",
20
- "@christiandoxa/prodex-linux-arm64": "0.130.0",
21
- "@christiandoxa/prodex-darwin-x64": "0.130.0",
22
- "@christiandoxa/prodex-darwin-arm64": "0.130.0",
23
- "@christiandoxa/prodex-win32-x64": "0.130.0",
24
- "@christiandoxa/prodex-win32-arm64": "0.130.0"
19
+ "@christiandoxa/prodex-linux-x64": "0.132.0",
20
+ "@christiandoxa/prodex-linux-arm64": "0.132.0",
21
+ "@christiandoxa/prodex-darwin-x64": "0.132.0",
22
+ "@christiandoxa/prodex-darwin-arm64": "0.132.0",
23
+ "@christiandoxa/prodex-win32-x64": "0.132.0",
24
+ "@christiandoxa/prodex-win32-arm64": "0.132.0"
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=18"