feat(saucelabs): add the Sauce Labs real-device plugin
Summary
Adds @agent-device/saucelabs, an optional plugin built like @agent-device/testmu. connect saucelabs verifies SAUCE_USERNAME/SAUCE_ACCESS_KEY, a real device matching --device (name, id or pattern) and --provider-os-version in the SAUCE_REGION data center, and a storage: app reference (platform, kind and simulator build checked). open creates the W3C session at the region hub; artifacts returns the dashboard link at once, then video and logs, keyed by the Sauce job id. SAUCE_REGION is fingerprinted with the credentials. Failures carry typed saucelabs_* reasons.
Part of #5121. Depends on #5122; this branch contains that commit. Maintainers: plugin or bundled? If plugin, please reserve @agent-device/saucelabs on npm and grant trust per CONTRIBUTING.md. About 3,100 gross lines including recorded fixtures, above the 2,500-line guideline; I can split further.
Before / after
Base: agent-device connect saucelabs ... fails because no provider is named saucelabs.
Head, with the plugin: Connected successfully with Sauce Labs. Verified: Credentials, device, and uploaded app verified.
Head: artifacts --json after close returns ready with video, appium-log, device-log, automation-log, provider-session.
Validation
Tested at 3b12404: plugin unit tests 32 pass, doc snippet compile passes, typecheck clean, pnpm check:provider-plugin packages/provider-saucelabs passes.
Live on Sauce Labs eu-central-1 real devices (Pixel 8 Android 15, iPhone 14 iOS 18): connect, open, snapshot -i, press, screenshot, close, artifacts, disconnect; local app upload.
CI obligations: full unit, provider-integration, gates.
Risks: Sauce ends real-device sessions after 90 s idle; real devices only.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.