n8n/packages/@n8n
Mutasem Aldmour a8fb02b46f
fix(editor): Make Browser Use work end to end in the agent chat preview (no-changelog)
Running an agent against a real model surfaced two failures that unit tests
and typechecking could not.

Anthropic rejected the whole request with "tools.19.custom.input_schema.type:
Field required". Three browser tools (browser_scroll, browser_cookies,
browser_storage) are discriminated unions, which convert to a top-level
anyOf; providers require an object at the root and refuse anyOf/oneOf/allOf
there. Because the rejection is per-request rather than per-tool, one such
schema took the entire agent down. They are now flattened into a single
object - union of every branch's properties, requiring only what all branches
share, with the discriminator collapsed into an enum so no mode is hidden
from the model. The real zod schema still validates inside callTool, so a bad
combination returns a correctable error instead of breaking the conversation.
A tool whose schema cannot be expressed is dropped with a warning rather than
poisoning every request.

The suspension then reached the frontend but rendered nothing: the chat only
built interactive cards for approval-shaped payloads and chat_action, so the
run sat suspended with no way to resume. Adds a third interactive variant for
the connect card. The approval card was not reusable - it is hard-coded to
"Approval required" with Approve/Deny, which is the wrong question here.

One suspend payload now serves both surfaces: `components` is what a channel
turns into Block Kit, `type` and `setupUrl` are what the in-app chat matches
on. Neither minds the other's fields.

Verified in the preview against Claude Sonnet 4.5: the agent calls
browser_tab_open, the card renders with a working setup link, and clicking
"I've connected" resumes the run - which then reports no browser and explains
it instead of looping.
2026-08-12 12:56:32 +02:00
..
agents feat(core): Add n8n Sandbox support to Agent Knowledge (#35811) 2026-08-11 11:18:19 +00:00
ai-node-sdk 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
ai-utilities fix(core): Surface model discovery authentication failures to users (#35979) 2026-08-11 09:19:10 +00:00
ai-workflow-builder.ee 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
api-types fix(editor): Make Browser Use work end to end in the agent chat preview (no-changelog) 2026-08-12 12:56:32 +02:00
backend-common feat: Hide n8n-connect usage when aiGatewayCloudUbb is enabled (#35978) 2026-08-11 10:13:43 +00:00
backend-network fix(core): Handle dropped AI provider connections as transient (#35587) 2026-08-11 07:55:34 +00:00
backend-test-utils 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
benchmark 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
blob-storage 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
chat-hub 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
cli 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
client-oauth2 fix(core): Apply TLS options per hop when requests go through a proxy (#35518) 2026-08-11 07:55:13 +00:00
codemirror-lang 🚀 Release 2.31.0 (#34117) 2026-07-14 07:18:45 +00:00
codemirror-lang-html 🚀 Release 2.31.0 (#34117) 2026-07-14 07:18:45 +00:00
codemirror-lang-sql 🚀 Release 2.31.0 (#34117) 2026-07-14 07:18:45 +00:00
computer-use 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
config feat(core): Commit a poll trigger's cursor and its execution in one transaction (no-changelog) (#35295) 2026-08-11 17:59:29 +00:00
constants feat: Hide n8n-connect usage when aiGatewayCloudUbb is enabled (#35978) 2026-08-11 10:13:43 +00:00
crdt 🚀 Release 2.32.0 (#34600) 2026-07-21 07:14:52 +00:00
create-node 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
db feat(core): Commit a poll trigger's cursor and its execution in one transaction (no-changelog) (#35295) 2026-08-11 17:59:29 +00:00
decorators 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
di 🚀 Release 2.32.0 (#34600) 2026-07-21 07:14:52 +00:00
engine test(core): Add engine M1 acceptance test suite (#35838) 2026-08-11 11:21:18 +00:00
errors 🚀 Release 2.32.0 (#34600) 2026-07-21 07:14:52 +00:00
eslint-config chore: Bundle/2.x (#35563) 2026-08-05 08:29:40 +03:00
eslint-plugin-community-nodes 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
expression-runtime 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
extension-sdk 🚀 Release 2.34.0 (#35487) 2026-08-04 07:14:55 +00:00
frontend-vite-config build(editor): Add the @n8n/frontend-vite-config package (no-changelog) (#36043) 2026-08-12 03:25:05 +00:00
imap 🚀 Release 2.32.0 (#34600) 2026-07-21 07:14:52 +00:00
instance-ai test(core): Drive external workflow edits from the user proxy (#35736) 2026-08-12 08:42:20 +00:00
json-schema-to-zod 🚀 Release 2.32.0 (#34600) 2026-07-21 07:14:52 +00:00
local-gateway chore: More Typescript 7 migrations (#34228) 2026-07-16 07:44:11 +00:00
mcp-apps 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
mcp-browser 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
mcp-browser-extension chore: Bump Browser Use Chrome extension to 0.0.5 (#36060) 2026-08-11 15:06:26 +00:00
node-cli 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
node-engine-compatibility test(core): Add engine M1 acceptance test suite (#35838) 2026-08-11 11:21:18 +00:00
nodes-langchain feat(lmChatOpenRouter Node): Add provider routing options (#24822) 2026-08-11 12:05:55 +00:00
permissions feat(API): Add endpoint to list all roles (#35609) 2026-08-11 09:10:36 +00:00
scan-community-package 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
scheduler 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
stylelint-config chore: Migrate the rest of packages/@n8n to typescript 7 (#34332) 2026-07-17 10:45:58 +03:00
syslog-client 🚀 Release 2.34.0 (#35487) 2026-08-04 07:14:55 +00:00
task-runner 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
task-runner-python refactor: Assign task runner IDs from n8n (#35494) 2026-08-10 11:20:37 +00:00
telemetry 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
tournament 🚀 Release 2.33.0 (#35054) 2026-07-28 07:15:34 +00:00
typeorm 🚀 Release 2.33.0 (#35054) 2026-07-28 07:15:34 +00:00
typescript-config build(editor): Add the frontend module workspace layout and shared tsconfig base (no-changelog) (#35957) 2026-08-11 08:19:26 +00:00
utils fix: Handle exponential-notation numbers in smartDecimal (#35967) 2026-08-11 11:01:16 +00:00
vitest-config 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00
workflow-sdk 🚀 Release 2.35.0 (#36006) 2026-08-11 07:16:06 +00:00