/** * node-pty 1.1.0 publishes its macOS/Linux `spawn-helper` prebuilt binary * WITHOUT the execute bit (mode 0644 in the tarball). node-pty execs that * helper via posix_spawnp for every PTY it opens, so without +x every spawn * dies with `Error: posix_spawnp failed.` — which silently breaks the daemon, * since it runs every shell / Claude / Gemini / Codex session through node-pty. * * We cannot rely on install-time fixes: node-pty's own scripts only touch the * from-source `build/Release` path (never the prebuild), and npm 11.17+ blocks * postinstall scripts by default (`allow-scripts`), as does `--ignore-scripts`. * So restore the bit here, at daemon startup, before any PTY is opened. * Idempotent and best-effort. */ export declare function ensurePtyHelperExecutable(): void; //# sourceMappingURL=ensure-pty-helper.d.ts.map