=== GroundWP ===
Contributors:      imtiazrayhan
Tags:              ai, mcp, claude, chatgpt, patterns
Requires at least: 6.9
Tested up to:      7.1
Requires PHP:      8.2
Stable tag:        0.22.0
License:           GPLv2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Let AI build on your ground. Connect Claude or ChatGPT and build pages and posts from your own patterns, with approval, undo and an audit trail.

== Description ==

GroundWP turns your site into an MCP server that Claude and ChatGPT connect to. The AI builds pages from the block patterns your theme already ships, writes post prose with native blocks, and never publishes: every change lands in a draft, is snapshotted first, and is recorded in an audit log you can undo from.

**Built for people who are not developers.** Activate the plugin and a short setup guide opens: it checks your site in plain language, then you click **Open Claude** or **Open ChatGPT**, sign in with your WordPress account on your own site, and ask for a page.

**What the AI can do**

* Read your site's context: theme, design tokens, post types, available patterns.
* Fill your theme's patterns slot by slot, preview the result in the chat with your theme's styling, and insert it only after you click Insert.
* Create drafts, append or edit blocks, set titles, excerpts, slugs, featured images, categories and tags.
* Write an article as markdown; your site turns it into blocks itself, so headings, lists, tables and quotes arrive the way the editor saves them.
* Edit the text, images and settings of blocks already on a page, including blocks from your plugins.
* Search and upload media, and find openly licensed pictures on Openverse, saved to your library with their credit.
* Read a short note about your site that you write under Settings, before it writes anything.
* Set SEO titles and descriptions when Yoast SEO or Rank Math is installed.
* Build with the blocks of your companion plugins when they are installed: sliders, galleries, tables, FAQs, reader polls, notification bars, popups and documentation.

**What the AI cannot do**

* Publish. New content lands in drafts you publish from wp-admin; a published post is edited through a draft copy you approve there.
* Run code, touch files, change settings or install anything.
* Use tools you have switched off. Settings has one choice, Observe or Content, and a switch per tool for anyone who wants it.

**Safety built in**

* Every content change is saved first, with Undo on the Activity tab. Each change reads as a sentence about the page, and the steps of one AI conversation fold into a single row with an Undo for the whole run.
* History is kept for a year and undo snapshots for 90 days by default, both adjustable in Settings. A write that changes nothing shares the previous snapshot, and the audit log stays verifiable after old rows are pruned.
* Approvals on the Activity tab: new drafts wait there until you publish or discard them, and changes to live posts wait as draft copies with a summary of what changed.
* Hash-chained audit log of every change the AI makes, including writes that failed or were refused on a post.
* Sign-in with OAuth 2.1 from the site itself (no third-party service). Disconnect an app at any time.

**Works with the plugins you already use**

When Sliderberg, Galleryberg, Tableberg, Ultimate Blocks, OpinionCamp, ConvertForce, AssistCamp or WP Table Builder (all by the GroundWP team) is active, the AI can build with them: sliders and carousels, galleries with captions and a lightbox, comparison and pricing tables, FAQs, reviews, tabs and the rest of Ultimate Blocks, reader polls, notification bars, popups and slide-ins, and documentation organised into knowledgebases, categories and tags. GroundWP checks each plugin's installed version before offering its presets, so the AI never guesses a block's format. Polls and campaigns stay drafts until you approve them; documentation structure changes are live at once, and the Activity tab says so. Each plugin's tools have their own switches under Settings → Advanced.

**Source code and building**

The plugin ships its source. The React admin and the in-chat preview live in `src/`, with `webpack.config.js`, `webpack.apps.config.js` and `package.json` beside them; the compiled files are `build/` and `build-apps/`. To rebuild them, run `npm install && npm run build` in the plugin folder (Node 22.11 or newer). `build-apps/section-preview.js` bundles Preact (MIT; the version is in `package.json`) behind React's import names, because the in-chat preview runs inside Claude's or ChatGPT's sandboxed frame, where WordPress's own copy of React is not available. Nothing in it is loaded on the WordPress site; `build/admin.js` uses the React and the components WordPress ships.

