open-browser-use 0.1.6 → 0.1.8
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 +10 -4
- package/cli/postinstall.js +6 -12
- package/native/darwin-amd64/open-browser-use +0 -0
- package/native/darwin-arm64/open-browser-use +0 -0
- package/native/linux-amd64/open-browser-use +0 -0
- package/native/linux-arm64/open-browser-use +0 -0
- package/native/windows-amd64/open-browser-use.exe +0 -0
- package/native/windows-arm64/open-browser-use.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,10 +11,16 @@ obu version
|
|
|
11
11
|
The package contains prebuilt Go binaries for macOS, Linux, and Windows on
|
|
12
12
|
`amd64` and `arm64`.
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
extension reports that the native host was not found, repair registration with:
|
|
14
|
+
After installation, run setup to register the Chrome native messaging host and
|
|
15
|
+
the Chrome extension install hint:
|
|
17
16
|
|
|
18
17
|
```sh
|
|
19
|
-
open-browser-use
|
|
18
|
+
open-browser-use setup
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
While the Chrome Web Store item is pending review, use the latest GitHub Release
|
|
22
|
+
CRX instead:
|
|
23
|
+
|
|
24
|
+
```sh
|
|
25
|
+
open-browser-use setup release
|
|
20
26
|
```
|
package/cli/postinstall.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { spawnSync } from "node:child_process";
|
|
4
3
|
import { existsSync } from "node:fs";
|
|
5
4
|
import { dirname, join } from "node:path";
|
|
6
5
|
import { fileURLToPath } from "node:url";
|
|
@@ -25,7 +24,7 @@ const arch = archMap[process.arch];
|
|
|
25
24
|
|
|
26
25
|
if (!platform || !arch || platform === "windows") {
|
|
27
26
|
console.warn(
|
|
28
|
-
`open-browser-use
|
|
27
|
+
`open-browser-use setup is not fully automated for ${process.platform}/${process.arch}.`
|
|
29
28
|
);
|
|
30
29
|
process.exit(0);
|
|
31
30
|
}
|
|
@@ -35,16 +34,11 @@ const executable = process.platform === "win32" ? "open-browser-use.exe" : "open
|
|
|
35
34
|
const binaryPath = join(__dirname, "..", "native", `${platform}-${arch}`, executable);
|
|
36
35
|
|
|
37
36
|
if (!existsSync(binaryPath)) {
|
|
38
|
-
console.warn(`open-browser-use native binary is missing
|
|
37
|
+
console.warn(`open-browser-use native binary is missing: ${binaryPath}`);
|
|
39
38
|
process.exit(0);
|
|
40
39
|
}
|
|
41
40
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
if (result.error || result.status !== 0) {
|
|
47
|
-
const detail = result.error ? `: ${result.error.message}` : "";
|
|
48
|
-
console.warn(`open-browser-use native host auto-registration skipped${detail}`);
|
|
49
|
-
console.warn("Run `open-browser-use install-manifest` after installation to repair the Chrome native host manifest.");
|
|
50
|
-
}
|
|
41
|
+
console.log("");
|
|
42
|
+
console.log("Open Browser Use CLI installed.");
|
|
43
|
+
console.log("Run `open-browser-use setup` to register Chrome integration.");
|
|
44
|
+
console.log("While the Chrome Web Store item is pending, run `open-browser-use setup release` to install the latest release CRX.");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|