=== HeyLang Agent Connector ===
Contributors: smba
Tags: ai, content, marketing, seo, automation
Requires at least: 5.6
Tested up to: 7.0
Stable tag: 1.0.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your WordPress site to your HeyLang AI marketing department in under a minute. HeyLang is built by SMBAI LLC (https://smba.ai).

== Description ==

HeyLang is your AI marketing department — SEO, content, local visibility, and AI search presence, run by a fleet of agents you direct from one dashboard.

This plugin connects your WordPress site to HeyLang:

* **One-key setup** — paste the connection key from your HeyLang Connections page and click Connect.
* **Drafts, never surprises** — approved articles arrive as *drafts* in your Posts list; nothing publishes without you.
* **Signed requests only** — every delivery is verified with an HMAC signature unique to your site. No passwords shared, no application passwords to manage.

You need a HeyLang account (https://app.heylang.ai) to use this plugin.

== Installation ==

1. Install and activate the plugin.
2. In your HeyLang dashboard, open **Connections → Content publishing → WordPress** and copy your connection key.
3. In WordPress, go to **Settings → HeyLang**, paste the key, and click **Connect to HeyLang**.

== External services ==

This plugin connects your site to the HeyLang platform by SMBAI LLC (https://smba.ai) — that is its entire purpose. It talks to one external service:

* **HeyLang API** (`https://api.smba.ai/agents`) — contacted only when you click "Connect to HeyLang" in Settings → HeyLang. It sends: your connection key, your site URL, and a randomly generated signing secret used to verify future deliveries. No other data is transmitted, and nothing is sent automatically or in the background.
* Terms: https://smba.ai/terms — Privacy: https://smba.ai/privacy

If you never click Connect, the plugin makes no external requests at all.

== Frequently Asked Questions ==

= Does HeyLang publish without my approval? =
No. Articles arrive as drafts. You review and publish them like any other post.

= What data does the plugin send? =
On connect: your site URL and a randomly generated signing secret. After that, content flows one way — from HeyLang to your drafts.

== Changelog ==

= 1.0.1 =
* Enqueue admin script and style with wp_enqueue_script/wp_enqueue_style instead of printing them inline.

= 1.0.0 =
* Initial release: one-key pairing, signed draft delivery.
