=== Neo24 AI Client ===
Contributors: neo24ai
Tags: ai, chat, chatbot, assistant, page context
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Neo24 AI understands the current WordPress page and combines its content with conversation history, general knowledge, and current web information.

== Description ==

Neo24 AI does not just chat. It understands the content of the current WordPress page. Visitors can ask questions about the article they are reading, continue the conversation naturally, or switch to completely different topics.

Unlike a generic chatbot, Neo24 AI automatically uses the content of the current page as context for the first question. When a question goes beyond the article, it can combine the page context with general knowledge and current web information.

Main features:

* Automatically understands the content of the current WordPress page or post.
* Maintains conversation context for follow-up questions.
* Combines page context, conversation history, general knowledge, and current web information.
* Supports German, English, French, Italian, Spanish, and Portuguese interfaces.
* Displays headings, lists, tables, links, and code blocks.
* Includes copy buttons for complete answers and code blocks.
* Sends a question with Enter and inserts a line break with Shift+Enter.
* Uses the `[neo24_chat]` shortcode for simple placement.
* Stores the API key only on the WordPress server and does not expose it in the browser.

An active Neo24 AI account and a personal API key are required. The service is provided through neo24.ai and may process submitted questions and page content on external servers.

== Installation ==

1. Upload the plugin ZIP file from Plugins > Add New Plugin > Upload Plugin.
2. Activate the plugin.
3. Open Settings > Neo24 AI and enter your personal API key.
4. Run the connection test.
5. Add the `[neo24_chat]` shortcode to a page or post.

== Frequently Asked Questions ==

= Does the chat understand the current page? =

Yes. On the first question of a new conversation, the plugin sends the title, URL, and cleaned content of the current singular page or post as context.

= Is the page content sent with every question? =

No. The page context is sent only with the first question. Follow-up questions use the conversation response ID.

= Which languages are supported? =

The interface supports German, English, French, Italian, Spanish, and Portuguese. English is used as the fallback language.

= Where is the API key stored? =

The API key is stored in the WordPress options table on the website server. It is not sent to the visitor's browser.

== Changelog ==

= 1.0.0 =

* First stable public release.
* Added automatic page and post context for the first question in a conversation.
* Added conversation continuity through the previous response ID.
* Added a copy button for complete AI answers.
* Added correct rendering of ordered Markdown lists.
* Removed empty Markdown link artifacts before display.
* Added multilingual interfaces in six languages.
* Added rendering for headings, lists, tables, links, and code blocks.
* Added copy buttons for code blocks.
* Added Enter to send and Shift+Enter for line breaks.
* Added a direct settings link on the WordPress Plugins screen.
* Added a connection test for the Neo24 AI Client API.

== Upgrade Notice ==

= 1.0.0 =

First stable public release of Neo24 AI Client.