PHP dependencies ship prefixed in `vendor-prefixed/`, produced from `composer.json` by `composer install` in the development checkout: Strauss (https://github.com/BrianHenryIE/strauss) copies each package's public release under the `GroundWP\Vendor` namespace, and a build script renames the WordPress MCP Adapter's hooks and constants to `groundwp_*` and applies one marked patch (`// GroundWP: lenient` in its HttpRequestHandler.php, which accepts any known MCP-Protocol-Version header). Every package's LICENSE file ships beside it (MIT, BSD-3-Clause and GPL-2.0-or-later). The release zip needs no Composer step; a checkout of the source does. `inc/Auth/OAuth/openssl.cnf` is a minimal OpenSSL configuration used only to generate the sign-in key on PHP builds that ship no default one (WordPress Playground, some Windows hosts).

**Requirements**

WordPress 6.9 or newer (the Abilities API), PHP 8.2 or newer with the openssl extension, and a block theme or a theme that registers block patterns. Claude and ChatGPT connect from their own servers, so the site must be reachable over HTTPS.

== Installation ==

1. Download the GroundWP zip from https://groundwp.com and install it under Plugins → Add Plugin → Upload Plugin. GroundWP is distributed from groundwp.com only; new versions then appear on the Plugins and Updates screens like any other update.
2. Activate it. GroundWP creates its tables and an OAuth signing key, and opens a short setup guide.
3. Follow the guide: it checks your site, then offers **Open Claude** and **Open ChatGPT** with what happens next for the app you use. You can also find both later under **GroundWP → Connections**.
4. Sign in when the app asks; you will see a consent screen on your own site. Back in GroundWP, the status turns green as soon as the app is connected.
5. Ask the AI for something: "Create a landing page for our spring workshop using the site's patterns."
6. Optional: the guide's **Create more** step lists the eight companion plugins from the GroundWP team; **Install & activate** fetches the one you pick from WordPress.org and activates it. Nothing is installed or activated without that click. Skip it to work with core blocks and your theme's patterns only.

If an app cannot connect, open the **Troubleshoot** tab. It tests the site the way Claude and ChatGPT reach it and says, in plain words, what to fix; the technical details, the requests that reached the site and a support report are one click away. When your host's firewall is the problem it writes the message to send them.

Some hosts do not pass the `/.well-known/` addresses at the top of the domain to WordPress, which is where AI apps look for a site's sign-in settings. When the site check finds that, GroundWP serves the same settings under its own address and points apps there; Claude and ChatGPT both follow. On hosts known to filter AI apps, the Connect screen says so before you try and gives you the message to send their support.

== Frequently Asked Questions ==

= Does anything leave my site? =

Only what your AI client sends and receives. GroundWP has no server of its own: the MCP endpoint, the OAuth server and the approval screens all run on your WordPress site. Whatever the AI reads or writes through the connection (site context, patterns, draft content and the media you ask it to use) travels to the app's servers: Claude is run by Anthropic (https://claude.ai, terms https://www.anthropic.com/legal/consumer-terms, privacy https://www.anthropic.com/legal/privacy) and ChatGPT by OpenAI (https://chatgpt.com, terms https://openai.com/policies/terms-of-use, privacy https://openai.com/policies/privacy-policy). The Open Claude and Open ChatGPT buttons open the app's own connector page with this site's name and MCP address in the link; nothing else is sent until you sign in and approve the connection on your own site, and you can disconnect an app at any time from Connections. The "Open in Claude" and "Open in ChatGPT" links beside the example prompts open a new chat in that app with the sentence typed in and not yet sent; the sentence is part of the link, so it reaches the app when you click, and it can name your site or a post's title.

The plugin itself makes six kinds of request: it fetches an image from a web address you gave the AI; when the AI looks for a free image it sends the search words, and nothing else, to Openverse (https://openverse.org, run by the WordPress project, terms https://docs.openverse.org/terms_of_service.html, privacy https://wordpress.org/about/privacy/), which you can switch off under Settings; when you click Install in the setup guide it asks WordPress.org for the plugin's information and download; the Troubleshoot site check (and Site Health, when no recent check exists) sends test requests to your own site's address the way Claude and ChatGPT would; and it emails the account whose AI session left drafts waiting for review, about ten minutes after the first one, on by default and switched off under Settings; and when WordPress checks for plugin updates it asks groundwp.com which version is the newest, because GroundWP is distributed from there and not from the WordPress.org directory. That request names the GroundWP version you run and nothing about your site, not even its address, and groundwp.com keeps no record of it. One more request is your choice: after you activate GroundWP it asks, once, whether you want to share basic data with us through Freemius (https://freemius.com, the company that sells the paid add-on; terms https://freemius.com/terms/, privacy https://freemius.com/privacy/): your name and email address, your site's address and title, your WordPress and PHP versions, your site's language, the GroundWP version and whether it is active, and the names and versions of your plugins and themes. The screen lists all of it before you choose. Press Skip and nothing about you or your site is sent to Freemius, and GroundWP works the same; you can also opt out later on the Plugins screen. Nothing else is ever sent to the GroundWP team, and there is no analytics service of our own.

= Can the AI publish or delete content? =

No. It writes drafts, which wait under GroundWP → Activity for you to publish or discard. Edits to published posts go to a draft copy that you approve or reject there. Nothing is deleted; blocks removed from a post are kept in the snapshot you can restore.

= Can I approve without opening wp-admin? =

Yes, if you switch on "Let people approve from the chat" under Settings. The preview in Claude or ChatGPT then gets a Publish button, and the AI can give you a link to a page on your site that shows the change and publishes it once you are signed in. It is still you who approves: the AI cannot press the button or use the link. Activity says where each approval came from, and a published draft can be taken off the site again with Undo.

= What happens to the history if I delete the plugin? =

Nothing. GroundWP keeps its history, undo snapshots, connections and settings when the plugin is deleted, so a later reinstall picks up where it left off. To remove everything on deletion instead, turn on "Delete everything GroundWP stored when the plugin is deleted" under GroundWP → Settings first.

= Which apps work? =

Claude (claude.ai, the desktop and mobile apps; every plan, with one custom connector on the Free plan) and ChatGPT (chatgpt.com on a paid plan). The Connections tab walks you through each one, step by step.

= Does it work with my other plugins? =

Eight are supported, each verified against the installed version: Sliderberg, Galleryberg, Tableberg, Ultimate Blocks, OpinionCamp, ConvertForce, AssistCamp and WP Table Builder. The tools a plugin adds (reader polls, campaigns, documentation, tables) appear only while that plugin is active, each behind its own switch under Settings. Other plugins' blocks are not offered as presets; the AI works with core blocks and your theme's patterns alongside them. A companion release newer than the one GroundWP has verified shows "not verified yet" on the Create more step until the next GroundWP update; the verified versions are listed in the changelog.

= Does it work with classic themes or page builders? =

GroundWP works with the block editor. Classic themes work for posts; page sections come from block patterns, so a block theme (or a theme that registers patterns) gives the best results. Page builders are not supported.

= Who can connect an AI? =

Any user who can edit posts, and the AI acts with that user's permissions. An administrator chooses under Settings whether connected AIs may only read the site or also create and edit drafts.

= How do I undo something? =

GroundWP → Activity lists every change as a sentence about the page, with an Undo that puts the page back to how it was before.

== Screenshots ==

1. Overview: one line on what matters now, the figures, and the latest changes as sentences.
2. Connections: Open Claude or Open ChatGPT, what happens next, and a live connected status.
3. Activity: drafts waiting for your decision above the history, every change as a sentence with Undo.
4. Settings: one choice for what connected AIs may do, the media feature under it, per-tool switches behind a disclosure, and how long history is kept.
5. Troubleshoot: the verdict in plain language, technical details one click away.
6. Create more: the companion plugins GroundWP builds with, each with an example prompt to copy.
7. Set up: the guide that opens after activation checks your site in plain language before connecting your app.

== Changelog ==

= 0.22.0 =
* Nothing changes in the free plugin. The version moves with GroundWP Pro, which can now start an Elementor page from a saved template, use the shop's attributes on a product and add variations.

= 0.21.0 =
* Nothing changes in the free plugin. The version moves with GroundWP Pro, which gains Elementor templates and product attributes.

= 0.20.0 =
* Pages built with Elementor: the block tools now refuse them and say why. An Elementor page keeps its content outside the block editor, so until now a block written to one was saved where no visitor saw it. Title, excerpt, featured image, SEO fields and categories still change as before.
* get-post says which editor a page was built with ("blocks" or "elementor").
* A draft copy of an Elementor page carries the Elementor page with it. The preview of a waiting change shows the page as Elementor draws it, and approving or undoing leaves the stored page equal to the byte.
* preview-draft does not draw an Elementor page in the chat. It says so; the review screen in wp-admin shows it.

= 0.19.0 =
* Nothing changes in the free plugin. The version moves with GroundWP Pro, which gains form tools for Contact Form 7 and WPForms.

= 0.18.0 =
* Nothing changes in the free plugin. The version moves with GroundWP Pro, which gains redirects, web addresses and coupons.

= 0.17.0 =
* search-posts can list what is in the Trash (status "trash"). A plain search still leaves the Trash out.
* Undo in Activity can bring a post back from the Trash when the change that put it there recorded where it was. Until now a post in the Trash could not be undone from Activity.
* A proposed change that is not a setting (a category, say) is called a change to the site, not a site setting.

= 0.16.0 =
* A proposed change to the site reads as one in Activity: the waiting row no longer speaks of a live page or offers an editor, and a rejected proposal is recorded as "Discarded the proposed change", not as a discarded draft copy.
* Activity no longer shows "Open in editor" on a row that has nothing to open.

= 0.15.0 =
* Groundwork for changes to the site itself. An add-on can now let an app propose a change to a site setting. The proposal waits under Activity like a change to a page: you see what was and what would be, you approve or discard it, and you can undo it. Nothing in the free plugin proposes such a change by itself.
* A proposed change to the site is never approved from the chat. The approve button in the app is not offered for it, and the approval page says that the change is to your site, not to one page.
* Undo of a site change is refused when the setting was changed again by hand since. Your later change is not overwritten.
* Some settings can never be changed through GroundWP, whatever an add-on asks: the site address, the administrator's email, who may register and as what, plugins, the theme, permalinks and GroundWP's own settings.
* Page cache: after you approve a change, publish a draft or undo, GroundWP asks the caching plugin it finds to clear the page. A change to a menu, a header, a footer, a template, a pattern or a site setting clears the whole cache. Site Health names the caching plugin found.
* Settings: a third access level, Site, appears only while an add-on offers it. Without one, the choice stays Read only or Content.

= 0.14.0 =
* Fewer steps to a page: the AI can read several patterns in one call and place several sections in one call. If one section in the list cannot be placed, none is, and the AI is told which one.
* Layout without Custom HTML: when no pattern fits a section, the AI builds it from core blocks (group, columns, buttons, cover, spacer). It is given examples saved exactly as the block editor saves them, written with your theme's own colours and spacing.
* A Custom HTML block the AI adds is saved with a warning that asks it to rebuild the block from core blocks. The review screen lists it under "Worth a look", and checks its images for alt text. Custom HTML stays the place for embed code you give the AI.
* A second change to a live page no longer gets refused first: reading a live page that has a change waiting now returns the waiting copy, which is what the next change is made to.
* The section preview with its Insert button is offered only in apps that show such cards, and the AI is no longer told to stop for a click on every section. The finished draft is still shown whole.
* Clearer errors: unbalanced block markup names the block that is uneven, and a free image search that does not answer says that another query will not help.
* Fixed: a Cover block given a picture from the media library through a pattern was saved in a form the block editor could not validate. It now opens cleanly.
* The "Build a landing page" prompt uses the shorter route.
* Fixed: a caption added to an image or a table that had none was reported as done but not saved. The same held for a citation added to a quote. Clearing one now removes it cleanly, and a call that changes nothing says so.
* Fixed: a change to a block you saved in the block editor, such as alt text on an image, was sometimes refused. The check that protects your own embeds and scripts read the editor's way of writing an image as HTML that would be lost. It now looks at what would be removed, and refuses only then.
* Fixed: for a user WordPress filters (an author, any user on a multisite, or a site with unfiltered HTML switched off), the first change to a live page was refused as out of date, and the waiting copy could lose an embed you had placed. The copy is now the live page word for word. What the AI writes is filtered as before.
* Fixed: alt text with "&", "<" or ">" on a Cover block was saved with those characters as codes.
* Fixed: on the review screen, a long title, excerpt or SEO description was cut off at the right edge.
* The free image search waits up to 20 seconds for an answer, up from 8.
* Activity says "an Image block", not "a Image block".

= 0.13.0 =
* WP Table Builder: the AI can make a table, change one and place one in a post or page. Say "make a pricing table with three plans and put it on the Pricing page", or "in the comparison table, change the Pro price to $29 and add a row for phone support".
* Copy a table from a picture: share a screenshot of a table in Claude or ChatGPT and ask for the same one. The AI rebuilds it with rows, merged cells, colours, buttons, lists and star ratings, and tells you what it could not match.
* A table that is already in use changes only after you approve: the edit waits under Activity, and the review screen shows the table with the change beside the live one and names the rows and cells that differ. A table the AI has just made, and that no published page shows yet, is changed directly.
* What an edit does not name is saved exactly as you built it in WP Table Builder, and every table still opens in its builder.
* With WP Table Builder Pro active, the AI can also use icons, badges, ribbons, styled lists, progress bars and circle ratings, cell backgrounds, sticky rows, search and pagination. Without it, it uses the free elements and says what Pro would add.
* Five tools (list-tables, get-table, create-table, update-table, insert-table) behind one switch under Settings, shown only while WP Table Builder 2.3.1 is active.
* For add-ons: the filter `groundwp/table_builder_pro`.

= 0.12.0 =
* What GroundWP Pro adds, said where it would appear: one plain sentence with a link on the Overview, the review screen, Activity, Settings and Connections. For administrators only. Each has "Don't show this", which closes that line for you for good. No locked buttons and no extra tabs.
* A "GroundWP Pro" link on the Plugins screen. Every link leads to groundwp.com/pro/.
* Never in emails, on the sign-in screen, on the approval page, in the set-up guide or on Troubleshoot.
* Fixed: a script, a style sheet or an SVG drawing in a Custom HTML block could be removed when an app changed another block inside the same group. A block the app does not touch is now saved exactly as it was, at any depth.
* Fixed: an edit in place that would cost a block HTML of yours is refused with a message, in place of saving the block without it.
* For add-ons: the filter `groundwp/pro_hints`.

= 0.11.0 =
* Open in your app: every example prompt in wp-admin now has a small "Open in Claude" or "Open in ChatGPT" link that opens a new chat with the sentence typed in and not yet sent. It goes to the app you used last. With neither app connected, the copy button stays.
* Content check-up, a first look: the Overview counts published posts and pages with an image that has no alt text, without an excerpt, or unchanged for over a year, and says that GroundWP Pro lists and fixes them. For administrators only, and "Don't show this" closes it for good.
* A tab can carry a quiet number beside its name, for add-ons whose screens have something to look at.
* For add-ons: the filters `groundwp.overviewSections` and `groundwp/checkup_teaser`, a `count` on tabs added through `groundwp/admin_tabs`, and `TabLink` and `useTabCount` in the admin kit.

= 0.10.0 =
* Approve from the chat: a new setting, off by default. With it on, the preview in Claude or ChatGPT has a Publish button, and the AI can give you a link to a page on your site that shows the change in your theme and publishes it once you are signed in. A person always approves; the AI cannot press the button or use the link.
* Undo for a published draft: Undo on its Activity row takes the post off the site and back to a waiting draft.
* Activity says where an approval came from: the preview in the chat, the approval page or wp-admin.
* The preview tool returns a version of what it showed, so a yes holds only for that and not for a later edit.
* For add-ons: the filters `groundwp/ai_publishes`, `groundwp/consent_permissions`, `groundwp/preview_draft`, `groundwp/chat_shows_cards`, `groundwp/chat_host_trusted` and `groundwp.settingsSections`.

= 0.9.0 =
* About this site: a short note under Settings (what the site is, who reads it) that every connected app receives before it writes.
* Write in markdown: the new tool insert-markdown takes an article as markdown and your site turns it into blocks, so the AI makes fewer mistakes with headings, lists, tables, quotes and code.
* Free images: the AI can look for openly licensed pictures on Openverse and save one to your media library with its credit as the caption. Only the search words are sent. Switch it off under Settings with "Let it search Openverse for free images".
* Worth a look: the review screen lists what deserves a second look before you approve, such as a skipped heading level, an image without alt text, a link that goes nowhere or leftover placeholder text. Choosing an item shows it in the page. Nothing in the list stops an approval.
* For add-ons: the filters `groundwp/site_context` and `groundwp.reviewChangeActions`.

= 0.8.3 =
* Fixed: reading a page, a header or a footer failed in AI apps that check each answer strictly (Claude Code, for one), because the page's empty list of categories was sent in the wrong form. Posts were not affected.

= 0.8.2 =
* Updating GroundWP is more dependable: when groundwp.com's host answers the download with a page that checks for automated visitors instead of the file, the plugin asks again, and if the file still does not arrive it says so in plain words instead of reporting a broken zip. The download no longer carries your site's address either.

= 0.8.1 =
* Fixed: an update to GroundWP was shown as "not tested" with your WordPress version when the site ran a later release of the WordPress version the plugin was tested with (7.1.4 against 7.1, for example).

= 0.8.0 =
* "Check again" on Dashboard → Updates now asks groundwp.com for the newest GroundWP right away, instead of using the answer remembered from the last check (up to six hours old).

= 0.7.0 =
* GroundWP is distributed from groundwp.com. New versions show on the Plugins and Updates screens as before: when WordPress checks for updates, the plugin asks groundwp.com which version is the newest. The request carries the plugin's version and nothing about your site. A plugin of the same name in the WordPress.org directory can never replace this one.
* GroundWP and GroundWP Pro now carry the same version number, so this release follows 0.4.1 directly.
* Review a change before it goes live: each waiting change in Activity opens on its own screen, with your real page shown as it would look, a switch to what is live now, and a list of every block the AI added, changed or removed, down to the paragraph inside a column. Choosing an item scrolls the page to it. Approve or reject from the same screen. The email about waiting changes links to each one.
* Administrators see every connection on the site: the Connections tab lists the apps other people connected with their accounts, with who signed in, their role and when the app was last used, and a Disconnect button. The person whose app was disconnected is told why it is gone.
* The AI is told how to work on your site the moment it connects, not only if it chooses to read the guide: patterns for sections, native blocks for prose, drafts only, and where you approve. Apps that list prompts also offer three ready-made ones: Build a landing page, Write a blog post, Add a section to a page.
* When a tool call fails, the answer now says what to do next (which tool to call again, or to stop and tell you), and when your site's HTML filter removes part of what the AI wrote, the AI is told what was removed.
* Fixed: an embed you had placed in a Custom HTML block (a map or video iframe, for example) was removed from the draft when the AI added or changed other blocks on the same page. Only blocks the AI wrote or changed go through the filter now.
* Fixed: a text change on a page that held such an embed was refused outright, even when the change was in another block. It is refused now only when the block being changed holds the HTML the filter would remove.
* Fixed: when the AI's first change to a live page failed, an unchanged draft copy of the page was left waiting under Activity. The copy is removed again when nothing was written to it.
* Review side by side: on a wide screen the review shows the live page and the page with the change next to each other, scrolled together. A new draft lists its sections, and choosing one shows it in the page.
* History shows what a past change did: "What changed" under an entry lists the blocks it added, removed or changed. History can be narrowed to one post and to the last day, week, month or three months.
* Approve several waiting changes at once, after one confirmation that names them. Changes whose live page was edited since are left for a look of their own.
* The Overview counts what your apps changed this week apart from what you approved or undid, with the week before beside it.
* For developers: other plugins can add an admin tab, MCP prompts, history windows and access-profile choices through filters, and the tool filter is told which app is asking.
* From the chat straight to the review: every draft or change that waits comes back with a link that opens it ready to review, and the preview card in the chat shows that link. After publishing, the message offers View the page.
* The setup guide ends with example prompts that name your own pages, and shows the first draft as soon as your app makes it.
* Approve a change from the block editor: the GroundWP panel on a draft copy has an Approve button that saves your edits first and asks before it replaces the live page.
* Fixed: a draft copy of a live page could still be published as a second page with Quick Edit, a bulk edit or the REST API. It now stays a draft however it is saved; approval is the only way its changes go live.
* When the person who connected an app cannot publish what it left waiting, the site's administration address is told too.
* A weekly summary email (off by default, under Settings) and a box on the WordPress dashboard: what your apps changed, what was approved and undone, and what still waits.
* Screens that fail to load offer Try again.
* When you open a draft the AI wrote, the editor checks its blocks. If some do not match what the editor expects, you see one notice, and the AI is told which blocks to rewrite the next time it reads the post. The finding is also listed in Activity.
* The AI can replace, remove or add one block inside a group, column or list, without rewriting the whole section around it.
* GroundWP shows up where you already work. In the Posts and Pages lists, a copy that waits for approval and a draft your AI app made each say what they are, with a Review link. The admin bar shows how many are waiting. When you open one in the editor, a GroundWP panel says which app wrote it, what it last changed and where to review or undo it.
* A copy of a live page can no longer be published by accident from the editor, which made a second page instead of changing the live one. The editor says so, turns Publish off for the copy and links to its review; you can still edit the copy and save it.
* The Overview suggests three things to ask your AI app next, using the names of your own pages and posts, each with a copy button. The setup guide shows its example prompts even when you have not connected an app yet.
* AssistCamp: knowledgebase, category, tag and order changes get an Undo in Activity. It puts the earlier state back while nothing else has changed it since.
* Fewer tabs: Troubleshoot now sits under Settings, in a second row. Old links to it still work.
* See the whole draft in the chat: ask your app to show the draft and it appears in the conversation as your theme draws it, with links to review and edit. A change waiting on a live page shows the same way.
* The Overview points to the first draft your app makes, and the list of waiting changes says what will appear there while it is empty.
* For developers: two more filters. `groundwp/write_warnings` adds a warning to a write's result without refusing it, and `groundwp/review_frames` gives the review screen an address to show for content that has no page of its own.
* For developers: `groundwp/consent_brand` and `groundwp/mail_brand` let an add-on put a name and logo on the connection screen and in GroundWP's emails. The screen always says which app is connecting.

= 0.4.1 =
* Fixes from a code review: the setup guide and the sign-in page hide other plugins' notices with a stylesheet rule on those two screens instead of unhooking them, the two preview documents take their styles from the WordPress style queue, and the sign-in page's logo goes through the same output escaping as the rest of the page. The in-chat preview is built on Preact instead of carrying its own copy of React, a fifth of its former size.

= 0.4.0 =
* The in-chat preview is a third of its former size and its Insert button works again: it sent two fields the site refuses, so inserting from the preview failed whenever the preview had opened from the tool result. It also no longer misses a section the chat hands it before it is listening.
* Galleryberg 1.2.1 is verified, so sites that updated it get its gallery presets offered again. Connections says when an app was last used, why its newest request was refused and what to do about it, and why an app that was here is gone; Troubleshoot explains each refusal, the support report always carries the latest sign-in rows, and Site Health → Info lists them without addresses.
* The person who connected an app gets one email when it leaves drafts waiting for review, about ten minutes after the first one, listing what waits and where to publish, undo or discard it. A switch under Settings turns this off.
* The AI can save a section as a reusable pattern of your site (synced or not), with a title, description and categories. The pattern waits for your approval like a draft; published synced patterns can be placed by reference, so later edits show everywhere.
* The AI can add or remove repeated items: list items, gallery images, buttons, columns, Sliderberg slides, Galleryberg images and Tableberg rows grow or shrink on request, in patterns and on existing pages, with the new items filled in the same step.
* Tools → Site Health gains a GroundWP test that says whether Claude and ChatGPT can connect, from the last connection check, and an Info section that lists GroundWP's settings and connected apps for support requests.
* Tools that belong to a companion plugin (OpinionCamp polls, ConvertForce campaigns, AssistCamp documentation) appear only while that plugin is active, each behind its own switch in Settings. A plain site offers 23 tools; the companions add 10.
* On WordPress 6.9, editing a page that holds an Ultimate Blocks icon no longer stops with "existing HTML would be removed": the check compared the icon's SVG against a lowercased copy that only WordPress 7 produces. Every release is now also tested on WordPress 6.9.
* An app is shown as Claude or ChatGPT on the consent screen only when every web address its sign-in can return to belongs to Anthropic or OpenAI; a self-reported website no longer counts.
* Smaller fixes before the first release: a poll created by the AI no longer carries the OpinionCamp credit link unless asked for; search-media lists only files the account can open; Connections names the right fix when the site's security keys changed or PHP lacks the openssl extension; deactivation clears pending image-size jobs; installing or activating a companion plugin requires the matching WordPress capability on the request itself; MCP errors reach the PHP error log only while WP_DEBUG_LOG is on. The bundled WordPress MCP Adapter is 0.7.1 (it caps the data a session may send at initialization), with lcobucci/jwt 5.6.1 and league/uri 7.9.0.

= 0.3.0 =
* Create more with the plugins you already use: when Sliderberg, Galleryberg, Tableberg, Ultimate Blocks, OpinionCamp, ConvertForce or AssistCamp is active, the AI builds with their blocks too, from sliders, galleries and tables to FAQs, reader polls, notification bars and popups, through presets GroundWP checks against the installed version. The setup guide's optional "Create more" step installs them from WordPress.org, and the Overview lists them with an example prompt to copy.
* AssistCamp documentation: the AI can write docs, file them into knowledgebases and categories, create and rename categories and tags, and reorder docs. Docs wait for your approval like any draft; structure changes are live at once and the Activity tab says so. A "Documentation (AssistCamp)" switch in Settings turns these tools off.
* The AI can now edit the text, images and settings of blocks already on a page, including plugin blocks, and refuses to overwrite a page that changed since it last read it.
* Deleting the plugin keeps your history, undo snapshots, connections and settings. A new Settings section lets you choose to delete everything instead.
* Faster: Troubleshoot stops early on a host that cannot reach itself and keeps its result for ten minutes, the Activity filters and the approvals badge no longer re-read the whole log on every page, and nothing sign-in related runs on ordinary page views.
* Safer sign-in: an app is called Claude or ChatGPT only when its sign-in really goes there, a replayed refresh token signs that app out everywhere, changing your password signs out every connected app, and Troubleshoot gains "Reset sign-in keys".
* Tighter writes: a draft copy that was already approved or discarded cannot be approved again, the approvals list flags a copy whose live post changed in the meantime, people who cannot edit others' posts see only their own activity, and uploads from URLs are checked before they are fetched.
* A sharper admin: shared colours, spacing and components on every tab and on the consent page, a mark that stays crisp in the menu, the plugin version in the header, and a more compact Activity.
* Bundled libraries are isolated from other plugins, so another plugin's copy of the same library can no longer break GroundWP.

= 0.2.0 =
* Every screen rewritten for site owners: the Overview opens with one line on what matters now, activity rows read as sentences about the page and name the app that acted, Connections leads with the one click that matters, Settings is one choice, and Troubleshoot gives a plain verdict with technical details one click away.
* Undo now covers categories, tags and SEO fields, and says why it is not offered when a draft copy has already been approved or discarded.
* Every write the AI makes returns a message it can relay and links for you.
* The in-chat preview says when a section will go into a draft copy of a live page.
* The site check sends what Claude's servers send as well as what ChatGPT's send, and names only the app your host keeps out.

= 0.1.0 =
* First release: MCP server with 22 content tools, a setup guide that opens after activation, Connect Claude and Connect ChatGPT with live connection status, on-site OAuth 2.1, pattern-based sections with in-chat preview, snapshots, approvals, audit log with undo, access profiles and per-tool switches, connection self-checks.

== Upgrade Notice ==

= 0.14.0 =
Pages take fewer steps to build, and the AI builds layout from core blocks, not Custom HTML. Upgrading keeps your history and connections.

= 0.13.0 =
The AI can now make, change and place WP Table Builder tables, also from a picture of one. Upgrading keeps your history and connections.

= 0.12.0 =
The screens now say, in one line each, what GroundWP Pro would add there. Each line can be closed for good. Upgrading keeps your history and connections.

= 0.11.0 =
Example prompts open in Claude or ChatGPT with one click, and the Overview shows a first count of what your content is missing. Upgrading keeps your history and connections.

= 0.10.0 =
Approve waiting changes from the chat, with a Publish button on the preview or a link to a page on your site, and undo a published draft. Off until you switch it on. Upgrading keeps your history and connections.

= 0.9.0 =
A note about your site for every app, articles written as markdown, free images from Openverse and a "Worth a look" list on the review screen. Upgrading keeps your history and connections.

= 0.8.0 =
"Check again" on the Updates screen finds a new GroundWP right away. Upgrading keeps your history and connections.

= 0.7.0 =
Review each waiting change on its own screen, see every connection on the site, and get updates from groundwp.com. Upgrading keeps your history and connections.

= 0.4.1 =
Insert from the in-chat preview works again, the AI can save sections as patterns and grow repeated items, and Connections and Troubleshoot explain refused sign-ins. Upgrading keeps your history and connections.

= 0.3.0 =
Presets for seven companion plugins, AssistCamp documentation tools and a choice to delete everything on uninstall. Upgrading keeps your history and connections. Deleting the plugin now keeps its data unless you turn removal on under Settings.
