Was looking at perfagent ahead of an AI SDK upgrade. I ran a scan of current main (f28760e) against the 2026-09-13.1 change feed - you're on ai 4.2.0, and a few things change across 5 and 6:
- app/api/[[...route]]/route.ts:1 - convertToCoreMessages renamed in v5 (deprecation), removed in v6 (hard break); the data stream API on the same import was replaced by UI message streams in v5 (hard break)
- lib/ai/mastra/toolsetTransformer.ts:269:7 - tool definitions name their schema inputSchema instead of parameters in v5 (hard break)
- lib/ai/mastra/workflows/cwvInsights.ts:1 - CoreMessage and its role-specific types renamed in v5, removed in v6 (hard break)
Full disclosure: I build the scanner (Emendant) - the findings above are yours to use either way.
If it's useful, I can do a free 20-minute check of the repo with you - runs locally, no repository access needed. Session or async instructions?
Was looking at perfagent ahead of an AI SDK upgrade. I ran a scan of current main (f28760e) against the 2026-09-13.1 change feed - you're on ai 4.2.0, and a few things change across 5 and 6:
Full disclosure: I build the scanner (Emendant) - the findings above are yours to use either way.
If it's useful, I can do a free 20-minute check of the repo with you - runs locally, no repository access needed. Session or async instructions?