cliproxy-codex-termux 0.77.2-cliproxy → 0.77.3-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 +0 -0
- package/bin/codex-exec +0 -0
- package/bin/codex.js +13 -3
- package/package.json +1 -1
package/bin/codex
CHANGED
|
Binary file
|
package/bin/codex-exec
CHANGED
|
Binary file
|
package/bin/codex.js
CHANGED
|
@@ -45,9 +45,19 @@ const finalArgs =
|
|
|
45
45
|
const env = {
|
|
46
46
|
...process.env,
|
|
47
47
|
CODEX_MANAGED_BY_NPM: '1',
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
|
|
49
|
+
// CLIProxyAPIPlus base configuration - point to local proxy server
|
|
50
|
+
OPENAI_BASE_URL: process.env.OPENAI_BASE_URL || 'http://localhost:8317/v1',
|
|
51
|
+
OPENAI_API_KEY: process.env.OPENAI_API_KEY || 'sk-dummy',
|
|
52
|
+
|
|
53
|
+
// NOTE: Do NOT set CODEX_DEFAULT_MODEL - let Codex use its native GPT default
|
|
54
|
+
// The user can override with --model flag or config.toml if needed
|
|
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',
|
|
51
61
|
};
|
|
52
62
|
|
|
53
63
|
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
|
+
"version": "0.77.3-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",
|