apache / apache/maka

feat(runtime): adopt Open Responses extension codecs for DeepSeek tools

Open
#4,107 4 comments 0 reactions 1 assignee Claimed by @hbw00111 View on GitHub
enhancement good first issue help wanted
Dominant language
TypeScript
Stars
5.4k
Forks
502
Avg merge
1d 2h
Merged PRs (30d)
715

Description

## Summary

`@ai-sdk/open-responses@2.0.35` now exposes the experimental extension-codec seam implemented by vercel/ai#18900 for vercel/ai#18899. Maka currently remains on 2.0.29 and fails closed for provider-executed tool replay and DeepSeek hosted web search.

## Proposed scope

- Upgrade `@ai-sdk/open-responses` to 2.0.35.
- Register the DeepSeek tool, item, and streaming-event codecs supported by its wire contract.
- Preserve provider-executed call/result ordering and opaque replay data across later requests.
- Enable only capabilities proven by request, response, stream, and replay tests.
- Keep unsupported or non-namespaced DeepSeek extensions disabled rather than passing unknown JSON through.

## Acceptance checks

- Mixed client and provider-executed tools retain execution ownership and chronology.
- Non-streaming and streaming hosted-tool results finish normally without entering the client tool loop.
- A later request replays each supported provider item exactly once.
- Unregistered or incompatible provider tools remain fail-closed with an explicit warning.
- Existing OpenAI and generic Open Responses behavior remains unchanged.

Follow-up to #2513 and #2972.

Upstream: vercel/ai#18899, vercel/ai#18900.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.