Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2748 commits
Select commit Hold shift + click to select a range
045d2e8
fix(google): read serviceTier from usageMetadata in stream + generate…
shaper May 20, 2026
70cf415
Version Packages (canary) (#15491)
github-actions[bot] May 21, 2026
b7aabc3
build: add fallback for VERSION for local dev (#15505)
gr2m May 21, 2026
17b5597
fix(openai): skip passing reasoning items when using previous respons…
aayush-kapoor May 21, 2026
bba5250
chore(provider/gateway): update gateway model settings files (#15511)
github-actions[bot] May 21, 2026
94c6edc
feat(alibaba): qwen 3.7 (#15514)
gr2m May 21, 2026
47fe62b
Version Packages (canary) (#15509)
github-actions[bot] May 21, 2026
5a0a160
ci: scope release concurrency group per branch (#15519)
gr2m May 21, 2026
d56c97b
feat (provider/quiverai): new @ai-sdk/quiverai provider (v2.0.0) (#15…
gr2m May 21, 2026
cbc6909
Version Packages (canary) (#15523)
github-actions[bot] May 21, 2026
b71c0d7
feat(provider/google): support Google search grounding when using `ge…
felixarntz May 21, 2026
6c17a9f
fix(mcp): deduplicate auth refresh on http transport (#15518)
aayush-kapoor May 21, 2026
23b6aca
fix(bfl): use 'image' field instead of 'input_image' for fill pro mod…
aayush-kapoor May 21, 2026
9b34193
Version Packages (canary) (#15527)
github-actions[bot] May 21, 2026
f49602a
docs(contributing): `publishConfig` and `repository` keys are not nee…
gr2m May 21, 2026
8849ce0
Fix broken Google provider docs link in README (#15544)
shujanislam May 22, 2026
acdbf84
Handle errors in anthropic's web search tool (#15552)
msullivan May 22, 2026
c4bfc8a
Version Packages (canary) (#15554)
github-actions[bot] May 22, 2026
8b811d8
feat(gateway): support Vercel access tokens (#15526)
kkdawkins May 22, 2026
37630f3
Version Packages (canary) (#15558)
github-actions[bot] May 22, 2026
d4d4a5e
feat(gateway): add serviceTier option to GatewayProviderOptions (#15497)
shaper May 22, 2026
af681cb
Version Packages (canary) (#15562)
github-actions[bot] May 22, 2026
e617cba
feat(anthropic): add Claude Platform on AWS provider (#15230)
R-Taneja May 22, 2026
648705c
fix(provider/anthropic): fix remaining errors with Anthropic `code_ex…
felixarntz May 22, 2026
81a5780
Version Packages (canary) (#15567)
github-actions[bot] May 22, 2026
9f1e1ba
fix(openai-compatible): accept empty string role in streaming delta c…
kagura-agent May 22, 2026
1272e4c
Version Packages (canary) (#15571)
github-actions[bot] May 23, 2026
ca1c5f8
docs(examples): update `examples/ai-functions/.env.example` (#15549)
gr2m May 23, 2026
f617ac2
feat(provider-utils): narrow tool() return when execute is provided (…
privatenumber May 26, 2026
62ae6c7
fix(langchain): recognize Python AIMessageChunk type in RemoteGraph s…
cristiandrei1234 May 26, 2026
6c93e36
feat(provider-utils): add `spawnCommand` method to `Experimental_Sand…
felixarntz May 26, 2026
7b07f7e
chore: fix Vertex example location (#15607)
felixarntz May 26, 2026
f963cba
Version Packages (canary) (#15603)
github-actions[bot] May 26, 2026
f7bc0b4
feat(mcp): expose statusCode, url, responseBody on MCPClientError (#1…
allenzhou101 May 27, 2026
594029e
feat(ai): wrap the model call in telemetry context (#15479)
aayush-kapoor May 27, 2026
ce6776b
Version Packages (canary) (#15609)
github-actions[bot] May 27, 2026
e67d80e
fix: rename onFinish to onEnd (#15245)
lgrammel May 27, 2026
6cca112
feat: add timeBetweenOutputTokensMs stats (#15310)
lgrammel May 27, 2026
1e36b26
fix: fix streamText tests (#15619)
lgrammel May 27, 2026
e2525c8
fix(vue): forward args in useChat methods (#15429)
posva May 27, 2026
82fc0ab
fix(ai): pass all stream text parts to `onChunk` (#15618)
lgrammel May 27, 2026
76fd58c
fix: consider file outputs and tool calls for time to first output (#…
lgrammel May 27, 2026
a8d70b6
fix(google): auto-inject skip_thought_signature_validator on Gemini 3…
gr2m May 27, 2026
0565992
Version Packages (canary) (#15617)
github-actions[bot] May 27, 2026
629f848
ci(playwright): only run browser tests on lts version of node, and re…
gr2m May 27, 2026
870d64c
docs: remove experimental telemetry warning (#15611)
aayush-kapoor May 27, 2026
4477f24
feat(anthropic): add containerUpload option to pass files to code exe…
aayush-kapoor May 27, 2026
9d5a299
fix(amazon-bedrock): support document files in tool results (#15534)
aayush-kapoor May 27, 2026
fbb6515
Version Packages (canary) (#15623)
github-actions[bot] May 27, 2026
1e29bfe
refactor(workflow): clarify passthrough stream part (#15631)
gr2m May 27, 2026
8c1b64b
refactor(google): clarify image delta local (#15632)
gr2m May 27, 2026
972889a
refactor(google): clarify stream event local (#15633)
gr2m May 27, 2026
0474dac
refactor(openai): avoid provider options abbreviation (#15628)
gr2m May 27, 2026
9c9b7cb
refactor(google): clarify interactions option locals (#15630)
gr2m May 27, 2026
b4b201e
refactor(google): clarify json path segment locals (#15634)
gr2m May 27, 2026
404b6b0
refactor(workflow): clarify chat transport locals (#15635)
gr2m May 27, 2026
8902387
refactor(workflow): clarify mock provider locals (#15636)
gr2m May 27, 2026
b4c8ab8
refactor(devtools): clarify timeline locals (#15638)
gr2m May 27, 2026
26e76b1
refactor(devtools): clarify tool context local (#15639)
gr2m May 27, 2026
b7f969a
refactor(mcp): clarify parsed url local (#15640)
gr2m May 27, 2026
997b55e
refactor(mcp): clarify http message locals (#15642)
gr2m May 27, 2026
5052558
refactor(provider-utils): clarify pipeline schema locals (#15643)
gr2m May 27, 2026
b2560f4
refactor(langchain): clarify file data local (#15644)
gr2m May 27, 2026
9df53a9
refactor(langchain): clarify message record locals (#15645)
gr2m May 27, 2026
a48ccbf
refactor(langchain): clarify file extension local (#15647)
gr2m May 27, 2026
ef8a477
refactor(langchain): clarify tool call index local (#15648)
gr2m May 27, 2026
9448132
refactor(ai): clarify url file extension local (#15649)
gr2m May 27, 2026
1a7b446
refactor(prodia): clarify file extension local (#15650)
gr2m May 27, 2026
7b84549
refactor(google): clarify interaction citation locals (#15629)
gr2m May 27, 2026
21a6567
docs: add variable and identifier naming guidance (#15641)
gr2m May 27, 2026
e92fc45
feat(ai): introduce onAbort hook to close telemetry spans (#15651)
aayush-kapoor May 27, 2026
cd3de8b
feat(openai): forward web_search_call.action.queries from Responses A…
R-Taneja May 27, 2026
1e200eb
fix(otel): ensure nested context object creates separate attribute (#…
aayush-kapoor May 27, 2026
023550e
feat: `response.stream` (#15653)
gr2m May 27, 2026
9b96132
Version Packages (canary) (#15654)
github-actions[bot] May 27, 2026
e02f041
feat(provider/anthropic): add support for `claude-opus-4-8` (#15674)
felixarntz May 28, 2026
4526e2b
Version Packages (canary) (#15676)
github-actions[bot] May 28, 2026
bcce2dd
feat(ai): expose `toUIMessageChunkStream` helper (#14652)
gr2m May 28, 2026
b5b4275
Version Packages (canary) (#15693)
github-actions[bot] May 28, 2026
b5092f5
fix(ai): do not re-validate tool input for output-error parts in vali…
dancer May 28, 2026
a614230
Version Packages (canary) (#15696)
github-actions[bot] May 28, 2026
e776fc7
feat(provider/azure): web search tool in the Azure OpenAI Responses A…
tsuzaki430 May 28, 2026
150cad4
chore: add .agents folder with symlinked skills for agent support oth…
felixarntz May 29, 2026
3215032
Version Packages (canary) (#15699)
github-actions[bot] May 29, 2026
dcefad3
fix(mcp): respond to ping requests with an empty result (#15701)
joaopedroassad May 29, 2026
1dbecd7
feat(provider/xai): expose `enableImageSearch` on the Web Search tool…
ushiromiya-lion May 29, 2026
23f9d72
chore(provider/xai): deprecate searchParameters (live search) in favo…
dancer May 29, 2026
00a0f36
feat(google): add stable embedding and deep research model ids (#15587)
shujanislam May 30, 2026
ab6d664
Version Packages (canary) (#15714)
github-actions[bot] May 30, 2026
dbfe356
docs(openai-compatible-providers): add NEAR AI Cloud (#15538)
PierreLeGuen Jun 1, 2026
42f9240
docs(examples): migrate deprecated streamText result helpers to stand…
gr2m Jun 1, 2026
712873e
chore(provider/gateway): update gateway model settings files (#15745)
github-actions[bot] Jun 1, 2026
43e84c8
Version Packages (canary) (#15748)
github-actions[bot] Jun 1, 2026
32603d2
fix (provider/amazon-bedrock): correct mantle subpath exports (#15760)
R-Taneja Jun 2, 2026
da5005d
Version Packages (canary) (#15761)
github-actions[bot] Jun 2, 2026
9f4dca0
feat(azure): support Microsoft Entra ID auth (#15740)
monadoid Jun 2, 2026
c2c93f7
Version Packages (canary) (#15763)
github-actions[bot] Jun 2, 2026
a3261db
chore(provider/gateway): update gateway model settings files (#15771)
github-actions[bot] Jun 2, 2026
bb93832
fix(vertex-anthropic): support eu/us multi-region anthropic endpoints…
aayush-kapoor Jun 2, 2026
b563707
feat(provider/google): add Gemini text-to-speech (speech) model suppo…
31Carlton7 Jun 2, 2026
b385bfa
Version Packages (canary) (#15774)
github-actions[bot] Jun 2, 2026
b70f6ec
fix(google-vertex): support for eu/us multi region gemini endpoints (…
aayush-kapoor Jun 2, 2026
e384e72
Version Packages (canary) (#15781)
github-actions[bot] Jun 2, 2026
ec2e752
fix(google-vertex): support regional endpoints for vertex MaaS (#15783)
aayush-kapoor Jun 2, 2026
78e0023
fix(mcp): await addClientAuthentication in token exchange and refresh…
aayush-kapoor Jun 3, 2026
2e234f4
chore: modify run function to record fixtures (#15758)
aayush-kapoor Jun 3, 2026
3711955
fix(langchain): reset streamEvents text between model invocations (#1…
eyueldk Jun 3, 2026
6e05a57
feat(tools-registry): add Nitrosend (#14992)
auscaster Jun 3, 2026
83877a1
chore(provider/gateway): update gateway model settings files (#15797)
github-actions[bot] Jun 3, 2026
a2ad029
Fix ByteDance first-frame video payload role (#15798)
http-samc Jun 3, 2026
3e76b95
Version Packages (canary) (#15785)
github-actions[bot] Jun 3, 2026
a94c258
feat(policy): add @ai-sdk/policy-opa package (OPA adapter for toolApp…
dnukumamras Jun 3, 2026
ee798eb
chore(provider-utils): rename `Experimental_Sandbox` to `Experimental…
felixarntz Jun 3, 2026
6e23bf2
fix(langchain): register key mapping for tool calls emitted via messa…
lgrammel Jun 4, 2026
61bcdb5
fix(openai): send client-executed tool calls as full function_call it…
privatenumber Jun 4, 2026
daf6637
feat(provider-utils): add `env` option to `spawn` and `run` methods o…
felixarntz Jun 4, 2026
616bb31
feat(aliababa): add embedding model support (#15802)
aayush-kapoor Jun 4, 2026
c907622
feat: add a `toolOrder` option to control the order in which tools ar…
lgrammel Jun 4, 2026
f935ea0
Version Packages (canary) (#15800)
github-actions[bot] Jun 4, 2026
9876183
chore(provider/gateway): update gateway model settings files (#15826)
github-actions[bot] Jun 4, 2026
7797e0f
chore: update TypeScript references and fix `pnpm update-references` …
felixarntz Jun 4, 2026
9a1b0ea
release @ai-sdk/policy-opa (#15832)
gr2m Jun 4, 2026
480c2fb
Version Packages (canary) (#15827)
github-actions[bot] Jun 4, 2026
beb6c72
docs(contributing): document the Experimental_ prefix seam convention…
gr2m Jun 4, 2026
94eba1b
fix(openai): round-trip namespace on function_call input items (#15193)
edawerd Jun 4, 2026
2ce3c65
feat(provider/google-vertex): add Gemini text-to-speech (speech) mode…
31Carlton7 Jun 4, 2026
43ad34c
Version Packages (canary) (#15836)
github-actions[bot] Jun 4, 2026
ce769dd
feat: Realtime API support for browser<->provider websocket connectio…
gr2m Jun 5, 2026
7254ac6
Version Packages (canary) (#15839)
github-actions[bot] Jun 5, 2026
575e612
docs: add documentation for openai namespaces (#15837)
aayush-kapoor Jun 5, 2026
d66ae02
fix(ai): return validated elements from array output parseCompleteOut…
AVtheking Jun 5, 2026
60f518c
feat(examples): add ToolLoopAgent step performance example (#15843)
lgrammel Jun 5, 2026
e757741
feat: agent tui (#15845)
lgrammel Jun 5, 2026
c231e42
feat(langchain): emit source-url/source-document parts from citations…
dflynn15 Jun 5, 2026
24bb123
fix(gateway): base64-encode inline Uint8Array data on reasoning-file …
R-Taneja Jun 5, 2026
19736ee
feat(ai): rename onStepFinish to onStepEnd (#15849)
aayush-kapoor Jun 5, 2026
9da2bde
chore: update private package readme to refer to AI SDK scoped packag…
felixarntz Jun 8, 2026
e4182bd
chore: rm export of OutputInterface (#15852)
aayush-kapoor Jun 8, 2026
c44fcc8
feat(gateway): add GatewayFailedDependencyError (424) (#15859)
R-Taneja Jun 8, 2026
97e480a
chore(provider/gateway): update gateway model settings files (#15901)
github-actions[bot] Jun 8, 2026
84c528a
Version Packages (canary) (#15895)
github-actions[bot] Jun 8, 2026
6a5800e
feat(openai): add namespaces for tool definitions (#15904)
aayush-kapoor Jun 8, 2026
b79b6a8
fix(ai): add approval guard for denied tool outputs (#15912)
aayush-kapoor Jun 8, 2026
66ab73b
docs: update devtools docs + readme for v7 (#15913)
aayush-kapoor Jun 8, 2026
6dd2fd7
feat(provider/google-vertex): add Chirp speech-to-text (transcription…
31Carlton7 Jun 8, 2026
eeefc3f
fix(ai): enforce timeout.stepMs for the whole step in streamText (#15…
zirkelc Jun 9, 2026
4757690
feat(ai): rename onObjectStepFinish to onObjectStepEnd (#15850)
aayush-kapoor Jun 9, 2026
16c454f
docs(provider): add Latitude observability provider (v7) (#15918)
guillemwilly Jun 9, 2026
9d6dbe0
feat(harness): add sandbox specific expansion for harness abstraction…
felixarntz Jun 9, 2026
a388064
docs: Policy-Based Tool Approvals page for @ai-sdk/policy-opa (#15875)
dnukumamras Jun 9, 2026
6b4d325
feat(provider/anthropic): add support for `claude-fable-5` and the `f…
felixarntz Jun 9, 2026
9c6364d
Version Packages (canary) (#15911)
github-actions[bot] Jun 9, 2026
6c7a3e5
fix: bump base versions to 1.0.0 for `@ai-sdk/harness`, `@ai-sdk/sand…
gr2m Jun 9, 2026
e6d8f35
Version Packages (canary) (#15933)
github-actions[bot] Jun 9, 2026
ae7f932
fix(openai): throw on early stream error events (#15922)
kkdawkins Jun 9, 2026
634ee38
docs: link nextjs examples to correct github url (#15934)
aayush-kapoor Jun 9, 2026
b86902b
fix: add missing name to run-agent-tui returns table (#15937)
jeremyphilemon Jun 9, 2026
5ebc54c
Version Packages (canary) (#15935)
github-actions[bot] Jun 9, 2026
a3bb04a
feat(gateway): add experimental realtime model (#15768)
kkdawkins Jun 9, 2026
1e4b350
Support toModelOutput in WorkflowAgent (#15917)
gr2m Jun 9, 2026
27955c6
ci: validate:docs (#15939)
gr2m Jun 9, 2026
d1b1039
Version Packages (canary) (#15940)
github-actions[bot] Jun 9, 2026
dcb37e2
test: verify `this` binding for class-based tool execute and toModelO…
gr2m Jun 10, 2026
51c87d5
docs(content): add MongoDB memory provider to agents memory page (#15…
Pash10g Jun 10, 2026
b23b042
feat(azure): add deepseek model support to azure (#15942)
aayush-kapoor Jun 10, 2026
2161df4
Version Packages (canary) (#15956)
github-actions[bot] Jun 10, 2026
7fd3360
fix(ai): Harden UI message stream processing against prototype pollut…
lgrammel Jun 10, 2026
a5018ab
fix(ai): return schema-transformed elements in array output mode (#15…
lgrammel Jun 10, 2026
21d3d60
feat(harness): implement harness specification (#15941)
felixarntz Jun 10, 2026
f0c6770
fix(mcp): prevent mcp oauth credential exfiltration during rediscover…
aayush-kapoor Jun 10, 2026
7486744
[codex] Add xAI text-to-speech support (#15905)
31Carlton7 Jun 10, 2026
426dbbb
fix(ai): reject incomplete model streams (#15938)
kkdawkins Jun 10, 2026
f860a33
Version Packages (canary) (#15959)
github-actions[bot] Jun 10, 2026
3d9a50c
feat(harness): implement harness adapters for Claude Code, Codex, Pi …
felixarntz Jun 10, 2026
6ec30ae
Version Packages (canary) (#15974)
github-actions[bot] Jun 10, 2026
9fa4e9d
fix(provider/amazon-bedrock): extract Cohere embedding token usage fr…
R-Taneja Jun 10, 2026
c67741e
Version Packages (canary) (#15978)
github-actions[bot] Jun 10, 2026
9eda693
fix(provider/amazon-bedrock): detect Cohere embedding models behind c…
R-Taneja Jun 10, 2026
bfc6f60
Version Packages (canary) (#15981)
github-actions[bot] Jun 10, 2026
bae5e2b
fix(security): harden tool approval replay path against client-forged…
dnukumamras Jun 10, 2026
d77bed4
chore(harness): separate harness spec types (v1) from consumer-facing…
felixarntz Jun 11, 2026
69d7128
fix(workflow): reuse core tool-approval validation in WorkflowAgent (…
gr2m Jun 11, 2026
6e8917f
fix(prodia): validate user-supplied image URLs before fetching (SSRF)…
gr2m Jun 11, 2026
260caaf
Version Packages (canary) (#15984)
github-actions[bot] Jun 11, 2026
e33ad0b
fix(mcp): add optional hook to validate authorization servers (#15972)
aayush-kapoor Jun 11, 2026
ed25ee1
fix: prevent chat persistence path traversal (#15958)
lgrammel Jun 11, 2026
3e0b82f
fix(mcp): support official sdk protocol version negotiation (#15976)
aayush-kapoor Jun 11, 2026
fb82a6c
fix(provider/open-responses): Harden streamed tool call argument hand…
lgrammel Jun 11, 2026
f6fc2fb
feat(langchain): support LangGraph tool progress streams (#15726)
Falven Jun 11, 2026
89ad56f
fix: Promote `generateSpeech` and `SpeechResult` to stable (#16010)
lgrammel Jun 11, 2026
3295831
fix: Harden stream text processing and middleware against prototype p…
lgrammel Jun 11, 2026
f9a496f
fix: Promote `transcribe` and `TranscriptionResult` to stable (#16009)
lgrammel Jun 11, 2026
e70fdbd
Version Packages (canary) (#16012)
github-actions[bot] Jun 11, 2026
375fdd7
fix(provider-utils,ai): harden download SSRF guard against hostname a…
gr2m Jun 11, 2026
28ebe07
build: update analyze versions script (#15962)
gr2m Jun 11, 2026
aeda373
fix(providers): only send credentials to same-origin response-supplie…
gr2m Jun 11, 2026
e551763
fix(harness): avoid using peer dependencies for underlying harness an…
felixarntz Jun 11, 2026
de9ccba
chore: fix long outdated `@vercel/sandbox` version in `ai-e2e-next` e…
felixarntz Jun 11, 2026
555c5de
fix(react): deny MCP App tool calls by default when allowedTools is o…
gr2m Jun 11, 2026
6b58ce3
chore: add harness docs (#16028)
felixarntz Jun 11, 2026
862c1c8
fix(examples): require host origin for MCP sandbox-proxy resource-rea…
gr2m Jun 11, 2026
f18b08f
fix(ai): redact server error details from UI message streams by defau…
gr2m Jun 11, 2026
b44b051
fix(mcp): prevent prototype-named tools from bypassing the schemas al…
gr2m Jun 11, 2026
b4507d5
fix(provider-utils): cancel response body on download rejection to pr…
gr2m Jun 11, 2026
83a93e1
chore(harness): move harness docs to `ai-sdk-harnesses` for better al…
felixarntz Jun 11, 2026
5a214ca
fix(ci): trigger backport on pull_request closed to avoid indexing ra…
gr2m Jun 12, 2026
3d87086
fix(harness): guard against invalid resuming a session vs continuing …
felixarntz Jun 12, 2026
5878b40
fix(google): prevent prototype pollution when streaming tool args (#1…
aayush-kapoor Jun 12, 2026
a8a0669
chore(docs): fix harness docs label (#16052)
felixarntz Jun 12, 2026
1ea15a3
fix(harness): fix various bugs with harness skills not being correctl…
felixarntz Jun 12, 2026
32ce45c
fix(devtools): secure devtools viewer api access (#16042)
aayush-kapoor Jun 12, 2026
f52537c
test(harness-claude-code): fix flaky skill-files startup test under C…
gr2m Jun 12, 2026
275674e
fix(devtools): validate viewer database paths (#16049)
aayush-kapoor Jun 12, 2026
558777f
fix(gateway): accept deprecated warnings in image, speech, transcript…
R-Taneja Jun 12, 2026
2a150f8
fix(mcp): lock first sse endpoint received via event (#16050)
aayush-kapoor Jun 12, 2026
8c17bf8
fix(gateway): surface provider warnings in embedding and reranking re…
R-Taneja Jun 12, 2026
25a64f8
fix: Remove deprecated experimental generateImage exports (#16017)
lgrammel Jun 12, 2026
7310a56
fix(docs): fix model message file part reference docs (#16065)
felixarntz Jun 12, 2026
fb370a5
Version Packages (canary) (#16024)
github-actions[bot] Jun 12, 2026
e825954
docs(harness): clarifications (#16070)
felixarntz Jun 12, 2026
b09d09f
fix(example): prevent shell injection in mcp auth example (#16066)
aayush-kapoor Jun 12, 2026
ca1dc08
docs(harness): clarify harness `@canary` tags (#16073)
felixarntz Jun 12, 2026
aae0138
fix(harness): make listening for sandbox bridge readiness compatible …
felixarntz Jun 12, 2026
12dad8e
Version Packages (canary) (#16079)
github-actions[bot] Jun 12, 2026
024a6b4
fix(mcp): validate oauth metadata issuer during discovery (#16067)
aayush-kapoor Jun 12, 2026
c1afaed
fix(langchain): prevent polluting global object.prototype (#16082)
aayush-kapoor Jun 12, 2026
efec111
chore(provider/gateway): update gateway model settings files (#16077)
github-actions[bot] Jun 12, 2026
38010a1
Enable `includeUsage` for Fireworks so streaming responses report tok…
R-Taneja Jun 12, 2026
a29d9a3
Version Packages (canary) (#16084)
github-actions[bot] Jun 12, 2026
b29e087
fix (mcp): handle SSE messages without explicit event fields (#16093)
aayush-kapoor Jun 12, 2026
144dcd9
Version Packages (canary) (#16095)
github-actions[bot] Jun 12, 2026
ca2cf45
fix(provider/gateway): map forbidden error responses to GatewayForbid…
R-Taneja Jun 14, 2026
538b1cc
Version Packages (canary) (#16107)
github-actions[bot] Jun 14, 2026
be83911
fix(harness): reject websocket bind errors (#16122)
blurrah Jun 15, 2026
3801954
Version Packages (canary) (#16123)
github-actions[bot] Jun 15, 2026
347794b
chore(ai): bump main bundle size limit to 630 KB (#16116)
gr2m Jun 15, 2026
6ec57f5
feat(ai): make the experimental lifecycle callbacks stable (#16126)
aayush-kapoor Jun 15, 2026
c11f2f0
Version Packages (canary) (#16127)
github-actions[bot] Jun 15, 2026
d5b8263
chore(provider/gateway): update gateway model settings files (#16132)
github-actions[bot] Jun 15, 2026
1582e7f
docs: change highlighted code lines for example (#16136)
aayush-kapoor Jun 15, 2026
846d58e
docs: update docs for model generation lifecycle (#16128)
aayush-kapoor Jun 15, 2026
9978c86
Version Packages (canary) (#16135)
github-actions[bot] Jun 15, 2026
9b75dae
fix(examples): memoize realtime sessionConfig to keep websocket conne…
gr2m Jun 15, 2026
b8396f0
chore (release): switch to beta (#16140)
gr2m Jun 15, 2026
96e2478
Version Packages (beta) (#16143)
github-actions[bot] Jun 15, 2026
15eb253
feat (provider/gateway): mint short-lived client secrets for experime…
kkdawkins Jun 15, 2026
b097c52
feat(ai): use tracing channels to track parent-child context (#15660)
aayush-kapoor Jun 15, 2026
dfd433c
Version Packages (beta) (#16144)
github-actions[bot] Jun 15, 2026
441538b
docs(examples): bump @angular/* to patched 20.3.25 (#16150)
gr2m Jun 15, 2026
332959e
docs: add telemetry code snippet for nextjs instrumentation (#16149)
aayush-kapoor Jun 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .agents/skills
5 changes: 5 additions & 0 deletions .changeset/acupf-uiktr-ypdkq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

chore(provider/gateway): update gateway model settings files
6 changes: 6 additions & 0 deletions .changeset/add-qwen-3-7-max-alibaba.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ai-sdk/alibaba": patch
"@ai-sdk/gateway": patch
---

Add `qwen3.7-max` model ID to Alibaba and AI Gateway.
5 changes: 5 additions & 0 deletions .changeset/add-resource-link-content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/mcp": patch
---

Add `resource_link` content type to `CallToolResultSchema` and `PromptMessageSchema` per MCP spec. Fixes hard rejection when MCP servers return `resource_link` content parts with zod ≥ 4.4.x.
23 changes: 23 additions & 0 deletions .changeset/allow-system-in-messages-agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
'ai': patch
---

Add `allowSystemInMessages` option to `ToolLoopAgent`.

This exposes the same option that exists on `streamText` and `generateText`, whether `role: "system"` messages are allowed in the `prompt` or `messages` fields. When unset, system messages are rejected because they can create a prompt injection attack risk. Ideally, use the `instructions` option instead. Set to `true` to allow system messages, or `false` to explicitly reject them.

```ts
const agent = new ToolLoopAgent({
model,
allowSystemInMessages: true,
});

await agent.generate({
messages: [
{ role: 'system', content: 'Server context' },
{ role: 'user', content: 'Hello' },
],
});
```

The option can also be returned from `prepareCall` for dynamic per-call configuration.
5 changes: 5 additions & 0 deletions .changeset/allowed-tools-tool-choice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/openai": patch
---

feat: add allowedTools provider option for OpenAI Responses
5 changes: 0 additions & 5 deletions .changeset/angry-hats-cry.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/angry-penguins-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/amazon-bedrock": patch
---

added bedrock mantle provider
5 changes: 5 additions & 0 deletions .changeset/angry-tigers-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/mistral": patch
---

feat(provider/mistral): add support for reasoning configuration (mistral-small-latest)
5 changes: 5 additions & 0 deletions .changeset/azjeb-lylmk-htihq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

chore(provider/gateway): update gateway model settings files
5 changes: 5 additions & 0 deletions .changeset/azure-ad-token-provider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/azure': patch
---

Add Microsoft Entra ID token provider authentication for Azure OpenAI.
5 changes: 5 additions & 0 deletions .changeset/bedrock-lazy-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/amazon-bedrock': patch
---

Fix `createAmazonBedrock()` capturing `globalThis.fetch` at initialization time, which caused telemetry instrumentation (e.g. OpenTelemetry, Datadog) and other `globalThis.fetch` patches applied after provider creation to be silently ignored.
5 changes: 0 additions & 5 deletions .changeset/beige-bikes-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/blue-books-hang.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/blue-cherries-smash.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/blue-islands-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/mistral": patch
---

Add support for mistral-medium-3.5
5 changes: 5 additions & 0 deletions .changeset/blue-planets-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ai": patch
---

feat(ai): decouple otel from generate/streamObject
5 changes: 5 additions & 0 deletions .changeset/bmsub-tzabb-eepqb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

chore(provider/gateway): update gateway model settings files
5 changes: 5 additions & 0 deletions .changeset/bqpxh-vqqcg-wmlpj.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

chore(provider/gateway): update gateway model settings files
5 changes: 5 additions & 0 deletions .changeset/brave-feet-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/mcp": patch
---

fix(mcp): await addClientAuthentication in token exchange and refresh
5 changes: 5 additions & 0 deletions .changeset/brave-parents-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/google": patch
---

feat(provider/google): add support for managed agents in the Interactions API
8 changes: 8 additions & 0 deletions .changeset/brave-penguins-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@ai-sdk/amazon-bedrock": patch
"@ai-sdk/google-vertex": patch
"@ai-sdk/anthropic": patch
"@ai-sdk/gateway": patch
---

feat(provider/anthropic): add support for `claude-opus-4-8`
6 changes: 6 additions & 0 deletions .changeset/brave-zebras-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ai-sdk/provider-utils": patch
"ai": patch
---

feat(ai): change Tool.sensitiveContext to telemetry.includeToolsContext and make it opt-in
5 changes: 5 additions & 0 deletions .changeset/breezy-eagles-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/openai-compatible": patch
---

fix(openai-compatible): buffer tool call deltas until function.name arrives
5 changes: 5 additions & 0 deletions .changeset/breezy-flowers-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/anthropic": patch
---

fix(provider/anthropic): fix remaining errors with Anthropic `code_execution` tool dynamic calls from latest `web_fetch` or `web_search`
5 changes: 5 additions & 0 deletions .changeset/breezy-planes-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/provider-utils": patch
---

feat: distinguish provider-defined and provider-executed tools
5 changes: 5 additions & 0 deletions .changeset/bright-crabs-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/gateway": patch
---

feat (provider/gateway): add sort options
41 changes: 41 additions & 0 deletions .changeset/bright-doors-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
'ai': patch
'@ai-sdk/alibaba': patch
'@ai-sdk/amazon-bedrock': patch
'@ai-sdk/anthropic': patch
'@ai-sdk/assemblyai': patch
'@ai-sdk/azure': patch
'@ai-sdk/baseten': patch
'@ai-sdk/black-forest-labs': patch
'@ai-sdk/bytedance': patch
'@ai-sdk/cerebras': patch
'@ai-sdk/codemod': patch
'@ai-sdk/cohere': patch
'@ai-sdk/deepgram': patch
'@ai-sdk/deepinfra': patch
'@ai-sdk/deepseek': patch
'@ai-sdk/elevenlabs': patch
'@ai-sdk/fal': patch
'@ai-sdk/fireworks': patch
'@ai-sdk/gladia': patch
'@ai-sdk/google-vertex': patch
'@ai-sdk/google': patch
'@ai-sdk/groq': patch
'@ai-sdk/huggingface': patch
'@ai-sdk/hume': patch
'@ai-sdk/klingai': patch
'@ai-sdk/lmnt': patch
'@ai-sdk/luma': patch
'@ai-sdk/mistral': patch
'@ai-sdk/moonshotai': patch
'@ai-sdk/openai-compatible': patch
'@ai-sdk/openai': patch
'@ai-sdk/perplexity': patch
'@ai-sdk/prodia': patch
'@ai-sdk/replicate': patch
'@ai-sdk/revai': patch
'@ai-sdk/togetherai': patch
'@ai-sdk/xai': patch
---

Add AI Gateway hint to provider READMEs
6 changes: 6 additions & 0 deletions .changeset/bright-glasses-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ai-sdk/provider-utils": major
"ai": major
---

feat(ai): change type of experimental_context from unknown to generic
5 changes: 5 additions & 0 deletions .changeset/bright-sloths-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/google": patch
---

feat(provider/google): support Google search grounding when using `generateImage` with Gemini
6 changes: 6 additions & 0 deletions .changeset/bright-streams-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'ai': patch
'@ai-sdk/groq': patch
---

Deprecate `streamText` result `fullStream` in favor of `stream`.
5 changes: 5 additions & 0 deletions .changeset/brown-coats-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/gateway": patch
---

feat (provider/gateway): add get-generation support
5 changes: 5 additions & 0 deletions .changeset/brown-planets-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/openai': patch
---

fix(provider/openai): drop reasoning parts without encrypted content when store: false
6 changes: 6 additions & 0 deletions .changeset/brown-rules-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ai-sdk/gateway": patch
"ai": patch
---

fix(gateway): enable retry support for gateway errors
5 changes: 5 additions & 0 deletions .changeset/bump-oidc-version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

bump `@vercel/oidc` dependency to 3.2.0
5 changes: 5 additions & 0 deletions .changeset/calm-bears-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/tui": patch
---

feat: agent tui
5 changes: 5 additions & 0 deletions .changeset/calm-bugs-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/google": patch
---

chore(provider/google): remove obsolete Google image model
8 changes: 8 additions & 0 deletions .changeset/calm-cars-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@ai-sdk/devtools": patch
"@ai-sdk/workflow": patch
"@ai-sdk/otel": patch
"ai": patch
---

feat(ai): rename onStepFinish to onStepEnd
5 changes: 5 additions & 0 deletions .changeset/calm-glasses-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ai": patch
---

fix URL of hero animation in README
5 changes: 5 additions & 0 deletions .changeset/calm-squids-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

fix(ai): doStream should reflect transformed values
5 changes: 5 additions & 0 deletions .changeset/calm-timers-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/deepseek": patch
---

fix(provider/deepseek): preserve reasoning_content for deepseek-v4 in multi-turn requests
7 changes: 7 additions & 0 deletions .changeset/chatty-balloons-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@ai-sdk/devtools": patch
"@ai-sdk/otel": patch
"ai": patch
---

feat(ai): rename onObjectStepFinish to onObjectStepEnd
5 changes: 5 additions & 0 deletions .changeset/chatty-turkeys-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ai": patch
---

chore(ai): cleanup telemetry event data
5 changes: 5 additions & 0 deletions .changeset/chilled-ghosts-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ai-sdk/xai": patch
---

fix(xai): stop emitting additionalProperties flag
5 changes: 5 additions & 0 deletions .changeset/chilled-points-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ai": patch
---

fix(ai): deprecate properties on result that have moved to finalStep
5 changes: 5 additions & 0 deletions .changeset/cjklz-runuv-ayxkx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ai-sdk/gateway': patch
---

chore(provider/gateway): update gateway model settings files
7 changes: 7 additions & 0 deletions .changeset/clean-berries-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@ai-sdk/workflow": patch
"@ai-sdk/otel": patch
"ai": patch
---

refactoring: rename context to runtimeContext
6 changes: 6 additions & 0 deletions .changeset/clean-peaches-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@ai-sdk/gateway': patch
'@ai-sdk/openai': patch
---

feat(provider/openai): add GPT-5.4 model support
12 changes: 12 additions & 0 deletions .changeset/clean-ravens-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@ai-sdk/openai-compatible": patch
"@ai-sdk/open-responses": patch
"@ai-sdk/deepseek": patch
"@ai-sdk/alibaba": patch
"@ai-sdk/cohere": patch
"@ai-sdk/fireworks": patch
"@ai-sdk/groq": patch
"@ai-sdk/xai": patch
---

feat: migrate providers to support new top-level `reasoning` parameter
5 changes: 5 additions & 0 deletions .changeset/clever-cheetahs-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'ai': patch
---

feat(ai): introduce experimental callbacks for embed function
7 changes: 7 additions & 0 deletions .changeset/clever-eyes-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@ai-sdk/provider-utils": patch
"@ai-sdk/anthropic": patch
"ai": patch
---

chore(provider-utils): rename `Experimental_Sandbox` to `Experimental_SandboxSession`
7 changes: 7 additions & 0 deletions .changeset/clever-pots-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@ai-sdk/amazon-bedrock': patch
'@ai-sdk/google-vertex': patch
'@ai-sdk/anthropic': patch
---

chore: update v3 specs to v4
Loading