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 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
- On macOS and Linux, package installation attempts to register the Chrome native
15
- messaging host automatically for the Chrome Web Store extension. If the Chrome
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 install-manifest
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
  ```
@@ -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 native host auto-registration is not available for ${process.platform}/${process.arch}.`
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, skipping native host registration: ${binaryPath}`);
37
+ console.warn(`open-browser-use native binary is missing: ${binaryPath}`);
39
38
  process.exit(0);
40
39
  }
41
40
 
42
- const result = spawnSync(binaryPath, ["install-manifest", "--path", binaryPath], {
43
- stdio: "inherit"
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-browser-use",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Open Browser Use native host and CLI binary.",
5
5
  "license": "MIT",
6
6
  "type": "module",