surf-cli 2.13.0 → 2.13.1

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.
@@ -132,7 +132,7 @@ function readPrivateFile(filePath, options = {}) {
132
132
  const stat = assertNotSymlink(resolved, options.allowMissing === true);
133
133
  if (!stat) return options.fallback;
134
134
  if (!stat.isFile()) throw new Error(`private state path is not a file: ${resolved}`);
135
- if ((stat.mode & 0o077) !== 0) throw new Error(`private state file permissions are too broad: ${resolved}`);
135
+ if (process.platform !== "win32" && (stat.mode & 0o077) !== 0) throw new Error(`private state file permissions are too broad: ${resolved}`);
136
136
  return fs.readFileSync(resolved, options.encoding || null);
137
137
  }
138
138
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "surf-cli",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "description": "CLI for AI agents to control Chrome. Zero config, agent-agnostic, battle-tested.",
5
5
  "keywords": [
6
6
  "chrome",
@@ -69,7 +69,7 @@
69
69
  "@types/node": "^26.1.2",
70
70
  "@vitest/coverage-v8": "^4.1.9",
71
71
  "@vitest/ui": "^4.1.9",
72
- "puppeteer": "25.4.0",
72
+ "puppeteer": "25.5.0",
73
73
  "typescript": "^7.0.2",
74
74
  "vite": "^8.1.4",
75
75
  "vitest": "^4.1.9",