@codexapi/codexclaude 2.0.18 → 2.0.20
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 -8
- package/README.md +9 -9
- package/bin/codexclaude.js +25 -14
- package/codexclaude.md +25 -22
- package/package.json +1 -1
package/CUSTOMIZATIONS.md
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
## Runtime
|
|
6
6
|
|
|
7
7
|
- Customer-facing app name: `Magnetapi Client`
|
|
8
|
-
- Local launcher version: `2.0.
|
|
8
|
+
- Local launcher version: `2.0.20`
|
|
9
9
|
- Bundled official runtime dependency: `@openai/codex@0.144.1`
|
|
10
|
-
- Required install command: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.
|
|
10
|
+
- Required install command: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.20.tgz`
|
|
11
11
|
- Bundled runtime version is managed internally and must not be used for customer update prompts.
|
|
12
12
|
- Launcher update checks may call the CodexAPI.pro version endpoint and `@codexapi/codexclaude` npm metadata only.
|
|
13
13
|
- The launcher must never check `@openai/codex` npm metadata or OpenAI GitHub releases for update notices.
|
|
@@ -19,11 +19,12 @@
|
|
|
19
19
|
- Rewrites `~/.codex/config.toml` before every launch.
|
|
20
20
|
- Deletes stale `~/.codex/version.json` before writing managed config.
|
|
21
21
|
- Launches the bundled platform-native runtime binary directly rather than the upstream npm wrapper.
|
|
22
|
+
- Keeps launcher-owned output branded as `Magnetapi Client`; hardcoded native binary strings require a forked native runtime build if operations wants them removed across all platforms.
|
|
22
23
|
- Starts with `--search` by default.
|
|
23
24
|
- Passes unknown commands directly to the bundled runtime after config is applied.
|
|
24
25
|
- Provides `codexclaude changelog` using the managed version endpoint.
|
|
25
26
|
- Does not expose separate `codexclaude status` or `codexclaude usage` commands; wallet information remains a compact pre-launch line.
|
|
26
|
-
- Version `2.0.
|
|
27
|
+
- Version `2.0.20` is forced by the backend minimum version and older clients must show an update-required message.
|
|
27
28
|
|
|
28
29
|
## Provider Config
|
|
29
30
|
|
|
@@ -40,14 +41,14 @@ The launcher writes a model provider named `codexapi`:
|
|
|
40
41
|
|
|
41
42
|
## Runtime Defaults
|
|
42
43
|
|
|
43
|
-
- Default model: `
|
|
44
|
-
- Supported launcher choices: `gpt-5.5`, `claude-opus-4-8`, `claude-sonnet-5`, and `claude-fable-5`
|
|
44
|
+
- Default model: `gpt-5.6-sol` displayed as `GPT-5.6 SOL`
|
|
45
|
+
- Supported launcher choices: `gpt-5.6-sol`, `gpt-5.5`, `claude-opus-4-8`, `claude-sonnet-5`, and `claude-fable-5`
|
|
45
46
|
- Reasoning effort displayed locally: `xhigh`
|
|
46
47
|
- Reasoning hint sent in launcher env: `xhigh`
|
|
47
48
|
- Approval policy: `never`
|
|
48
49
|
- Sandbox mode: `danger-full-access`
|
|
49
50
|
- Display wording for permissions: `Full Access` in launcher-owned copy
|
|
50
|
-
- Local model catalog: `~/.codexclaude/model_catalog.json`; this keeps the native `/model` picker limited to the
|
|
51
|
+
- Local model catalog: `~/.codexclaude/model_catalog.json`; this keeps the native `/model` picker limited to the five supported choices and prevents fallback metadata warnings for GPT-5.6 SOL, Opus 4.8, Sonnet 5, and Fable 5.
|
|
51
52
|
- Service tier: omitted by default; `/fast` remains user-controlled and billed server-side when active.
|
|
52
53
|
- TUI status line: `model-with-reasoning`, `fast-mode`, `current-dir`
|
|
53
54
|
- Fable 5 stays visible to the user while the backend applies its custom routed premium path and billing multiplier.
|
|
@@ -59,7 +60,7 @@ Before launching the runtime, the launcher calls `/api/v1/wallet/status`, then `
|
|
|
59
60
|
Expected status line:
|
|
60
61
|
|
|
61
62
|
```text
|
|
62
|
-
Magnetapi Client v2.0.
|
|
63
|
+
Magnetapi Client v2.0.20 · gpt-5.6-sol xhigh · ~/project · Wallet $20.00
|
|
63
64
|
```
|
|
64
65
|
|
|
65
66
|
## Upgrade Checklist
|
|
@@ -70,7 +71,7 @@ When updating the bundled runtime:
|
|
|
70
71
|
2. Update `@openai/codex` in `package.json` and `package-lock.json`.
|
|
71
72
|
3. Bump the launcher package version.
|
|
72
73
|
4. Keep `APP_DISPLAY_NAME = "Magnetapi Client"`.
|
|
73
|
-
5. Keep `DEFAULT_MODEL_ID = "
|
|
74
|
+
5. Keep `DEFAULT_MODEL_ID = "gpt-5.6-sol"`.
|
|
74
75
|
6. Keep `DISPLAY_REASONING_EFFORT = "xhigh"`.
|
|
75
76
|
7. Keep Full Access defaults: `approval_policy = "never"` and `sandbox_mode = "danger-full-access"`.
|
|
76
77
|
8. Keep `check_for_update_on_startup = false`.
|
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# codexclaude
|
|
2
2
|
|
|
3
|
-
`codexclaude` installs the Magnetapi Client for customers who want one coding CLI that can use ChatGPT-5.5, Opus 4.8, Sonnet 5, or Fable 5 against the same Token Wallet.
|
|
3
|
+
`codexclaude` installs the Magnetapi Client for customers who want one coding CLI that can use GPT-5.6 SOL, ChatGPT-5.5, Opus 4.8, Sonnet 5, or Fable 5 against the same Token Wallet.
|
|
4
4
|
|
|
5
|
-
Version `2.0.
|
|
5
|
+
Version `2.0.20` is a required major sync release. It bundles official Codex runtime dependency `@openai/codex@0.144.1`, launches the platform-native runtime binary directly, disables upstream OpenAI update prompts, and applies account, wallet, model, Full Access, GPT-5.6 SOL default, and xhigh visible reasoning before each coding session starts.
|
|
6
6
|
|
|
7
7
|
## Install Or Update
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.
|
|
10
|
+
npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.20.tgz
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
This does not delete local session history. The update replaces the `codexclaude` launcher package, refreshes the bundled runtime dependency, and rewrites the managed provider config the next time `codexclaude setup`, `codexclaude login`, or `codexclaude start` runs.
|
|
@@ -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.20` is currently enforced as the minimum supported version, so older launchers show a required update message with the exact hosted tarball command above.
|
|
20
20
|
|
|
21
21
|
## First Login
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ Version `2.0.18` is currently enforced as the minimum supported version, so olde
|
|
|
24
24
|
codexclaude login
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Enter the Dashboard Username or Email Address and password. The launcher can log in to CodexAPI.pro, ChatPlus.chat, MyAPI.world, or MagnetAPI.org, then saves the correct System Token locally, writes `~/.codex/config.toml`, sets Full Access defaults, and lets the customer choose the coding model. If the customer presses Enter at the model prompt,
|
|
27
|
+
Enter the Dashboard Username or Email Address and password. The launcher can log in to CodexAPI.pro, ChatPlus.chat, MyAPI.world, or MagnetAPI.org, then saves the correct System Token locally, writes `~/.codex/config.toml`, sets Full Access defaults, and lets the customer choose the coding model. If the customer presses Enter at the model prompt, GPT-5.6 SOL is selected by default.
|
|
28
28
|
|
|
29
29
|
## Start Coding
|
|
30
30
|
|
|
@@ -44,7 +44,7 @@ Switch model:
|
|
|
44
44
|
codexclaude model
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Available model labels are `ChatGPT-5.5`, `Opus 4.8`, `Sonnet 5`, and `Fable 5`. All
|
|
47
|
+
Available model labels are `GPT-5.6 SOL`, `ChatGPT-5.5`, `Opus 4.8`, `Sonnet 5`, and `Fable 5`. All five use a Responses-compatible endpoint and the same customer Token Wallet.
|
|
48
48
|
|
|
49
49
|
Show current launcher changes:
|
|
50
50
|
|
|
@@ -57,17 +57,17 @@ codexclaude changelog
|
|
|
57
57
|
Before launching the coding runtime, the app prints a compact status line like:
|
|
58
58
|
|
|
59
59
|
```text
|
|
60
|
-
Magnetapi Client v2.0.
|
|
60
|
+
Magnetapi Client v2.0.20 · gpt-5.6-sol xhigh · ~/project · Wallet $20.00
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
## Preserved Customizations
|
|
64
64
|
|
|
65
65
|
- Dashboard Username or Email Address plus password login for CodexAPI.pro, ChatPlus.chat, MyAPI.world, and MagnetAPI.org.
|
|
66
|
-
- ChatGPT-5.5, Opus 4.8, Sonnet 5, or Fable 5 model selection, with
|
|
66
|
+
- GPT-5.6 SOL, ChatGPT-5.5, Opus 4.8, Sonnet 5, or Fable 5 model selection, with GPT-5.6 SOL as the default.
|
|
67
67
|
- Service-specific Responses-compatible provider for the dashboard account that logged in.
|
|
68
68
|
- Full Access defaults: approval policy `never` and sandbox mode `danger-full-access`.
|
|
69
69
|
- xhigh visible reasoning in the local UI while the API server keeps upstream runtime effort server-managed.
|
|
70
|
-
- A local `~/.codexclaude/model_catalog.json` file so the native `/model` picker lists only ChatGPT-5.5, Opus 4.8, Sonnet 5, and Fable 5.
|
|
70
|
+
- A local `~/.codexclaude/model_catalog.json` file so the native `/model` picker lists only GPT-5.6 SOL, ChatGPT-5.5, Opus 4.8, Sonnet 5, and Fable 5.
|
|
71
71
|
- No default fast service tier. Fast mode is billed only when the user enables it inside the client.
|
|
72
72
|
- Token Wallet balance lookup before launch without exposing separate `status` or `usage` launcher commands.
|
|
73
73
|
- Backend-identifying request headers so the API can enforce account and plan rules server-side.
|
package/bin/codexclaude.js
CHANGED
|
@@ -10,10 +10,10 @@ 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.
|
|
13
|
+
const APP_VERSION = "2.0.20";
|
|
14
14
|
const CODEX_VERSION = "0.144.1";
|
|
15
15
|
const APP_DISPLAY_NAME = "Magnetapi Client";
|
|
16
|
-
const DEFAULT_MODEL_ID = "
|
|
16
|
+
const DEFAULT_MODEL_ID = "gpt-5.6-sol";
|
|
17
17
|
const DISPLAY_REASONING_EFFORT = "xhigh";
|
|
18
18
|
const SERVER_REASONING_EFFORT = "xhigh";
|
|
19
19
|
const API_ORIGIN = (process.env.CODEXCLAUDE_API_ORIGIN || "https://codexapi.pro").replace(/\/+$/, "");
|
|
@@ -68,29 +68,34 @@ const SUPPORTED_REASONING_LEVELS = [
|
|
|
68
68
|
{ effort: "low", description: "Fast responses with lighter reasoning" },
|
|
69
69
|
{ effort: "medium", description: "Balances speed and reasoning depth for everyday coding" },
|
|
70
70
|
{ effort: "high", description: "Greater reasoning depth for complex work" },
|
|
71
|
-
{ effort: "xhigh", description: "Extra high visible reasoning setting for
|
|
71
|
+
{ effort: "xhigh", description: "Extra high visible reasoning setting for managed sessions" },
|
|
72
72
|
];
|
|
73
73
|
|
|
74
74
|
const MODELS = {
|
|
75
|
+
"gpt-5.6-sol": {
|
|
76
|
+
id: "gpt-5.6-sol",
|
|
77
|
+
label: "GPT-5.6 SOL",
|
|
78
|
+
aliases: ["1", "gpt-5.6-sol", "gpt-5.6", "gpt56", "sol"],
|
|
79
|
+
},
|
|
75
80
|
"gpt-5.5": {
|
|
76
81
|
id: "gpt-5.5",
|
|
77
82
|
label: "ChatGPT-5.5",
|
|
78
|
-
aliases: ["
|
|
83
|
+
aliases: ["2", "gpt", "gpt-5.5", "chatgpt", "chatgpt-5.5"],
|
|
79
84
|
},
|
|
80
85
|
"claude-opus-4-8": {
|
|
81
86
|
id: "claude-opus-4-8",
|
|
82
87
|
label: "Opus 4.8",
|
|
83
|
-
aliases: ["
|
|
88
|
+
aliases: ["3", "opus", "opus-4.8", "opus-4.7", "claude", "claude-opus-4-8", "claude-opus-4-7"],
|
|
84
89
|
},
|
|
85
90
|
"claude-sonnet-5": {
|
|
86
91
|
id: "claude-sonnet-5",
|
|
87
92
|
label: "Sonnet 5",
|
|
88
|
-
aliases: ["
|
|
93
|
+
aliases: ["4", "sonnet", "sonnet-5", "sonnet-4.6", "sonnet-4-6", "claude-sonnet-5", "claude-sonnet-4-6", "claude-sonnet-4.6"],
|
|
89
94
|
},
|
|
90
95
|
"claude-fable-5": {
|
|
91
96
|
id: "claude-fable-5",
|
|
92
97
|
label: "Fable 5",
|
|
93
|
-
aliases: ["
|
|
98
|
+
aliases: ["5", "fable", "fable-5", "fabel", "fabel-5", "claude-fable-5", "claude-fabel-5"],
|
|
94
99
|
premium: true,
|
|
95
100
|
},
|
|
96
101
|
};
|
|
@@ -151,7 +156,7 @@ Commands:
|
|
|
151
156
|
codexclaude model Select ChatGPT-5.5, Opus 4.8, Sonnet 5, or Fable 5
|
|
152
157
|
codexclaude changelog Show the latest CodexAPI.pro launcher changes
|
|
153
158
|
codexclaude setup Rewrite ~/.codex/config.toml with Full Access defaults
|
|
154
|
-
codexclaude start Start
|
|
159
|
+
codexclaude start Start Magnetapi Client with --search
|
|
155
160
|
codexclaude resume Resume the latest coding session with --search
|
|
156
161
|
codexclaude logout Remove saved codexclaude account state
|
|
157
162
|
|
|
@@ -505,7 +510,7 @@ function updateRequiredMessage(metadata) {
|
|
|
505
510
|
`Update required: ${APP_DISPLAY_NAME} has updated to codexclaude ${latest}. This major release is required for all users so your local client stays synced with the managed model catalog, Full Access defaults, and provider config.`,
|
|
506
511
|
`Installed codexclaude: ${APP_VERSION}. Required: ${minimum}. Latest: ${latest}.`,
|
|
507
512
|
`Run: ${installCommand}`,
|
|
508
|
-
"Your
|
|
513
|
+
"Your local session history will not be deleted. The update only replaces the codexclaude launcher and rewrites provider config backups.",
|
|
509
514
|
].join("\n");
|
|
510
515
|
}
|
|
511
516
|
|
|
@@ -675,16 +680,19 @@ function modelCatalogEntry(model, index) {
|
|
|
675
680
|
}
|
|
676
681
|
|
|
677
682
|
function modelCatalogDescription(modelId) {
|
|
683
|
+
if (modelId === "gpt-5.6-sol") {
|
|
684
|
+
return "GPT-5.6 SOL managed coding route with local coding tools and wallet billing.";
|
|
685
|
+
}
|
|
678
686
|
if (modelId === "claude-opus-4-8") {
|
|
679
|
-
return "Opus 4.8 coding route with local
|
|
687
|
+
return "Opus 4.8 coding route with local coding tools and wallet billing.";
|
|
680
688
|
}
|
|
681
689
|
if (modelId === "claude-sonnet-5") {
|
|
682
|
-
return "Sonnet 5 coding route with local
|
|
690
|
+
return "Sonnet 5 coding route with local coding tools and wallet billing.";
|
|
683
691
|
}
|
|
684
692
|
if (modelId === "claude-fable-5") {
|
|
685
|
-
return "Fable 5 premium coding route with local
|
|
693
|
+
return "Fable 5 premium coding route with local coding tools and wallet billing.";
|
|
686
694
|
}
|
|
687
|
-
return "ChatGPT-5.5 coding route with local
|
|
695
|
+
return "ChatGPT-5.5 coding route with local coding tools and wallet billing.";
|
|
688
696
|
}
|
|
689
697
|
|
|
690
698
|
function readConfig() {
|
|
@@ -710,7 +718,7 @@ function saveConfig(config) {
|
|
|
710
718
|
|
|
711
719
|
function logout() {
|
|
712
720
|
saveConfig({ version: APP_VERSION, loggedOutAt: new Date().toISOString() });
|
|
713
|
-
console.log("codexclaude login state removed.
|
|
721
|
+
console.log("codexclaude login state removed. Managed coding config was left untouched.");
|
|
714
722
|
}
|
|
715
723
|
|
|
716
724
|
async function runCodex(args) {
|
|
@@ -890,6 +898,9 @@ function formatStatusLine(config, wallet, cwd) {
|
|
|
890
898
|
}
|
|
891
899
|
|
|
892
900
|
function modelStatusName(model) {
|
|
901
|
+
if (model === "gpt-5.6-sol") {
|
|
902
|
+
return "gpt-5.6-sol";
|
|
903
|
+
}
|
|
893
904
|
if (model === "claude-opus-4-8") {
|
|
894
905
|
return "opus-4.8";
|
|
895
906
|
}
|
package/codexclaude.md
CHANGED
|
@@ -5,13 +5,13 @@ 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.20`
|
|
9
9
|
- Customer-facing app name: `Magnetapi Client`
|
|
10
10
|
- Bundled runtime dependency: `@openai/codex@0.144.1`
|
|
11
|
-
- Required install command: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.
|
|
12
|
-
- Backend minimum version: `2.0.
|
|
13
|
-
- Default visible model: `
|
|
14
|
-
- Default model slug: `
|
|
11
|
+
- Required install command: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.20.tgz`
|
|
12
|
+
- Backend minimum version: `2.0.20`
|
|
13
|
+
- Default visible model: `GPT-5.6 SOL`
|
|
14
|
+
- Default model slug: `gpt-5.6-sol`
|
|
15
15
|
- Visible reasoning effort: `xhigh`
|
|
16
16
|
- Local permissions: Full Access, implemented as `approval_policy = "never"` and `sandbox_mode = "danger-full-access"`
|
|
17
17
|
- Local launcher state: `~/.codexclaude/config.json`
|
|
@@ -24,25 +24,26 @@ This file is the durable handoff for the `@codexapi/codexclaude` package in `/ro
|
|
|
24
24
|
The launcher must present itself as:
|
|
25
25
|
|
|
26
26
|
```text
|
|
27
|
-
Magnetapi Client v2.0.
|
|
27
|
+
Magnetapi Client v2.0.20
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
Normal pre-launch status should look like:
|
|
31
31
|
|
|
32
32
|
```text
|
|
33
|
-
Magnetapi Client v2.0.
|
|
33
|
+
Magnetapi Client v2.0.20 · gpt-5.6-sol xhigh · ~/project · Wallet $20.00
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
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.
|
|
37
37
|
|
|
38
|
-
The launcher command `codexclaude model` must list exactly
|
|
38
|
+
The launcher command `codexclaude model` must list exactly five customer-visible models:
|
|
39
39
|
|
|
40
|
+
- `gpt-5.6-sol` displayed as `GPT-5.6 SOL`
|
|
40
41
|
- `gpt-5.5` displayed as `ChatGPT-5.5`
|
|
41
42
|
- `claude-opus-4-8` displayed as `Opus 4.8`
|
|
42
43
|
- `claude-sonnet-5` displayed as `Sonnet 5`
|
|
43
44
|
- `claude-fable-5` displayed as `Fable 5`
|
|
44
45
|
|
|
45
|
-
|
|
46
|
+
GPT-5.6 SOL must be the default when a new config is created or a legacy config contains an unsupported Gemini/Deepseek value. `gpt-5.6-sol` is a managed public alias routed through the compatible signed-in GPT runtime until OpenAI publishes an official upstream API slug. The selected model slug must stay in `~/.codex/config.toml`; do not rewrite customer-facing model selections locally just because the backend may route internally.
|
|
46
47
|
|
|
47
48
|
## Update Policy
|
|
48
49
|
|
|
@@ -51,16 +52,18 @@ Opus 4.8 must be the default when a new config is created or a legacy config con
|
|
|
51
52
|
- `https://codexapi.pro/api/v1/codexclaude/version`
|
|
52
53
|
- `https://registry.npmjs.org/@codexapi%2Fcodexclaude/latest`
|
|
53
54
|
|
|
54
|
-
It must not check `@openai/codex` npm metadata, OpenAI GitHub releases, or any upstream OpenAI update endpoint. Version `2.0.
|
|
55
|
+
It must not check `@openai/codex` npm metadata, OpenAI GitHub releases, or any upstream OpenAI update endpoint. Version `2.0.20` is a forced release: the backend `minimumVersion` equals `2.0.20`, and older clients must show an update-required message with the hosted tarball command.
|
|
55
56
|
|
|
56
57
|
The launcher writes `check_for_update_on_startup = false` and removes `~/.codex/version.json` so the bundled runtime does not display stale upstream update prompts. The launcher also resolves the platform-native runtime binary directly from the optional package (`@openai/codex-linux-x64`, `@openai/codex-darwin-arm64`, and so on). Do not fall back to the upstream npm wrapper, because that wrapper can re-enable upstream managed update behavior.
|
|
57
58
|
|
|
59
|
+
The optional platform-native runtime packages can still contain upstream README files and hardcoded native strings inside the binary. Launcher-owned output must say `Magnetapi Client`; replacing native binary text itself requires a maintained forked native runtime build for every supported platform. Until such a fork exists, do not re-enable the upstream npm wrapper and do not present upstream update notices to customers.
|
|
60
|
+
|
|
58
61
|
## Generated Config Contract
|
|
59
62
|
|
|
60
63
|
`bin/codexclaude.js` must rewrite `~/.codex/config.toml` before every coding session. Preserve this top-level shape:
|
|
61
64
|
|
|
62
65
|
```toml
|
|
63
|
-
model = "
|
|
66
|
+
model = "gpt-5.6-sol"
|
|
64
67
|
model_catalog_json = "<absolute path to ~/.codexclaude/model_catalog.json>"
|
|
65
68
|
preferred_auth_method = "apikey"
|
|
66
69
|
model_provider = "codexapi"
|
|
@@ -77,7 +80,7 @@ base_url = "<service Responses URL>"
|
|
|
77
80
|
experimental_bearer_token = "<customer System Token/API username>"
|
|
78
81
|
wire_api = "responses"
|
|
79
82
|
supports_websockets = false
|
|
80
|
-
http_headers = { "X-CodexAPI-Client" = "codexclaude", "X-CodexAPI-Client-Version" = "2.0.
|
|
83
|
+
http_headers = { "X-CodexAPI-Client" = "codexclaude", "X-CodexAPI-Client-Version" = "2.0.20", "X-CodexAPI-Selected-Model" = "<selected model>" }
|
|
81
84
|
|
|
82
85
|
[tui]
|
|
83
86
|
status_line = ["model-with-reasoning", "fast-mode", "current-dir"]
|
|
@@ -85,7 +88,7 @@ status_line_use_colors = true
|
|
|
85
88
|
terminal_title = ["project-name", "model-with-reasoning", "run-state"]
|
|
86
89
|
```
|
|
87
90
|
|
|
88
|
-
The generated model catalog must contain full metadata for the
|
|
91
|
+
The generated model catalog must contain full metadata for the five supported slugs. This prevents fallback metadata warnings such as:
|
|
89
92
|
|
|
90
93
|
```text
|
|
91
94
|
Model metadata for `claude-opus-4-8` not found. Defaulting to fallback metadata; this can degrade performance and cause issues.
|
|
@@ -120,7 +123,7 @@ When updating the bundled runtime dependency:
|
|
|
120
123
|
3. Bump `package.json` and `package-lock.json` to a new `@codexapi/codexclaude` version.
|
|
121
124
|
4. Update `APP_VERSION` and `CODEX_VERSION` in `bin/codexclaude.js`.
|
|
122
125
|
5. Preserve `APP_DISPLAY_NAME = "Magnetapi Client"`.
|
|
123
|
-
6. Preserve `DEFAULT_MODEL_ID = "
|
|
126
|
+
6. Preserve `DEFAULT_MODEL_ID = "gpt-5.6-sol"`.
|
|
124
127
|
7. Preserve `DISPLAY_REASONING_EFFORT = "xhigh"` and `SERVER_REASONING_EFFORT = "xhigh"` unless operations explicitly changes the launcher-visible contract.
|
|
125
128
|
8. Preserve Full Access defaults and the local model catalog.
|
|
126
129
|
9. Preserve direct platform-native binary launch.
|
|
@@ -147,7 +150,7 @@ tmp_home="$(mktemp -d)"
|
|
|
147
150
|
mkdir -p "$tmp_home/.codexclaude"
|
|
148
151
|
cat > "$tmp_home/.codexclaude/config.json" <<'JSON'
|
|
149
152
|
{
|
|
150
|
-
"version": "2.0.
|
|
153
|
+
"version": "2.0.20",
|
|
151
154
|
"serviceId": "codexapi",
|
|
152
155
|
"serviceLabel": "CodexAPI.pro",
|
|
153
156
|
"apiOrigin": "https://codexapi.pro",
|
|
@@ -162,7 +165,7 @@ HOME="$tmp_home" CODEXCLAUDE_DISABLE_UPDATE_CHECK=1 CODEXCLAUDE_QUIET_STATUS=1 n
|
|
|
162
165
|
|
|
163
166
|
Verify the generated config contains:
|
|
164
167
|
|
|
165
|
-
- `model = "
|
|
168
|
+
- `model = "gpt-5.6-sol"`
|
|
166
169
|
- `model_reasoning_effort = "xhigh"`
|
|
167
170
|
- `check_for_update_on_startup = false`
|
|
168
171
|
- `approval_policy = "never"`
|
|
@@ -180,20 +183,20 @@ After packaging, copy the tarball to the public downloads directories, restart t
|
|
|
180
183
|
|
|
181
184
|
```bash
|
|
182
185
|
curl -fsS "https://codexapi.pro/api/v1/codexclaude/version?current=2.0.17"
|
|
183
|
-
curl -fsSI "https://codexapi.pro/downloads/codexapi-codexclaude-2.0.
|
|
186
|
+
curl -fsSI "https://codexapi.pro/downloads/codexapi-codexclaude-2.0.20.tgz"
|
|
184
187
|
```
|
|
185
188
|
|
|
186
|
-
The version endpoint must report `latestVersion = 2.0.
|
|
189
|
+
The version endpoint must report `latestVersion = 2.0.20`, `minimumVersion = 2.0.20`, and `updateRequired = true` for old clients.
|
|
187
190
|
|
|
188
|
-
## Version 2.0.
|
|
191
|
+
## Version 2.0.20 Changes
|
|
189
192
|
|
|
190
193
|
- Updated bundled runtime dependency to `@openai/codex@0.144.1`.
|
|
191
|
-
- Forced all older codexclaude clients to update by setting backend minimum version to `2.0.
|
|
194
|
+
- Forced all older codexclaude clients to update by setting backend minimum version to `2.0.20`.
|
|
192
195
|
- Changed launcher-owned identity to `Magnetapi Client`.
|
|
193
|
-
-
|
|
196
|
+
- Added GPT-5.6 SOL as a managed model choice and made it the default selection.
|
|
194
197
|
- Kept visible reasoning at xhigh.
|
|
195
198
|
- Preserved Full Access defaults.
|
|
196
199
|
- Disabled bundled runtime update checks through generated config and stale update-cache removal.
|
|
197
200
|
- Removed launcher fallback to the upstream npm wrapper so OpenAI update prompts are not emitted by codexclaude.
|
|
198
201
|
- Kept update monitoring limited to CodexAPI.pro version metadata and the `@codexapi/codexclaude` npm package.
|
|
199
|
-
- Updated setup scripts to install the exact hosted `2.0.
|
|
202
|
+
- Updated setup scripts to install the exact hosted `2.0.20` tarball.
|