refactor(web): ship web as the first platform plugin
Merged
TH
7d ago+2824+2824+0123456789012345678901234567890123456789-1284-1284-0123456789012345678901234567890123456789
Summary
- Ship the first managed platform plugin,
@agent-device/web, and remove its browser implementation from packed core. Runagent-device plugins add @agent-device/weband thenagent-device web setup. - Compose daemon and embedded platform claims through the family registry. Bundled families reserve their IDs, and web setup, doctor, inventory, and interaction use the selected registration.
- Rebase the combined change onto the #4784 squash merge on
0.22. Include the claim-table review fixes and the Node hyphen-range regression across 138 files. References #4597 and #4591.
Validation
AGENT_DEVICE_VITEST_MAX_WORKERS=2 pnpm check:affected --run --base origin/0.22 --head 5418f5f56b685ee5165e54f06ec51730dae5e5f8passed withexactCommit=truein.tmp/validation/run-df36B3/receipt.json. The local plan passed 42 checks and skipped 28.- 21,379 unit tests passed with 10 skipped. All 441 related tests, 309 provider integration tests, and 9 packed tests passed. Node integration passed 155 tests with 13 skipped.
- Core tarball against
6f60c1e2aawent from 1,648,824 to 1,637,132 compressed bytes (−11,692) and from 5,314,615 to 5,274,325 unpacked bytes (−40,290). - The two earlier provider test timeouts passed in isolation and on the final two-worker run. Hosted coverage and live device lanes follow CI.