@codexapi/codexclaude 2.0.18 → 2.0.19

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 CHANGED
@@ -5,9 +5,9 @@
5
5
  ## Runtime
6
6
 
7
7
  - Customer-facing app name: `Magnetapi Client`
8
- - Local launcher version: `2.0.18`
8
+ - Local launcher version: `2.0.19`
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.18.tgz`
10
+ - Required install command: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.19.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.18` is forced by the backend minimum version and older clients must show an update-required message.
27
+ - Version `2.0.19` is forced by the backend minimum version and older clients must show an update-required message.
27
28
 
28
29
  ## Provider Config
29
30
 
@@ -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.18 · opus-4.8 xhigh · ~/project · Wallet $20.00
63
+ Magnetapi Client v2.0.19 · opus-4.8 xhigh · ~/project · Wallet $20.00
63
64
  ```
64
65
 
65
66
  ## Upgrade Checklist
package/README.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
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.
4
4
 
5
- Version `2.0.18` 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, Opus 4.8 default, and xhigh visible reasoning before each coding session starts.
5
+ Version `2.0.19` 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, Opus 4.8 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.18.tgz
10
+ npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.19.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.18` is currently enforced as the minimum supported version, so older launchers show a required update message with the exact hosted tarball command above.
19
+ Version `2.0.19` 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
 
@@ -57,7 +57,7 @@ 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.18 · opus-4.8 xhigh · ~/project · Wallet $20.00
60
+ Magnetapi Client v2.0.19 · opus-4.8 xhigh · ~/project · Wallet $20.00
61
61
  ```
62
62
 
63
63
  ## Preserved Customizations
@@ -10,7 +10,7 @@ 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.18";
13
+ const APP_VERSION = "2.0.19";
14
14
  const CODEX_VERSION = "0.144.1";
15
15
  const APP_DISPLAY_NAME = "Magnetapi Client";
16
16
  const DEFAULT_MODEL_ID = "claude-opus-4-8";
@@ -68,7 +68,7 @@ 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 CodexAPI.pro sessions" },
71
+ { effort: "xhigh", description: "Extra high visible reasoning setting for managed sessions" },
72
72
  ];
73
73
 
74
74
  const MODELS = {
@@ -151,7 +151,7 @@ Commands:
151
151
  codexclaude model Select ChatGPT-5.5, Opus 4.8, Sonnet 5, or Fable 5
152
152
  codexclaude changelog Show the latest CodexAPI.pro launcher changes
153
153
  codexclaude setup Rewrite ~/.codex/config.toml with Full Access defaults
154
- codexclaude start Start Codex with --search
154
+ codexclaude start Start Magnetapi Client with --search
155
155
  codexclaude resume Resume the latest coding session with --search
156
156
  codexclaude logout Remove saved codexclaude account state
157
157
 
@@ -505,7 +505,7 @@ function updateRequiredMessage(metadata) {
505
505
  `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
506
  `Installed codexclaude: ${APP_VERSION}. Required: ${minimum}. Latest: ${latest}.`,
507
507
  `Run: ${installCommand}`,
508
- "Your Codex session history will not be deleted. The update only replaces the codexclaude launcher and rewrites provider config backups.",
508
+ "Your local session history will not be deleted. The update only replaces the codexclaude launcher and rewrites provider config backups.",
509
509
  ].join("\n");
510
510
  }
511
511
 
