=== Insynia AI Copilot ===
Contributors: insynia
Tags: ai, workflow, integration
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 0.4.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Insynia AI Copilot connects your WordPress site to Insynia with a token and lets admins approve or decline staged changes.

== Description ==

Insynia AI Copilot provides only two core capabilities:

* Generate a site connection token (Access Key) for Insynia.
* Review staged changes and approve (apply) or decline (discard) them.

== Installation ==

1. Upload the `wp-github-push` folder to `/wp-content/plugins/`, or install the zip in WordPress admin.
2. Activate **Insynia AI Copilot**.
3. Open **Insynia AI Copilot** from the admin menu.
4. Connect your installation from the plugin UI.

== Frequently Asked Questions ==

= What does this plugin do? =

It only handles connection token issuance and change approval/decline flows.

= Is WP_DEBUG supported? =

Yes. The plugin avoids debug-only notices and follows WordPress API usage patterns for admin and REST handlers.

== Changelog ==

= 0.4.0 =
* Access key now advertises required capabilities (`fs.read`, `fs.write`, `changes`, `content.read`, `content.write`).
* Access key payload now includes installed `themes` and `active_theme` so the Insynia theme picker can populate.
* Cached access keys are automatically regenerated to pick up the new payload shape.

= 0.3.0 =
* Added WordPress.org-style plugin readme.
* Removed "Powered by" admin footer branding.
* Stopped remote installation registration during activation.
