AI SDK 6 to 7 Migration Use from the AI SDK repo as the source of truth. This skill is the working checklist; read the guide for exact examples or when behavior is unclear. Migration Workflow 1. Ensure the user has a clean backup or committed baseline before editing. 2. Inspect and lockfiles to identify installed , , provider, UI, MCP, and telemetry packages. 3. Upgrade AI SDK packages to latest versions, and add only if the project uses OpenTelemetry spans. 4. Update runtime and module assumptions: Node.js must be , and AI SDK packages are ESM-only. Replace imports with ESM imports and add o…