=== Diza AI Agent Builder – AI Chatbot & Customer Support Live Chat ===
Contributors: umasankar
Tags: ai chatbot, ai agent, customer support, live chat, whatsapp
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.5.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a free no-code AI chatbot to your site in just 2 minutes. Answers customer queries 24/7 on your website, WhatsApp, and Instagram.

== External Services ==

This plugin connects to external cloud services provided by Diza AI (https://dizaai.com) as a Software as a Service (SaaS) platform to create your AI agent, process visitor natural language queries, index website content for the knowledge base, and render the interactive chatbot interface.

* Diza AI Cloud Service: https://dizaai.com
  - Terms of Service: https://dizaai.com/terms.php
  - Privacy Policy: https://dizaai.com/privacy.php
  - Description: The plugin communicates via REST API with https://dizaai.com/api/plugin to create/manage the AI agent and retrieve usage statistics. On the front-end, it loads the chatbot interface script from https://dizaai.com/widget/loader.js to render the interactive conversational AI widget for website visitors.

== Description ==

**AI Agent Builder by Diza AI** lets you deploy a smart AI Agent on your WordPress site in just 2 minutes — with zero coding.

Your AI Agent automatically answers visitor questions around the clock, so you never miss a customer enquiry.

= Free Features =
* 2-Minute AI Agent setup wizard with live real-time widget preview
* Floating AI Agent widget on every page
* 100 free AI credits per month (~15-20 customer conversations)
* Instant website URL auto-crawling (crawls up to 2 URLs on Free Plan)
* Knowledge base & FAQ auto-training
* Customisable widget label, position, logo, and accent color
* Live conversation stats in your WordPress dashboard

= Upgrade at dizaai.com =
* Connect AI to your WhatsApp Business number
* Instagram DM automation
* Unlimited website URL crawling & PDF document uploads
* Unlimited conversations & lead generation pipeline
* Human inbox with live agent takeover
* Broadcast campaigns to your contacts

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate through the Plugins menu in WordPress
3. Go to **Diza AI** in your admin sidebar
4. Enter your business name and click **Activate Free AI Agent & Put Live on Website**
5. Your AI Agent is now live on your website

== Frequently Asked Questions ==

= Is this really free? =
Yes. The plugin is free. You get 100 AI credits per month at no cost, with no credit card required.

= Do I need a dizaai.com account? =
No. The plugin creates your AI Agent automatically. You can optionally upgrade at dizaai.com later to unlock WhatsApp, Instagram, and more features.

= Can I use this on WhatsApp & Instagram? =
Yes — upgrade at dizaai.com to connect your WhatsApp Business number and Instagram DMs to automate customer enquiries there too.

= How does website URL crawling work? =
Enter your website URL during setup or in the dashboard. Diza AI crawls the page content, extracts text, and automatically trains your AI Agent to answer questions based on your website content.

= What happens when I uninstall the plugin? =
All plugin data is cleanly removed from your WordPress database on uninstall. Your AI Agent on Diza AI remains active and can be reconnected anytime.

== Screenshots ==

1. 2-Minute AI Agent setup wizard with live interactive widget preview.
2. Knowledge base URL indexing and website crawl manager.

== Changelog ==

= 1.5.8 =
* Enqueued frontend widget script and admin stylesheet using standard wp_enqueue_script and wp_enqueue_style APIs
* Attached widget dataset attributes via official script_loader_tag filter
* Enqueued Google Fonts via wp_enqueue_style instead of inline tags
* Harmonized short descriptions across plugin header and readme.txt
* Removed self-hosted updater module to rely exclusively on WordPress.org repository updates

= 1.5.7 =
* Added dynamic Accent Color support across entire widget (bubbles, send button, welcome gradient, glows)
* Updated robot avatar display with uncropped status badge indicator
* Cleaned up agent name fallbacks and status line format

= 1.5.6 =
* Added Indexed Pages Table showing URL, KB Data Size, Status, and Date
* Added Remove URL button to delete indexed pages and free up slots
* Input box stays open and cleared after 1st URL is indexed so users can easily add their 2nd URL
* Seamless data handshake from 1st setup screen to dashboard