=== Laspi – AI Visibility & Blog ===
Contributors: laspi
Tags: ai visibility, llms.txt, schema, seo, ai content
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.4.27
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI visibility toolkit (llms.txt, schema, AI-bot tracking, a visibility score) plus an AI blog writer grounded in your real business — works free, no account needed.

== Description ==

Laspi is not an article generator — it is a virtual journalist for your business.

1. Connect the site in one click (a revocable Application Password — we never see your login password).
2. The journalist studies your site: what the business does, how you write, what is already covered.
3. You approve the direction once: topics, customer search phrases, schedule, image style.
4. Articles are written in human-quality prose with cited external sources woven in, pass editorial quality gates, get a branded 16:9 image with alt text, and are published on schedule. When approved topics run out, the journalist plans fresh ones within your focus — set & forget.

AI-visibility extras included:

* llms.txt — a machine-readable site summary for AI assistants
* Organization structured data (skipped when your SEO plugin already provides it)
* AI-bot visit analytics (GPTBot, ClaudeBot, PerplexityBot…) in your Laspi dashboard
* Multilingual: post language is assigned automatically (WPML and Polylang supported)

First 2 articles are free per domain. Plans from €19/month at https://laspi.pro/wordpress

== External services ==

This plugin talks to the Laspi service (https://laspi.pro) — it does not work without it.

* When YOU press "Connect to Laspi": the site URL, site name, site language, your admin
  username and a newly created revocable Application Password are sent to
  https://laspi.pro/api/v1/wp-plugin/handshake so Laspi can study the site and publish
  articles on your behalf. Credentials are stored encrypted.
* While linking is pending, the plugin polls https://laspi.pro/api/v1/wp-plugin/status
  (the one-time code only) when you open its admin page.
* After connecting: visits of known AI crawlers (GPTBot, ClaudeBot, PerplexityBot…) are
  reported to https://laspi.pro/api/v1/wp-plugin/bot-hits — crawler user agent and page
  path only. No visitor personal data, cookies or IP addresses are ever collected.
* On the plugin's admin page: free AI-visibility stats are fetched from
  https://laspi.pro/api/v1/wp-plugin/stats (the site key only; cached for an hour).
* Updates: WordPress checks https://laspi.pro/wordpress/plugin.json (version manifest,
  no site data is sent).
* IndexNow (no account needed): when you publish or update a post, its public URL is sent
  to https://api.indexnow.org/indexnow so search engines (Bing, Yandex and partners) crawl
  it quickly. Only the post's public URL, your site host and a locally generated key are
  sent — no personal data. This is the only outbound call the plugin makes before you connect.

Nothing is sent to Laspi before you explicitly press "Connect to Laspi".
Provider: Laspi — Privacy Policy: https://laspi.pro/privacy — Contact: org@laspi.pro

== Privacy (GDPR) ==

* The plugin collects NO visitor personal data — no cookies, no IPs, no tracking.
* Suggested wording for your site's Privacy Policy page is provided under
  Settings → Privacy → Policy Guide once the plugin is active.
* Disconnect (one button) revokes Laspi's access immediately and deletes the plugin's
  local settings; erasure of server-side data can be requested from your Laspi account
  or via org@laspi.pro.

== Installation ==

1. Upload the plugin and activate it.
2. Open the "Laspi" menu item and press "Connect to Laspi".
3. Sign in with Google on laspi.pro, pick or create a project — done.

== Changelog ==

= 0.4.27 =
* More reliable removal detection: a lightweight daily heartbeat lets Laspi notice if the plugin is deleted directly on the server (bypassing WordPress), so it can still remind you that publishing continues.

= 0.4.26 =
* If you remove or deactivate the plugin, Laspi now lets you know — because publishing keeps running via your Application Password, with a reminder how to stop it.
* Our logo now shows in the plugins list and update screen, and compatibility is marked for the latest WordPress.

= 0.4.25 =
* Schedule: the weekday picker now follows the articles-per-week choice — "Paused" clears and disables the days, and you can pick at most as many days as articles.

= 0.4.24 =
* The Laspi page no longer shows unrelated notices from other plugins — only Laspi's own messages, for a clean workspace.

= 0.4.23 =
* After your 2 free articles are used, the "write an article now" box is replaced by a clear upsell instead of a field that no longer works.

= 0.4.22 =
* Renamed to “Laspi – AI Visibility & Blog” and split the admin into two tabs — “Journalist & articles” and “AI visibility” — so your articles are right there, not buried under the free toolkit cards.

= 0.4.21 =
* New: local AI-bot tracker — see how many times GPTBot, ClaudeBot, PerplexityBot and others read your site (7 & 30 days, per bot), plus a WordPress dashboard widget. Counted entirely on your own site, no IPs, no personal data.

= 0.4.20 =
* The AI Visibility Score now checks your business NAP (name, address, phone) — the signal local search and AI use to trust a real business.

