Skip to content

BrowserSkill Extension 0.6.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 06:49
84e3a24

BrowserSkill Extension 0.6.0 adopts protocol 2.0, moves all content scripts to zero-tax runtime MV3 injection, eliminates major VOM occlusion and shared-control false positives, and hardens CDP, recording, and reconnect reliability. Pair it with CLI/daemon 0.6.0, as protocol 2.0 drops 1.x compatibility shims.

Added

  • Open Agent Windows minimized. Added an Automation setting (openAgentWindowMinimized, off by default) so background Agent Windows can start directly minimized without flashing a window frame, while foreground --focus sessions and recording stay visible.
  • Zero-tax MV3 runtime injection. Migrated all four MV3 content scripts (content, cooperation, record-frame, and long-screenshot-page) out of static manifest.json <all_urls> declarations into idempotent on-demand runtime injection, eliminating content-script and React overhead during ordinary browsing.
  • Orphan Agent Window & debugger reconciliation. Tracks Agent Window owned and borrowed tabs across Service Worker restarts to return borrowed user tabs and reap orphaned pure Agent Windows, and detaches orphaned chrome.debugger sessions without disturbing DevTools.

Changed

  • Protocol 2.0 & leaner generated validators. Raised the protocol baseline to 2.0, cutting transport/generated/validators.js by over 60%, and migrated to strongly typed EventFrame payloads and out-of-band WS correlation.
  • Single TabAttachment state machine & sealed browser-driver/. Collapsed ChromiumCdp's per-tab maps into a single TabAttachment state machine, sealed cdpSessionId behind FrameNodeHandle/FrameDocumentHandle, enforced RAII withObjectGroup/withRemoteObject V8 handle cleanup, and wired chrome.tabs.onReplaced end-to-end.
  • Faster content-script hot paths. Removed full-page querySelectorAll("*") + getComputedStyle scans in recording and collapsed duplicate DOM mutation walks into a single-pass TreeWalker.

Fixed

  • VOM accuracy & occlusion. Fixed false L1/L2 page occlusion on responsive visibility: hidden covers, zero-width overflow: hidden/clip drawers (including transform/contain fixed drawers), fixed app shells wrapping <main>, and negative-z-index backgrounds; stopped applyActiveRegionPolicy from hiding partially overlapped cards/controls (requiring all 9 inset sample points); scoped cross-frame and Shadow DOM scene annotations; protected textDelta role syntax; simplified stealth-text filtering to stop deleting hero headlines; and invalidated/re-verified cooperation baselines on tool.emulate and viewport size changes.
  • Cooperation, evaluate, and screenshot reliability. Propagated AbortSignal through evaluate and ChromiumCdp so cancelled slow/hung Promises never deadlock a session; supported background/occluded full-page screenshots in cooperation mode via bounded focus emulation; fixed pre-dispatch refusals misreporting effect_state: "unknown"; stopped false human_intervention on scripted edits/clicks; prevented SPA route/subframe churn freezes; and bounded chrome.debugger attach waits to 10s.
  • Form fill, read, extract, and file transfers. Handled empty ProseMirror placeholder paragraphs in bsk fill; applied CSS text-transform to selected <select> options and input/textarea values and collected slotted list items in bsk extract; fixed void <input> redaction in container read: "text"; supported hidden input[type=file] and iframe --selector uploads plus descendant/OOPIF post-dispatch downloads; and queued concurrent downloads within --timeout.
  • Recording privacy & reconnect recovery. Preserved password redaction across "show password" toggles, Shadow DOM components, and trailing VOM snapshots; preserved contenteditable line breaks and deduplicated label-forwarded clicks in recordings; and recovered from stuck WebSocket CONNECTING states and missed MV3 keepalive alarms.

Upgrade

Breaking protocol update (1.x → 2.0): Extension 0.6.0 requires CLI/daemon 0.6.0. Older 0.5.x daemons cannot connect to extension 0.6.0.

  1. Finish active browser tasks and update the CLI/daemon to 0.6.0, running bsk daemon restart if an older daemon is still running.
  2. Install extension 0.6.0 from the store or load the ZIP attached to this release. Store availability follows each store's review.
  3. Run bsk doctor to verify the connection. To pair a local browser, run bsk daemon pair and paste the link into the extension's connection settings.

