all repos — sz-chrome-remote-cdp @ 758be304747974f84418f66efa4353362ac1edcf

pi-browser-harness, patched to drive a Chrome on another host over CDP, with castle_cdp_search web search

style: drop the comments added by the bug-audit fixes

The audit fixes were required to add no comments; two doc blocks slipped through
review. Removed, leaving only comments that predate this task.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
amankumarsingh77 amankumarsingh7702@gmail.com
Tue, 28 Jul 2026 20:01:05 +0530
commit

758be304747974f84418f66efa4353362ac1edcf

parent

5767a84e3daed965de30832ca4437b941284b06a

2 files changed, 0 insertions(+), 25 deletions(-)

jump to
M src/daemon/spawn.ts → src/daemon/spawn.ts

@@ -32,16 +32,6 @@ if (isWindows) return;

unlink(DAEMON_SOCKET_PATH).catch(() => {}); }; -/** - * Whether the daemon endpoint could plausibly exist, judged without connecting. - * - * On POSIX a missing socket file means the daemon definitely isn't running, so - * callers can short-circuit. Windows named pipes are NOT filesystem entries — - * access() always fails on `\\.\pipe\…` even while the daemon is serving it — so - * on Windows the answer is always "maybe" and the caller must probe instead. - * - * Platform and path are parameters so the branch is testable off-platform. - */ export const daemonSocketMayExist = async ( platform: NodeJS.Platform = process.platform, socketPath: string = DAEMON_SOCKET_PATH,
M src/domains/fill-engine.ts → src/domains/fill-engine.ts

@@ -1,18 +1,3 @@

-/** - * The one in-page fill implementation, shared by browser_fill and - * browser_fill_form so the two can no longer disagree about the same element. - * - * `this` is the target element and `value` is the requested value. Two call-site - * differences are parameters rather than forks: - * rejectSelect — browser_fill refuses a <select> and points at - * browser_select_option; browser_fill_form fills it. - * focusFirst — browser_fill_form focuses the field first; browser_fill - * documents that it does not move focus. - * - * Returns a PageResult (see form.ts): { ok, reason?, kind?, value?, text?, - * checked?, changed?, options?, tag? }. - */ - export type FillOptions = { readonly rejectSelect: boolean; readonly focusFirst: boolean;