=== Chili KI – AI writing and maintenance helper ===
Contributors: chilicooperation
Tags: ai, alt text, seo, proofreading, summary
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI suggestions for image alt text, meta descriptions, proofreading, social posts and summaries. Your own API key, sent only after a click.

== Description ==

**Chili KI** helps you write and maintain your website. You enter your own access key for an AI service. The plugin fetches suggestions when you click a button in the admin area. Every suggestion is shown first, can be edited, and is only saved when you accept it. The admin interface is currently in German.

**Features (all free, no limits)**

* Alt text suggestion for images: on a single image in the media library and in a list of all images without alt text
* Meta title and meta description suggestion for a post, stored in separate fields. If an SEO plugin is active, the suggestions are only shown and can be copied
* Text checker: spelling and grammar, readability, shorter version. Your post text is never changed
* Post recycler: suggestions for LinkedIn, Facebook, Instagram, short messages and a newsletter, to copy
* AI readability: summary and key points, optionally as a box in the post or with the shortcode `[chili_ki_kasten]`
* Log of the latest requests: time, function, approximate length, result. No content is stored
* Demo mode with fixed sample suggestions to try the interface, without a key and without any transmission

**Principles**

* Without an access key the plugin sends nothing.
* Data is sent only after a logged-in editor clicks a button in the admin area, and only after the data transfer has been confirmed. Nothing runs in the background, and visitors never trigger a transmission.
* Before the first transmission the plugin shows which data goes to which service and asks for confirmation.
* The access key is never output on the front end and is only shown masked in the admin area.
* The plugin sets no cookies and contains no tracking.

**Optional Pro add-on (separate, for businesses only)**

A separate add-on offers a bulk run for alt texts, translation drafts, product texts, internal link suggestions, an inquiry sorter, a question assistant for visitors, custom instructions per function and a cost limit. It is sold on the provider's website at chili-cooperation.com. All features of this plugin stay free permanently; nothing in this plugin is locked. More information: https://chili-cooperation.com/wp-apps/#ki

**Independent add-on**

This plugin is an independent product and is not affiliated with, endorsed by or sponsored by Anthropic, OpenAI, WordPress or any other third party. "Claude" and "Anthropic" are names of their respective owners and are used here only to describe the supported service.

**Important notes**

This plugin is a technical tool and not legal, tax or data protection advice. AI texts can contain errors and must be checked before you use them. The site operator is responsible for the transfer of data to the AI provider and for the content of the website. Whether you need a data processing agreement with the provider and what belongs in your privacy policy is for you to clarify, with professional advice where needed. Use is at your own risk, and the plugin is provided without warranty.

== External services ==

This plugin connects to an external AI service. Without this service there are no suggestions (except in demo mode). You choose the service and enter your own access key. Costs are billed directly by the provider to you.

**1. Claude by Anthropic (default)**

* Service: the Claude API of Anthropic, address `https://api.anthropic.com/v1/messages`.
* What it is used for: to generate the suggestions you ask for (alt text, meta texts, text checks, social media texts, summaries).
* When data is sent: only when a logged-in editor clicks a suggestion button in the admin area, and only after the data transfer has been confirmed. Never automatically, never triggered by visitors.
* What is sent: depending on the function, the title and text of the selected post (last saved version) or the selected image (large or medium size, JPG, PNG, GIF or WebP, up to 4 MB), plus the plugin's instruction, the model name and your access key for authentication. At most the first 24,000 characters of a text are sent. The service also sees the IP address of your server. No visitor data is sent.
* Terms of use: https://www.anthropic.com/legal/commercial-terms
* Privacy policy: https://www.anthropic.com/legal/privacy

**2. OpenAI-compatible address (optional alternative)**

* Service: any service you choose that understands the common chat completions format (another provider or one you run yourself). The address is the base address you enter in the settings, with `/chat/completions` appended. Nothing is sent to it unless you select this option and enter an address.
* What it is used for, when data is sent and what is sent: the same as above. Your access key is sent as authorization header to the address you entered.
* Terms and privacy: the terms and privacy policy of the service you enter apply; see the provider's terms. You can store a link to them in the settings.

Please check the terms and privacy policy of the service before you confirm the data transfer.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or search for it under "Plugins > Add New".
2. Activate the plugin.
3. Open the "Chili KI" menu, tab "Einstellungen" (settings), enter your access key and confirm the data transfer. To try the plugin first, enable demo mode instead.
4. Open a post: the tools are in the "Chili KI" box below the editor.

== Frequently Asked Questions ==

= Do I need an account with an AI provider? =
Yes. You use your own access key, and the provider bills you directly. The plugin itself does not contain an AI service.

= Is anything sent automatically? =
No. Data is sent only after a click in the admin area by a logged-in editor and after the data transfer was confirmed.

= Does the plugin change my texts? =
No. It shows suggestions. Only alt text, meta fields and summary are stored, and only after you click to accept them.

= Which AI model is used? =
The default is `claude-sonnet-5-5`. For fast, inexpensive tasks `claude-haiku-5-5` is suggested. The model name is a free text field, so you can enter any model your account offers.

= Can I use a different AI service? =
Yes, if it understands the OpenAI-compatible chat completions format. Select "OpenAI-kompatible Adresse" in the settings and enter its base address, key and model name.

= What is demo mode? =
It shows fixed sample suggestions from the plugin. Nothing is sent. This lets you look at the interface without a key.

= Can visitors see my access key? =
No. The key stays on your server and is only shown masked in the admin area.

== Screenshots ==

1. Images without alt text, each with a button to suggest alt text
2. Connection settings: choose Claude or an OpenAI-compatible address and enter your own key
3. Log of recent requests (time, function, approximate length, result) without any content
4. Notes tab with details on the external service and the legal notice

== Changelog ==

= 0.1.0 =
* Initial release.
