@codexhost/cli 0.24.0 → 0.25.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.24.0
8
+ npm install -g @codexhost/cli@0.25.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.24.0";
9
+ const version = "0.25.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);
@@ -244,10 +244,16 @@ let brokerArguments = null;
244
244
  let delegationArguments = null;
245
245
  let consoleArguments = null;
246
246
  if (userArguments.length === 0) {
247
- launchArguments = ["launch"];
247
+ launchArguments = [];
248
248
  } else if (userArguments[0] === "launch") {
249
249
  launchArguments = userArguments;
250
- } else if (userArguments[0] === "inspect" || userArguments[0] === "status" || userArguments[0] === "autostart") {
250
+ } else if (
251
+ userArguments[0] === "inspect" ||
252
+ userArguments[0] === "status" ||
253
+ userArguments[0] === "autostart" ||
254
+ userArguments[0] === "app" ||
255
+ userArguments[0] === "launch-prefs"
256
+ ) {
251
257
  launchArguments = userArguments;
252
258
  } else if (userArguments[0] === "web" || userArguments[0] === "stop") {
253
259
  launchArguments = [userArguments[0], "--node", process.execPath, "--host-runtime", hostRuntime,
@@ -284,6 +290,8 @@ if (userArguments.length === 0) {
284
290
  "usage:",
285
291
  " codexhost",
286
292
  " codexhost --version",
293
+ " codexhost app [--onboarding]",
294
+ " codexhost launch-prefs get [--json] | set <native-shell|codex-desktop>",
287
295
  " codexhost inspect",
288
296
  " codexhost web [--host address] [--port port] [--public-url url] [--trusted-proxy addresses]",
289
297
  " codexhost stop",
@@ -488,7 +496,7 @@ if (consoleArguments !== null) {
488
496
  }
489
497
  process.exit(code ?? 1);
490
498
  });
491
- } else if (launchArguments?.[0] === "launch") {
499
+ } else if (launchArguments.length === 0 || launchArguments[0] === "launch") {
492
500
  // The Launcher prints "ready" once the Desktop, Controller, and Host chain
493
501
  // are up, then detaches from the terminal to keep supervising. Windows
494
502
  // command hosts may clean up a completed command's process tree, so keep the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codexhost/cli",
3
- "version": "0.24.0",
3
+ "version": "0.25.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.24.0",
18
- "@codexhost/cli-darwin-x64": "0.24.0",
19
- "@codexhost/cli-win32-x64": "0.24.0",
20
- "@codexhost/cli-win32-arm64": "0.24.0",
21
- "@codexhost/cli-linux-x64": "0.24.0",
22
- "@codexhost/cli-linux-arm64": "0.24.0"
17
+ "@codexhost/cli-darwin-arm64": "0.25.0",
18
+ "@codexhost/cli-darwin-x64": "0.25.0",
19
+ "@codexhost/cli-win32-x64": "0.25.0",
20
+ "@codexhost/cli-win32-arm64": "0.25.0",
21
+ "@codexhost/cli-linux-x64": "0.25.0",
22
+ "@codexhost/cli-linux-arm64": "0.25.0"
23
23
  },
24
24
  "keywords": [
25
25
  "codex",