agent-browser 0.7.2 → 0.7.4

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.
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-browser",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "description": "Headless browser automation CLI for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/daemon.js",
@@ -68,7 +68,11 @@ async function downloadFile(url, dest) {
68
68
  async function main() {
69
69
  // Check if binary already exists
70
70
  if (existsSync(binaryPath)) {
71
- console.log(`✓ Native binary already exists: ${binaryName}`);
71
+ // Ensure binary is executable (npm doesn't preserve execute bit)
72
+ if (platform() !== 'win32') {
73
+ chmodSync(binaryPath, 0o755);
74
+ }
75
+ console.log(`✓ Native binary ready: ${binaryName}`);
72
76
  return;
73
77
  }
74
78