=== Bot On Site ===
Contributors: botonsite
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: chatbot, ai, customer support, live chat, automation

Official BOS plugin: one-click connect to embed your AI assistant; optional manual key; status endpoint and cache-purge helpers.

== Description ==
Official Bot On Site plugin. Instantly connect via a guided flow, or use the Advanced tab for manual setup. Includes a public connection status endpoint and optional cache purge helpers.

== Installation ==
1. Upload the plugin ZIP or install from the Plugins page.
2. Activate **Bot On Site**.
3. Go to **Settings → Bot On Site** and click **Connect** to pair your site.  
   – Or switch to **Advanced** and paste your Tenant Key manually.

== Source Code ==
The distributed plugin already contains the human-readable source for every asset. The admin stylesheet (`assets/admin.css`) and script (`assets/admin.js`) are shipped unminified, and no build tooling is required to regenerate them.

== External Services ==
This plugin loads the Bot On Site widget script from our CDN in order to render the assistant on your site.

* **Service**: Bot On Site CDN (`https://cdn.botonsite.com/v1/bos.js`)
* **Purpose**: Displays the Bot On Site assistant on the front end after you connect your tenant.
* **Data sent**: The stored tenant key is passed when the script loads. When visitors use the assistant, their messages, page URL, and any details they share inside the widget are sent to the Bot On Site platform so responses can be generated.
* **Terms & Privacy**: https://www.botonsite.com/legal/term , https://www.botonsite.com/legal/privacy

== Frequently Asked Questions ==

= Does the script load on the frontend only? =
Yes. The BOS script is injected on the public-facing site once connected.

= Where is the status endpoint? =
`/wp-json/bos/v1/status` returns a small JSON payload with connection info and plugin version.

== Screenshots ==
1. Connection screen with one-click flow.
2. Advanced manual setup field.

== Changelog ==
= 1.0.0 =
* Initial release.

== Upgrade Notice ==
= 1.0.0 =
First public version.
