@codexhost/cli 0.2.1 → 0.2.3
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 +2 -2
- package/bin/codexhost.js +5 -4
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -5,10 +5,10 @@ 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.2.
|
|
8
|
+
npm install -g @codexhost/cli@0.2.3
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
npm automatically installs the matching macOS or
|
|
11
|
+
npm automatically installs the matching macOS, Windows, or Linux platform package. Node.js 22 or newer and the official ChatGPT/Codex Desktop are required.
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
package/bin/codexhost.js
CHANGED
|
@@ -5,7 +5,7 @@ import { createRequire } from "node:module";
|
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
|
|
8
|
-
const version = "0.2.
|
|
8
|
+
const version = "0.2.3";
|
|
9
9
|
const userArguments = process.argv.slice(2);
|
|
10
10
|
const startupTraceStartedAt = Date.now();
|
|
11
11
|
function startupTrace(stage) {
|
|
@@ -27,7 +27,8 @@ const platformPackages = {
|
|
|
27
27
|
"darwin-arm64": "@codexhost/cli-darwin-arm64",
|
|
28
28
|
"darwin-x64": "@codexhost/cli-darwin-x64",
|
|
29
29
|
"win32-x64": "@codexhost/cli-win32-x64",
|
|
30
|
-
"win32-arm64": "@codexhost/cli-win32-arm64"
|
|
30
|
+
"win32-arm64": "@codexhost/cli-win32-arm64",
|
|
31
|
+
"linux-x64": "@codexhost/cli-linux-x64"
|
|
31
32
|
};
|
|
32
33
|
const platformKey = `${process.platform}-${process.arch}`;
|
|
33
34
|
const platformPackage = platformPackages[platformKey];
|
|
@@ -169,7 +170,7 @@ const updateEnvironment = {
|
|
|
169
170
|
|
|
170
171
|
let launchArguments;
|
|
171
172
|
if (userArguments.length === 0) {
|
|
172
|
-
launchArguments = ["launch"
|
|
173
|
+
launchArguments = ["launch"];
|
|
173
174
|
} else if (userArguments[0] === "launch") {
|
|
174
175
|
launchArguments = userArguments;
|
|
175
176
|
} else if (userArguments[0] === "inspect") {
|
|
@@ -181,7 +182,7 @@ if (userArguments.length === 0) {
|
|
|
181
182
|
" codexhost",
|
|
182
183
|
" codexhost --version",
|
|
183
184
|
" codexhost inspect",
|
|
184
|
-
" codexhost launch
|
|
185
|
+
" codexhost launch [launcher options]",
|
|
185
186
|
"",
|
|
186
187
|
"This npm package uses the current Node.js runtime and the packaged",
|
|
187
188
|
"Rust launcher/shim. Codex Desktop must already be installed.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codexhost/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
"node": ">=22"
|
|
15
15
|
},
|
|
16
16
|
"optionalDependencies": {
|
|
17
|
-
"@codexhost/cli-darwin-arm64": "0.2.
|
|
18
|
-
"@codexhost/cli-darwin-x64": "0.2.
|
|
19
|
-
"@codexhost/cli-win32-x64": "0.2.
|
|
20
|
-
"@codexhost/cli-win32-arm64": "0.2.
|
|
17
|
+
"@codexhost/cli-darwin-arm64": "0.2.3",
|
|
18
|
+
"@codexhost/cli-darwin-x64": "0.2.3",
|
|
19
|
+
"@codexhost/cli-win32-x64": "0.2.3",
|
|
20
|
+
"@codexhost/cli-win32-arm64": "0.2.3",
|
|
21
|
+
"@codexhost/cli-linux-x64": "0.2.3"
|
|
21
22
|
},
|
|
22
23
|
"keywords": [
|
|
23
24
|
"codex",
|