Install
Works with Drupal: ^11.3Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
An alpha of a minor. Until now an agent could describe a
workflow to you; from this release it can finish one. On any editor
page an agent — the editor's own AI Assistant, or a browser-resident agent
speaking WebMCP — can look up node types, build the flow in one batch you
approve, save it, run it and read the result. Nothing changes on the canvas
until the person at the keyboard clicks Apply, and save and
run always ask. The site decides which of these surfaces exist at
all: the WebMCP tools, the Command Console and the AI Assistant each have a
switch.
Why an alpha: the browser side is early. The WebMCP API the editor tools
target is an origin trial that has moved once already (Chrome and Edge, behind
the enable-webmcp-testing flag), and the AI Assistant's tool
turns have had one week of live use. The PHP API is additive only, with no
@api removals, and the full test suite is green, so the release
is safe to install; the tool surface may still change before 2.6.0.
What is new
- The AI Assistant calls the editor's tools. With
flowdrop_chatinstalled, a message in the assistant panel is
a tool-calling turn: the model receives the editor's tool catalogue and
may search and describe node types, build the flow, save, run and read
the run's status over a bounded number of rounds (default 8). Every tool
runs in the browser through the same runtime and confirm dialog a WebMCP
agent uses, so a rolled-back batch is reported as not done, and the reply
leads with any failure. A large catalogue is indexed rather than
described in full, which cut one 102-type site's system prompt by 83 %.
Server-side tools are an@apiextension point (see below)
(#3592451). - The editor exposes its commands as WebMCP tools. Where
the browser has the API,flowdrop_describe_type,
flowdrop_search_types,flowdrop_add_node,
flowdrop_connect,flowdrop_set_config,
flowdrop_batch,flowdrop_save,
flowdrop_run,flowdrop_run_statusand the rest
of the command layer are registered on every editor page. Reads run at
once; changes open the confirm dialog; a paused run is reported with the
node and message it waits on, and a person answers the interrupt, never a
tool. A no-op in a browser without the API
(#3592450). - Site switches. Under Browser agents (WebMCP)
and Editor surfaces at/admin/flowdrop/config/ui-settings
you can turn off the WebMCP tools, the Command Console and the AI
Assistant site-wide. A second WebMCP checkbox, off by default, loads a
desktop bridge widget that relays the tools to a localhost MCP server for
developers driving the editor from Claude Code, Claude Desktop or Cursor;
leave it off on sites whose editors are not developers. The AI Assistant
tab is also hidden whereverflowdrop_chatis not installed.
The Settings modal no longer offers Sync to Cloud, which had no
service behind it. - Shipped node types an upgraded site lacked appear.
Config shipped inconfig/installis imported on module
install only, so node types added by later releases never reached a site
updated in place. One post-update now installs every missing shipped type
in one pass. On a long-lived site expect new entries in the node type
list; a site that carries one of them under a legacy id keeps that type
and gains the shipped id alongside it, and existing workflows keep running
unchanged. - Payloads tell an agent what it may do. Node types carry
their confirmation policy; workflows carryrevisionand
can(save, run). APUTthat sends a stale
revisionis refused with 409 and
error_code: CONFLICT; a request without one behaves as
before, so no existing client breaks.
What is fixed
- Switching the UI theme works on every editor page. The
bare page wrapper leaked a literal<head-placeholder>
tag into the body, which ended the head early and parsed every
stylesheet after the library's own skin, so a theme change altered only
the grid (#3592452). - A tool-heavy chat turn cannot wedge a conversation.
Stored tool results are cut to 64 KiB and the saved transcript to 768 KiB,
so a long turn never trips the memory backend's 1 MiB value cap and fails
every continuation with a 500 until the turn expired. - An argument-less tool call reaches the editor as
{}rather
than[], which its validator had refused round after round;
an unknown storedprocessing_modevalue is normalised to the
mode it already behaved as; the agent prompt template validates its
placeholder like the system prompt template always has.
Upgrading
- Update the module as usual. Drupal ^11.3, PHP 8.3 or later.
- Run
drush updatedb. Two schema updates stamp the new
flowdrop_ui_componentsswitches with the values your site
behaved as (WebMCP tools on, console and assistant on); four post-updates
install the missing shipped node types and stamp the chat settings. - Run
drush cr, then export configuration if you track it. - If your chat runs a processing workflow
(processing_mode: workflow), the post-update keeps the text
mode (chat_mode: dsl) so that workflow keeps answering. Switch
to Tools under Assistant mode at
/admin/flowdrop/config/chatwhen you no longer need it. Every
other site gets the tool-calling turn. - Decide the switches. The WebMCP tools are on by default and do nothing
in a browser without the API; turn them off under Browser agents
if you would rather not expose them yet. - No permission changes, and no workflow needs to be re-drawn.
For developers
- New
@apiinterfaceServerToolInterface
(flowdrop_chat): tag a serviceflowdrop_chat.server_tool
and it runs inside the assistant's turn for the current user, with no
browser round-trip. The registry ships empty. - New route
POST /api/flowdrop/workflows/{id}/chat/turns/{turnId}/tool-results,
guarded by use flowdrop_chat and the CSRF header like the other
chat routes. The three existing chat routes are unchanged. - The bundled
@flowdrop/flowdropis 2.8.0 (from 2.6.0). The
editor mounts it with the newhost(run hooks) and
features(console, assistant) options; sites that mount the
library themselves want the same version. GET /api/flowdrop/nodesrows may carryconfirmation
andcan; workflow payloads carryrevisionand
can. All optional keys, emitted only when set.ChatServiceInterfaceandSystemPromptBuilderInterface
gained methods; both are@internal.
- CHANGELOG.md
— everything that changed in 2.6.0-alpha1. - UPGRADE.md
— the 2.5.1 to 2.6.0-alpha1 section.
This is a pre-release: try it on a development site first. Questions and
bug reports are welcome in the
issue queue.