@@ -676,15 +676,15 @@ function modelCatalogEntry(model, index) {
676
676
 
677
677
  function modelCatalogDescription(modelId) {
678
678
  if (modelId === "claude-opus-4-8") {
679
- return "Opus 4.8 coding route with local Codex tools and wallet billing.";
679
+ return "Opus 4.8 coding route with local coding tools and wallet billing.";
680
680
  }
681
681
  if (modelId === "claude-sonnet-5") {
682
- return "Sonnet 5 coding route with local Codex tools and wallet billing.";
682
+ return "Sonnet 5 coding route with local coding tools and wallet billing.";
683
683
  }
684
684
  if (modelId === "claude-fable-5") {
685
- return "Fable 5 premium coding route with local Codex tools and wallet billing.";
685
+ return "Fable 5 premium coding route with local coding tools and wallet billing.";
686
686
  }
687
- return "ChatGPT-5.5 coding route with local Codex tools and wallet billing.";
687
+ return "ChatGPT-5.5 coding route with local coding tools and wallet billing.";
688
688
  }
689
689
 
690
690
  function readConfig() {
@@ -710,7 +710,7 @@ function saveConfig(config) {
710
710
 
711
711
  function logout() {
712
712
  saveConfig({ version: APP_VERSION, loggedOutAt: new Date().toISOString() });
713
- console.log("codexclaude login state removed. Codex config was left untouched.");
713
+ console.log("codexclaude login state removed. Managed coding config was left untouched.");
714
714
  }
715
715
 
716
716
  async function runCodex(args) {
package/codexclaude.md CHANGED
@@ -5,11 +5,11 @@ 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.18`
8
+ - Launcher version: `2.0.19`
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.18.tgz`
12
- - Backend minimum version: `2.0.18`
11
+ - Required install command: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.19.tgz`
12
+ - Backend minimum version: `2.0.19`
13
13
  - Default visible model: `Opus 4.8`
14
14
  - Default model slug: `claude-opus-4-8`
15
15
  - Visible reasoning effort: `xhigh`
@@ -24,13 +24,13 @@ 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.18
27
+ Magnetapi Client v2.0.19
28
28
  ```
29
29
 
30
30
  Normal pre-launch status should look like:
31
31
 
32
32
  ```text
33
- Magnetapi Client v2.0.18 · opus-4.8 xhigh · ~/project · Wallet $20.00
33
+ Magnetapi Client v2.0.19 · opus-4.8 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.
@@ -51,10 +51,12 @@ Opus 4.8 must be the default when a new config is created or a legacy config con
51
51
  - `https://codexapi.pro/api/v1/codexclaude/version`
52
52
  - `https://registry.npmjs.org/@codexapi%2Fcodexclaude/latest`
53
53
 
54
- It must not check `@openai/codex` npm metadata, OpenAI GitHub releases, or any upstream OpenAI update endpoint. Version `2.0.18` is a forced release: the backend `minimumVersion` equals `2.0.18`, and older clients must show an update-required message with the hosted tarball command.
54
+ It must not check `@openai/codex` npm metadata, OpenAI GitHub releases, or any upstream OpenAI update endpoint. Version `2.0.19` is a forced release: the backend `minimumVersion` equals `2.0.19`, and older clients must show an update-required message with the hosted tarball command.
55
55
 
56
56
  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
57
 
58
+ 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.
59
+
58
60
  ## Generated Config Contract
59
61
 
60
62
  `bin/codexclaude.js` must rewrite `~/.codex/config.toml` before every coding session. Preserve this top-level shape:
@@ -77,7 +79,7 @@ base_url = "<service Responses URL>"
77
79
  experimental_bearer_token = "<customer System Token/API username>"
78
80
  wire_api = "responses"
79
81
  supports_websockets = false
80
- http_headers = { "X-CodexAPI-Client" = "codexclaude", "X-CodexAPI-Client-Version" = "2.0.18", "X-CodexAPI-Selected-Model" = "<selected model>" }
82
+ http_headers = { "X-CodexAPI-Client" = "codexclaude", "X-CodexAPI-Client-Version" = "2.0.19", "X-CodexAPI-Selected-Model" = "<selected model>" }
81
83
 
82
84
  [tui]
83
85
  status_line = ["model-with-reasoning", "fast-mode", "current-dir"]
@@ -147,7 +149,7 @@ tmp_home="$(mktemp -d)"
147
149
  mkdir -p "$tmp_home/.codexclaude"
148
150
  cat > "$tmp_home/.codexclaude/config.json" <<'JSON'
149
151
  {
150
- "version": "2.0.18",
152
+ "version": "2.0.19",
151
153
  "serviceId": "codexapi",
152
154
  "serviceLabel": "CodexAPI.pro",
153
155
  "apiOrigin": "https://codexapi.pro",
@@ -180,15 +182,15 @@ After packaging, copy the tarball to the public downloads directories, restart t
180
182
 
181
183
  ```bash
182
184
  curl -fsS "https://codexapi.pro/api/v1/codexclaude/version?current=2.0.17"
183
- curl -fsSI "https://codexapi.pro/downloads/codexapi-codexclaude-2.0.18.tgz"
185
+ curl -fsSI "https://codexapi.pro/downloads/codexapi-codexclaude-2.0.19.tgz"
184
186
  ```
185
187
 
186
- The version endpoint must report `latestVersion = 2.0.18`, `minimumVersion = 2.0.18`, and `updateRequired = true` for old clients.
188
+ The version endpoint must report `latestVersion = 2.0.19`, `minimumVersion = 2.0.19`, and `updateRequired = true` for old clients.
187
189
 
188
- ## Version 2.0.18 Changes
190
+ ## Version 2.0.19 Changes
189
191
 
190
192
  - 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.18`.
193
+ - Forced all older codexclaude clients to update by setting backend minimum version to `2.0.19`.
192
194
  - Changed launcher-owned identity to `Magnetapi Client`.
193
195
  - Changed the default selected model to Opus 4.8.
194
196
  - Kept visible reasoning at xhigh.
@@ -196,4 +198,4 @@ The version endpoint must report `latestVersion = 2.0.18`, `minimumVersion = 2.0
196
198
  - Disabled bundled runtime update checks through generated config and stale update-cache removal.
197
199
  - Removed launcher fallback to the upstream npm wrapper so OpenAI update prompts are not emitted by codexclaude.
198
200
  - 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.18` tarball.
201
+ - Updated setup scripts to install the exact hosted `2.0.19` tarball.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codexapi/codexclaude",
3
- "version": "2.0.18",
3
+ "version": "2.0.19",
4
4
  "description": "Magnetapi Client launcher for ChatGPT-5.5, Opus 4.8, Sonnet 5, and Fable 5.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",