@codexapi/codexclaude 2.0.22 → 2.0.23

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.22`
8
+ - Local launcher version: `2.0.23`
9
9
  - Bundled official runtime dependency: `@openai/codex@0.144.3`
10
- - Required install command: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.22.tgz`
10
+ - Required install command: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.23.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.
@@ -24,7 +24,7 @@
24
24
  - Passes unknown commands directly to the bundled runtime after config is applied.
25
25
  - Provides `codexclaude changelog` using the managed version endpoint.
26
26
  - Does not expose separate `codexclaude status` or `codexclaude usage` commands; wallet information remains a compact pre-launch line.
27
- - Version `2.0.22` is forced by the backend minimum version and older clients must show an update-required message.
27
+ - Version `2.0.23` is forced by the backend minimum version and older clients must show an update-required message.
28
28
 
29
29
  ## Provider Config
30
30
 
@@ -51,8 +51,8 @@ The launcher writes a model provider named `codexapi`:
51
51
  - Local model catalog: `~/.codexclaude/model_catalog.json`; this keeps the native `/model` picker limited to the supported choices and prevents fallback metadata warnings for GPT-5.6 SOL, SOL Max, SOL Ultra, Opus 4.8, Sonnet 5, and Fable 5.
52
52
  - Service tier: omitted by default; `/fast` remains user-controlled and billed server-side when active.
53
53
  - TUI status line: `model-with-reasoning`, `fast-mode`, `current-dir`
54
- - Fable 5 stays visible to the user while the backend applies its custom routed premium path and billing multiplier.
55
- - GPT-5.6 SOL Max bills at 2x normal SOL usage. GPT-5.6 SOL Ultra bills at 2.5x normal SOL usage.
54
+ - Fable 5 stays visible to the user while the backend applies its server-managed route and billing policy.
55
+ - Premium model billing remains server-managed and is not rendered in the customer model picker or model descriptions.
56
56
 
57
57
  ## Wallet Display
58
58
 
@@ -61,7 +61,7 @@ Before launching the runtime, the launcher calls `/api/v1/wallet/status`, then `
61
61
  Expected status line:
62
62
 
63
63
  ```text
64
- Magnetapi Client v2.0.22 · gpt-5.6 xhigh · ~/project · Wallet $20.00
64
+ Magnetapi Client v2.0.23 · gpt-5.6 xhigh · ~/project · Wallet $20.00
65
65
  ```
66
66
 
67
67
  ## 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 GPT-5.6, GPT-5.6 SOL, GPT-5.6 SOL Max, GPT-5.6 SOL Ultra, ChatGPT-5.5, Opus 4.8, Sonnet 5, or Fable 5 against the same Token Wallet.
4
4
 
5
- Version `2.0.22` is a required major sync release. It bundles official Codex runtime dependency `@openai/codex@0.144.3`, launches the platform-native runtime binary directly, disables upstream OpenAI update prompts, and applies account, wallet, model, Full Access, GPT-5.6/xhigh defaults, and managed model metadata before each coding session starts.
5
+ Version `2.0.23` is a required client sync release. It bundles official Codex runtime dependency `@openai/codex@0.144.3`, launches the platform-native runtime binary directly, disables upstream OpenAI update prompts, and applies account, wallet, model, Full Access, GPT-5.6/xhigh defaults, and managed model metadata before each coding session starts. Model menus no longer display wallet multiplier notices; billing remains managed by the server.
6
6
 
7
7
  ## Install Or Update
8
8
 
9
9
  ```bash
10
- npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.22.tgz
10
+ npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.23.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.22` 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.23` 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
 
@@ -44,7 +44,7 @@ Switch model:
44
44
  codexclaude model
