Install

Works with Drupal: ^11.1

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 1.21 MB
MD5: 49c696f67fff1b125d6ae8d54dcccfcf
SHA-1: d20a6e329935c13a45780b7c91f33bd1f89844cf
SHA-256: 3a912139560805f8c0581ed15dcdbac448702642b1a607a2c9154b2365f9e2bf
Download zip 1.29 MB
MD5: b0f283835f9845381c9c889c09d1b80d
SHA-1: e7d2b63cd606962fffabb564dc752b83c72e6d1d
SHA-256: 8cf5e47b60cd1f8d899d9bd857a046c1cea533106438224d4be61a09a95d3bb7

Release notes

1.0.0-alpha10 (2026-10-25)

Sutram 0.9.0 (lib/sutram is its build from npm). Agents are sent to the
page's tools first, and an approval dialog asks the user about their
consequential commands.

Added

  • README: Your own agent prompt, how a module ships its own prompt with
    Sutram.defineAgentPrompt().

Changed

  • The agent prompt sends agents to the page's WebMCP tools or
    Sutram.exec() first, the console otherwise, and lists the page's
    commands, so agents skip help before their first change.
  • An agent's consequential commands are asked about in an approval dialog,
    not in the console. No caller can answer for the user: Sutram's
    confirmed option is gone. For a batch, the dialog includes each
    consequential command's own question, such as the changes a form submit
    sends. The console shows each command an agent runs and its result.
  • The drop-down console no longer holds the focus: the page stays usable
    while it is open, and Tab moves on into it.
  • form list also lists the fields when the page has one form, and
    form status (and so status) shows that form's unsaved changes,
    missing fields and errors.
  • --json=<fields> also picks fields from the rows of a list, such as
    form fields <form> --json=field,value.

Fixed

  • Canvas: when a line in a batch fails, the batch also puts back the page
    fields that canvas page set changed, such as the title and the URL
    alias. Before, it undid the layout and said nothing changed, but the
    new title stayed in the editor and the auto-save. Found in an
    evaluation of the demo.
  • Canvas: canvas add works on http:// pages too. It needed
    crypto.randomUUID(), which browsers offer only on secure pages.
Created by: d34dman
Created on: 25 Oct 2026 at 04:32 UTC
Last updated: 25 Oct 2026 at 04:32 UTC
Bug fixes
New features

Other releases