=== Share with My Agent ===
Contributors: livefutureinc
Tags: ai, ai agents, share, seo, geo
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Let visitors hand your site to their AI assistant — Grok, Claude, ChatGPT, Gemini, DeepSeek, Kimi — and get answered from facts you published.

== Description ==

Your next customer doesn't browse alone — they ask an AI assistant. Share with
My Agent gives every page a short link (a swma.link) that any assistant can
read: your offer, prices, limits and next steps, declared by you.

This plugin adds the "Share with my agent" control to your WordPress site in
one minute:

* A slim bar, floating dock, badge, button or callout — you choose.
* Visitors click their favorite agent; it opens with your link ready to check.
* Every share is measured — see which assistants read you and what they said
  in your Share with My Agent dashboard.

You need a free Share with My Agent account (sharewithmyagent.ai) — the first
page is free, forever. The plugin loads the official widget from
sharewithmyagent.ai.

== Installation ==

1. Upload the plugin ZIP under Plugins → Add New → Upload Plugin, and activate.
2. Open Settings → Share with My Agent.
3. Paste your short agent link (swma.link) from your account and pick a
   placement. Done — the control is live on every page.

The free plan shares your one master link everywhere. Paid multi-URL plans
can switch on per-page links, a served llms.txt and breadcrumb structured
data in the Extras section.

Prefer manual placement? Put `[share_with_my_agent]` in any page or post,
optionally with `placement="button|bar|callout|badge|dock"`.

== Frequently Asked Questions ==

= Do I need an account? =

Yes — a free one. Your account publishes the agent-readable context that the
assistants read, and shows you the adoption stats.

= Does it slow my site down? =

The widget is one small deferred script served from our edge, loaded after
your content.

== External services ==

This plugin loads the Share with My Agent widget script from
sharewithmyagent.ai and the widget calls its API to resolve your share link
and record anonymous usage events. See https://sharewithmyagent.ai/privacy.

== Changelog ==

= 1.1.0 =
* Activation is now your pasted swma.link (validated against the allowed
  Share with My Agent hosts); the widget key is optional, for stats.
* Free plan shares the master link; paid multi-URL plans can enable
  per-page links resolved automatically from your account.
* Paid extras: serve llms.txt when the site has none (with your agent link
  and sitemap), BreadcrumbList JSON-LD on posts and pages.
* Redesigned settings page with placement previews.

= 1.0.0 =
* First release: settings page, auto placement (bar/dock/badge), shortcode
  placements, theme control, per-placement manifest override.
