@liberseek/boft-cli 0.4.4 → 0.6.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/boft.js +13 -13
- package/bin/codexhost.js +13 -13
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ BOFT CLI runs Pi and other external harnesses inside Codex Desktop.
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install -g @liberseek/boft-cli@0.
|
|
8
|
+
npm install -g @liberseek/boft-cli@0.6.0
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
npm automatically installs the matching macOS, Windows, or Linux platform package. Node.js 22 or 24 and the official ChatGPT/Codex Desktop are required.
|
package/bin/boft.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.6.0";
|
|
10
10
|
const userArguments = process.argv.slice(2);
|
|
11
11
|
const startupTraceStartedAt = Date.now();
|
|
12
12
|
function startupTrace(stage) {
|
|
@@ -72,7 +72,7 @@ const desktopController = path.join(packageRoot, "app", "desktop-controller.mjs"
|
|
|
72
72
|
const rendererExtension = path.join(packageRoot, "app", "renderer-extension.js");
|
|
73
73
|
|
|
74
74
|
function fail(message) {
|
|
75
|
-
console.error(`
|
|
75
|
+
console.error(`boft: ${message}`);
|
|
76
76
|
process.exit(1);
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -215,16 +215,16 @@ if (userArguments.length === 0) {
|
|
|
215
215
|
console.log(
|
|
216
216
|
[
|
|
217
217
|
"usage:",
|
|
218
|
-
"
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
218
|
+
" boft",
|
|
219
|
+
" boft --version",
|
|
220
|
+
" boft inspect",
|
|
221
|
+
" boft launch [launcher options]",
|
|
222
|
+
" boft remote install|start|stop|status|uninstall",
|
|
223
|
+
" boft broker install|status|stop|uninstall",
|
|
224
|
+
" boft delegate --help",
|
|
225
|
+
" boft harness inspect ...",
|
|
226
|
+
" boft delegate start ...",
|
|
227
|
+
" boft thread send|cancel|read|wait|list ...",
|
|
228
228
|
"",
|
|
229
229
|
"This npm package uses the current Node.js runtime and the packaged",
|
|
230
230
|
"Rust launcher/shim. Codex Desktop must already be installed.",
|
|
@@ -233,7 +233,7 @@ if (userArguments.length === 0) {
|
|
|
233
233
|
process.exit(0);
|
|
234
234
|
} else {
|
|
235
235
|
fail(
|
|
236
|
-
`unknown command '${userArguments[0]}'. Run '
|
|
236
|
+
`unknown command '${userArguments[0]}'. Run 'boft --help' for usage.`,
|
|
237
237
|
);
|
|
238
238
|
}
|
|
239
239
|
|
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.6.0";
|
|
10
10
|
const userArguments = process.argv.slice(2);
|
|
11
11
|
const startupTraceStartedAt = Date.now();
|
|
12
12
|
function startupTrace(stage) {
|
|
@@ -72,7 +72,7 @@ const desktopController = path.join(packageRoot, "app", "desktop-controller.mjs"
|
|
|
72
72
|
const rendererExtension = path.join(packageRoot, "app", "renderer-extension.js");
|
|
73
73
|
|
|
74
74
|
function fail(message) {
|
|
75
|
-
console.error(`
|
|
75
|
+
console.error(`boft: ${message}`);
|
|
76
76
|
process.exit(1);
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -215,16 +215,16 @@ if (userArguments.length === 0) {
|
|
|
215
215
|
console.log(
|
|
216
216
|
[
|
|
217
217
|
"usage:",
|
|
218
|
-
"
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
218
|
+
" boft",
|
|
219
|
+
" boft --version",
|
|
220
|
+
" boft inspect",
|
|
221
|
+
" boft launch [launcher options]",
|
|
222
|
+
" boft remote install|start|stop|status|uninstall",
|
|
223
|
+
" boft broker install|status|stop|uninstall",
|
|
224
|
+
" boft delegate --help",
|
|
225
|
+
" boft harness inspect ...",
|
|
226
|
+
" boft delegate start ...",
|
|
227
|
+
" boft thread send|cancel|read|wait|list ...",
|
|
228
228
|
"",
|
|
229
229
|
"This npm package uses the current Node.js runtime and the packaged",
|
|
230
230
|
"Rust launcher/shim. Codex Desktop must already be installed.",
|
|
@@ -233,7 +233,7 @@ if (userArguments.length === 0) {
|
|
|
233
233
|
process.exit(0);
|
|
234
234
|
} else {
|
|
235
235
|
fail(
|
|
236
|
-
`unknown command '${userArguments[0]}'. Run '
|
|
236
|
+
`unknown command '${userArguments[0]}'. Run 'boft --help' for usage.`,
|
|
237
237
|
);
|
|
238
238
|
}
|
|
239
239
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liberseek/boft-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "BOFT CLI runs Pi and other external harnesses inside Codex Desktop.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"node": ">=22"
|
|
16
16
|
},
|
|
17
17
|
"optionalDependencies": {
|
|
18
|
-
"@liberseek/boft-cli-darwin-arm64": "0.
|
|
19
|
-
"@liberseek/boft-cli-darwin-x64": "0.
|
|
20
|
-
"@liberseek/boft-cli-win32-x64": "0.
|
|
21
|
-
"@liberseek/boft-cli-win32-arm64": "0.
|
|
22
|
-
"@liberseek/boft-cli-linux-x64": "0.
|
|
23
|
-
"@liberseek/boft-cli-linux-arm64": "0.
|
|
18
|
+
"@liberseek/boft-cli-darwin-arm64": "0.6.0",
|
|
19
|
+
"@liberseek/boft-cli-darwin-x64": "0.6.0",
|
|
20
|
+
"@liberseek/boft-cli-win32-x64": "0.6.0",
|
|
21
|
+
"@liberseek/boft-cli-win32-arm64": "0.6.0",
|
|
22
|
+
"@liberseek/boft-cli-linux-x64": "0.6.0",
|
|
23
|
+
"@liberseek/boft-cli-linux-arm64": "0.6.0"
|
|
24
24
|
},
|
|
25
25
|
"keywords": [
|
|
26
26
|
"codex",
|