=== MemberPress.ai Connect ===
Contributors: caseproof
Tags: memberpress, ai, connect, memberpress-ai
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Stable tag: 0.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your WordPress site to MemberPress.ai and manage the MemberPress AI suite from your MemberPress.ai account.

== Description ==

MemberPress.ai Connect links your WordPress site to your MemberPress.ai account. Once connected, you manage the MemberPress AI suite from your MemberPress.ai dashboard — this plugin is the secure connection between the two.

The plugin's own screen in your WordPress admin shows your connection status: whether the site is connected, which plan it is linked to, and a link to your MemberPress.ai dashboard. Connecting is the only action you take inside WordPress; everything else is managed from your MemberPress.ai account.

= External service =

This plugin communicates with MemberPress.ai (https://memberpress.ai), a service operated by Caseproof, LLC. Connecting your site is always initiated by you and can be revoked at any time.

When you connect, the plugin exchanges the following with MemberPress.ai: your site address, and site-level operational details (WordPress version, PHP version, and a random install identifier) used to service your account. A scoped, revocable token for this site is stored on your site so MemberPress.ai can act on your instructions.

The domains the plugin contacts by default are:

- app.memberpress.ai — the MemberPress.ai app that hosts the connection consent screen your browser is sent to.
- api.memberpress.ai — the MemberPress.ai API the plugin calls to complete the connection, report install results, and download MemberPress AI software. A download may redirect to a temporary, signed storage URL (a Google Cloud Storage host) to transfer the package file.
- app.membersintel.com and api.membersintel.com — the same app and API under the service's previous domain, still valid during the transition; a site configured for those hosts continues to contact them.

These are operated by Caseproof, LLC. The service and its branding are MemberPress.ai; see:

- MemberPress.ai: https://memberpress.ai
- Terms of Service: https://memberpress.ai/terms/
- Privacy Policy: https://memberpress.ai/privacy/

= Installing the MemberPress AI suite =

When you choose to install MemberPress AI software (MemberPress AI Foundation) from your MemberPress.ai dashboard, that software is downloaded from MemberPress.ai's servers and installed on your site. **Installation is always initiated by you, from your MemberPress.ai account** — there is no button in this plugin that installs it, and nothing is installed automatically. Each downloaded package is cryptographically signed by Caseproof and is verified on your site before it is installed.

All of this plugin's JavaScript and CSS is included locally. It loads no third-party scripts or stylesheets and uses no third-party CDN.

== Installation ==

1. Install "MemberPress.ai Connect" from the Plugins screen in your WordPress admin, or upload the `memberpress-ai-connect` folder to `/wp-content/plugins/`.
2. Activate the plugin through the Plugins menu in WordPress.
3. Open the "MemberPress.ai" menu in the WordPress admin sidebar and click "Connect to MemberPress.ai".
4. Manage your MemberPress AI suite from your MemberPress.ai dashboard.

== Frequently Asked Questions ==

= Does this plugin install other plugins on its own? =

No. It never installs anything on its own and has no install button in wp-admin. Software is downloaded from MemberPress.ai and installed only when you initiate it from your MemberPress.ai dashboard, and only after its Caseproof signature is verified on your site.

= What data is sent to MemberPress.ai? =

Your site address and site-level operational details (WordPress version, PHP version, and a random install identifier). See the External service section above for the service's terms and privacy policy.

= How do I disconnect? =

To disconnect, revoke this site's access from your MemberPress.ai account. Deactivating the plugin stops it from acting, but the site's stored connection token is kept so that reactivating stays connected; revoking access from your MemberPress.ai account is what ends the connection.

== Changelog ==

= 0.1.2 =
* Accept the release rail's canonical version form (e.g. 1.5.3b1) in the install command.

= 0.1.1 =
* Default app/API hosts are now app.memberpress.ai / api.memberpress.ai (membersintel.com hosts remain valid).
* Vendored install kit slimmed to src/ and updated to the pinned per-environment signing keys.
* Authorize URL query values are RFC 3986-encoded.
* A present-but-inactive Foundation is activated before reporting success.

= 0.1.0 =
* Initial release: connect to MemberPress.ai, connection-status screen, and the signed install-receive channel for the MemberPress AI suite.
