Skip to content

feat(browser): deprecate createBrowserTools, createBrowserRuntime and Quick Actions - #2666

Merged
ben-reitz merged 3 commits into
mainfrom
browser-tool/deprecate
Oct 26, 2026
Merged

ben-reitz merged 3 commits into
mainfrom
browser-tool/deprecate

Conversation

@ben-reitz

@ben-reitz ben-reitz commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Points users at browserTool (from agents/browser/ai-sdk, tanstack-ai or pi). JSDoc, docs and a changeset only; no behaviour change.

 agents/browser/ai
+  /** @deprecated use browserTool */ createBrowserTools, createBrowserRuntime
+  /** @deprecated */ createQuickActionTools
 agents/browser/tanstack-ai
+  /** @deprecated use browserTool */ createBrowserTools
 agents/browser
+  /** @deprecated use browserTool */ BrowserConnector
+  /** @deprecated */ Quick Action helpers (runQuickAction, browserMarkdown, …)

Pausing a run while a person works in Live View has no browserTool replacement yet, so the docs say to keep using createBrowserTools for that.

Ported from #2610 by @mattzcarey (co-authored); this stack supersedes it.

@changeset-bot

changeset-bot Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5e7f551

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
agents Patch
@cloudflare/agent-think Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ben-reitz
ben-reitz added this pull request to stack #2675 October 22, 2026 15:10
@agent-think

agent-think Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

✅ agents import sizes: no significant changes (321814b6 → 5e7f5515, workflow run)

@pkg-pr-new

pkg-pr-new Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@2666

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@2666

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@2666

hono-agents

npm i https://pkg.pr.new/hono-agents@2666

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@2666

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@2666

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@2666

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@2666

commit: 5e7f551

@ben-reitz
ben-reitz force-pushed the browser-tool/deprecate branch from 594ef72 to 8a8ea74 Compare October 22, 2026 15:40
@ben-reitz
ben-reitz marked this pull request as ready for review October 22, 2026 15:42
devin-ai-integration[bot]

This comment was marked as resolved.

@ben-reitz
ben-reitz force-pushed the browser-tool/deprecate branch 4 times, most recently from b45bb02 to cd9674e Compare October 23, 2026 13:26
ben-reitz and others added 3 commits October 26, 2026 10:51
… Quick Actions

Point users at browserTool from agents/browser/ai-sdk, tanstack-ai or pi.
The Quick Action helpers keep working but won't change. Pausing a run
while a person works in Live View has no replacement yet, so the docs say
to keep using createBrowserTools for that.

Ported from #2610.

Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant