=== PressConduit ===
Contributors: pcdesigns
Tags: mcp, ai, divi, bricks, wordpress, claude, chatgpt
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 0.22.3
License: GPLv2 or later

The conduit between AI assistants and your WordPress site.

== Description ==

PressConduit connects MCP-compatible AI assistants to a WordPress site that
uses Divi or Bricks Builder. It includes relay pairing, bearer-token auth, tool
registry, audit log, snapshots, live reload, updates, WordPress tools, media
tools, file tools, admin tools, and WooCommerce tools.

PressConduit detects the active builder and exposes only that builder's tool
surface:

* Divi sites get the Divi-native tool surface from Divi Conduit.
* `bricks_status` — detect Bricks and report available Bricks capabilities.
* `bricks_docs` — curated Bricks Builder documentation with optional relay
  read mode for allowlisted Bricks docs URLs.

Future builder-native write tools should stay builder-specific and should use the
official builder documentation before mutating builder data.

== Not affiliated with Divi or Bricks ==

Divi and Bricks are trademarks of their respective owners. PressConduit is an
independent product by PC Designs.

== Changelog ==

= 0.22.3 =
* Divi 5 tools now recognize third-party/custom modules, not just core `divi/` blocks. The module catalog, schema, build, and block-format detection match any block registered under a Divi module category (module, structure, fullwidth-module, child-module) and treat vendor-namespaced names (e.g. `pcd/…`, `pac/…`) as real Divi 5 modules. Bare names still get the `divi/` namespace; already-namespaced names are used as registered.

= 0.22.2 =
* Fixed: pages created/written on Divi 5 sites now have the Divi Builder enabled automatically. Previously the Divi 5 `set_post_layout` path stored the layout but left the builder toggle off, so the page showed "Use The Divi Builder" and the Visual Builder opened empty. Builder-enable (`_et_pb_use_builder` + `_et_pb_built_for_post_type` + Divi's own enable routine) is now applied on every create/layout/enable path via a single shared helper.

= 0.22.1 =
* Fixed: the "My Plugins" menu no longer lists retired Divi Conduit / Bricks Conduit as permanent "(Not installed)" entries. PressConduit now registers only itself in the shared PC Designs menu; sibling products appear only when actually installed.

= 0.22.0 =
* wp_site_info now reports the active page builder (`builder`: divi | bricks | none) and its version, so connected AI clients know up front which builder a site runs and which tools/docs apply.

= 0.21.0 =
* Bricks: added the element schema + build tool surface — bricks_element_catalog and bricks_schema (read live from the Bricks element registry), bricks_page_read and bricks_page_write (read/write the element array in postmeta with id/parent/children normalization, snapshot-backed undo, and editor-mode handling), bricks_template_list, bricks_template_create, and bricks_globals_read (theme styles, global classes, components, variables, color palette, breakpoints).
* Bricks docs catalog rebuilt against validated Academy URLs with relay read mode.

= 0.20.5 =
* Initial PressConduit scaffold.
* Combined the Divi and Bricks Conduit tool surfaces under one plugin identity.
* PressConduit detects the active builder and only exposes Divi or Bricks tools.
