=== WeblyConnect ===
Contributors: weblyarts
Tags: chatbot, ai, customer-support, automation, knowledge-base
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 0.2.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect WordPress to AI agents in minutes. Visitor chat, knowledge, bookings and integrations powered by WeblySuite.

== Description ==

**Connect WordPress to AI agents in minutes.**

Turn your WordPress site into an AI-powered workspace with agents, knowledge bases, automations, booking, and secure integrations, powered by [WeblySuite](https://weblyarts.com/weblysuite).

WeblyConnect is the **bridge**. It links your site to your WeblySuite account. By itself it does not add a chat widget or site tools. You also install two companion plugins (see below).

= What you can do =

* **Customer support agent** – answers visitors using your WordPress posts and pages
* **Documentation assistant** – uses your site content and extra knowledge you upload
* **Booking assistant** – helps schedule appointments
* **Email automation** – sends contextual email from the tools you connect
* **External tools** – Jira, GitHub, Google Calendar, Gmail, WooCommerce, Stripe, and more

= Companion plugins (required) =

Install these as well. WeblyConnect alone does not show a chat or run automations.

1. **[WeblyAgent Connect](https://suite.weblyarts.com/weblyagent-connect/)** – the visitor chat widget
2. **[WeblyMCP Connect](https://suite.weblyarts.com/weblymcp-connect/)** – WordPress tools and integrations (bookings, email, Jira, GitHub, WooCommerce, …)

They require this plugin (`Requires Plugins: weblyconnect`). WordPress.org reviews one new plugin per account at a time; those two directory listings are next. Until they appear under Plugins > Add New, use the product pages above.

= Get started in 5 minutes =

1. Install and activate WeblyConnect.
2. Open **WeblyConnect** in wp-admin and click **Connect to WeblySuite**.
3. Sign in to your [WeblySuite](https://suite.weblyarts.com) account (or create one).
4. Install **WeblyAgent Connect** for on-site chat, and **WeblyMCP Connect** for tools.
5. Place the chat on a page and turn on the integrations you need.

= WeblySuite account =

Connecting your account is explicit consent to send chat, site, and knowledge data to WeblyArts services.

* Console: https://suite.weblyarts.com
* Product: https://suite.weblyarts.com/weblyconnect/
* Terms (EN): https://suite.weblyarts.com/terms-of-service-en/
* Terms (IT): https://suite.weblyarts.com/terms-of-service/
* Privacy: https://weblyarts.com/en/privacy

= What this plugin includes =

* Encrypted storage of your WeblySuite token
* Connect flow back to the WeblySuite console
* Shared chat UI assets used by WeblyAgent Connect
* Admin screen: connection status, plan snapshot, disconnect

= Bundled libraries =

* `@microsoft/fetch-event-source` v2.0.1 (MIT), readable source in `assets/js/vendor/fetch-event-source.js`

== Installation ==

1. Upload the `weblyconnect` folder to `/wp-content/plugins/` or install from Plugins > Add New.
2. Activate **WeblyConnect**.
3. Open **WeblyConnect** in the wp-admin menu.
4. Click **Connect to WeblySuite** and sign in with your WeblySuite account.
5. Install **WeblyAgent Connect** (visitor chat) and **WeblyMCP Connect** (tools and automations). This plugin does nothing visible without them.

== Frequently Asked Questions ==

= Does WeblyConnect do anything on its own? =

It connects the site to WeblySuite. The chat widget is **WeblyAgent Connect**. Bookings, email, Jira, GitHub, WooCommerce and other site tools are **WeblyMCP Connect**. Install those companions after this plugin.

= Do I need a paid WeblySuite account? =

The plugin code is free and GPL. AI replies and extra tools run on WeblySuite (trial or paid). If a request is over your plan, the service returns an error. Nothing in this zip is locked.

= Does the plugin phone home before I connect? =

No. Until you connect a WeblySuite account, it does not call WeblyArts chat, knowledge, or tools APIs.

= Where do updates come from? =

When hosted on WordPress.org, plugin updates come from the Plugin Directory only.

== Screenshots ==

1. Plan picker before connect. Choose a WeblySuite plan and start the console connect flow.
2. Connected dashboard. Token status, plan snapshot, and disconnect.
3. Wallet PAYG and upgrade cards after the site is linked.

== Privacy ==

After you connect a tenant token, this site may send to WeblyArts:

* Chat messages and session ids (visitor widget, via WeblyAgent Connect)
* Knowledge content you choose to ingest
* Tool calls you enable (via WeblyMCP Connect)
* Site name and billing snapshot requests (via WeblySuite)

See https://weblyarts.com/en/privacy and https://suite.weblyarts.com/terms-of-service-en/

== Changelog ==

= 0.2.6 =
* Directory listing copy for WordPress users: use cases, 5-minute setup, companion plugins required.
* Updated plugin directory banners.

= 0.2.5 =
* WordPress.org listing: slug `weblyconnect`, display name WeblyConnect.
* OAuth connect requires a valid CSRF `state` before token exchange.
* Release zip no longer ships bundled `.po` translation files.

= 0.2.4 =
* Plan cards and quota snapshot show monthly ecosystem request ceilings (then PAYG).
* Plugin Check (plugin_repo): translators comments, wp_remote HTTP clients, no CDN updater file.

= 0.2.0 =
* WordPress.org submission: GPL headers, readme, uninstall.
* Guideline 5/6: no local quota lock on included code; Hub/RAG enforce plan limits.
* Guideline 8: CDN plugin updater is not loaded.

= 0.1.35 =
* Internal / CDN releases (pre-directory).

== Upgrade Notice ==

= 0.2.6 =
Listing copy and banners. Install WeblyAgent Connect and WeblyMCP Connect as well; WeblyConnect is the connection layer.

= 0.2.5 =
First WordPress.org directory release (slug weblyconnect). Connect still requires a WeblySuite account.
