Repository navigation
refs/tags/v0.4.0
[0.4.0] - 2026-03-28
This release started as an attempt to add ad-blocking and automatic cookie consent handling using techniques from uBlock Origin and cookie consent extensions. That approach didn't pan out, but the effort shifted focus toward benchmarking webctl against Vercel's agent-browser — which revealed concrete opportunities to reduce round-trips, cut token usage, and simplify the agent-facing API. The result is a leaner, faster interface that lets agents do more per turn.
Added
- Structured data extraction on
navigate(JSON-LD, Open Graph, meta tags) for token-efficient page understanding without full snapshots. --snapshot,--grep,--read, and--searchflags onnavigatefor flexible observation modes.--snapshotand--grepflags onclickandtypefor act+observe in one turn.- Batch
docommand for executing multiple actions in a single call. - Implicit element resolution — use text descriptions, @refs, or query syntax instead of exact selectors.
- Automatic fallbacks: cookie banner dismiss, scroll-to-find, overlay retry.
- Auto-start sessions on first command (no mandatory
webctl start). - Readability.js integration for
--readmode (clean article extraction). - Landmark-aware filtering for smarter snapshot output.
- Network idle detection improvements for media streams and WebSockets.
WEBCTL_LOGenv var to record command transcripts in shell-transcript format.prompt-secretcommand for human-in-the-loop credential entry.
Changed
webctl stopnow closes both browser and daemon by default. Use--keep-daemonto preserve the daemon.navigatereturns structured data + page summary by default (no a11y dump). Use--snapshotfor full accessibility tree.--readoutput capped at 16,000 chars / 200 lines.- SKILL.md rewritten from 590 to 173 lines with decision matrix for choosing the right approach.
- Cookie banner auto-dismiss simplified from regex patterns to CSS selector matching (40+ CMP platforms).
Fixed
webctl doctornow reports default mode (attended/headless), domain policy status, and warns when no display server is detected in attended mode (#14).- Domain policy block errors now include the configured allow/deny list for easier debugging (#9).
- Browser launch failures now surface actionable messages for sandboxed environments (Codex, Docker, CI) with specific remediation steps (#13).
Removed
--daemonflag onstop(replaced by inverse--keep-daemon).