@codexhost/cli 0.28.2 → 0.29.0

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/README.md CHANGED
@@ -5,7 +5,7 @@ Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- npm install -g @codexhost/cli@0.28.2
8
+ npm install -g @codexhost/cli@0.29.0
9
9
  ```
10
10
 
11
11
  npm automatically installs the matching macOS, Windows, or Linux platform package. Node.js 22.19.0 or later, except 23.x is required. Official ChatGPT/Codex Desktop is only required for the Desktop interface; Web is included and works without it.
package/bin/codexhost.js CHANGED
@@ -6,7 +6,7 @@ import { homedir } from "node:os";
6
6
  import path from "node:path";
7
7
  import { fileURLToPath } from "node:url";
8
8
 
9
- const version = "0.28.2";
9
+ const version = "0.29.0";
10
10
  const minimumNodeVersion = "22.19.0";
11
11
  const excludedNodeRange = {"from":"23.0.0","to":"24.0.0"};
12
12
  const userArguments = process.argv.slice(2);
@@ -211,12 +211,20 @@ const npmCliPath =
211
211
  homebrewNpmCliPath(process.execPath) ??
212
212
  pathNpmCliPath();
213
213
  if (!npmCliPath) fail("could not locate the npm CLI used to update this global installation");
214
+ const resolvedLocale =
215
+ process.env.LC_ALL ??
216
+ process.env.LC_MESSAGES ??
217
+ process.env.LANG ??
218
+ Intl.DateTimeFormat().resolvedOptions().locale;
214
219
  const updateEnvironment = {
215
220
  ...process.env,
216
221
  CODEXHOST_NPM_NODE_PATH: process.execPath,
217
222
  CODEXHOST_NPM_CLI_PATH: path.resolve(npmCliPath),
218
223
  CODEXHOST_NPM_LAUNCHER_PATH: fileURLToPath(import.meta.url),
219
224
  CODEXHOST_NPM_PACKAGE_ROOT: packageRoot,
225
+ ...(resolvedLocale && !process.env.CODEXHOST_UI_LOCALE
226
+ ? { CODEXHOST_UI_LOCALE: resolvedLocale }
227
+ : {}),
220
228
  };
221
229
  // A managed SSH installation deliberately exports these variables from the
222
230
  // remote login profile so stock Codex can enter the remote Host. When this npm
@@ -251,6 +259,8 @@ if (userArguments.length === 0) {
251
259
  userArguments[0] === "inspect" ||
252
260
  userArguments[0] === "status" ||
253
261
  userArguments[0] === "autostart" ||
262
+ userArguments[0] === "shortcut" ||
263
+ userArguments[0] === "macos-signing" ||
254
264
  userArguments[0] === "app" ||
255
265
  userArguments[0] === "launch-prefs"
256
266
  ) {
@@ -297,6 +307,8 @@ if (userArguments.length === 0) {
297
307
  " codexhost stop",
298
308
  " codexhost status",
299
309
  " codexhost autostart on|off|status",
310
+ " codexhost shortcut install|remove|status [--json]",
311
+ " codexhost macos-signing status|setup|remove [--app <path>] [--json]",
300
312
  " codexhost console",
301
313
  " codexhost update",
302
314
  " codexhost launch [launcher options]",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codexhost/cli",
3
- "version": "0.28.2",
3
+ "version": "0.29.0",
4
4
  "description": "Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,12 +14,12 @@
14
14
  "node": ">=22.19.0 <23.0.0 || >=24.0.0"
15
15
  },
16
16
  "optionalDependencies": {
17
- "@codexhost/cli-darwin-arm64": "0.28.2",
18
- "@codexhost/cli-darwin-x64": "0.28.2",
19
- "@codexhost/cli-win32-x64": "0.28.2",
20
- "@codexhost/cli-win32-arm64": "0.28.2",
21
- "@codexhost/cli-linux-x64": "0.28.2",
22
- "@codexhost/cli-linux-arm64": "0.28.2"
17
+ "@codexhost/cli-darwin-arm64": "0.29.0",
18
+ "@codexhost/cli-darwin-x64": "0.29.0",
19
+ "@codexhost/cli-win32-x64": "0.29.0",
20
+ "@codexhost/cli-win32-arm64": "0.29.0",
21
+ "@codexhost/cli-linux-x64": "0.29.0",
22
+ "@codexhost/cli-linux-arm64": "0.29.0"
23
23
  },
24
24
  "keywords": [
25
25
  "codex",