feat(limrun): keep attached-instance recordings for 48 hours

Merged
TH
3d ago
+8-6

Summary

Recordings of an attached Limrun instance now ask Limrun to keep the MP4 for 48 hours (persist: { ttlSeconds: 172800 }) instead of Limrun's 72-hour default. Instances that agent-device creates send no persist, as before. The Limrun docs state the 48 hours. Follows #5226.

Before / after

  • record start on an attached instance: before, the SDK received persist: true (kept 72 h); after, it receives persist: { ttlSeconds: 172800 } (kept 48 h).
  • record start on a created instance: no observable change; still no persist.

Validation

Tested at cb0cf4da2f9c3b2e0405d9c80ab8a270e005463c:

  • pnpm exec vitest run packages/provider-limrun: 222 passed
  • pnpm typecheck, pnpm lint, pnpm format: pass

Unresolved risk: no live Limrun recording was made; the parameterized test checks the SDK payload.