You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task Master is currently on Vercel AI SDK v5 (ai@^5.0.51). The wider ecosystem, including all of the community CLI-backed provider SDKs this repo depends on (authored by @ben-vargas), has moved to AI SDK v6 as latest. The v5-compatible lines are frozen for bug-fix-only maintenance, with fixes for new model/routing issues landing on the v6 line only.
This creates two pressures:
New bugs in the v5-line providers will not be fixed upstream. Ben stated this explicitly on ben-vargas/ai-sdk-provider-opencode-sdk#21: "I'm not planning to put much (any?) effort into maintaining ai sdk v5 compatible providers given v6 is latest and v7 is in beta."
Bump ai to v6 and audit call-sites for v5→v6 breaking API changes (return-shape changes on generateText / streamText / generateObject, provider factory signatures, middleware changes)
Bump all @ai-sdk/* Vercel packages to v6-compatible majors
Bump Ben's 4 community provider SDKs to their latest (v6) tag
Update provider files in src/ai-providers/ that touch the changed APIs
Update tests and mocks affected by the SDK surface changes
Changeset (likely major bump given the dep churn)
Out:
No behavioural changes beyond the minimum needed to keep existing flows green
ai@^6 and all compatible @ai-sdk/* / community providers installed
Full test suite passes
All 21 registered providers continue to work for generateText, streamText, generateObject
Live E2E sanity check against at least one Anthropic/OpenAI/Copilot/local model
Changeset entry
Ask
Would maintainers welcome a migration PR? If green-lit, I'll inventory the exact breaking API surface across the 13+ dep bumps, propose a sequenced plan before writing code, and keep the diff tight (dep bumps + the minimum call-site adjustments to keep the suite green).
Happy to land this after #1685 merges to avoid overlapping changes.
Problem
Task Master is currently on Vercel AI SDK v5 (
ai@^5.0.51). The wider ecosystem, including all of the community CLI-backed provider SDKs this repo depends on (authored by @ben-vargas), has moved to AI SDK v6 aslatest. The v5-compatible lines are frozen for bug-fix-only maintenance, with fixes for new model/routing issues landing on the v6 line only.This creates two pressures:
Technical Context
All four community CLI provider SDKs this repo depends on already publish a v6-compatible
latesttag:latest)ai-sdk-provider-claude-codeai-sdk-provider-codex-cliai-sdk-provider-gemini-cliai-sdk-provider-opencode-sdkZod is already at
^4.1.12, which satisfies every v6-line peer range.The main-SDK surface to touch:
ai@^5.0.51→ai@^6.x@ai-sdk/*@^2.xpackages (anthropic, openai, google, groq, mistral, perplexity, xai, azure, openai-compatible) → their v6-compatible majors@ai-sdk/amazon-bedrock@^3.0.23and@ai-sdk/google-vertex@^3.0.86- verify v6 majors@ai-sdk/provider@^2.0.0and@ai-sdk/provider-utils@^3.0.10- bump to matchImpact
Not covered by this work:
Scope
In:
aito v6 and audit call-sites for v5→v6 breaking API changes (return-shape changes ongenerateText/streamText/generateObject, provider factory signatures, middleware changes)@ai-sdk/*Vercel packages to v6-compatible majorslatest(v6) tagsrc/ai-providers/that touch the changed APIsOut:
Success Criteria
ai@^6and all compatible@ai-sdk/*/ community providers installedgenerateText,streamText,generateObjectAsk
Would maintainers welcome a migration PR? If green-lit, I'll inventory the exact breaking API surface across the 13+ dep bumps, propose a sequenced plan before writing code, and keep the diff tight (dep bumps + the minimum call-site adjustments to keep the suite green).
Happy to land this after #1685 merges to avoid overlapping changes.