= 0.4.19 =
* New: business identity + FAQ builder. Add your name, address and phone for Organization / Local business schema, and write Q&A that Laspi marks up as FAQ schema on a page you choose — both skipped automatically when your SEO plugin already provides them.

= 0.4.18 =
* New: edit your llms.txt right in the plugin — we draft it from your pages, you tweak it (or leave it automatic).

= 0.4.17 =
* New: AI-crawler manager — allow or block each AI crawler (GPTBot, ClaudeBot, PerplexityBot, Google-Extended and more) with one click. All allowed by default; blocking is honoured via your virtual robots.txt.

= 0.4.16 =
* New: IndexNow — the moment you publish or update a post, search engines are told instantly, so new articles get crawled in hours instead of weeks. Works with no account.

= 0.4.15 =
* New: AI Visibility Score — a free 0–100 audit of the boring fixes that decide whether AI assistants and search can find you, with a per-item checklist and how to fix each. Checked entirely on your own site.

= 0.4.14 =
* Pick which of YOUR site's categories Laspi articles go into (dropdown of your existing categories) — no auto-created "Blog" category.

= 0.4.13 =
* Laspi articles now arrive with the SEO focus keyword filled (Yoast/Rank Math/SEOPress) and a real category instead of "Uncategorized" — no more red SEO dot on a fresh draft.

= 0.4.12 =
* Article statuses are now written for humans, not machines: no raw "generating/failed" — a delayed article reads "getting ready", and a hiccup reads "couldn’t publish just now — we’re on it, it will appear by itself".

= 0.4.11 =
* A failed article no longer shows "being written" forever: its topic gets an honest red "didn't make it" badge and is retried automatically once the connection works again.

= 0.4.10 =
* Customer search phrases are now visual chips — add one by one, remove with a click (no more comma string).

= 0.4.9 =
* Preflight now detects Wordfence, Sucuri, iThemes Security and All-In-One WP Security and shows per-plugin whitelist instructions so publishing never mysteriously fails.

= 0.4.8 =
* Honest expectations timeline after you approve topics (week 1 / weeks 2-4 / days 60-90) — no ranking promises.

= 0.4.7 =
* Re-connecting never breaks the existing link: the old Application Password stays valid until the NEW link is confirmed; stale passwords are cleaned up only after that (or on Disconnect).

= 0.4.6 =
* Drag & drop topic reordering — the journalist writes topics top to bottom.

= 0.4.5 =
* Adding a topic is instant: type it, press "+ Add to list" (or Enter) — it appears in the list right away.

= 0.4.4 =
* Topics list explains itself: uncheck+Save removes a topic, published topics leave the list automatically, "being written" and "planned by the journalist" badges.

= 0.4.3 =
* Clearer trial-article card: "Type a topic — or just press the button" wording.

= 0.4.2 =
* Update checks are fresher: manifest cache cut to 15 minutes, failures retried in 5, and "Check again" on the Updates screen now forces a real re-check.

= 0.4.1 =
* "Open in Laspi" now lands on the dedicated Journalist page.

= 0.4.0 =
* Try before scheduling: "Write a trial article" button — one article right now as a draft (your own topic welcome), review in Posts, then set the schedule.
* Plugin is now multilingual: English, Russian, Spanish, Italian — follows the WordPress language automatically or set it manually on the settings page.
* Topic dates fixed: the journalist now knows today's date and never proposes last-year topics.

= 0.3.0 =
* Full cabinet right inside WordPress: study the site, edit topics and customer search phrases, set schedule (frequency + publishing days), image style, auto-publish and launch — no need to leave wp-admin. Laspi.pro is only used once, to sign in.
* Plan & reports card: queued/published articles with links, search-phrase coverage, AI-crawler visits.
* One-click free listing in the Laspi business directory (checkbox in settings).
* Redesigned settings page.

= 0.2.1 =
* Linking no longer navigates you away from WordPress: laspi.pro opens in a new tab, and the plugin page refreshes itself until it turns green ("Connected").

= 0.2.0 =
* Per-article SEO/GEO: Laspi articles arrive with their SEO title & description — the plugin writes them into your active SEO plugin's fields (Yoast, Rank Math, SEOPress), so titles/descriptions/social cards render by YOUR SEO plugin with zero conflicts.
* Sites without an SEO plugin: the plugin itself renders meta description, Open Graph + Twitter cards (hero image) and Article JSON-LD — but only on Laspi articles, never touching the rest of the site.

= 0.1.1 =
* GDPR/EU compliance: explicit consent notice before connecting, External-services disclosure, suggested Privacy Policy text (wp_add_privacy_policy_content).
* Explicit versioning: native WordPress updates from laspi.pro via the Update URI manifest; version shown on the settings page.
* Free AI-visibility stats (crawler visits, published articles, gift balance) right on the plugin page.

= 0.1.0 =
* First release: one-click linking, site study, llms.txt, structured data, AI-bot analytics, WPML/Polylang language assignment.
