docs: split integrator material into a Build an integration page
Merged
TH
6d ago+285+285+012345678901234567890123456789-217-217-012345678901234567890123456789
Summary
client-api.md served two different readers. It now covers driving devices from Node.js only. A new Build an integration page covers people building a bridge, remote daemon, or device-cloud backend: Android ADB providers, custom-transport batch orchestration, remote config and Metro helpers, and selector helpers. Each page opens with who it's for and links to the other. The sections moved unchanged.
- Entry points are split by audience between the two pages' "API reference" lists.
client-api-examples-drift.test.tsnow checks the combined lists againstpackage.jsonexports and fails if an entry point appears on both pages.client-api-doc-snippets.test.tscompiles the TypeScript snippets on both pages._meta.jsonandexamples/README.mdare updated, along with a doc comment inpackages/selectors/src/ast.ts.
Follow-up to #3295. 7 files.
Validation
pnpm check:affected --runpassed on f7909d47c.- The drift test passes (5/5) and the snippet compile test passes (4/4).
- The SDK examples typecheck (
tsc -b) and the website builds. - Docs and tests only, so no device runs.
🤖 Generated with Claude Code