=== Halves Core ===
Contributors: mhiguera
Tags: dashboard, admin menu, setup wizard, mcp, ai
Requires at least: 5.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.2.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Base platform for the Halves ecosystem: unified menu, sibling-plugin registry, capabilities and setup wizard.

== Description ==

Halves Core is the base platform for the Halves plugins. On its own it provides:

* **Unified menu** in the WordPress dashboard for every installed Halves plugin.
* **Status dashboard** summarizing each active sibling plugin.
* **Central registry** that satellite plugins (Bridge, Tickets, Agenda, PDF, Wallet, Protect...) hook into to coordinate with each other.
* **A shared capability** (`manage_halves`), granted to administrators, to decide who can manage the Halves plugins.
* **Setup wizard** on first activation.

On its own, Halves Core does nothing visible to your site's visitors: it's the foundation other Halves plugins build on, starting with **[Halves Bridge](https://wordpress.org/plugins/halves-bridge/)**, which exposes the site as an [MCP](https://modelcontextprotocol.io) server so AI agents like Claude can operate it in natural language.

== Installation ==

1. Upload the `halves-core` folder to `/wp-content/plugins/`, or install it from the WordPress dashboard by searching for "Halves Core".
2. Activate the plugin from the "Plugins" menu.
3. Follow the setup wizard that appears on first activation.
4. Install a Halves satellite plugin (for example, Halves Bridge) to add actual features to your site.

== Frequently Asked Questions ==

= Do I need Halves Core to use Halves Bridge? =

Yes. Halves Bridge requires Halves Core, and offers to install it with one click if it's missing. Other Halves plugins can run without it, but they share Core's menu and dashboard when it's active.

= Is Halves Core paid? =

No, Halves Core is free. Some satellite plugins (like Halves Bridge) offer an optional paid tier with extended functionality; Core itself never requires one.

= Does Halves Core contact any external server? =

Not unless you ask it to. See "External services" below for the exact cases.

== External services ==

Halves Core can connect to the Halves store at `https://wordpress.halves.io`, operated by Halves, to manage licenses for paid Halves plugins. Nothing is sent until an administrator takes one of the actions below:

* **Start free trial** (setup wizard button): sends the site URL, site name, administrator email address and the plugin version, to issue a trial license key.
* **Activate license** (setup wizard form): sends the license key you entered and the site URL, to activate the key for this site.
* **Plugin deactivation**, only if a license key is saved: sends the license key and the site URL, to free the license seat.
* **Upsell texts**, only while a license key is saved: once a day, requests the current promotional texts shown on Halves plugin settings pages. No site data is included beyond what any HTTP request carries.

The store's terms of use and privacy policy: https://wordpress.halves.io/terms/ and https://wordpress.halves.io/privacy/

== Screenshots ==

1. Status dashboard of the installed Halves plugins.

== Changelog ==

= 0.2.5 =
* Fixed the Bridge upsell notice: it advertised stale tool/request-limit numbers and wrongly implied the free tier could write posts and pages (it's read-only).

= 0.2.4 =
* The "install halves-licensing" admin notice is now confined to Halves' own admin pages instead of showing on every wp-admin screen.

= 0.2.3 =
* First version published on the WordPress.org directory.
* The trial license is now requested only when the administrator clicks "Start free trial".
* Removed the bundled-ZIP installer, the plugin-list filter and the update client for self-hosted sibling plugins.

== Upgrade Notice ==

= 0.2.5 =
Fixed incorrect numbers in the Bridge upsell notice.

= 0.2.4 =
Admin notice scoped to Halves' own pages (wp.org review feedback).

= 0.2.3 =
First version on the official directory.
