Skip to content
Merged
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
45 changes: 0 additions & 45 deletions .changeset/ai-computer-use.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/anthropic-computer-toolset.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/anthropic-computer-use-beta.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/daytona-spawn-unhandled-rejection.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/openai-computer-call-loop.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/openai-computer-tool.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sandbox-skill-computer-use.md

This file was deleted.

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.40

### Patch Changes

- Updated dependencies []:
- @tanstack/ai-client@0.40.1
- @tanstack/ai-react@0.31.1

## 0.0.39

### 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.39",
"version": "0.0.40",
"scripts": {
"detect-servers": "node scripts/detect-servers.mjs",
"predev": "node scripts/detect-servers.mjs",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-acp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-acp

## 0.3.27

### Patch Changes

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325), [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0
- @tanstack/ai-sandbox@0.5.25

## 0.3.26

### 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": "0.3.26",
"version": "0.3.27",
"description": "Shared Agent Client Protocol (ACP) transport, session, and AG-UI translation for TanStack AI harness adapters.",
"author": "",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-angular

## 0.14.1

### Patch Changes

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0
- @tanstack/ai-client@0.40.1

## 0.14.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": "0.14.0",
"version": "0.14.1",
"description": "Angular signals integration for TanStack AI streaming chat, structured outputs, and media generation.",
"author": "",
"license": "MIT",
Expand Down
50 changes: 50 additions & 0 deletions packages/ai-anthropic/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# @tanstack/ai-anthropic

## 0.23.0

### Minor Changes

- [#1837](https://github.com/TanStack/ai/pull/1837) [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325) - Add computer use that runs the same code on OpenAI and on Anthropic. A driver controls the machine. The Playwright and sandbox drivers give each thread its own machine.

New packages:
- `@tanstack/ai-computer-use` adds `createComputerUse()`. It returns `tools`, a middleware, a safety-check interrupt, and `close`. Each `threadId` gets its own machine, action queue, and approvals. A thread that stays idle for `idleTimeout` (10 minutes by default) closes.
- `@tanstack/ai-computer-playwright` adds `playwrightComputer()`, which opens one browser page for each thread. `createPlaywrightComputerDriver()` controls one page that you give it. Both add a `navigate` tool that opens `http:` and `https:` URLs.
- `@tanstack/ai-computer-sandbox` adds `sandboxComputer()`, which creates one Linux desktop sandbox for each thread from any `@tanstack/ai-sandbox` provider, like `e2bSandbox({ template: 'desktop' })`. `createSandboxComputerDriver()` controls one sandbox that you give it.
- `@tanstack/ai-computer-local` adds `localComputer()`, which lets the model use the mouse, keyboard, and main screen of the machine that runs `chat()`. It works on Windows, macOS, and Linux with `@jitsi/robotjs`.

Changes in existing packages:
- `@tanstack/ai` adds `threadId` to `ToolExecutionContext`. It also adds the computer tool metadata reader in `@tanstack/ai/adapter-internals`.
- `@tanstack/ai-anthropic` and `@tanstack/openai-base` send the generic computer tool to the model as the native computer tool of the provider.
- `@tanstack/ai-openai` marks the models that support the `computer` tool.

```ts
const computerUse = createComputerUse({
driver: playwrightComputer({ startUrl: 'https://tanstack.com' }),
})

chat({
adapter,
messages,
threadId,
tools: computerUse.tools,
middleware: [computerUse.middleware],
interrupts: [computerUse.interrupt],
})

await computerUse.close(threadId) // one thread
await computerUse.close() // every thread, and the browser
```

The `ai-core` agent skill routes computer use to `@tanstack/ai-computer-use` and its three drivers.

- [#1837](https://github.com/TanStack/ai/pull/1837) [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325) - Run computer use on every Claude model that supports it.
- `computerUseTool()` takes `computer_toolset_20260801`, the only computer use version of Claude Opus 5.5, Sonnet 5.5, and Haiku 5.5. The model calls each action as its own tool. The adapter runs each call as one `computer` call with the action in `input.action`, and sends it back to Claude in the form that Claude sent. So one `execute` works for every version.
- `computerUseTool()` takes `computer_20251124`, with its `computer-use-2025-11-24` beta header.
- Each model now takes only the computer use versions that it supports. For example, `computer_20250124` on `claude-opus-4-6` is a type error, because Anthropic rejects that pair.
- `@anthropic-ai/sdk` is now `^0.135.0`.

### Patch Changes

- [#1837](https://github.com/TanStack/ai/pull/1837) [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325) - Send the `anthropic-beta` header that `computerUseTool()` needs: `computer-use-2025-01-24` for `computer_20250124`, and `computer-use-2024-10-22` for `computer_20241022`. Before, a request with the tool had no computer use beta, so Anthropic rejected it.

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0

## 0.22.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-anthropic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-anthropic",
"version": "0.22.1",
"version": "0.23.0",
"description": "Anthropic Claude adapter for TanStack AI chat, tool calling, thinking, and structured outputs.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-bedrock/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-bedrock

## 0.6.2

### Patch Changes

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325), [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325), [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0
- @tanstack/openai-base@0.16.0

## 0.6.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-bedrock/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-bedrock",
"version": "0.6.1",
"version": "0.6.2",
"type": "module",
"description": "Amazon Bedrock adapter for TanStack AI — OpenAI-compatible chat, responses, tools, and reasoning.",
"author": "",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-byteplus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-byteplus

## 0.7.2

### Patch Changes

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325), [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325), [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0
- @tanstack/openai-base@0.16.0

## 0.7.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-byteplus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-byteplus",
"version": "0.7.1",
"version": "0.7.2",
"description": "BytePlus ModelArk adapter for TanStack AI: Seed LLM chat, Seedance video, Seedream image, and Seed Speech TTS/ASR.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-claude-code/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-claude-code

## 0.9.2

### Patch Changes

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325), [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0
- @tanstack/ai-sandbox@0.5.25

## 0.9.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-claude-code/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-claude-code",
"version": "0.9.1",
"version": "0.9.2",
"description": "Claude Code harness adapter for TanStack AI — run Claude Code as a chat backend with local tool execution and stateful sessions.",
"author": "",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/ai-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-client

## 0.40.1

### Patch Changes

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0

## 0.40.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-client",
"version": "0.40.0",
"version": "0.40.1",
"description": "Framework-agnostic headless client for TanStack AI chat, realtime sessions, streaming transports, and media generations.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-cloudflare

## 0.3.2

### Patch Changes

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325), [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325), [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0
- @tanstack/openai-base@0.16.0

## 0.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-cloudflare",
"version": "0.3.1",
"version": "0.3.2",
"description": "Cloudflare adapter for TanStack AI — Workers AI chat, embeddings, images, speech, transcription, and summarization over the AI binding or REST, with AI Gateway routing for any provider.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-code-mode-snippets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-code-mode-snippets

## 0.4.27

### Patch Changes

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0
- @tanstack/ai-code-mode@0.5.5

## 0.4.26

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-code-mode-snippets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-code-mode-snippets",
"version": "0.4.26",
"version": "0.4.27",
"description": "Persistent runtime snippet library for TanStack AI Code Mode agents and sandboxed tool orchestration.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/ai-code-mode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tanstack/ai-code-mode

## 0.5.5

### Patch Changes

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0

## 0.5.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-code-mode/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-code-mode",
"version": "0.5.4",
"version": "0.5.5",
"description": "Secure TypeScript Code Mode for TanStack AI agents to execute sandboxed tool orchestration programs.",
"author": "Tanner Linsley",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/ai-codex/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tanstack/ai-codex

## 0.6.2

### Patch Changes

- Updated dependencies [[`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325), [`824ee98`](https://github.com/TanStack/ai/commit/824ee98060983dd2b5728f288cecefa6a1250325)]:
- @tanstack/ai@0.71.0
- @tanstack/ai-sandbox@0.5.25

## 0.6.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-codex/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/ai-codex",
"version": "0.6.1",
"version": "0.6.2",
"description": "Codex harness adapter for TanStack AI — run OpenAI Codex as a chat backend with local tool execution and stateful sessions.",
"author": "",
"license": "MIT",
Expand Down
Loading