=== Omega AI for WooCommerce ===
Contributors: omeganodes
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.6.0
License: Proprietary

Change your WooCommerce catalog, pages, menus and site title in plain words and create product images with Omega AI, paid with your Omega credits.

== Description ==

Products > Omega AI opens an assistant: ask "raise the red shoes to 89 euro", "write a Shipping page and add it to the main menu" or "make a better photo of this product" and review the proposed changes. Nothing changes until you confirm; every applied change can be undone.

* The assistant reads products, categories, tax classes, pages, menus and the site title and tagline only: never customers, orders, users, files or theme code.
* Changes use WordPress's and WooCommerce's own objects, so other plugins' hooks run and pages keep their revisions.
* New products and pages start as drafts unless you ask otherwise; nothing is ever deleted (undoing a new page or menu item sets it to draft).
* Pages: title, content (cleaned of scripts and unsafe links), address and, with Yoast SEO or Rank Math, the SEO title and description. The home page, the posts page, the privacy policy page and the WooCommerce pages can be edited but never unpublished nor moved to a new address.
* Menus: classic menus (Appearance > Menus), only on themes that have them; block themes' navigation is not changed. Items can link to a page, product, product category, post or web address.
* Site settings: site title and tagline, and with Yoast SEO the home page's SEO title and description. Never the administration email, the shop's email sender or its address.
* Each change needs your own WordPress rights for it: editing pages, editing theme options (menus), managing options (site settings).
* Images made by AI are marked as such.

The site key from your Omega Nodes dashboard stays on your server and is never sent to the browser.

== Installation ==

1. In Omega Nodes, open Omega AI > Connected sites, connect this shop and create a key.
2. Upload the plugin zip in Plugins > Add New > Upload Plugin and activate it.
3. In Settings > Omega AI paste the key and click Save and test.
4. Open Products > Omega AI.

== Changelog ==

= 0.6.0 =
* The assistant also reads and changes pages, classic menus and the site title and tagline (with Yoast SEO, the home page's SEO texts too), in the same change sets as the catalog, with the same confirmation and undo.
* A new menu item can link to a page created in the same change set.

= 0.5.0 =
* Omega AI: Plan and credits: redeem an Omega credit code.

= 0.4.0 =
* Products > Omega AI: Plan and credits: activate Omega AI with no Omega Nodes account (the shop proves it owns its address), then subscribe, buy credits and manage billing from the shop's admin.

= 0.3.0 =
* The site key is stored encrypted, sealed with this site's salts; a key saved by an older version is sealed on first use.
* Changing the Omega API address asks for the site key again, so a saved key is never sent to a new address.
* A change set over 200 operations is refused whole; category updates and assignments are checked before they apply.
* Price changes given with tax are checked against the current price with tax before applying.
* Undo reports what it could not restore instead of always saying "undone"; New chat also clears attached photos.
* Downloaded images are capped at 15 MB while they download.
* The model picker shows about what one step (or one image) costs before you send.
* Updates arrive through WordPress's own updater (Dashboard > Updates), from Omega instead of wordpress.org.
* The settings page reuses the last connection check for ten minutes instead of calling Omega on every visit.

= 0.2.0 =
* Plugins > Omega AI plugins: install the plugins built for this site with the Omega Code Engine, verified against Omega's signature, with automatic rollback if the site breaks.
* Plugins Omega withdraws are deactivated.

= 0.1.0 =
* First release: catalog assistant, product images, undo.
