fix(deps): bump ai SDK off beta to stable so workflow tool outputs render
Summary
Fixes the AI_TypeValidationError that stalls the workflow chat path at "Using bash" with no tool output rendered (recoupable/chat#1747).
Root cause: chat was pinned to ai@6.0.0-beta.99 / @ai-sdk/react@3.0.0-beta.99. In that beta, the tool-output-available UIMessage chunk is a z.strictObject without a providerMetadata field. recoup-api (ai@6.0.x stable) emits tool-output-available events carrying providerMetadata, so the chat client's strict parser rejects them.
Fix: align with open-agents' proven pair (ai@6.0.165 / @ai-sdk/react@3.0.167), whose tool-output-available schema includes providerMetadata: providerMetadataSchema.optional(). Provider packages moved off beta to match.
| package | before | after |
|---|---|---|
ai | 6.0.0-beta.99 | 6.0.165 |
@ai-sdk/react | 3.0.0-beta.99 | 3.0.167 |
@ai-sdk/anthropic | 3.0.0-beta.53 | 3.0.80 |
@ai-sdk/google | 3.0.0-beta.44 | 3.0.80 |
@ai-sdk/openai | 3.0.0-beta.59 | 3.0.66 |
ai + @ai-sdk/react are pinned to a single resolved ai version to avoid a dual-version UIMessagePart type clash.
Test plan
-
tsc --noEmitclean (verified locally) - Vercel preview build green (real build gate — local build needs
ARWEAVE_KEYetc. that aren't in my shell) - On the preview, open
/chat, send "What artists do i have in the local filesystem you have access to?" → confirm thebashToolresult renders (noAI_TypeValidationError, no stall at "Using bash") - Smoke the legacy
/chat/[roomId]path to confirm no regression from the beta→stable bump
🤖 Generated with Claude Code
Summary by cubic
Move ai and @ai-sdk/* from beta to stable to fix the schema mismatch that stalled workflow chat at “Using bash” and hid tool outputs. Stable events include optional providerMetadata, so tool results now render.
- Dependencies
- Core:
ai6.0.0-beta.99 → 6.0.165,@ai-sdk/react3.0.0-beta.99 → 3.0.167 - Providers:
@ai-sdk/anthropic→ 3.0.80,@ai-sdk/google→ 3.0.80,@ai-sdk/openai→ 3.0.66 aiand@ai-sdk/reactshare the same resolvedaiversion to avoid type clashes
- Core: