@codexapi/codexclaude 2.0.6 → 2.0.8
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/CUSTOMIZATIONS.md +5 -5
- package/README.md +5 -4
- package/bin/codexclaude.js +7 -9
- package/codexclaude.md +14 -3
- package/package.json +3 -3
package/CUSTOMIZATIONS.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
## Upstream Runtime
|
|
6
6
|
|
|
7
7
|
- Official package: `@openai/codex`
|
|
8
|
-
- Pinned runtime version: `0.
|
|
9
|
-
- Local launcher version: `2.0.
|
|
8
|
+
- Pinned runtime version: `0.137.0`
|
|
9
|
+
- Local launcher version: `2.0.8`
|
|
10
10
|
|
|
11
11
|
## Launcher Behavior
|
|
12
12
|
|
|
@@ -31,8 +31,8 @@ The launcher writes a Codex model provider named `codexapi`:
|
|
|
31
31
|
## Runtime Defaults
|
|
32
32
|
|
|
33
33
|
- Model: selected by the user, defaulting to `gpt-5.5`; supported launcher choices are `gpt-5.5`, `claude-opus-4-8`, and `deepseek-v4-pro`.
|
|
34
|
-
- Reasoning effort: `
|
|
35
|
-
- Service tier:
|
|
34
|
+
- Reasoning effort: `low`
|
|
35
|
+
- Service tier: omitted by default; `/fast` remains a user-controlled Codex setting and is billed server-side when active.
|
|
36
36
|
- Approval policy: `never`
|
|
37
37
|
- Sandbox mode: `danger-full-access`
|
|
38
38
|
- TUI status line: `model-with-reasoning`, `fast-mode`, `current-dir`
|
|
@@ -44,7 +44,7 @@ The launcher writes a Codex model provider named `codexapi`:
|
|
|
44
44
|
Before launching Codex, the launcher calls `/api/v1/me` using the saved API username as a bearer token and prints a compact status line:
|
|
45
45
|
|
|
46
46
|
```text
|
|
47
|
-
gpt-5.5
|
|
47
|
+
gpt-5.5 low · ~/project · Wallet $20.00
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
The same wallet lookup is available through:
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
`codexclaude` is the CodexAPI.pro launcher for customers who want one coding CLI that can use ChatGPT-5.5, Opus 4.8, or Deepseek v4 Budget against the same CodexAPI.pro Token Wallet.
|
|
4
4
|
|
|
5
|
-
Version `2.0.
|
|
5
|
+
Version `2.0.8` launches the official OpenAI Codex CLI `0.137.0` package and applies CodexAPI.pro account, wallet, model, and Full Access defaults before Codex starts.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -61,7 +61,7 @@ codexclaude changelog
|
|
|
61
61
|
Before launching Codex, the app prints a compact status line like:
|
|
62
62
|
|
|
63
63
|
```text
|
|
64
|
-
gpt-5.5
|
|
64
|
+
gpt-5.5 low · ~/codexapi · Wallet $20.00
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
You can also check this without starting Codex:
|
|
@@ -76,8 +76,9 @@ codexclaude status
|
|
|
76
76
|
- ChatGPT-5.5, Opus 4.8, or Deepseek v4 Budget model selection.
|
|
77
77
|
- CodexAPI.pro Responses-compatible provider at `https://codexapi.pro/v1`.
|
|
78
78
|
- Full Access defaults: approval policy `never` and sandbox mode `danger-full-access`.
|
|
79
|
-
-
|
|
80
|
-
-
|
|
79
|
+
- Low reasoning by default, matching the current CodexAPI.pro hosted server policy.
|
|
80
|
+
- No default fast service tier. Fast mode is billed only when the user enables it inside Codex.
|
|
81
|
+
- Official Codex `0.137.0` runtime with the current profile-compatible config enabled.
|
|
81
82
|
- Token Wallet balance lookup before launch and in `codexclaude status`.
|
|
82
83
|
- Opus 4.8 tool-call compatibility through the Chicago CodexAPI.pro Responses gateway.
|
|
83
84
|
- Backend-identifying request headers so CodexAPI.pro can enforce subscription plan rules server-side.
|
package/bin/codexclaude.js
CHANGED
|
@@ -10,10 +10,9 @@ import { stdin as input, stdout as output } from "node:process";
|
|
|
10
10
|
|
|
11
11
|
const require = createRequire(import.meta.url);
|
|
12
12
|
|
|
13
|
-
const APP_VERSION = "2.0.
|
|
14
|
-
const CODEX_VERSION = "0.
|
|
15
|
-
const CODEX_REASONING_EFFORT = "
|
|
16
|
-
const CODEX_SERVICE_TIER = "fast";
|
|
13
|
+
const APP_VERSION = "2.0.8";
|
|
14
|
+
const CODEX_VERSION = "0.137.0";
|
|
15
|
+
const CODEX_REASONING_EFFORT = "low";
|
|
17
16
|
const API_ORIGIN = (process.env.CODEXCLAUDE_API_ORIGIN || "https://codexapi.pro").replace(/\/+$/, "");
|
|
18
17
|
const API_BASE_URL = `${API_ORIGIN}/v1`;
|
|
19
18
|
const CHICAGO_API_ORIGIN = "https://api-chicago.codexapi.pro";
|
|
@@ -165,7 +164,7 @@ async function loginFlow() {
|
|
|
165
164
|
saveConfig(config);
|
|
166
165
|
writeCodexConfig(config);
|
|
167
166
|
console.log(`\nLogged in as ${apiUsername}. Model: ${MODELS[selectedModel].label}.`);
|
|
168
|
-
console.log("Full Access permissions,
|
|
167
|
+
console.log("Full Access permissions, low reasoning, and CodexAPI.pro provider config were written.");
|
|
169
168
|
} finally {
|
|
170
169
|
rl.close();
|
|
171
170
|
}
|
|
@@ -188,7 +187,7 @@ async function modelFlow() {
|
|
|
188
187
|
async function setupFlow() {
|
|
189
188
|
const config = requireConfig();
|
|
190
189
|
writeCodexConfig(config);
|
|
191
|
-
console.log(`Configured ${CODEX_CONFIG_FILE} for ${MODELS[config.model].label} with Full Access,
|
|
190
|
+
console.log(`Configured ${CODEX_CONFIG_FILE} for ${MODELS[config.model].label} with Full Access, low reasoning, and server-managed routing.`);
|
|
192
191
|
}
|
|
193
192
|
|
|
194
193
|
async function ensureReady() {
|
|
@@ -414,7 +413,6 @@ function writeCodexConfig(config) {
|
|
|
414
413
|
'preferred_auth_method = "apikey"',
|
|
415
414
|
`model_provider = ${tomlString(PROVIDER_ID)}`,
|
|
416
415
|
`model_reasoning_effort = ${tomlString(CODEX_REASONING_EFFORT)}`,
|
|
417
|
-
`service_tier = ${tomlString(CODEX_SERVICE_TIER)}`,
|
|
418
416
|
'approval_policy = "never"',
|
|
419
417
|
'sandbox_mode = "danger-full-access"',
|
|
420
418
|
"",
|
|
@@ -471,7 +469,7 @@ async function status() {
|
|
|
471
469
|
console.log(`Model: ${MODELS[config.model]?.label || config.model}`);
|
|
472
470
|
console.log(`Codex runtime: @openai/codex ${CODEX_VERSION}`);
|
|
473
471
|
console.log(`Reasoning: ${CODEX_REASONING_EFFORT}`);
|
|
474
|
-
console.log(
|
|
472
|
+
console.log("Fast mode: off by default; billed only when enabled inside Codex.");
|
|
475
473
|
console.log(`API: ${config.apiOrigin || API_ORIGIN}`);
|
|
476
474
|
console.log(`Model API route: ${providerOriginLabel(config)}`);
|
|
477
475
|
console.log(`Codex config: ${CODEX_CONFIG_FILE}`);
|
|
@@ -610,7 +608,7 @@ function numericWalletValue(value) {
|
|
|
610
608
|
function formatStatusLine(config, wallet, cwd) {
|
|
611
609
|
const model = modelStatusName(config.model);
|
|
612
610
|
const walletText = wallet ? `Wallet ${formatUsd(wallet.balance)}` : "Wallet unavailable";
|
|
613
|
-
return `${model} ${CODEX_REASONING_EFFORT}
|
|
611
|
+
return `${model} ${CODEX_REASONING_EFFORT} · ${formatCwd(cwd)} · ${walletText}`;
|
|
614
612
|
}
|
|
615
613
|
|
|
616
614
|
function modelStatusName(model) {
|
package/codexclaude.md
CHANGED
|
@@ -5,8 +5,8 @@ This file tracks the CodexAPI.pro-specific layer that must be re-applied after p
|
|
|
5
5
|
## Current Release
|
|
6
6
|
|
|
7
7
|
- Launcher package: `@codexapi/codexclaude`
|
|
8
|
-
- Launcher version: `2.0.
|
|
9
|
-
- Official Codex runtime dependency: `@openai/codex@0.
|
|
8
|
+
- Launcher version: `2.0.8`
|
|
9
|
+
- Official Codex runtime dependency: `@openai/codex@0.137.0`
|
|
10
10
|
- Public install command: `npm install -g @codexapi/codexclaude@latest`
|
|
11
11
|
- Default API origin: `https://codexapi.pro`
|
|
12
12
|
- Responses base URL: `https://codexapi.pro/v1` for ChatGPT-5.5 and Deepseek v4 Budget; `https://api-chicago.codexapi.pro/v1` for Opus 4.8.
|
|
@@ -22,7 +22,7 @@ This file tracks the CodexAPI.pro-specific layer that must be re-applied after p
|
|
|
22
22
|
- Preserve bearer authentication with the customer API username as `experimental_bearer_token`.
|
|
23
23
|
- Preserve request headers: `X-CodexAPI-Client`, `X-CodexAPI-Client-Version`, and `X-CodexAPI-Selected-Model`.
|
|
24
24
|
- Preserve Full Access defaults: `approval_policy = "never"` and `sandbox_mode = "danger-full-access"`.
|
|
25
|
-
- Preserve `model_reasoning_effort = "
|
|
25
|
+
- Preserve `model_reasoning_effort = "low"` and do not write a default `service_tier`; `/fast` remains user-controlled and is billed server-side when active.
|
|
26
26
|
- Keep `codexclaude start` launching Codex with `--search` by default.
|
|
27
27
|
- Keep `codexclaude resume` launching `codex resume --search`.
|
|
28
28
|
- Keep all unknown commands passed through to official Codex.
|
|
@@ -52,6 +52,17 @@ The selected model must be written into `~/.codex/config.toml` before the Codex
|
|
|
52
52
|
- Published the launcher under the official npm org package `@codexapi/codexclaude`.
|
|
53
53
|
- Updated install and update instructions to use `npm install -g @codexapi/codexclaude@latest`.
|
|
54
54
|
|
|
55
|
+
## Version 2.0.8 Changes
|
|
56
|
+
|
|
57
|
+
- Kept the official Codex runtime dependency on `@openai/codex@0.137.0`.
|
|
58
|
+
- Changed the generated Codex config to low reasoning and removed the default fast service tier so launcher defaults match the current hosted server policy.
|
|
59
|
+
- Preserved ChatGPT-5.5 and Opus 4.8 model selection, Chicago Opus routing, Full Access defaults, wallet auth, status line, npm update enforcement, and macOS compatibility through official Codex optional binaries.
|
|
60
|
+
|
|
61
|
+
## Version 2.0.7 Changes
|
|
62
|
+
|
|
63
|
+
- Updated the official Codex runtime dependency to `@openai/codex@0.137.0`.
|
|
64
|
+
- Preserved CodexAPI.pro model selection, wallet auth, Full Access defaults, status line, Chicago Opus 4.8 routing, and npm update enforcement.
|
|
65
|
+
|
|
55
66
|
## Version 2.0.6 Changes
|
|
56
67
|
|
|
57
68
|
- Updated the official Codex runtime dependency to `@openai/codex@0.135.0`.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codexapi/codexclaude",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "CodexAPI.pro coding CLI launcher for ChatGPT-5.5, Opus 4.8, and Deepseek v4 Budget, powered by official Codex CLI 0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
|
+
"description": "CodexAPI.pro coding CLI launcher for ChatGPT-5.5, Opus 4.8, and Deepseek v4 Budget, powered by official Codex CLI 0.137.0.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"node": ">=20"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@openai/codex": "0.
|
|
20
|
+
"@openai/codex": "0.137.0"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|