Skip to content

Site Agent 0.3.0

Choose a tag to compare

@wpgaurav wpgaurav released this 06 Oct 15:47
· 26 commits to main since this release
f0d846d

Serves Bricks Builder's own abilities on Site Agent's endpoint and makes the bundled builder skills work on real sites.

  • New Bricks tools group, off by default. On Bricks 2.4 and later with AI/MCP enabled, Site Agent serves Bricks' fast-path abilities under their own tool names plus bricks-start-here, and site-agent-bricks-abilities and site-agent-run-bricks-ability cover the rest with the same ability_name and parameters Bricks' guidance uses. Per-password limits and the audit history apply; Bricks' switches, permissions and schemas stay in charge, and its PHP ability also needs Site Agent's PHP execution group.
  • Bundled builder skills for Gutenberg, GenerateBlocks, Elementor, Bricks and Divi, read with list-skills and get-skill. site-context lists active builders and get-content reports the builder that stores a post's layout. Content writes refuse Elementor, Bricks and Divi layout meta.
  • get-content returns the staged autosave text with autosave_content and flags whether it is newer, so edits to live posts can be verified and chained. Templates and template parts are edited with an explicit status instead of failing as autosaves.
  • Bricks layouts without an editor mode, GenerateBlocks Pro blocks and GenerateBlocks global styles and conditions are detected. Bricks, Elementor and Divi recipes read outlines or chunks and send element-level patches, so large layouts fit the 64 KiB PHP limits.

Validation: 72 WordPress integration tests / 519 assertions on WordPress 6.9 with PHP 8.3 and 8.5 and on the CI matrix (PHP 8.0, 8.3, 8.5), plus a run on WordPress 7.1.2 with Bricks 2.4.2 and Elementor 4.3.4 active; coding standards, runtime, skill and translation freshness; the HTTP MCP smoke test with and without Bricks; every new builder recipe run over MCP; read-only MCP runs on gauravtiwari.org and anantamias.com.

The companion archive is separate from the installable WordPress ZIP. Site Agent does not implement OAuth.