What's changed

  • fix(vom): preserve child refs for expanded nested menu popups by @NianJiuZst in #727
  • fix(extract): collect slotted list items by @CuSO41108 in #612
  • refactor: retire legacy DSH plugin and enforce zero-skip real-browser CI by @NianJiuZst in #732
  • feat(wave2): bump protocol to 2.0, unify SSOT MethodSpec/RpcErrorReason, and bring bsk mcp to parity by @NianJiuZst in #733
  • refactor(tests,ci): consolidate test binaries/projects, converge protocol SSOT constants, and speed up CI by @NianJiuZst in #734
  • refactor(extension): unify ChromiumCdp TabAttachment state machine and seal cdpSessionId behind FrameNodeHandle by @NianJiuZst in #736
  • feat(daemon,cli,extension): unify session teardown, typed IpcEnvelope, dialog reconciliation, and budget-safe VOM cache by @NianJiuZst in #737
  • fix: close Wave 3c liveness, WAL reconciliation, VOM cache, and Windows CI gaps by @NianJiuZst in #738
  • refactor(protocol): complete 100% strong typing, typed EventFrame, and ActionMetadata SSOT by @NianJiuZst in #741
  • refactor(daemon,cli,protocol): Wave 4b unified daemon tool pipeline, non-blocking persistence & shared client orchestration by @NianJiuZst in #743
  • fix(vom): handle unpaired surrogates in token estimates by @Winoren in #746
  • feat(extension): Wave 5A zero-tax MV3 runtime injection, orphan window reaping, and shared dom-primitives by @NianJiuZst in #754
  • fix(extract): apply CSS case transforms to input and textarea values by @MaxFreedomPollard in #749
  • fix(cli,mcp): forward max_tokens across step, plan, and MCP sync-after actions (#755) by @NianJiuZst in #757
  • feat(dsh): restore lightweight DSH plugin on unified bsk CLI runtime by @NianJiuZst in #761
  • refactor(extension,vom): seal browser-driver boundary, enforce RAII CdpRunner, and unify DOM predicates & VOM metadata by @NianJiuZst in #753
  • fix(cooperation,cdp,daemon): stop false coverage-changed freezes across SPA routes and subframe churn by @NianJiuZst in #762
  • fix(extension,ci): fall back when offscreen clock probe is unavailable and align Chrome 158 wheel zoom (#742) by @NianJiuZst in #768
  • fix(upload): support iframe --selector and hidden input[type=file] uploads by @NianJiuZst in #725
  • fix(cooperation): eliminate unresponsive-frame sync failures and session traps on heavy web apps (#766) by @NianJiuZst in #769
  • fix(cooperation): stop false human_intervention on scripted edits/clicks, cap readiness waits, and unblock failed-load tab management by @NianJiuZst in #783
  • fix(window): tolerate DIP rounding in bsk window resize by @wannT-1 in #775
  • fix(daemon): explain a default-port bind failure instead of a bare OS error by @wannT-1 in #785
  • fix(evals): make the release-test audit helper run on Windows by @CuSO41108 in #764
  • fix(record): resolve aria-labelledby inside the target's own tree by @openviking-superagent in #774
  • feat(extension): allow opening background Agent Windows minimized by @MaxFreedomPollard in #748
  • fix(extension): propagate AbortSignal through evaluate and ChromiumCdp to prevent session deadlock by @NianJiuZst in #798
  • fix(vom): stop activeRegionPolicy from dropping partially overlapped controls by @NianJiuZst in #797
  • fix(record,vom): preserve password redaction through trailing VOM and Shadow DOM by @NianJiuZst in #799
  • fix(vom): scope cross-frame scene annotations, protect textDelta syntax, simplify stealth filter, and fix form/tooltip state by @NianJiuZst in #800
  • fix(extension): fix content-script, overlay, request_help, debug, FrameRepairs, and LongScreenshot lifecycle & perf bugs by @NianJiuZst in #801
  • fix(extension): harden read, RefStore, file upload/download, input, screenshot & wait parity by @NianJiuZst in #802
  • fix(extension): harden CDP driver, MV3 SW/WS lifecycle, dialog/tab guards, and resource eviction by @NianJiuZst in #803
  • fix(cli,mcp,recipe): align action metadata, debug scope, hints, timeouts, hydration, and record teardown by @NianJiuZst in #804
  • fix(daemon): harden WS lifecycle, audit store, ToolDebug policy, handover, and ops by @NianJiuZst in #805
  • Raise the minimum supported Rust version to 1.89.0 by @NianJiuZst in #787
  • docs: explain how to close unused Agent Windows by @Kidz0419 in #778
  • fix(extension): bound debugger attach waits by @yuanfengxixi in #760
  • fix(record): keep contenteditable line breaks in recorded fill values by @shunxinyi-ljs in #724
  • fix(daemon): treat an unopenable Windows process as alive by @columbia11 in #577
  • fix(record): deduplicate clicks forwarded by label activation by @columbia11 in #652
  • fix(press): stop holding at the command timeout instead of answering late by @shunxinyi-ljs in #813
  • fix(evals): signal POSIX process groups when captured pipes time out by @u7-u7 in #511
  • feat(evals): report stability across repeated release test runs by @Kidz0419 in #777
  • feat(daemon): support BSK_SESSION_IDLE and BSK_DAEMON_IDLE environment variables by @legend91019 in #463
  • fix(evals): expand report wildcards when the shell passes them literally by @Yzzz88 in #814
  • fix(download): wait for the browser-global slot instead of failing at once (#519) by @shunxinyi-ljs in #786
  • fix(cli): name the changed node in evidence refusals by @REI-330 in #809
  • fix(extension): recover from stuck connects and missed keepalive alarms by @legend91019 in #812
  • fix(cli): report constrained window resize instead of a daemon protocol error by @shengzhaowei in #808
  • fix: support background full-page screenshots in cooperation mode and prevent false unknown effect_state by @NianJiuZst in #825
  • test(extension): resolve the dnd-kit fixture with fileURLToPath on Windows by @shunxinyi-ljs in #819
  • docs(dsh-plugin): explain Windows GUI host daemon startup by @Zhl0906 in #817
  • fix(extract): apply the author case transform to selected option text by @shunxinyi-ljs in #820
  • fix(evals): allow startup extension loading for dynamic reading by @Yzzz88 in #815
  • fix(cli,mcp): reject unusable --out destinations before contacting the daemon by @REI-330 in #811
  • fix(extension): handle empty ProseMirror placeholder paragraphs in fill by @guuguo in #822
  • feat(cli): add --wait-until option to bsk open by @guuguo in #830
  • fix(cli): save without --overwrite on volumes that have no hard links by @columbia11 in #841
  • fix: fall back from stale 1.x daemon.json and fix false VOM occlusion & viewport sync by @NianJiuZst in #836

Full changelog