@karlorz/codexhost-cli 0.18.0-0 → 0.19.0-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 @karlorz/codexhost-cli@0.18.0-0
8
+ npm install -g @karlorz/codexhost-cli@0.19.0-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.18.0-0";
9
+ const version = "0.19.0-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);
@@ -252,8 +252,8 @@ if (userArguments.length === 0) {
252
252
  } else if (userArguments[0] === "web" || userArguments[0] === "stop") {
253
253
  launchArguments = [userArguments[0], "--node", process.execPath, "--host-runtime", hostRuntime,
254
254
  "--web-runtime", path.join(packageRoot, "app", "web-server.mjs"), ...userArguments.slice(1)];
255
- } else if (userArguments[0] === "host") {
256
- if (userArguments[1] !== "ensure" && userArguments[1] !== "stop") fail("host expects ensure or stop");
255
+ } else if (userArguments[0] === "host" && !["info", "--help", "-h", "help"].includes(userArguments[1])) {
256
+ if (userArguments[1] !== "ensure" && userArguments[1] !== "stop") fail("host expects info, ensure or stop");
257
257
  launchArguments = ["host", userArguments[1], "--node", process.execPath, "--host-runtime", hostRuntime,
258
258
  "--data", updateEnvironment.CODEXHOST_DATA_DIR || path.join(homedir(), ".codexhost"), ...userArguments.slice(2)];
259
259
  } else if (userArguments[0] === "console" || userArguments[0] === "update") {
@@ -269,6 +269,8 @@ if (userArguments.length === 0) {
269
269
  brokerArguments = userArguments.slice(1);
270
270
  } else if (
271
271
  userArguments[0] === "harness" ||
272
+ userArguments[0] === "host" ||
273
+ userArguments[0] === "project" ||
272
274
  userArguments[0] === "delegate" ||
273
275
  userArguments[0] === "thread" ||
274
276
  userArguments[0] === "enroll" ||
@@ -295,10 +297,12 @@ if (userArguments.length === 0) {
295
297
  " codexhost remote install|start|stop|status|uninstall",
296
298
  " codexhost broker install|status|stop|uninstall",
297
299
  " codexhost host ensure|stop [--data directory]",
300
+ " codexhost host info [--refresh true|false]",
301
+ " codexhost project list [--query text] [--refresh true|false]",
298
302
  " codexhost delegate --help",
299
303
  " codexhost harness inspect ...",
300
304
  " codexhost delegate start ...",
301
- " codexhost thread send|cancel|read|wait|watch|watches|list ...",
305
+ " codexhost thread send|cancel|read|wait|watch|watches|list|file ...",
302
306
  " codexhost enroll [--client <id>]|status|revoke ...",
303
307
  " codexhost client add|list|remove ...",
304
308
  " codexhost events [--after <id>] [--limit <n>] [--follow true|false]",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karlorz/codexhost-cli",
3
- "version": "0.18.0-0",
3
+ "version": "0.19.0-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
- "@karlorz/codexhost-cli-darwin-arm64": "0.18.0-0",
18
- "@karlorz/codexhost-cli-darwin-x64": "0.18.0-0",
19
- "@karlorz/codexhost-cli-win32-x64": "0.18.0-0",
20
- "@karlorz/codexhost-cli-win32-arm64": "0.18.0-0",
21
- "@karlorz/codexhost-cli-linux-x64": "0.18.0-0",
22
- "@karlorz/codexhost-cli-linux-arm64": "0.18.0-0"
17
+ "@karlorz/codexhost-cli-darwin-arm64": "0.19.0-0",
18
+ "@karlorz/codexhost-cli-darwin-x64": "0.19.0-0",
19
+ "@karlorz/codexhost-cli-win32-x64": "0.19.0-0",
20
+ "@karlorz/codexhost-cli-win32-arm64": "0.19.0-0",
21
+ "@karlorz/codexhost-cli-linux-x64": "0.19.0-0",
22
+ "@karlorz/codexhost-cli-linux-arm64": "0.19.0-0"
23
23
  },
24
24
  "keywords": [
25
25
  "codex",