Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .changeset/adapter-default-model-options.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/add-ai-secure-mcp.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ai-mcp-input-schema.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/bump-quickjs-bun-0-2.md

This file was deleted.

58 changes: 0 additions & 58 deletions .changeset/default-model-options-all-adapters.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/export-stream-http-error.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/extract-ai-isolate-contract.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gemini-agentic-video-status.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/harness-view-result-metadata.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ollama-early-stop-abort.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/omit-subagent-text-from-parent.md

This file was deleted.

28 changes: 0 additions & 28 deletions .changeset/openai-gpt-live.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/openrouter-responses-late-args-delta.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/quiet-taxis-stream.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/reasoning-off-sampling-types.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stream-processor-text-delta-memory.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/transcription-stream-final-text.md

This file was deleted.

13 changes: 13 additions & 0 deletions evals/harbor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @tanstack/ai-optimize-evals

## 0.0.5

### Patch Changes

- Updated dependencies [[`afed460`](https://github.com/TanStack/ai/commit/afed460573b0e9a2d3672bbe777ed5ec6c28b6fc), [`afed460`](https://github.com/TanStack/ai/commit/afed460573b0e9a2d3672bbe777ed5ec6c28b6fc), [`9c1584d`](https://github.com/TanStack/ai/commit/9c1584db1eac57ec4d7c67e0af57cfd29a6b1a6c), [`4bc0c2b`](https://github.com/TanStack/ai/commit/4bc0c2b375c485c6b5a43dd5d562643f96fbcc93), [`a88ee8d`](https://github.com/TanStack/ai/commit/a88ee8d963aa3693064282b2d7e19640472b484c), [`7ba3926`](https://github.com/TanStack/ai/commit/7ba3926652519bc0e1ea74e660ef7d0a0d6a37a6), [`1c55fd5`](https://github.com/TanStack/ai/commit/1c55fd51d2fcafb84f59295736bc42f6d2353868), [`2d89b06`](https://github.com/TanStack/ai/commit/2d89b062d92a3eef44406c015bf6d0ff2b47e6a4), [`a7501eb`](https://github.com/TanStack/ai/commit/a7501eb0a2223b079076bd106c257803742b0e6c), [`1c55fd5`](https://github.com/TanStack/ai/commit/1c55fd51d2fcafb84f59295736bc42f6d2353868)]:
- @tanstack/ai@1.12.0
- @tanstack/ai-anthropic@1.3.0
- @tanstack/ai-gemini@1.4.0
- @tanstack/ai-openai@1.3.0
- @tanstack/ai-code-mode@1.2.1
- @tanstack/ai-isolate-quickjs@1.1.1
- @tanstack/ai-optimize@0.1.0

## 0.0.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion evals/harbor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-optimize-evals",
"version": "0.0.4",
"version": "0.0.5",
"private": true,
"description": "Context-optimization eval harness (Harbor adapter + Node runner). Not published.",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions examples/ag-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# ag-ui

## 0.0.49

### Patch Changes

- Updated dependencies [[`518dee9`](https://github.com/TanStack/ai/commit/518dee986e84e1869008c67f9e4841832777c062), [`7ba3926`](https://github.com/TanStack/ai/commit/7ba3926652519bc0e1ea74e660ef7d0a0d6a37a6)]:
- @tanstack/ai-client@1.5.0
- @tanstack/ai-react@1.4.0

## 0.0.48

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/ag-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ag-ui",
"private": true,
"type": "module",
"version": "0.0.48",
"version": "0.0.49",
"scripts": {
"detect-servers": "node scripts/detect-servers.mjs",
"predev": "node scripts/detect-servers.mjs",
Expand Down
33 changes: 33 additions & 0 deletions packages/ai-acp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# @tanstack/ai-acp

## 1.2.0

### Minor Changes

- [#2254](https://github.com/TanStack/ai/pull/2254) [`afed460`](https://github.com/TanStack/ai/commit/afed460573b0e9a2d3672bbe777ed5ec6c28b6fc) - Every first-party adapter takes `defaultModelOptions`, of every kind: text, embedding, image, speech, transcription, audio, voice, video, live video, 3D model, 3D motion, world, rerank, summarize, and evaluate. Reactor, and the Gemini and OpenRouter evaluate adapters, have no model options to send, so they do not take it. Each activity (`chat()`, `embed()`, `generateImage()`, `generateSpeech()`, and the others) merges them under the `modelOptions` of each call, one level deep. A key that the call sets replaces the default key in full. A call key set to `undefined` keeps the default. The middleware, the devtools events or logs, and the adapter all get the merged value.

```ts
const adapter = openaiImage('gpt-image-2.6-flare', {
defaultModelOptions: { quality: 'high', output_format: 'webp' },
})
```

`summarize()` with a text-backed summarize adapter applies the `defaultModelOptions` of the wrapped text adapter. A `temperature` in those defaults replaces the built-in summarize temperature. A per-call `maxLength` replaces a token limit that only comes from the defaults.

The OpenAI, Cloudflare, Ollaya, and TypeSafe evaluate adapters now send `modelOptions` in the request. Before, they did not send them.

`ollamaText()`, `ollamaEmbedding()`, `tripo3dModel()`, and the summarize factories of every text provider take `defaultModelOptions` too.

`ai-fal`: an explicit `size` on `generateImage()` or `generateVideo()` now replaces `image_size`, `aspect_ratio`, or `resolution` in `modelOptions`.

`ai-uthana`: the `defaults` config option is deprecated. Use `defaultModelOptions`.

`ai-ollama`: for a model name that is not in the model list, `modelOptions` no longer accepts `model`. The adapter sets the model.

Custom adapters: each `Base*Adapter` class in `@tanstack/ai/adapters` takes `defaultModelOptions` in its constructor config and stores it. Pass it to `super()`. Do not declare the field again in the subclass. `DefaultModelOptionsConfig<TProviderOptions>` is the config type to extend.

### Patch Changes

- Updated dependencies [[`afed460`](https://github.com/TanStack/ai/commit/afed460573b0e9a2d3672bbe777ed5ec6c28b6fc), [`afed460`](https://github.com/TanStack/ai/commit/afed460573b0e9a2d3672bbe777ed5ec6c28b6fc), [`014da3a`](https://github.com/TanStack/ai/commit/014da3a4ca8bfbfaadad8423e2749a9ce5564187), [`a88ee8d`](https://github.com/TanStack/ai/commit/a88ee8d963aa3693064282b2d7e19640472b484c), [`7ba3926`](https://github.com/TanStack/ai/commit/7ba3926652519bc0e1ea74e660ef7d0a0d6a37a6), [`1c55fd5`](https://github.com/TanStack/ai/commit/1c55fd51d2fcafb84f59295736bc42f6d2353868), [`2d89b06`](https://github.com/TanStack/ai/commit/2d89b062d92a3eef44406c015bf6d0ff2b47e6a4), [`a7501eb`](https://github.com/TanStack/ai/commit/a7501eb0a2223b079076bd106c257803742b0e6c), [`1c55fd5`](https://github.com/TanStack/ai/commit/1c55fd51d2fcafb84f59295736bc42f6d2353868)]:
- @tanstack/ai@1.12.0
- @tanstack/ai-harness@0.7.0
- @tanstack/ai-sandbox@1.7.1

## 1.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-acp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-acp",
"version": "1.1.1",
"version": "1.2.0",
"description": "Shared Agent Client Protocol (ACP) transport, session, and AG-UI translation for TanStack AI harness adapters.",
"author": "",
"license": "MIT",
Expand Down
12 changes: 12 additions & 0 deletions packages/ai-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @tanstack/ai-angular

## 1.5.0

### Minor Changes

- [#2258](https://github.com/TanStack/ai/pull/2258) [`518dee9`](https://github.com/TanStack/ai/commit/518dee986e84e1869008c67f9e4841832777c062) - Export `StreamHttpError` from `@tanstack/ai-client` and re-export it from the framework packages. The fetch and XHR chat transports throw this class when the response status is not 2xx. It has `status`, and `retryAfterMs` when the response has a valid `Retry-After` header. Import it to check the status with `instanceof` in `onError` instead of parsing the error message.

### Patch Changes

- Updated dependencies [[`afed460`](https://github.com/TanStack/ai/commit/afed460573b0e9a2d3672bbe777ed5ec6c28b6fc), [`afed460`](https://github.com/TanStack/ai/commit/afed460573b0e9a2d3672bbe777ed5ec6c28b6fc), [`518dee9`](https://github.com/TanStack/ai/commit/518dee986e84e1869008c67f9e4841832777c062), [`a88ee8d`](https://github.com/TanStack/ai/commit/a88ee8d963aa3693064282b2d7e19640472b484c), [`7ba3926`](https://github.com/TanStack/ai/commit/7ba3926652519bc0e1ea74e660ef7d0a0d6a37a6), [`1c55fd5`](https://github.com/TanStack/ai/commit/1c55fd51d2fcafb84f59295736bc42f6d2353868), [`2d89b06`](https://github.com/TanStack/ai/commit/2d89b062d92a3eef44406c015bf6d0ff2b47e6a4), [`a7501eb`](https://github.com/TanStack/ai/commit/a7501eb0a2223b079076bd106c257803742b0e6c), [`1c55fd5`](https://github.com/TanStack/ai/commit/1c55fd51d2fcafb84f59295736bc42f6d2353868)]:
- @tanstack/ai@1.12.0
- @tanstack/ai-client@1.5.0

## 1.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-angular",
"version": "1.4.0",
"version": "1.5.0",
"description": "Angular signals integration for TanStack AI streaming chat, structured outputs, and media generation.",
"author": "",
"license": "MIT",
Expand Down
Loading