=== daita AI Agent ===
Contributors: nicolasbonilla
Tags: ai, chatbot, assistant, voice, gdpr
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add your daita AI assistant (chat + voice) to your WordPress site in one minute — sovereign, EU-hosted, GDPR-ready.

== Description ==

daita builds production AI agents that answer, qualify and book — 24/7, multilingual,
on web, phone and WhatsApp. This plugin adds your agent to your WordPress site.

No coding: install, paste your **Workspace ID** (from https://daita-ai.com/get-started),
and save. The chat bubble appears on your site instantly. Your agent answers from your
own knowledge, captures leads and books meetings.

* One-minute setup — paste a Workspace ID, done.
* Sovereign & compliant — EU-hosted, GDPR and EU AI Act aligned by default.
* Chat and (optional) real-time voice in the same widget.
* Customisable — title, first message and accent color.
* Multilingual — your agent answers in your visitor's language.
* Works with any theme (loads in the footer, no template edits).

**Pricing — clear and upfront:** this plugin is free and open source. It connects to the daita
service (a third party). Creating and testing your agent is free (no card). To go live you start a
14-day free trial on a paid daita plan (from €299/month, excl. VAT): your card is secured by Stripe
but not charged during the trial; it then renews monthly and you can cancel anytime. No setup fee.
Full pricing: https://daita-ai.com/pricing

You need a daita workspace — create one free at https://daita-ai.com/get-started

== External services ==

This plugin connects your site to **daita**, a third-party AI service, to provide the
chat/voice assistant. This is required for the assistant to work.

* It loads the widget script from `https://daita-ai.com/embed.js`.
* When a visitor opens the chat, the widget sends their messages (and, only if you enable
  voice, audio) together with your Workspace ID to the daita backend
  (`https://*.cloudfunctions.net`) to generate replies. The widget also sends a one-time
  per-session "heartbeat" (your site's hostname + Workspace ID) so you can confirm the
  agent is installed.
* No data is sent until a visitor interacts with the widget (the heartbeat aside).

Service provider: daita — https://daita-ai.com
Terms: https://daita-ai.com/terms · Privacy: https://daita-ai.com/privacy

By installing this plugin and adding your Workspace ID you agree to daita's terms and
privacy policy. daita is EU-hosted and GDPR/EU-AI-Act aligned by default.

== Installation ==

1. Upload the plugin to `/wp-content/plugins/` (or install via Plugins → Add New → Upload).
2. Activate it through the "Plugins" menu in WordPress.
3. Go to **Settings → daita AI Agent**.
4. Paste your **Workspace ID** and click "Save & go live".

== Frequently Asked Questions ==

= Is the plugin free? How much does it cost? =
The plugin is free and open source. The daita service it connects to is a paid subscription with a 14-day free trial. Creating and testing your agent is free (no card). To go live you start the trial on a paid plan (from €299/month, excl. VAT) — your card is secured by Stripe but not charged during the trial, then it renews monthly and you can cancel anytime. No setup fee. Full pricing: https://daita-ai.com/pricing

= Where do I get a Workspace ID? =
At https://daita-ai.com/get-started — it looks like `acme-ab12cd`. Setup takes about a minute.

= Do I need to write any code? =
No. Paste your Workspace ID in Settings → daita AI Agent and save. The widget loads on every front-end page automatically.

= Is voice included? =
The widget supports text chat out of the box. Real-time voice is optional and only activates if you enable it for your workspace.

= Will it slow down my site? =
No. The widget script is enqueued in the footer and deferred, so it loads after your page content.

= Where is my data processed? =
Data at rest is stored in the EU by default. The agent runs on EU-hosted infrastructure and your data is never used to train third-party models. See https://daita-ai.com/trust and https://daita-ai.com/privacy

= Is it GDPR compliant? =
daita is built EU-sovereign and GDPR / EU AI Act aligned by default. A Data Processing Agreement is available — see https://daita-ai.com/trust

= How do I temporarily hide the assistant? =
Go to Settings → daita AI Agent and uncheck "Show on site", then save. No need to deactivate the plugin.

= In which languages does the agent reply? =
Your agent answers in your visitor's language automatically (multilingual by default).

== Screenshots ==

1. Settings → daita AI Agent: paste your Workspace ID and customise the title, first message and accent color.

== Changelog ==

= 1.0.3 =
* Pricing disclosure updated for the new self-service flow (14-day free trial, then monthly; no setup fee).

= 1.0.2 =
* Clearer, upfront pricing disclosure (free plugin + free trial; paid plans to go live), per WordPress.org guidelines.

= 1.0.1 =
* Remove load_plugin_textdomain() (not needed for WordPress.org-hosted plugins since WP 4.6).
* Documentation and readme improvements.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.3 =
Updated pricing disclosure (self-service free trial). No configuration changes required.

= 1.0.2 =
Clearer pricing disclosure. No configuration changes required.

= 1.0.1 =
Documentation and compatibility improvements. No configuration changes required.