45
45
  ```
46
46
 
47
- Available model labels are `GPT-5.6`, `GPT-5.6 SOL Max`, `GPT-5.6 SOL Ultra`, `GPT-5.6 SOL`, `ChatGPT-5.5`, `Opus 4.8`, `Sonnet 5`, and `Fable 5`. SOL Max bills at 2x normal SOL usage. SOL Ultra bills at 2.5x normal SOL usage. All models use a Responses-compatible endpoint and the same customer Token Wallet.
47
+ Available model labels are `GPT-5.6`, `GPT-5.6 SOL Max`, `GPT-5.6 SOL Ultra`, `GPT-5.6 SOL`, `ChatGPT-5.5`, `Opus 4.8`, `Sonnet 5`, and `Fable 5`. All models use a Responses-compatible endpoint and the same customer Token Wallet.
48
48
 
49
49
  Show current launcher changes:
50
50
 
@@ -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.22 · gpt-5.6 xhigh · ~/project · Wallet $20.00
60
+ Magnetapi Client v2.0.23 · gpt-5.6 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.22";
13
+ const APP_VERSION = "2.0.23";
14
14
  const CODEX_VERSION = "0.144.3";
15
15
  const APP_DISPLAY_NAME = "Magnetapi Client";
16
16
  const DEFAULT_MODEL_ID = "gpt-5.6";
@@ -84,14 +84,12 @@ const MODELS = {
84
84
  id: "gpt-5.6-sol-max",
85
85
  label: "GPT-5.6 SOL Max",
86
86
  aliases: ["2", "gpt-5.6-sol-max", "gpt-5.6-max", "gpt56-max", "sol-max", "max"],
87
- premiumLabel: "2x premium billing",
88
87
  reasoningEffort: "max",
89
88
  },
90
89
  "gpt-5.6-sol-ultra": {
91
90
  id: "gpt-5.6-sol-ultra",
92
91
  label: "GPT-5.6 SOL Ultra",
93
92
  aliases: ["3", "gpt-5.6-sol-ultra", "gpt-5.6-ultra", "gpt56-ultra", "sol-ultra", "ultra"],
94
- premiumLabel: "2.5x premium billing",
95
93
  reasoningEffort: "ultra",
96
94
  },
97
95
  "gpt-5.6-sol": {
@@ -120,7 +118,6 @@ const MODELS = {
120
118
  label: "Fable 5",
121
119
  aliases: ["8", "fable", "fable-5", "fabel", "fabel-5", "claude-fable-5", "claude-fabel-5"],
122
120
  premium: true,
123
- premiumLabel: "2x premium billing",
124
121
  },
125
122
  };
126
123
 
@@ -377,8 +374,7 @@ async function askModel(rl, current) {
377
374
  const currentLabel = MODELS[current]?.label || MODELS[DEFAULT_MODEL_ID].label;
378
375
  console.log("\nChoose your coding model:");
379
376
  Object.values(MODELS).forEach((model, index) => {
380
- const premium = model.premiumLabel ? ` (${model.premiumLabel})` : model.premium ? " (2x premium billing)" : "";
381
- console.log(` ${index + 1}. ${model.label}${premium}`);
377
+ console.log(` ${index + 1}. ${model.label}`);
382
378
  });
383
379
  const answer = (await rl.question(`Model [${currentLabel}]: `)).trim().toLowerCase();
384
380
  if (!answer) {
@@ -709,10 +705,10 @@ function modelCatalogDescription(modelId) {
709
705
  return "GPT-5.6 coding route with local coding tools and wallet billing.";
710
706
  }
711
707
  if (modelId === "gpt-5.6-sol-max") {
712
- return "GPT-5.6 SOL Max premium coding route with local coding tools and 2x wallet billing.";
708
+ return "GPT-5.6 SOL Max premium coding route with local coding tools and wallet billing.";
713
709
  }
714
710
  if (modelId === "gpt-5.6-sol-ultra") {
715
- return "GPT-5.6 SOL Ultra premium coding route with local coding tools and 2.5x wallet billing.";
711
+ return "GPT-5.6 SOL Ultra premium coding route with local coding tools and wallet billing.";
716
712
  }
717
713
  if (modelId === "gpt-5.6-sol") {
718
714
  return "GPT-5.6 SOL native coding route with local coding tools and wallet billing.";
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.22`
8
+ - Launcher version: `2.0.23`
9
9
  - Customer-facing app name: `Magnetapi Client`
10
10
  - Bundled runtime dependency: `@openai/codex@0.144.3`
11
- - Required install command: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.22.tgz`
12
- - Backend minimum version: `2.0.22`
11
+ - Required install command: `npm install -g https://codexapi.pro/downloads/codexapi-codexclaude-2.0.23.tgz`
12
+ - Backend minimum version: `2.0.23`
13
13
  - Default visible model: `GPT-5.6`
14
14
  - Default model slug: `gpt-5.6`
15
15
  - Default visible reasoning effort: `xhigh`; premium SOL Max and SOL Ultra retain their explicit `max` and `ultra` labels.
@@ -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.22
27
+ Magnetapi Client v2.0.23
28
28
  ```
29
29
 
30
30
  Normal pre-launch status should look like:
31
31
 
32
32
  ```text
33
- Magnetapi Client v2.0.22 · gpt-5.6 xhigh · ~/project · Wallet $20.00
33
+ Magnetapi Client v2.0.23 · gpt-5.6 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.
@@ -38,8 +38,8 @@ Do not show OpenAI update notices, OpenAI npm install commands, OpenAI release l
38
38
  The launcher command `codexclaude model` must list these customer-visible models:
39
39
 
40
40
  - `gpt-5.6` displayed as `GPT-5.6`, first and selected by default
41
- - `gpt-5.6-sol-max` displayed as `GPT-5.6 SOL Max` with 2x premium billing
42
- - `gpt-5.6-sol-ultra` displayed as `GPT-5.6 SOL Ultra` with 2.5x premium billing
41
+ - `gpt-5.6-sol-max` displayed as `GPT-5.6 SOL Max`
42
+ - `gpt-5.6-sol-ultra` displayed as `GPT-5.6 SOL Ultra`
43
43
  - `gpt-5.6-sol` displayed as `GPT-5.6 SOL`
