@christiandoxa/prodex 0.136.0 → 0.138.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 +37 -2
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -365,9 +365,10 @@ prodex login
365
365
  prodex profile add second
366
366
  prodex login --profile second
367
367
  prodex login --with-google
368
+ prodex login --with-claude
368
369
  ```
369
370
 
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:
371
+ Interactive `prodex login` now asks for the login method before starting a browser. Choose ChatGPT browser login, device-code login, API-key login, Google sign-in for Gemini, or Claude sign-in through Claude Code OAuth. For API-key profiles, you can also set an OpenAI-compatible backend URL:
371
372
 
372
373
  ```bash
373
374
  printf '%s\n' "$OPENAI_API_KEY" | prodex login --with-api-key --base-url http://localhost:11434/v1
@@ -401,6 +402,18 @@ prodex exec "review this repo"
401
402
 
402
403
  </details>
403
404
 
405
+ <details>
406
+ <summary>Import a Claude Code account</summary>
407
+
408
+ ```bash
409
+ prodex profile import claude
410
+ prodex profile import claude --name claude-main --activate
411
+ ```
412
+
413
+ This imports the current Claude Code OAuth credentials from `CLAUDE_CONFIG_DIR` or `~/.claude` into a Prodex-managed Anthropic profile. You can also use `prodex login --with-claude` to sign in through Claude Code directly.
414
+
415
+ </details>
416
+
404
417
  <details>
405
418
  <summary>Import a Copilot CLI account</summary>
406
419
 
@@ -630,6 +643,9 @@ RTK is still an external binary. Install it separately if `rtk gain` is unavaila
630
643
  ```bash
631
644
  prodex s
632
645
  prodex s exec "review this repo"
646
+ ANTHROPIC_API_KEY=... prodex s --provider anthropic --model claude-sonnet-4-6
647
+ prodex profile import copilot
648
+ prodex s --provider copilot --model gpt-5.1-codex
633
649
  DEEPSEEK_API_KEY=... prodex s --provider deepseek --model deepseek-v4-pro
634
650
  prodex s --provider gemini
635
651
  prodex super
@@ -658,13 +674,32 @@ prodex super --mem-full
658
674
 
659
675
  Super also enables Smart Context Autopilot in the runtime proxy.
660
676
 
677
+ Use `--provider anthropic` when you want the Codex/Super front end with Anthropic upstream:
678
+
679
+ ```bash
680
+ prodex login --with-claude
681
+ prodex s --provider anthropic --model claude-sonnet-4-6
682
+ prodex s --provider anthropic --model claude-sonnet-4-6 --api-key "$ANTHROPIC_API_KEY"
683
+ ```
684
+
685
+ If `--api-key` is omitted, Prodex uses the Anthropic profile created by `prodex login --with-claude` or `prodex profile import claude`. API-key mode still reads `ANTHROPIC_API_KEY`; `ANTHROPIC_API_KEYS` may contain multiple comma-, semicolon-, or newline-separated keys for round-robin request rotation. This path injects a temporary `prodex-anthropic` Codex provider, exposes a local `/v1/responses` adapter to Codex, forwards to Anthropic's OpenAI-compatible chat API, and keeps quota preflight disabled.
686
+
687
+ Use `--provider copilot` when you want the Codex/Super front end with GitHub Copilot upstream:
688
+
689
+ ```bash
690
+ prodex profile import copilot
691
+ prodex s --provider copilot --model gpt-5.1-codex
692
+ ```
693
+
694
+ Without `--api-key`, Prodex uses imported Copilot CLI profiles, refreshes Copilot runtime API tokens from GitHub before launch, rotates fresh native Responses requests across eligible profiles, and binds streaming response IDs back to the owning profile for continuations. `GITHUB_COPILOT_API_KEY` or `--api-key` can be used when you already have a Copilot runtime API token.
695
+
661
696
  Use `--provider deepseek` when you want the Codex/Super front end with DeepSeek as the upstream model:
662
697
 
663
698
  ```bash
664
699
  prodex s --provider deepseek --model deepseek-v4-pro --api-key "$DEEPSEEK_API_KEY"
665
700
  ```
666
701
 
667
- 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.
702
+ If `--api-key` is omitted, Prodex reads `DEEPSEEK_API_KEY`; `DEEPSEEK_API_KEYS` may contain multiple comma-, semicolon-, or newline-separated keys for round-robin request rotation. 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 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.
668
703
 
669
704
  Use `--provider gemini` when you want the Codex/Super front end with Gemini upstream:
670
705
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christiandoxa/prodex",
3
- "version": "0.136.0",
3
+ "version": "0.138.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.136.0",
20
- "@christiandoxa/prodex-linux-arm64": "0.136.0",
21
- "@christiandoxa/prodex-darwin-x64": "0.136.0",
22
- "@christiandoxa/prodex-darwin-arm64": "0.136.0",
23
- "@christiandoxa/prodex-win32-x64": "0.136.0",
24
- "@christiandoxa/prodex-win32-arm64": "0.136.0"
19
+ "@christiandoxa/prodex-linux-x64": "0.138.0",
20
+ "@christiandoxa/prodex-linux-arm64": "0.138.0",
21
+ "@christiandoxa/prodex-darwin-x64": "0.138.0",
22
+ "@christiandoxa/prodex-darwin-arm64": "0.138.0",
23
+ "@christiandoxa/prodex-win32-x64": "0.138.0",
24
+ "@christiandoxa/prodex-win32-arm64": "0.138.0"
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=18"