fix(mobile): use the installed SDK ref pin formatter

Merged
TH
2d ago
+51-41

What

Use agent-device's formatPinnedRef and pin the released 0.21.44 SDK across mobile, Limrun, and E2B, with matching TestMu and Revyl plugins.

Why

The mobile nightly constructed retired ~s pins. The installed SDK must own the grammar. Hosted providers must also match the engine's SDK version rather than fail their exact-version checks or mix client and daemon versions.

How it works

  1. packages/mobile/src/surface.ts delegates generation pins to the SDK formatter. Its regression fake and expectations use that SDK grammar.
  2. The five package manifests and lockfile use published 0.21.44 artifacts. No local tarball or override is committed.
  3. E2B's mobile peer floor becomes >=0.12.10 <1. Changesets derives 0.12.9 → 0.12.10 for the pending mobile release; the other matching providers already use that floor. Patch changesets include the provider updates.

Issue

Fixes #2318.

Verified

Ran it locally: yes, head 981a09c4, using a frozen install from npm.

Boundarymainthis PR
Generation pin constructionAdapter emits @e4~s7Released SDK emits @e4-s7
SDK/plugin alignment0.21.43All five pins resolve 0.21.44
pnpm check: passed
Changed mobile engine test file: 334 passed
Provider unit tests: 217 passed
Published formatter import: @e4-s7

Independent review and Cubic found no code issues. No local device, video, or benchmark run: device ownership was not provisioned. No performance claim.

Hosted CI at 981a09c4: iOS deterministic and all other checks passed or skipped, except Android deterministic and its propagated mobile gate. Android job fails in tests/fixtures.ts:61 before the first test: Control Inventory. is not visible. Its first-attempt failure artifact captures Android SystemUI keyguard, not the benchmark app; app.open completed successfully. The workflow's Swipe-lock setup predates this diff (PR #2299). This evidence does not establish whether emulator readiness or an SDK behavior change caused the failure. No workflow edit or blind retry was made. This PR is not merge-ready and has not requested the Ready for Human Review label.