cliproxy-codex-termux 0.77.3-cliproxy → 0.77.5-cliproxy

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/bin/codex CHANGED
Binary file
package/bin/codex-exec CHANGED
Binary file
package/bin/codex.js CHANGED
@@ -53,11 +53,13 @@ const env = {
53
53
  // NOTE: Do NOT set CODEX_DEFAULT_MODEL - let Codex use its native GPT default
54
54
  // The user can override with --model flag or config.toml if needed
55
55
 
56
- // Disable remote models fetch - this ensures:
57
- // 1. Model picker shows ALL local models including CLIProxyAPIPlus (Gemini, Claude, Qwen, etc.)
58
- // 2. No network fetch to OpenAI /models endpoint
59
- // 3. All models appear directly in /model picker (no "All models" sub-menu)
60
- CODEX_FEATURES_REMOTE_MODELS: process.env.CODEX_FEATURES_REMOTE_MODELS || 'false',
56
+ // Enable RemoteModels - this makes Codex fetch from OPENAI_BASE_URL/v1/models
57
+ // Since base URL points to CLIProxyAPI, models are DYNAMIC based on OAuth status:
58
+ // - Login Antigravity only Only Antigravity models appear
59
+ // - Login Gemini only Only Gemini models appear
60
+ // - Login multiple providers → All logged-in provider models appear
61
+ // - No OAuth login → Only built-in GPT models appear
62
+ CODEX_FEATURES_REMOTE_MODELS: process.env.CODEX_FEATURES_REMOTE_MODELS || 'true',
61
63
  };
62
64
 
63
65
  const child = spawn(binaryPath, finalArgs, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cliproxy-codex-termux",
3
- "version": "0.77.3-cliproxy",
3
+ "version": "0.77.5-cliproxy",
4
4
  "description": "Codex CLI with CLIProxyAPIPlus models pre-integrated. All models (Gemini, Claude, Qwen, Grok, Kiro) appear in /model selector. For Android Termux ARM64.",
5
5
  "type": "module",
6
6
  "main": "bin/codex.js",