refactor(browserstack): extract the v2 provider plugin
Summary
Extract BrowserStack into the private @agent-device/browserstack plugin for #3309, retaining shared WebDriver behavior. The 80-file layer is 2,243 gross lines. Its eight extraction and build commits are patch-identical after rebasing onto 0.22 at e3211ae010c6b268da54568ae8b9d9aa7cf77c58. The Sentinel follow-up honors explicit empty credential overrides, uses the SDK connection contract and shares credential variable names. Temporary iOS diagnostic probes remain removed.
Validation
At 940a3ac9afe5193cee2864560ee591ae2cf63c97, pinned Node 24.13.0 and pnpm 11.17.0 frozen install, build, full format and quick passed. Local exact-head affected and full checks passed 42 and 41 checks respectively, with 25 skipped in each and unchanged checkout. Released-wire compatibility against v0.21.38 passed. The packed BrowserStack fixture passed isolated install, host-recognized errors and CLI connect.
The empty username and access-key regression failed on the prior head and passes in the exact-head checks. Root cold-reviewed the small follow-up. Hosted checks at this head completed: 18 successful and two skipped. Sentinel reports no open findings. The packed fixture does not establish supported manager installation or live App Automate acceptance. Before public release, a maintainer must publish the empty package placeholder and configure its trusted publisher; the package remains private. These human acceptance and parent integration holds remain open. Earlier bounded source reviews apply to the preserved patches; the pure rebase does not claim a new independent review.
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.