@codexapi/codexclaude 2.0.36 → 2.0.37
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 +9 -9
- package/README.md +7 -7
- package/bin/codexclaude.js +37 -7
- package/codexclaude.md +23 -12
- package/package.json +3 -3
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.37`
|
|
9
|
+
- Bundled official runtime dependency: `@openai/codex@0.153.4`
|
|
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.37.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.37` 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.
|
|
@@ -48,17 +48,17 @@ The launcher writes a model provider named `codexapi`:
|
|
|
48
48
|
## Runtime Defaults
|
|
49
49
|
|
|
50
50
|
- Default model: `gpt-5.6-sol` displayed as `GPT-5.6 SOL`
|
|
51
|
-
- Supported launcher choices: `gpt-daybreak-blue-latest`, `gpt-5.6`, `gpt-5.6-sol-max`, `gpt-5.6-sol-ultra`, `gpt-5.6-sol`, `gpt-5.5`, `claude-opus-5`, `claude-opus-4-8`, `claude-sonnet-5`, `claude-fable-5`, and `gpt-5.6-terra`
|
|
51
|
+
- Supported launcher choices: `gpt-6-astra`, `gpt-daybreak-blue-latest`, `gpt-5.6`, `gpt-5.6-sol-max`, `gpt-5.6-sol-ultra`, `gpt-5.6-sol`, `gpt-5.5`, `claude-opus-5`, `claude-opus-4-8`, `claude-sonnet-5`, `claude-fable-5`, and `gpt-5.6-terra`
|
|
52
52
|
- Default reasoning effort displayed locally: `Extra High`, stored as `xhigh`; SOL Max and SOL Ultra retain their explicit premium labels.
|
|
53
53
|
- Reasoning hint written to managed runtime config: model-specific
|
|
54
54
|
- Approval policy: `never`
|
|
55
55
|
- Sandbox mode: `danger-full-access`
|
|
56
56
|
- Display wording for permissions: `Full Access` in launcher-owned copy
|
|
57
|
-
- Local model catalog: `~/.codexclaude/model_catalog.json`; this keeps the native `/model` picker limited to the supported choices and prevents fallback metadata warnings for ChatGPT Daybreak Blue, GPT-5.6 Terra, SOL, SOL Max, SOL Ultra, Opus 5, Opus 4.8, Sonnet 5, and Fable 5.
|
|
57
|
+
- Local model catalog: `~/.codexclaude/model_catalog.json`; this keeps the native `/model` picker limited to the supported choices and prevents fallback metadata warnings for ChatGPT-6 Astra, ChatGPT Daybreak Blue, GPT-5.6 Terra, SOL, SOL Max, SOL Ultra, Opus 5, Opus 4.8, Sonnet 5, and Fable 5.
|
|
58
58
|
- Service tier: omitted by default; `/fast` remains user-controlled and billed server-side when active.
|
|
59
59
|
- TUI status line: `model-with-reasoning`, `fast-mode`, `current-dir`
|
|
60
60
|
- Fable 5 stays visible to the user while the backend applies its server-managed route and billing policy.
|
|
61
|
-
- Premium model billing remains server-managed
|
|
61
|
+
- Premium model billing remains server-managed. ChatGPT-6 Astra is the explicit exception: its native signed-in 2x usage notice is printed when the user selects it, without injecting billing text into a model prompt or assistant output.
|
|
62
62
|
|
|
63
63
|
## Wallet Display
|
|
64
64
|
|
|
@@ -67,7 +67,7 @@ Before launching the runtime, the launcher calls `/api/v1/wallet/status`, then `
|
|
|
67
67
|
Expected status line:
|
|
68
68
|
|
|
69
69
|
```text
|
|
70
|
-
MagnetAPI.org Codex CLI v2.0.
|
|
70
|
+
MagnetAPI.org Codex CLI v2.0.37 · GPT-5.6 SOL Extra High · ~/project · Wallet balance $20.00
|
|
71
71
|
Fable 5 is now available in codexclaude, exclusively.
|
|
72
72
|
```
|
|
73
73
|
|
|
@@ -88,7 +88,7 @@ When updating the bundled runtime:
|
|
|
88
88
|
11. Keep update checks limited to `/api/v1/codexclaude/version` and `@codexapi/codexclaude` npm metadata.
|
|
89
89
|
12. Keep the interactive `Upgrade Now` flow installing `@codexapi/codexclaude@latest` without a shell and relaunching automatically.
|
|
90
90
|
13. Keep `codexclaude` as the only manifest-owned command and preserve the conditional, non-overwriting `codex` and `claude` postinstall aliases.
|
|
91
|
-
14. Keep the managed `MODELS` map and local model catalog, including Terra, SOL Max, and SOL Ultra.
|
|
91
|
+
14. Keep the managed `MODELS` map and local model catalog, including Astra, Terra, SOL Max, and SOL Ultra.
|
|
92
92
|
15. Keep bearer username auth and the `X-CodexAPI-*` headers.
|
|
93
93
|
16. Update `README.md`, `CUSTOMIZATIONS.md`, and `codexclaude.md`.
|
|
94
94
|
17. Run syntax checks, temporary-home setup, alias-preservation tests, `npm pack --dry-run`, and endpoint validation before publishing.
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# codexclaude
|
|
2
2
|
|
|
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.
|
|
3
|
+
`codexclaude` installs the MagnetAPI.org Codex CLI for customers who want one coding CLI that can use ChatGPT-6 Astra, 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.37` bundles the exact Codex runtime dependency `@openai/codex@0.153.4` and adds ChatGPT-6 Astra with its supported reasoning levels and complete model metadata. GPT-5.6 SOL with visible Extra High reasoning remains the default for new or invalid configurations, and existing valid model selections remain unchanged. The release preserves the collision-safe updater, platform-native runtime launch, managed account and wallet integration, Full Access defaults, upstream update suppression, and every MagnetAPI customization.
|
|
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.37` 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
|
|
|
@@ -44,7 +44,7 @@ Switch model:
|
|
|
44
44
|
codexclaude model
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Available model labels are `ChatGPT Daybreak Blue`, `GPT-5.6`, `GPT-5.6 SOL Max`, `GPT-5.6 SOL Ultra`, `GPT-5.6 SOL`, `ChatGPT-5.5`, `Opus 5`, `Opus 4.8`, `Sonnet 5`, `Fable 5`, and `GPT-5.6 Terra`. All models use a Responses-compatible endpoint and the same customer Token Wallet.
|
|
47
|
+
Available model labels are `ChatGPT-6 Astra`, `ChatGPT Daybreak Blue`, `GPT-5.6`, `GPT-5.6 SOL Max`, `GPT-5.6 SOL Ultra`, `GPT-5.6 SOL`, `ChatGPT-5.5`, `Opus 5`, `Opus 4.8`, `Sonnet 5`, `Fable 5`, and `GPT-5.6 Terra`. All models use a Responses-compatible endpoint and the same customer Token Wallet. Selecting ChatGPT-6 Astra displays its billing notice before the choice is saved; native signed-in Astra usage is charged at 2x the normal Codex rate, while managed cross-model execution follows that route's normal billing.
|
|
48
48
|
|
|
49
49
|
## Launch Commands
|
|
50
50
|
|
|
@@ -80,18 +80,18 @@ Card numbers, CVCs, and bank authentication challenges are entered only on Strip
|
|
|
80
80
|
Before launching the coding runtime, the app prints a compact status line like:
|
|
81
81
|
|
|
82
82
|
```text
|
|
83
|
-
MagnetAPI.org Codex CLI v2.0.
|
|
83
|
+
MagnetAPI.org Codex CLI v2.0.37 · GPT-5.6 SOL Extra High · ~/project · Wallet balance $20.00
|
|
84
84
|
Fable 5 is now available in codexclaude, exclusively.
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
## Preserved Customizations
|
|
88
88
|
|
|
89
89
|
- Dashboard Username or Email Address plus password login for CodexAPI.pro, ChatPlus.chat, MyAPI.world, and MagnetAPI.org.
|
|
90
|
-
- ChatGPT Daybreak Blue, Opus 5, GPT-5.6, GPT-5.6 Terra, GPT-5.6 SOL Max, GPT-5.6 SOL Ultra, GPT-5.6 SOL, ChatGPT-5.5, Opus 4.8, Sonnet 5, or Fable 5 model selection, with GPT-5.6 SOL/Extra High as the default.
|
|
90
|
+
- ChatGPT-6 Astra, ChatGPT Daybreak Blue, Opus 5, GPT-5.6, GPT-5.6 Terra, GPT-5.6 SOL Max, GPT-5.6 SOL Ultra, GPT-5.6 SOL, ChatGPT-5.5, Opus 4.8, Sonnet 5, or Fable 5 model selection, with GPT-5.6 SOL/Extra High as the default.
|
|
91
91
|
- Service-specific Responses-compatible provider for the dashboard account that logged in.
|
|
92
92
|
- Full Access defaults: approval policy `never` and sandbox mode `danger-full-access`.
|
|
93
93
|
- Model-specific visible reasoning in the local UI while the API server keeps upstream runtime effort server-managed.
|
|
94
|
-
- A local `~/.codexclaude/model_catalog.json` file so the native `/model` picker lists only the supported MagnetAPI.org Codex CLI choices, including Terra, SOL Max, and SOL Ultra.
|
|
94
|
+
- A local `~/.codexclaude/model_catalog.json` file so the native `/model` picker lists only the supported MagnetAPI.org Codex CLI choices, including Astra, Terra, SOL Max, and SOL Ultra.
|
|
95
95
|
- No default fast service tier. Fast mode is billed only when the user enables it inside the client.
|
|
96
96
|
- Token Wallet balance lookup before launch without exposing separate `status` or `usage` launcher commands.
|
|
97
97
|
- Authenticated `topup` and `/topup` commands using fixed server-authoritative packages, idempotent Stripe fulfillment, and post-payment wallet refresh.
|
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.37";
|
|
16
|
+
const CODEX_VERSION = "0.153.4";
|
|
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";
|
|
@@ -153,6 +153,16 @@ const MODELS = {
|
|
|
153
153
|
aliases: ["11", "terra", "gpt-5.6-terra", "gpt56-terra"],
|
|
154
154
|
reasoningEffort: "xhigh",
|
|
155
155
|
},
|
|
156
|
+
"gpt-6-astra": {
|
|
157
|
+
id: "gpt-6-astra",
|
|
158
|
+
label: "ChatGPT-6 Astra",
|
|
159
|
+
aliases: ["12", "astra", "gpt-6", "gpt-6-astra", "gpt6-astra", "chatgpt-6-astra"],
|
|
160
|
+
reasoningEffort: "xhigh",
|
|
161
|
+
contextWindow: 1050000,
|
|
162
|
+
maxOutputTokens: 128000,
|
|
163
|
+
premium: true,
|
|
164
|
+
supportedReasoningLevels: SUPPORTED_REASONING_LEVELS.filter(({ effort }) => effort !== "ultra"),
|
|
165
|
+
},
|
|
156
166
|
};
|
|
157
167
|
|
|
158
168
|
async function main() {
|
|
@@ -216,7 +226,7 @@ ${APP_DISPLAY_NAME} v${APP_VERSION}
|
|
|
216
226
|
|
|
217
227
|
Commands:
|
|
218
228
|
codexclaude login Login with dashboard username/email and password
|
|
219
|
-
codexclaude model Select Daybreak Blue, GPT-5.6, Opus 5, Terra, SOL modes, Opus 4.8, Sonnet 5, or Fable 5
|
|
229
|
+
codexclaude model Select GPT-6 Astra, Daybreak Blue, GPT-5.6, Opus 5, Terra, SOL modes, Opus 4.8, Sonnet 5, or Fable 5
|
|
220
230
|
codexclaude changelog Show the latest CodexAPI.pro launcher changes
|
|
221
231
|
codexclaude setup Rewrite ~/.codex/config.toml with Full Access defaults
|
|
222
232
|
codexclaude topup Select an API Coding Credit package and securely complete payment
|
|
@@ -559,15 +569,28 @@ async function askModel(rl, current) {
|
|
|
559
569
|
});
|
|
560
570
|
const answer = (await rl.question(`Model [${currentLabel}]: `)).trim().toLowerCase();
|
|
561
571
|
if (!answer) {
|
|
562
|
-
|
|
572
|
+
const selected = MODELS[current] ? current : DEFAULT_MODEL_ID;
|
|
573
|
+
printModelSelectionWarning(selected);
|
|
574
|
+
return selected;
|
|
563
575
|
}
|
|
564
576
|
const match = Object.values(MODELS).find((model) => model.aliases.includes(answer));
|
|
565
577
|
if (!match) {
|
|
566
578
|
throw new Error("Unknown model choice. Run codexclaude model and choose one of the numbered options.");
|
|
567
579
|
}
|
|
580
|
+
printModelSelectionWarning(match.id);
|
|
568
581
|
return match.id;
|
|
569
582
|
}
|
|
570
583
|
|
|
584
|
+
function printModelSelectionWarning(modelId) {
|
|
585
|
+
if (modelId !== "gpt-6-astra") {
|
|
586
|
+
return;
|
|
587
|
+
}
|
|
588
|
+
console.log(
|
|
589
|
+
"\nBilling notice: Native ChatGPT-6 Astra usage is charged at 2x the normal Codex rate. " +
|
|
590
|
+
"When the managed cross-model route serves the request, that route's normal billing applies.",
|
|
591
|
+
);
|
|
592
|
+
}
|
|
593
|
+
|
|
571
594
|
async function postJson(pathname, body, origin = API_ORIGIN) {
|
|
572
595
|
const response = await fetch(`${String(origin || API_ORIGIN).replace(/\/+$/, "")}${pathname}`, {
|
|
573
596
|
method: "POST",
|
|
@@ -991,8 +1014,9 @@ function modelCatalogEntry(model, index) {
|
|
|
991
1014
|
supports_image_detail_original: true,
|
|
992
1015
|
truncation_policy: { mode: "tokens", limit: 10000 },
|
|
993
1016
|
supports_parallel_tool_calls: true,
|
|
994
|
-
context_window: MODEL_CATALOG_CONTEXT_WINDOW,
|
|
995
|
-
max_context_window: MODEL_CATALOG_CONTEXT_WINDOW,
|
|
1017
|
+
context_window: model.contextWindow || MODEL_CATALOG_CONTEXT_WINDOW,
|
|
1018
|
+
max_context_window: model.contextWindow || MODEL_CATALOG_CONTEXT_WINDOW,
|
|
1019
|
+
max_output_tokens: model.maxOutputTokens || null,
|
|
996
1020
|
auto_compact_token_limit: null,
|
|
997
1021
|
reasoning_summary_format: "experimental",
|
|
998
1022
|
default_reasoning_summary: "none",
|
|
@@ -1000,7 +1024,7 @@ function modelCatalogEntry(model, index) {
|
|
|
1000
1024
|
display_name: model.label,
|
|
1001
1025
|
description: modelCatalogDescription(model.id),
|
|
1002
1026
|
default_reasoning_level: reasoningEffortForModel(model.id),
|
|
1003
|
-
supported_reasoning_levels: SUPPORTED_REASONING_LEVELS,
|
|
1027
|
+
supported_reasoning_levels: model.supportedReasoningLevels || SUPPORTED_REASONING_LEVELS,
|
|
1004
1028
|
shell_type: "shell_command",
|
|
1005
1029
|
visibility: "list",
|
|
1006
1030
|
minimal_client_version: "0.124.0",
|
|
@@ -1019,6 +1043,9 @@ function modelCatalogEntry(model, index) {
|
|
|
1019
1043
|
}
|
|
1020
1044
|
|
|
1021
1045
|
function modelCatalogDescription(modelId) {
|
|
1046
|
+
if (modelId === "gpt-6-astra") {
|
|
1047
|
+
return "ChatGPT-6 Astra coding route with local coding tools, configurable reasoning, and wallet billing.";
|
|
1048
|
+
}
|
|
1022
1049
|
if (modelId === "gpt-5.6") {
|
|
1023
1050
|
return "GPT-5.6 coding route with local coding tools and wallet billing.";
|
|
1024
1051
|
}
|
|
@@ -1255,6 +1282,9 @@ function formatStatusLine(config, wallet, cwd) {
|
|
|
1255
1282
|
}
|
|
1256
1283
|
|
|
1257
1284
|
function modelStatusName(model) {
|
|
1285
|
+
if (model === "gpt-6-astra") {
|
|
1286
|
+
return "ChatGPT-6 Astra";
|
|
1287
|
+
}
|
|
1258
1288
|
if (model === "gpt-5.6") {
|
|
1259
1289
|
return "GPT-5.6";
|
|
1260
1290
|
}
|
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.37`
|
|
9
9
|
- Customer-facing app name: `MagnetAPI.org Codex CLI`
|
|
10
|
-
- Bundled runtime dependency: `@openai/codex@0.
|
|
10
|
+
- Bundled runtime dependency: `@openai/codex@0.153.4`
|
|
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.37.tgz`
|
|
13
|
+
- Backend minimum version: `2.0.37`
|
|
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,13 +25,13 @@ 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.37
|
|
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.
|
|
34
|
+
MagnetAPI.org Codex CLI v2.0.37 · GPT-5.6 SOL Extra High · ~/project · Wallet balance $20.00
|
|
35
35
|
Fable 5 is now available in codexclaude, exclusively.
|
|
36
36
|
```
|
|
37
37
|
|
|
@@ -50,6 +50,9 @@ The launcher command `codexclaude model` must list these customer-visible models
|
|
|
50
50
|
- `claude-sonnet-5` displayed as `Sonnet 5`
|
|
51
51
|
- `claude-fable-5` displayed as `Fable 5`
|
|
52
52
|
- `gpt-5.6-terra` displayed as `GPT-5.6 Terra`
|
|
53
|
+
- `gpt-6-astra` displayed as `ChatGPT-6 Astra`
|
|
54
|
+
|
|
55
|
+
ChatGPT-6 Astra supports `low`, `medium`, `high`, `xhigh`, and `max` reasoning in the managed catalog, with a 1,050,000-token context window and 128,000 maximum output tokens. The launcher displays a billing notice when Astra is selected. Native signed-in Astra usage is charged at 2x the normal Codex rate; when the dedicated Astra route follows Global Cross-Model Routing, normal billing for that route applies.
|
|
53
56
|
|
|
54
57
|
GPT-5.6 SOL must be the default when a new config is created or a legacy config contains an unsupported model value. It is displayed as Extra High while the generated runtime config stores `xhigh`. A valid existing customer selection must remain unchanged across upgrades. The selected model slug must stay in `~/.codex/config.toml`; do not rewrite customer-facing model selections locally. `gpt-5.6-sol-max` and `gpt-5.6-sol-ultra` remain distinct for customer choice, usage display, and wallet billing.
|
|
55
58
|
|
|
@@ -60,7 +63,7 @@ GPT-5.6 SOL must be the default when a new config is created or a legacy config
|
|
|
60
63
|
- `https://codexapi.pro/api/v1/codexclaude/version`
|
|
61
64
|
- `https://registry.npmjs.org/@codexapi%2Fcodexclaude/latest`
|
|
62
65
|
|
|
63
|
-
It must not check `@openai/codex` npm metadata, OpenAI GitHub releases, or any upstream OpenAI update endpoint. Version `2.0.
|
|
66
|
+
It must not check `@openai/codex` npm metadata, OpenAI GitHub releases, or any upstream OpenAI update endpoint. Version `2.0.37` 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
67
|
|
|
65
68
|
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
69
|
|
|
@@ -96,7 +99,7 @@ base_url = "<service Responses URL>"
|
|
|
96
99
|
experimental_bearer_token = "<customer System Token/API username>"
|
|
97
100
|
wire_api = "responses"
|
|
98
101
|
supports_websockets = false
|
|
99
|
-
http_headers = { "X-CodexAPI-Client" = "codexclaude", "X-CodexAPI-Client-Version" = "2.0.
|
|
102
|
+
http_headers = { "X-CodexAPI-Client" = "codexclaude", "X-CodexAPI-Client-Version" = "2.0.37", "X-CodexAPI-Selected-Model" = "<selected model>" }
|
|
100
103
|
|
|
101
104
|
[tui]
|
|
102
105
|
status_line = ["model-with-reasoning", "fast-mode", "current-dir"]
|
|
@@ -104,7 +107,7 @@ status_line_use_colors = true
|
|
|
104
107
|
terminal_title = ["project-name", "model-with-reasoning", "run-state"]
|
|
105
108
|
```
|
|
106
109
|
|
|
107
|
-
The generated model catalog must contain full metadata for every supported slug, including `gpt-daybreak-blue-latest`, `gpt-5.6`, `gpt-5.6-terra`, `gpt-5.6-sol-max`, and `gpt-5.6-sol-ultra`. This prevents fallback metadata warnings such as:
|
|
110
|
+
The generated model catalog must contain full metadata for every supported slug, including `gpt-6-astra`, `gpt-daybreak-blue-latest`, `gpt-5.6`, `gpt-5.6-terra`, `gpt-5.6-sol-max`, and `gpt-5.6-sol-ultra`. This prevents fallback metadata warnings such as:
|
|
108
111
|
|
|
109
112
|
```text
|
|
110
113
|
Model metadata for `claude-opus-4-8` not found. Defaulting to fallback metadata; this can degrade performance and cause issues.
|
|
@@ -183,7 +186,7 @@ tmp_home="$(mktemp -d)"
|
|
|
183
186
|
mkdir -p "$tmp_home/.codexclaude"
|
|
184
187
|
cat > "$tmp_home/.codexclaude/config.json" <<'JSON'
|
|
185
188
|
{
|
|
186
|
-
"version": "2.0.
|
|
189
|
+
"version": "2.0.37",
|
|
187
190
|
"serviceId": "codexapi",
|
|
188
191
|
"serviceLabel": "CodexAPI.pro",
|
|
189
192
|
"apiOrigin": "https://codexapi.pro",
|
|
@@ -222,10 +225,18 @@ After packaging, copy the tarball to the public downloads directories, restart t
|
|
|
222
225
|
|
|
223
226
|
```bash
|
|
224
227
|
curl -fsS "https://codexapi.pro/api/v1/codexclaude/version?current=2.0.17"
|
|
225
|
-
curl -fsSI "https://codexapi.pro/downloads/codexapi-codexclaude-2.0.
|
|
228
|
+
curl -fsSI "https://codexapi.pro/downloads/codexapi-codexclaude-2.0.37.tgz"
|
|
226
229
|
```
|
|
227
230
|
|
|
228
|
-
The version endpoint must report `latestVersion = 2.0.
|
|
231
|
+
The version endpoint must report `latestVersion = 2.0.37`, `minimumVersion = 2.0.37`, and `updateRequired = true` for every older client.
|
|
232
|
+
|
|
233
|
+
## Version 2.0.37 Changes
|
|
234
|
+
|
|
235
|
+
- Updated the bundled coding runtime to exact `@openai/codex@0.153.4`.
|
|
236
|
+
- Added ChatGPT-6 Astra with complete context, output, image, search, tool, and reasoning metadata.
|
|
237
|
+
- Added a model-selection warning for Astra's native signed-in 2x usage rate while keeping cross-model billing route-aware.
|
|
238
|
+
- Preserved all MagnetAPI account login, wallet, top-up, Full Access, safe-alias, update, and model-selection customizations.
|
|
239
|
+
- Made `2.0.37` mandatory after npm and the hosted fallback package become available.
|
|
229
240
|
|
|
230
241
|
## Version 2.0.36 Changes
|
|
231
242
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codexapi/codexclaude",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "MagnetAPI.org Codex CLI for ChatGPT Daybreak Blue, GPT-5.6, Opus 5, Sonnet 5, and Fable 5.",
|
|
3
|
+
"version": "2.0.37",
|
|
4
|
+
"description": "MagnetAPI.org Codex CLI for ChatGPT-6 Astra, ChatGPT Daybreak Blue, GPT-5.6, Opus 5, Sonnet 5, and Fable 5.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"node": ">=20"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@openai/codex": "0.
|
|
25
|
+
"@openai/codex": "0.153.4"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|