=== Madoguchi-san (aiまどぐちさん) – AI Chat Window for Your Site ===
Contributors: webapplidotcom
Tags: chat, ai, faq, support, japanese
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds an AI chat window to your site that answers visitors' questions from the content of your own pages. For Japanese small businesses.

== Description ==

Madoguchi-san (Japanese name: aiまどぐちさん, "reception window") reads the pages of your website and answers visitors' questions in Japanese, in a small chat window at the bottom-right corner of every public page.

* Questions the AI cannot answer are sent to you by e-mail. You reply in a few words; the AI turns your reply into a polite answer, delivers it to the visitor, and remembers it for next time.
* Visitors' phone numbers and e-mail addresses are masked before anything is sent to the AI.
* No chat history, keys or secrets are stored in your WordPress database. The plugin only stores your site key.

This plugin does one thing: it inserts a single script tag (w.js) into your public pages. Everything else — the knowledge the AI answers from, your Q&A, notifications and billing — is managed in the aiまどぐちさん owner console at https://chat.web-appli.com/owner/ .

= External service =

This plugin relies on the service "Madoguchi-san" (aiまどぐちさん), operated by web-appli.com (Gifu, Japan). The service and its name belong to web-appli.com, the author of this plugin.

* Service site: https://ai.web-appli.com/
* Terms of use: https://ai.web-appli.com/terms/
* Privacy policy: https://ai.web-appli.com/privacy/

What is sent and when: on every public page view, the visitor's browser loads the widget script (w.js) from https://chat.web-appli.com/ . When the visitor opens the window and asks a question, the question text, the URL and title of the page being viewed, and the site key are sent to chat.web-appli.com so that an answer can be generated. Nothing is sent from your server.

Pricing (Japanese yen, tax excluded): a monthly base fee from ¥98 plus ¥3 per question, with a monthly cap you set yourself. The first month is free. See https://ai.web-appli.com/price/ .

The service and the plugin's settings screen are in Japanese.

== Installation ==

1. In your WordPress admin, go to Plugins → Add New → Upload Plugin, choose the zip file, install and activate.
2. Open Settings → aiまどぐちさん.
3. If you do not have an account yet, click the "sign up" button (your site's address and name are pre-filled). Otherwise paste the site key that starts with "ac_" from the owner console (or the whole script line) and save.

Detailed instructions with screenshots (Japanese): https://ai.web-appli.com/install/

== Frequently Asked Questions ==

= Do I need an account? =

Yes. The plugin needs a site key issued by the aiまどぐちさん service. Signing up is free and takes a minute.

= Does the plugin slow down my site? =

No. It adds one small script loaded asynchronously. The widget itself is loaded only when a visitor opens the window.

= What happens when I delete the plugin? =

The site key is removed from your WordPress options. Your data on the service side is managed from the owner console.

== Changelog ==

= 1.0.5 =
* Renamed to "Madoguchi-san (aiまどぐちさん) – AI Chat Window for Your Site" (slug: madoguchi-san).
* The script tag is now produced by WordPress itself (async loading strategy); the plugin only adds the site key.

= 1.0.4 =
* The widget script is now registered with wp_enqueue_script (WordPress.org Plugin Check).
* Settings screen strings are now translatable.
* English readme.

= 1.0.3 =
* Link to the detailed installation guide on the settings screen.

= 1.0.2 =
* Unified the product name to "aiまどぐちさん".

= 1.0.1 =
* "Back to WordPress" link after sign-up fills in the site key automatically.

= 1.0.0 =
* First release.
