Skip to content

SiteHelm 0.14.0

Choose a tag to compare

@Mrshahidali420 Mrshahidali420 released this 07 Sep 05:36
· 16 commits to main since this release
20fc275

An agent can now find an operation from a plain description of what it wants to do, and every route that put a file into the media library works again.

An agent can find the operation it needs

A client reads the eleven dispatcher names when it connects and, unless it opens a catalogue, never learns anything more. So an operation could be present, switched on and permitted and still be reported to you as missing, because nothing in the words "install a plugin from a zip" points at a dispatcher called content-write. system-operation-find takes the words and answers with the operations that match, wherever they live, each with a runnable example call. It names the ones the add-on carries as well as the ones this site has, so "the add-on does that" is a possible answer instead of silence.

The whole surface can also be saved as one document. system-catalog-export returns every operation this site publishes as Markdown or JSON, grouped by subject, with the risk and rollback flags a choice turns on. It carries a version stamp that changes only when the surface does, so a saved copy can tell it is stale without re-exporting. The same document is published as an MCP resource, sitehelm://catalog — reconnect your client after updating or that resource stays invisible to the session, the operation works either way.

Naming an operation this site does not have now points at the ones it does, and each dispatcher lists its operations in the tool list rather than leaving them to be discovered.

Uploading a file works again

Every route that put a file into the media library failed. The array describing the file was handed to WordPress as a literal, WordPress takes that argument by reference, and PHP 8 answers that with a fatal rather than an error the plugin knows how to describe. media-upload, media-import, media-svg-upload and the upload ticket were all affected. On the ticket route the fatal escaped altogether: you got WordPress's own critical-error page, the ticket was already spent, and the activity row stayed open at Started for good. That route now answers anything that goes wrong inside it with a readable refusal and closes its row either way.

Also in this release

A menu item can be removed. A read of a page shows the custom fields that are actually on it, not only the ones SiteHelm may write. A mistyped id reads as a missing target instead of a permissions problem. retryable no longer says retry on errors that can never succeed. And Check again on the Updates screen now finds a new version instead of answering from a stale note for another half a day.

Install: download sitehelm-0.14.0.zip below and upload it in Plugins → Add New → Upload Plugin. Sites already running SiteHelm can update in place from the Updates screen.