Install

Works with Drupal: ^11.3

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 8.77 MB
MD5: 2b163f0682838f994b0fea42f3418b92
SHA-1: c407cc3c878b16c6b7199e5b299926ef344bfda4
SHA-256: 94cf4484b3e0d12ccf2f1cc2b928dd057bcc39d314b738affad82853e50dffde
Download zip 10.22 MB
MD5: c5981f5e55b32f2d98073f3f566cb4f4
SHA-1: 800d7ebf8217609a23facc30c2f069e38b4a30e1
SHA-256: fd68f00750048990bcff2355a52026e36352822332ad08cfcd158a17ebb1a0b2

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_chat installed, 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 @api extension 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_status and 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 wherever flowdrop_chat is 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 in config/install is 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 carry revision and
    can (save, run). A PUT that sends a stale
    revision is 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 stored processing_mode value is normalised to the
    mode it already behaved as; the agent prompt template validates its
    placeholder like the system prompt template always has.

Upgrading

  1. Update the module as usual. Drupal ^11.3, PHP 8.3 or later.
  2. Run drush updatedb. Two schema updates stamp the new
    flowdrop_ui_components switches 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.
  3. Run drush cr, then export configuration if you track it.
  4. 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/chat when you no longer need it. Every
    other site gets the tool-calling turn.
  5. 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.
  6. No permission changes, and no workflow needs to be re-drawn.

For developers

  • New @api interface ServerToolInterface
    (flowdrop_chat): tag a service flowdrop_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/flowdrop is 2.8.0 (from 2.6.0). The
    editor mounts it with the new host (run hooks) and
    features (console, assistant) options; sites that mount the
    library themselves want the same version.
  • GET /api/flowdrop/nodes rows may carry confirmation
    and can; workflow payloads carry revision and
    can. All optional keys, emitted only when set.
  • ChatServiceInterface and SystemPromptBuilderInterface
    gained methods; both are @internal.

This is a pre-release: try it on a development site first. Questions and
bug reports are welcome in the
issue queue.

Created by: d34dman
Created on: 10 Sep 2026 at 21:28 UTC
Last updated: 10 Sep 2026 at 21:30 UTC
Bug fixes
New features

Other releases