44
44
  - `gpt-5.5` displayed as `ChatGPT-5.5`
45
45
  - `claude-opus-4-8` displayed as `Opus 4.8`
@@ -55,7 +55,7 @@ GPT-5.6 must be the default when a new config is created or a legacy config cont
55
55
  - `https://codexapi.pro/api/v1/codexclaude/version`
56
56
  - `https://registry.npmjs.org/@codexapi%2Fcodexclaude/latest`
57
57
 
58
- It must not check `@openai/codex` npm metadata, OpenAI GitHub releases, or any upstream OpenAI update endpoint. Version `2.0.22` is a forced release: the backend `minimumVersion` equals `2.0.22`, and older clients must show an update-required message with the hosted tarball command.
58
+ It must not check `@openai/codex` npm metadata, OpenAI GitHub releases, or any upstream OpenAI update endpoint. Version `2.0.23` is a forced release: the backend `minimumVersion` equals `2.0.23`, and older clients must show an update-required message with the hosted tarball command.
59
59
 
60
60
  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.
61
61
 
@@ -83,7 +83,7 @@ base_url = "<service Responses URL>"
83
83
  experimental_bearer_token = "<customer System Token/API username>"
84
84
  wire_api = "responses"
85
85
  supports_websockets = false
86
- http_headers = { "X-CodexAPI-Client" = "codexclaude", "X-CodexAPI-Client-Version" = "2.0.22", "X-CodexAPI-Selected-Model" = "<selected model>" }
86
+ http_headers = { "X-CodexAPI-Client" = "codexclaude", "X-CodexAPI-Client-Version" = "2.0.23", "X-CodexAPI-Selected-Model" = "<selected model>" }
87
87
 
88
88
  [tui]
89
89
  status_line = ["model-with-reasoning", "fast-mode", "current-dir"]
@@ -115,7 +115,7 @@ The saved `username` is the System Token/API username returned by the service an
115
115
 
116
116
  The launcher is not the source of truth for upstream runtime routing. Admin Manage Models controls execution routing server-side. The launcher must preserve the user-selected model slug and pass it through the Responses request so billing, logs, and the dashboard can record what the user chose.
117
117
 
118
- CodexAPI.pro and ChatPlus Claude-family models use the CodexAPI.pro Claude-compatible Responses endpoint. MyAPI.world and MagnetAPI.org accounts keep their own API origins. Fable 5 remains visible as `claude-fable-5` while the backend applies the premium model behavior and billing. SOL Max bills at 2x normal SOL usage, and SOL Ultra bills at 2.5x normal SOL usage.
118
+ CodexAPI.pro and ChatPlus Claude-family models use the CodexAPI.pro Claude-compatible Responses endpoint. MyAPI.world and MagnetAPI.org accounts keep their own API origins. Fable 5 remains visible as `claude-fable-5` while the backend applies the premium model behavior and billing. Premium billing stays server-managed and is not added to assistant output or customer model descriptions.
119
119
 
120
120
  ## Upgrade Checklist
121
121
 
@@ -153,7 +153,7 @@ tmp_home="$(mktemp -d)"
153
153
  mkdir -p "$tmp_home/.codexclaude"
154
154
  cat > "$tmp_home/.codexclaude/config.json" <<'JSON'
155
155
  {
156
- "version": "2.0.22",
156
+ "version": "2.0.23",
157
157
  "serviceId": "codexapi",
158
158
  "serviceLabel": "CodexAPI.pro",
159
159
  "apiOrigin": "https://codexapi.pro",
@@ -190,10 +190,16 @@ After packaging, copy the tarball to the public downloads directories, restart t
190
190
 
191
191
  ```bash
192
192
  curl -fsS "https://codexapi.pro/api/v1/codexclaude/version?current=2.0.17"
193
- curl -fsSI "https://codexapi.pro/downloads/codexapi-codexclaude-2.0.22.tgz"
193
+ curl -fsSI "https://codexapi.pro/downloads/codexapi-codexclaude-2.0.23.tgz"
194
194
  ```
195
195
 
196
- The version endpoint must report `latestVersion = 2.0.22`, `minimumVersion = 2.0.22`, and `updateRequired = true` for old clients.
196
+ The version endpoint must report `latestVersion = 2.0.23`, `minimumVersion = 2.0.23`, and `updateRequired = true` for old clients.
197
+
198
+ ## Version 2.0.23 Changes
199
+
200
+ - Removed wallet multiplier notices from the customer model picker and model descriptions.
201
+ - Kept premium billing and route selection server-managed without altering assistant output.
202
+ - Required older clients to synchronize so the removed notices cannot persist locally.
197
203
 
198
204
  ## Version 2.0.22 Changes
199
205
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codexapi/codexclaude",
3
- "version": "2.0.22",
3
+ "version": "2.0.23",
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",