feat: upgrade ai package to version six and the corresponding @ai-sdk/* packages to compatible versions (#18172)

Used the migration guide to carry out this upgrade:
https://ai-sdk.dev/docs/migration-guides/migration-guide-6-0

I have not been able to test locally due to credits.

<img width="220" height="450" alt="image"
src="https://github.com/user-attachments/assets/050b34b9-3239-4010-8c47-b43d44571994"
/>

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Abdullah.
2026-02-25 16:49:26 +01:00
committed by GitHub
co-authored by Félix Malfait
parent 435e21d23f
commit 9107f5bbc7
19 changed files with 358 additions and 196 deletions
@@ -158,7 +158,7 @@ export class McpProtocolService {
preloadedTools,
MCP_EXCLUDED_TOOLS,
),
inputSchema: zodSchema(executeToolInputSchema),
inputSchema: executeToolInputSchema,
},
[LOAD_SKILL_TOOL_NAME]: {
...createLoadSkillTool((names) =>