=== Globetrotters AI Presence ===
Contributors: globetrotters
Tags: ai, llms, schema, json-ld, discovery
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Serve your Official AI Presence at your site's apex — AI discovery files and server-rendered JSON-LD, pulled automatically from Globetrotters.

== Description ==

The Globetrotters AI Presence plugin installs your Official AI Presence on a
WordPress site **without filesystem access**. It hooks WordPress's own router to
serve the AI discovery file set at your apex, injects server-rendered JSON-LD into
`wp_head`, and pulls everything from Globetrotters so nothing has to be uploaded by
hand.

**What it serves at your apex:**

* `/llms.txt` and `/ai.json` — the AI-readiness discovery pair.
* `/.well-known/mcp.json` and `/.well-known/agent-card.json` — agent discovery
  manifests (pointing at the Globetrotters-hosted MCP endpoint).
* `/.well-known/globetrotters-apex-version.json` — the version/drift marker.
* `/schema.json` — standalone JSON-LD, also injected inline into your pages'
  `<head>`.

Heavy files (`llms-full.txt`, `content.md`) are linked back to Globetrotters rather
than served locally, keeping the footprint minimal.

The plugin also appends AI-bot allowances and a `Sitemap:` directive to
WordPress's virtual `robots.txt`, and keeps everything fresh with a scheduled
refresh (with graceful stale-serve if Globetrotters is briefly unreachable).

== Installation ==

1. Upload and activate the plugin.
2. Go to **Settings → AI Presence**.
3. Enter the URL of your Globetrotters website.
4. Save. The plugin fetches your artefacts and starts serving them at your apex.

== Frequently Asked Questions ==

= Does this need FTP or filesystem access? =

No. The plugin serves the files through WordPress itself, so it works on managed
hosts that don't give you docroot access.

= Where does the content come from? =

From your already-public Globetrotters presence. The plugin pulls it and re-serves
it at your apex, so it stays in sync automatically.

== Changelog ==

= 0.1.0 =
* Initial release: apex file serving, `wp_head` JSON-LD injection, `robots.txt`
  filter, scheduled refresh with stale-serve fallback, and an admin status page.
