@codexapi/codexclaude 2.0.33 → 2.0.34
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 +6 -6
- package/README.md +4 -4
- package/bin/codexclaude.js +10 -6
- package/codexclaude.md +19 -12
- package/package.json +2 -2
package/CUSTOMIZATIONS.md
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
## Runtime
|
|
6
6
|
|
|
7
7
|
- Customer-facing app name: `MagnetAPI.org Codex CLI`
|
|
8
|
-
- Local launcher version: `2.0.
|
|
9
|
-
- Bundled official runtime dependency: `@openai/codex@0.
|
|
8
|
+
- Local launcher version: `2.0.34`
|
|
9
|
+
- Bundled official runtime dependency: `@openai/codex@0.149.0`
|
|
10
10
|
- Required install command: `npm install -g @codexapi/codexclaude@latest`
|
|
11
|
-
- Hosted fallback: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.
|
|
11
|
+
- Hosted fallback: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.34.tgz`
|
|
12
12
|
- Bundled runtime version is managed internally and must not be used for customer update prompts.
|
|
13
13
|
- Launcher update checks may call the CodexAPI.pro version endpoint and `@codexapi/codexclaude` npm metadata only.
|
|
14
14
|
- The launcher must never check `@openai/codex` npm metadata or OpenAI GitHub releases for update notices.
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
- Passes unknown commands directly to the bundled runtime after config is applied.
|
|
26
26
|
- Provides `codexclaude changelog` using the managed version endpoint.
|
|
27
27
|
- Does not expose separate `codexclaude status` or `codexclaude usage` commands; wallet information remains a compact pre-launch line.
|
|
28
|
-
- Version `2.0.
|
|
28
|
+
- Version `2.0.34` is forced by the backend minimum version and older clients must show an update-required message.
|
|
29
29
|
- Mandatory updates present a press-Enter `Upgrade Now` action in an interactive terminal, invoke npm with an argument array and no shell interpolation, verify the installed launcher version, use the hosted release if the registry fails or returns a stale version, then relaunch the requested action automatically.
|
|
30
30
|
- The npm package manifest exposes only `codexclaude`, preventing npm from colliding with a native `codex` or `claude` command before postinstall runs.
|
|
31
31
|
- Global installation creates optional `codex` and `claude` aliases only when no existing command is present in the npm prefix or anywhere on `PATH`; native clients must never be overwritten.
|
|
@@ -65,8 +65,8 @@ Before launching the runtime, the launcher calls `/api/v1/wallet/status`, then `
|
|
|
65
65
|
Expected status line:
|
|
66
66
|
|
|
67
67
|
```text
|
|
68
|
-
MagnetAPI.org Codex CLI v2.0.
|
|
69
|
-
|
|
68
|
+
MagnetAPI.org Codex CLI v2.0.34 · GPT-5.6 SOL Extra High · ~/project · Wallet balance $20.00
|
|
69
|
+
Fable 5 is now available in codexclaude, exclusively.
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
## Upgrade Checklist
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
`codexclaude` installs the MagnetAPI.org Codex CLI for customers who want one coding CLI that can use ChatGPT Daybreak Blue, GPT-5.6, GPT-5.6 Terra, GPT-5.6 SOL, GPT-5.6 SOL Max, GPT-5.6 SOL Ultra, ChatGPT-5.5, Opus 5, Opus 4.8, Sonnet 5, or Fable 5 against the same Token Wallet.
|
|
4
4
|
|
|
5
|
-
Version `2.0.
|
|
5
|
+
Version `2.0.34` bundles the official Codex runtime dependency `@openai/codex@0.149.0` and makes GPT-5.6 SOL with visible Extra High reasoning the default for new or invalid configurations. Existing valid model selections remain unchanged. It preserves the collision-safe updater, platform-native runtime launch, managed account and wallet integration, Full Access defaults, upstream update suppression, and complete model metadata.
|
|
6
6
|
|
|
7
7
|
## Install Or Update
|
|
8
8
|
|
|
@@ -16,7 +16,7 @@ This does not delete local session history. The update replaces the `codexclaude
|
|
|
16
16
|
|
|
17
17
|
The launcher checks CodexAPI.pro's managed version endpoint and the `@codexapi/codexclaude` npm package metadata only. It must never check `@openai/codex` npm metadata or OpenAI GitHub releases for customer update prompts.
|
|
18
18
|
|
|
19
|
-
Version `2.0.
|
|
19
|
+
Version `2.0.34` is enforced as the minimum supported version. A compatible older launcher presents `✨ Update now available`; pressing Enter installs `@codexapi/codexclaude@latest` and relaunches the requested action automatically. If the npm registry install fails, the updater tries the hosted release before asking the user to intervene. Non-interactive terminals print the same npm command instead of hanging for input.
|
|
20
20
|
|
|
21
21
|
## First Login
|
|
22
22
|
|
|
@@ -67,8 +67,8 @@ codexclaude changelog
|
|
|
67
67
|
Before launching the coding runtime, the app prints a compact status line like:
|
|
68
68
|
|
|
69
69
|
```text
|
|
70
|
-
MagnetAPI.org Codex CLI v2.0.
|
|
71
|
-
|
|
70
|
+
MagnetAPI.org Codex CLI v2.0.34 · GPT-5.6 SOL Extra High · ~/project · Wallet balance $20.00
|
|
71
|
+
Fable 5 is now available in codexclaude, exclusively.
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
## Preserved Customizations
|
package/bin/codexclaude.js
CHANGED
|
@@ -12,8 +12,8 @@ import { installSafeCommandAliases } from "../scripts/install-safe-aliases.js";
|
|
|
12
12
|
|
|
13
13
|
const require = createRequire(import.meta.url);
|
|
14
14
|
|
|
15
|
-
const APP_VERSION = "2.0.
|
|
16
|
-
const CODEX_VERSION = "0.
|
|
15
|
+
const APP_VERSION = "2.0.34";
|
|
16
|
+
const CODEX_VERSION = "0.149.0";
|
|
17
17
|
const APP_DISPLAY_NAME = "MagnetAPI.org Codex CLI";
|
|
18
18
|
const DEFAULT_MODEL_ID = "gpt-5.6-sol";
|
|
19
19
|
const DEFAULT_DISPLAY_REASONING_EFFORT = "xhigh";
|
|
@@ -36,7 +36,9 @@ const CODEX_CONFIG_FILE = path.join(CODEX_DIR, "config.toml");
|
|
|
36
36
|
const CODEX_UPDATE_CACHE_FILE = path.join(CODEX_DIR, "version.json");
|
|
37
37
|
const PROVIDER_ID = "codexapi";
|
|
38
38
|
const MODEL_CATALOG_CONTEXT_WINDOW = 272000;
|
|
39
|
-
const
|
|
39
|
+
const FABLE_ANNOUNCEMENT = "Fable 5 is now available in codexclaude, exclusively.";
|
|
40
|
+
const ANSI_GREEN = "\x1b[32m";
|
|
41
|
+
const ANSI_RESET = "\x1b[0m";
|
|
40
42
|
const SERVICE_CATALOG = [
|
|
41
43
|
{
|
|
42
44
|
id: "codexapi",
|
|
@@ -463,7 +465,8 @@ async function runMandatoryUpgrade(metadata) {
|
|
|
463
465
|
const latest = metadata?.latestVersion || "latest";
|
|
464
466
|
const minimum = metadata?.minimumVersion || latest;
|
|
465
467
|
const changes = Array.isArray(metadata?.changes) ? metadata.changes.slice(0, 4) : [];
|
|
466
|
-
console.error(`\n${APP_DISPLAY_NAME} v${latest}
|
|
468
|
+
console.error(`\n✨ Update now available · ${APP_DISPLAY_NAME} v${latest}`);
|
|
469
|
+
console.error(`${APP_DISPLAY_NAME} v${latest} is required before your next coding session.`);
|
|
467
470
|
console.error(`Installed: v${APP_VERSION} · Required: v${minimum}`);
|
|
468
471
|
for (const change of changes) {
|
|
469
472
|
console.error(`- ${change}`);
|
|
@@ -685,7 +688,8 @@ function printOptionalUpdateNotice(metadata) {
|
|
|
685
688
|
const border = "─".repeat(64);
|
|
686
689
|
const line = (text) => `│ ${String(text)}`.slice(0, 65).padEnd(65) + "│";
|
|
687
690
|
console.error(`\n┌${border}┐`);
|
|
688
|
-
console.error(line(
|
|
691
|
+
console.error(line(`✨ Update now available · ${APP_DISPLAY_NAME} v${latest}`));
|
|
692
|
+
console.error(line(`You can keep coding on v${APP_VERSION}.`));
|
|
689
693
|
console.error(line(`Update when ready: ${installCommand}`));
|
|
690
694
|
for (const change of changes) {
|
|
691
695
|
console.error(line(`• ${change}`));
|
|
@@ -893,7 +897,7 @@ async function runCodex(args) {
|
|
|
893
897
|
}
|
|
894
898
|
if (!isTruthy(process.env.CODEXCLAUDE_QUIET_STATUS)) {
|
|
895
899
|
console.log(formatStatusLine(config, wallet, process.cwd()));
|
|
896
|
-
console.log(
|
|
900
|
+
console.log(`${ANSI_GREEN}${FABLE_ANNOUNCEMENT}${ANSI_RESET}`);
|
|
897
901
|
}
|
|
898
902
|
process.stdout.write(`\x1b]0;${APP_DISPLAY_NAME} v${APP_VERSION}\x07`);
|
|
899
903
|
const launch = resolveCodexLaunch();
|
package/codexclaude.md
CHANGED
|
@@ -5,12 +5,12 @@ This file is the durable handoff for the `@codexapi/codexclaude` package in `/ro
|
|
|
5
5
|
## Current Release
|
|
6
6
|
|
|
7
7
|
- Package name: `@codexapi/codexclaude`
|
|
8
|
-
- Launcher version: `2.0.
|
|
8
|
+
- Launcher version: `2.0.34`
|
|
9
9
|
- Customer-facing app name: `MagnetAPI.org Codex CLI`
|
|
10
|
-
- Bundled runtime dependency: `@openai/codex@0.
|
|
10
|
+
- Bundled runtime dependency: `@openai/codex@0.149.0`
|
|
11
11
|
- Required install command: `npm install -g @codexapi/codexclaude@latest`
|
|
12
|
-
- Hosted fallback: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.
|
|
13
|
-
- Backend minimum version: `2.0.
|
|
12
|
+
- Hosted fallback: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.34.tgz`
|
|
13
|
+
- Backend minimum version: `2.0.34`
|
|
14
14
|
- Default visible model: `GPT-5.6 SOL`
|
|
15
15
|
- Default model slug: `gpt-5.6-sol`
|
|
16
16
|
- Default visible reasoning effort: `Extra High`, stored as `xhigh`; premium SOL Max and SOL Ultra retain their explicit `max` and `ultra` labels.
|
|
@@ -25,14 +25,14 @@ This file is the durable handoff for the `@codexapi/codexclaude` package in `/ro
|
|
|
25
25
|
The launcher must present itself as:
|
|
26
26
|
|
|
27
27
|
```text
|
|
28
|
-
MagnetAPI.org Codex CLI v2.0.
|
|
28
|
+
MagnetAPI.org Codex CLI v2.0.34
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Normal pre-launch status should look like:
|
|
32
32
|
|
|
33
33
|
```text
|
|
34
|
-
MagnetAPI.org Codex CLI v2.0.
|
|
35
|
-
|
|
34
|
+
MagnetAPI.org Codex CLI v2.0.34 · GPT-5.6 SOL Extra High · ~/project · Wallet balance $20.00
|
|
35
|
+
Fable 5 is now available in codexclaude, exclusively.
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
Do not show OpenAI update notices, OpenAI npm install commands, OpenAI release links, or the upstream runtime version in launcher-owned output. The package still depends on the official runtime internally, but the customer update surface is ours.
|
|
@@ -60,7 +60,7 @@ GPT-5.6 SOL must be the default when a new config is created or a legacy config
|
|
|
60
60
|
- `https://codexapi.pro/api/v1/codexclaude/version`
|
|
61
61
|
- `https://registry.npmjs.org/@codexapi%2Fcodexclaude/latest`
|
|
62
62
|
|
|
63
|
-
It must not check `@openai/codex` npm metadata, OpenAI GitHub releases, or any upstream OpenAI update endpoint. Version `2.0.
|
|
63
|
+
It must not check `@openai/codex` npm metadata, OpenAI GitHub releases, or any upstream OpenAI update endpoint. Version `2.0.34` is both the enforced minimum and current latest release. Compatible older launchers offer an interactive `Upgrade Now` action; pressing Enter invokes `npm install -g @codexapi/codexclaude@latest` without shell interpolation. If that registry install fails, the launcher automatically tries the hosted tarball. Non-interactive terminals print the exact update command and exit instead of waiting for input. After a successful interactive update, the launcher starts the requested action again automatically.
|
|
64
64
|
|
|
65
65
|
The npm package manifest owns only `codexclaude`. This is deliberate: npm creates manifest binaries before postinstall, so claiming `codex` there causes an `EEXIST` upgrade failure on machines with native Codex CLI. During a global installation, postinstall may create optional `codex` and `claude` aliases only when neither the target npm prefix nor any directory on `PATH` already contains the command. Existing native clients are preserved and no install path requires `--force`.
|
|
66
66
|
|
|
@@ -96,7 +96,7 @@ base_url = "<service Responses URL>"
|
|
|
96
96
|
experimental_bearer_token = "<customer System Token/API username>"
|
|
97
97
|
wire_api = "responses"
|
|
98
98
|
supports_websockets = false
|
|
99
|
-
http_headers = { "X-CodexAPI-Client" = "codexclaude", "X-CodexAPI-Client-Version" = "2.0.
|
|
99
|
+
http_headers = { "X-CodexAPI-Client" = "codexclaude", "X-CodexAPI-Client-Version" = "2.0.34", "X-CodexAPI-Selected-Model" = "<selected model>" }
|
|
100
100
|
|
|
101
101
|
[tui]
|
|
102
102
|
status_line = ["model-with-reasoning", "fast-mode", "current-dir"]
|
|
@@ -168,7 +168,7 @@ tmp_home="$(mktemp -d)"
|
|
|
168
168
|
mkdir -p "$tmp_home/.codexclaude"
|
|
169
169
|
cat > "$tmp_home/.codexclaude/config.json" <<'JSON'
|
|
170
170
|
{
|
|
171
|
-
"version": "2.0.
|
|
171
|
+
"version": "2.0.34",
|
|
172
172
|
"serviceId": "codexapi",
|
|
173
173
|
"serviceLabel": "CodexAPI.pro",
|
|
174
174
|
"apiOrigin": "https://codexapi.pro",
|
|
@@ -207,10 +207,17 @@ After packaging, copy the tarball to the public downloads directories, restart t
|
|
|
207
207
|
|
|
208
208
|
```bash
|
|
209
209
|
curl -fsS "https://codexapi.pro/api/v1/codexclaude/version?current=2.0.17"
|
|
210
|
-
curl -fsSI "https://codexapi.pro/downloads/codexapi-codexclaude-2.0.
|
|
210
|
+
curl -fsSI "https://codexapi.pro/downloads/codexapi-codexclaude-2.0.34.tgz"
|
|
211
211
|
```
|
|
212
212
|
|
|
213
|
-
The version endpoint must report `latestVersion = 2.0.
|
|
213
|
+
The version endpoint must report `latestVersion = 2.0.34`, `minimumVersion = 2.0.34`, and `updateRequired = true` for every older client.
|
|
214
|
+
|
|
215
|
+
## Version 2.0.34 Changes
|
|
216
|
+
|
|
217
|
+
- Updated the bundled coding runtime to `@openai/codex@0.149.0`.
|
|
218
|
+
- Kept Fable 5 in the managed catalog and preserved its independent live server route.
|
|
219
|
+
- Added a green Fable 5 availability line and a clearer emoji update surface.
|
|
220
|
+
- Made `2.0.34` mandatory while preserving customer projects, history, login state, valid model selections, Full Access, and safe aliases.
|
|
214
221
|
|
|
215
222
|
## Version 2.0.33 Changes
|
|
216
223
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codexapi/codexclaude",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.34",
|
|
4
4
|
"description": "MagnetAPI.org Codex CLI for ChatGPT Daybreak Blue, GPT-5.6, Opus 5, Sonnet 5, and Fable 5.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"node": ">=20"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@openai/codex": "0.
|
|
25
|
+
"@openai/codex": "0.149.0"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|