@codexhost/cli 0.18.0-beta.5 → 0.19.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 +1 -1
- package/bin/codexhost.js +8 -4
- package/package.json +7 -7
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.
|
|
8
|
+
npm install -g @codexhost/cli@0.19.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.
|
|
9
|
+
const version = "0.19.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] === "client" ||
|
|
@@ -293,10 +295,12 @@ if (userArguments.length === 0) {
|
|
|
293
295
|
" codexhost remote install|start|stop|status|uninstall",
|
|
294
296
|
" codexhost broker install|status|stop|uninstall",
|
|
295
297
|
" codexhost host ensure|stop [--data directory]",
|
|
298
|
+
" codexhost host info [--refresh true|false]",
|
|
299
|
+
" codexhost project list [--query text] [--refresh true|false]",
|
|
296
300
|
" codexhost delegate --help",
|
|
297
301
|
" codexhost harness inspect ...",
|
|
298
302
|
" codexhost delegate start ...",
|
|
299
|
-
" codexhost thread send|cancel|read|wait|watch|watches|list ...",
|
|
303
|
+
" codexhost thread send|cancel|read|wait|watch|watches|list|file ...",
|
|
300
304
|
" codexhost client add|list|remove ...",
|
|
301
305
|
" codexhost events [--after <id>] [--limit <n>] [--follow true|false]",
|
|
302
306
|
"",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codexhost/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.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.
|
|
18
|
-
"@codexhost/cli-darwin-x64": "0.
|
|
19
|
-
"@codexhost/cli-win32-x64": "0.
|
|
20
|
-
"@codexhost/cli-win32-arm64": "0.
|
|
21
|
-
"@codexhost/cli-linux-x64": "0.
|
|
22
|
-
"@codexhost/cli-linux-arm64": "0.
|
|
17
|
+
"@codexhost/cli-darwin-arm64": "0.19.0",
|
|
18
|
+
"@codexhost/cli-darwin-x64": "0.19.0",
|
|
19
|
+
"@codexhost/cli-win32-x64": "0.19.0",
|
|
20
|
+
"@codexhost/cli-win32-arm64": "0.19.0",
|
|
21
|
+
"@codexhost/cli-linux-x64": "0.19.0",
|
|
22
|
+
"@codexhost/cli-linux-arm64": "0.19.0"
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|
|
25
25
|
"codex",
|