quietbrowser 0.2.1 → 0.3.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 CHANGED
@@ -1,10 +1,10 @@
1
1
  # quietbrowser
2
2
 
3
- **A browser for coding agents on Windows that never steals your focus.**
3
+ **A browser for coding agents that never steals your focus.**
4
4
 
5
5
  ![You keep typing in a focused editor while the agent fills a sign up form in quietbrowser behind it, with 0 focus steals](https://raw.githubusercontent.com/emrehangorgec/quietbrowser/master/docs/demo.gif)
6
6
 
7
- A real browser window (Microsoft Edge WebView2) that opens behind whatever you are doing and never takes keyboard focus. Your agent drives it over MCP or from the command line while you keep typing.
7
+ On Windows, a real browser window (Microsoft Edge WebView2) that opens behind whatever you are doing and never takes keyboard focus. On macOS and Linux, your installed Chrome, Edge, Brave or Chromium, run headless so it cannot take focus. Your agent drives it over MCP or from the command line while you keep typing.
8
8
 
9
9
  ## MCP
10
10
 
@@ -23,6 +23,6 @@ npx -y quietbrowser click e3
23
23
  npx -y quietbrowser install-skill
24
24
  ```
25
25
 
26
- Windows 10 and 11 only. The package ships one 0.5 MB exe, nothing is downloaded at install time.
26
+ Windows x64, macOS (Intel and Apple Silicon) and Linux x64. The package ships a small binary for each, nothing is downloaded at install time.
27
27
 
28
28
  Docs, focus measurements and source: https://github.com/emrehangorgec/quietbrowser
@@ -1,15 +1,28 @@
1
1
  #!/usr/bin/env node
2
- // Runs the bundled quietbrowser.exe with the same arguments, stdio and exit code.
2
+ // Runs the bundled quietbrowser binary for this system with the same arguments, stdio and exit code.
3
3
  "use strict";
4
4
  const { spawnSync } = require("node:child_process");
5
+ const fs = require("node:fs");
5
6
  const path = require("node:path");
6
7
 
7
- if (process.platform !== "win32") {
8
- console.error("quietbrowser runs on Windows only (it uses Microsoft Edge WebView2).");
8
+ const binaries = {
9
+ win32: "quietbrowser.exe", // x64, also runs on Windows on Arm
10
+ darwin: "quietbrowser-macos", // Intel and Apple Silicon
11
+ linux: process.arch === "x64" ? "quietbrowser-linux-x64" : null,
12
+ };
13
+ const name = binaries[process.platform];
14
+ if (!name) {
15
+ console.error(`quietbrowser has no prebuilt binary for ${process.platform} ${process.arch}. Build it from source: https://github.com/emrehangorgec/quietbrowser`);
9
16
  process.exit(1);
10
17
  }
11
18
 
12
- const exe = path.join(__dirname, "..", "quietbrowser.exe");
19
+ const exe = path.join(__dirname, "..", name);
20
+ if (process.platform !== "win32") {
21
+ // a package packed on Windows loses the executable bit
22
+ try {
23
+ fs.chmodSync(exe, 0o755);
24
+ } catch {}
25
+ }
13
26
  const env = { ...process.env };
14
27
  // Tells `install-skill` how the agent should run quietbrowser later.
15
28
  if (!env.QUIETBROWSER_LAUNCHER) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quietbrowser",
3
- "version": "0.2.1",
4
- "description": "A browser for coding agents on Windows that never steals your focus. MCP server with Playwright MCP tool names, plus a CLI.",
3
+ "version": "0.3.0",
4
+ "description": "A browser for coding agents that never steals your focus. Windows, macOS and Linux. MCP server with Playwright MCP tool names, plus a CLI.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -9,14 +9,13 @@
9
9
  },
10
10
  "homepage": "https://github.com/emrehangorgec/quietbrowser#readme",
11
11
  "bugs": "https://github.com/emrehangorgec/quietbrowser/issues",
12
- "keywords": ["mcp", "mcp-server", "browser", "claude-code", "codex", "playwright", "windows", "webview2", "ai-agents"],
12
+ "keywords": ["mcp", "mcp-server", "browser", "claude-code", "codex", "playwright", "windows", "macos", "linux", "ai-agents"],
13
13
  "bin": {
14
14
  "quietbrowser": "bin/quietbrowser.js"
15
15
  },
16
- "files": ["bin", "quietbrowser.exe"],
17
- "os": ["win32"],
16
+ "files": ["bin", "quietbrowser.exe", "quietbrowser-macos", "quietbrowser-linux-x64"],
18
17
  "engines": {
19
- "node": ">=16"
18
+ "node": ">=18"
20
19
  },
21
20
  "scripts": {
22
21
  "prepack": "node prepack.js"
Binary file
Binary file
package/quietbrowser.exe CHANGED
Binary file