=== StoreAgent AI for WooCommerce — Full Changelog ===

This file is the complete release history for StoreAgent AI for WooCommerce,
newest first.

readme.txt intentionally carries only the most recent releases. Everything in
readme.txt is indexed by the WordPress.org plugin search, and a long changelog
dilutes the plugin's search relevance for the terms we actually want to rank
for. changelog.txt is NOT indexed by WordPress.org (verified 2026-07-29), so the
full history lives here at no cost.

When you cut a release: add the entry to BOTH files, then trim readme.txt back
to the five most recent versions. Do not move this history into readme.txt.

= 1.2.1 =
* Feature: A scheduled check now finds published products with no tags and sends you a notification — click Accept to generate and save the tags with the Product Tags Generator AI
* Improvement: The Connection tab now shows when an annual plan renews and when its usage resets
* Improvement: General security and privacy hardening
* Bug Fix: Annual plans unlocked only the free-tier chat settings instead of their paid features
* Bug Fix: Lite plans show their lifetime allocation on the Connection tab again
* Bug Fix: Permanently deleting a product now always removes it from AI Memory

= 1.2.0 =
* Feature: Topic-based chat escalation — billing, refund and cancellation conversations are handed to a human automatically
* Feature: Upload your own avatar image for the AI Chat assistant
* Feature: Alt text is now generated automatically for new product images
* Feature: WordPress privacy tools for chat data — a suggested privacy policy snippet, chat data in Tools > Export Personal Data and Erase Personal Data, and deleting a shopper's chat transcripts on request
* Feature: A new Privacy setting lets you turn off order lookups in the chat, and order lookups now send less personal data to StoreAgent
* Feature: New MCP abilities let a connected AI assistant list, view, dismiss and act on StoreAgent notifications
* Feature: New MCP abilities let a connected AI assistant get a chat feedback summary and export chat conversations
* Feature: A short "Quick Feedback" form now asks why you're deactivating StoreAgent, with an option to skip and deactivate straight away
* Improvement: The MCP abilities browser now lists StoreAgent's built-in abilities with a locked switch and a tooltip that explains why they can't be turned off
* Improvement: The MCP abilities list now shows 20 abilities per page
* Improvement: After a settings sync, the MCP settings tab shows what was actually published to your connected AI assistants
* Improvement: MCP ability listings now tell AI assistants whether an ability reaches outside your store and whether it is safe to repeat
* Improvement: The "Metadata Keys to Include" setting for indexing custom fields is now easier to find
* Improvement: AI Memory now indexes your configured custom and ACF fields from product variations
* Improvement: AI Memory now re-syncs a product when one of its tracked custom or ACF fields changes, not only when the product is saved
* Improvement: The weekly usage check-in now reports whether the AI Chat widget is enabled
* Improvement: The usage check-in now reports where the plugin was installed from
* Improvement: The weekly usage check-in now includes chat-attributed revenue and order count
* Improvement: General security hardening
* Bug Fix: AI Chat settings now save on sites whose options table can't store emoji, such as the default greeting's emoji
* Bug Fix: Saving the chat widget settings no longer reports success when the save actually failed
* Bug Fix: Branding colors now save when the color picker adds a transparency value
* Bug Fix: Disconnecting your store now notifies StoreAgent correctly
* Bug Fix: The weekly usage check-in no longer skips every second week

= 1.1.9 =
* Feature: Connect your own AI assistant to your store with MCP — on any plan, including free. Link Claude or ChatGPT through a per-store connection you approve yourself, follow the built-in connect guide for your assistant, manage or revoke connections from the new MCP settings tab, and review a 30-day activity log of everything an assistant did.
* Feature: Decide exactly what a connected assistant can do. The MCP Abilities browser lets you pick a source, filter by status or by whether an ability makes changes, search by name, and allow every read-only ability (or disable all of them) in one action. Read-only abilities are available by default, abilities that make changes stay off until you allow them, and you can hide any individual ability.
* Feature: Conversation starters — write your own opening messages and set a delay, and the chat widget speaks first with a preview bubble and an unread badge.
* Feature: The AI chatbot now reads live stock straight from your store — it can say whether a product is in or out of stock, how many are left, and whether it can be backordered, and the answer updates the moment you change stock without waiting for a re-index (your "Stock display format" setting is respected, so a store that hides quantities stays hidden)
* Feature: Chat answers can now cite the store content they were drawn from
* Improvement: Catalog indexing now runs continuously batch-to-batch instead of stalling until the next scheduled check, so your AI memory finishes syncing faster
* Improvement: AI Memory uploads now stop retrying once your plan's limit is reached and tell you to check your StoreAgent account, instead of retrying in the background forever
* Improvement: The "indexing needs attention" notice now explains that indexing resumes by itself, so you know there's nothing to fix
* Improvement: The WordPress.org review request now waits for real success signals — your catalogue finished indexing and at least one AI response or chat reply went out — instead of a bare 14-day install timer, and re-asks up to twice more (60 days apart) if you don't click through
* Improvement: A dismissible "Enjoying StoreAgent?" notice on the StoreAgent dashboard surfaces the review ask so it's actually seen
* Improvement: The chatbot now knows whether a shopper is signed in and where your store's login page is, so it can point a guest to the right page when they ask about a specific order
* Improvement: Every upgrade link now points to the same plans page, and stores that can upgrade get an Upgrade link on the WordPress Plugins page
* Bug Fix: Products hidden from your WooCommerce catalog are no longer indexed into AI Memory, so the chatbot can't recommend them
* Bug Fix: The AI chatbot no longer reports a stock count for products that are out of stock or on backorder (including a negative count on an oversold product), and no longer tells shoppers that grouped or external products cannot be purchased
* Bug Fix: Chat transcripts could be read by anyone who learned a session ID — the chat now proves ownership of a session with a private token before it returns history
* Bug Fix: Chat product lookups now prefer an exact name or SKU match and skip unpublished products, instead of returning one arbitrary match
* Bug Fix: The Wholesale Suite integration now reports role-wide and category wholesale discounts in chat pricing, not just flat per-product wholesale prices
* Bug Fix: The "Number of Product Features to Include" setting for the Product Summaries AI can now be set to 0, which leaves the feature list out of the summary
* Bug Fix: AI memory sync no longer stays stuck below 100% after a plan upgrade — the upload watchdog restarts once the quota block clears
* Bug Fix: A temporary hiccup checking your plan limit no longer gets mistaken for a finished catalog sync, so you won't get a "setup complete" email while indexing is still in progress
* Bug Fix: The "Set up StoreAgent Chat" notice no longer keeps showing once chat is enabled and your data is already indexed
* Bug Fix: The AI Coupon Generator settings tab now loads its settings instead of failing to render
* Bug Fix: The indexing error troubleshooting link now points at a live help article
* Bug Fix: Chat widget impressions are now recorded for signed-in visitors, so the dashboard funnel counts them
* Bug Fix: Deactivating or deleting StoreAgent now removes all of its scheduled background tasks, so nothing keeps running in the background — and re-activating restores the schedules your enabled features need
* Bug Fix: Switching to the AI Chat settings tab from another settings tab now opens its General sub-tab instead of the sub-tab you last visited

= 1.1.8 =
* Feature: Catalog Health dashboard widget — surface bulk-optimizable products with one-click run
* Feature: Add a delay setting to control how long after page load the chat widget appears
* Improvement: Chat History and Export tabs show 'coming soon' to paying customers — link them to their StoreAgent account instead
* Improvement: Competitor Blocklist placeholders name a real competitor (Tidio) in our own admin UI
* Bug Fix: Review Summaries settings tab doesn't render built-in defaults on a never-configured store
* Bug Fix: Product Summaries settings tab shows the raw Check Frequency value after a saved reload (label not rehydrated)
* Bug Fix: AI chat tool token TTL is never refreshed, 401ing chat tools (and the human handoff) mid-conversation
* Bug Fix: Chat widget "Cookie check failed" (403) from stale REST nonce baked into cached pages

= 1.1.7 =
* Feature: "Complete this product with AI" — one-click multi-agent product completion
* Feature: Add WordPress Abilities API support (30 abilities) — StoreAgent AI for WooCommerce
* Feature: Add per-site competitor blocklist so the AI chatbot never mentions or recommends named competitors
* Feature: Hold AI Chat widget until ingestion completes, with an "indexing — X% done" progress state
* Feature: Show per-agent credit cost + "Run on a sample" on AI tool settings cards
* Feature: Store-owner-configurable competitor list for AI chat
* Improvement: Enhance: Fix empty variable-product prices in Chat_Store_Data coupon-generation feeder
* Improvement: Make AI Memory item removal near-instant (drop the 1-hour deletion delay)
* Improvement: Reconcile local sync metadata when server vector memory is trimmed (tier downgrade)
* Improvement: Show account holder email on the Connection tab
* Bug Fix: Dashboard reports store-wide paid orders as chat conversions (e.g. 29,800% close rate)
* Bug Fix: Dashboard setup hero shows for already-set-up stores + checklist steps hardcoded incomplete
* Bug Fix: Long-running postmeta queries from AI Memory upload cause MariaDB CPU exhaustion on production stores

= 1.1.6.1 =
* Improvement: Time-bound AI-memory upload runs so large batches can't be killed mid-run
* Improvement: Memory uploads ignore the server's Retry-After on 429
* Improvement: Adopt the batch memory-ingestion endpoint (one request per run, not per post)
* Improvement: AI chat bot can't see variable-product / variation prices (parent price often empty)
* Bug Fix: First-sync AI memory upload queue stalls and fails to complete on low-traffic stores

= 1.1.6 =
* Feature: Redesigned dashboard — KPI band, conversion funnel preview, briefing hero, empty-state setup, and a refreshed notifications section with bulk actions
* Feature: Track chat widget impressions and chat → add-to-cart events to power the dashboard funnel and KPIs
* Feature: Dashboard briefing — "See the full report" opens a dedicated standalone report view
* Feature: Dashboard briefing — "Share with team" CTA to share the briefing with your team
* Improvement: Fast-path the first-time onboarding memory upload with an immediate queue kick and a larger first-sync batch
* Improvement: Replace the fixed 1-hour memory upload delay with a jittered minutes-scale debounce
* Improvement: Setup wizard no longer forces Products for AI Chat — Products, Posts, and Pages are marked as Recommended
* Improvement: Setup wizard pre-selects all Content Tools by default (except uninstalled integrations)
* Improvement: Show the page slug in the Exclude Specific Pages selector
* Bug Fix: Onboarding wizard's save-chat step never schedules product sync
* Bug Fix: Retry logic permanently excludes posts due to transient errors, causing false positives in the AI Memory exclude list
* Bug Fix: Onboarding wizard shows duplicate "Generate with AI" buttons in the footer
* Bug Fix: Credit blocker modal omits the "View your plan usage" link on product edit pages
* Bug Fix: Saving feedback settings returns a 500 error even though the values persist
* Bug Fix: Fatal error in Usage::append_settings_data() when Coupon_Description_Data is registered as an AI agent

= 1.1.5 =
* Feature: Bulk operation pre-flight credit check with upgrade modal
* Feature: Create automation to recommend product upsells and cross sells
* Feature: Credit cost feedback toast after every AI action
* Feature: Feature: AI Chat coupon offering
* Feature: Upgrade modals for premium-gated features (Chat History, Export, Escalation)
* Feature: Usage progress bar in StoreAgent admin header
* Improvement: Indexing Transparency and Manual Sync for AI Chat Post Types
* Bug Fix: "Generate with AI" button on product short description does nothing when clicked
* Bug Fix: AI Memory toggle on posts list throws ReferenceError: saaiPostsList is not defined

= 1.1.4 =
* Feature: AI Coupon Description Generator agent
* Feature: AI Coupon Generator - Client Plugin Implementation
* Feature: AI Agent for Automatic Product Review Moderation
* Feature: WC Vendors Product Moderator AI Agent Integration
* Feature: Integrate with WooCommerce Wholesale Suite (WWS) plugins
* Feature: Email Escalation: Send Chat Summary to Admin with Customer Reply-To
* Feature: Raise a review request on the Dashboard after 14 days
* Feature: Show a notice when plan limit is exceeded
* Improvement: Add filter hook to allow customization of AI memory upload batch size
* Improvement: Wholesale Suite integration should respect wholesale role conditions
* Bug Fix: Unable to Access Wp-Admin when StoreAgent AI is Active and Server is LiteSpeed
* Bug Fix: "Regenerate with AI" review summary returns "Required parameters are missing"

= 1.1.3.1 =
* Bug Fix: Fix security issue
* Bug Fix: Copy settings from Product Description AI button does nothing
* Bug Fix: Exclude Specific Pages setting displays page IDs instead of page names
* Bug Fix: Image Alt Tag AI Agent fails with large image sizes (>8MB) - use medium/large size instead of full
* Bug Fix: Plan data and agents transient not reset on disconnect/reconnect

= 1.1.3 =
* Feature: Add meta tag to show StoreAgent usage on HTML
* Feature: AI chat feedback and escalation
* Improvement: Improve clarity of the AI admin chat mode setting
* Bug Fix: Bulk AI tools for products just refreshing page instead of AI prompt popup
* Bug Fix: Wizard complete step not fetching correct plan - shows "Free" when user has "Pro" subscription
* Bug Fix: Product summaries AI can be used on draft products for live sites
* Bug Fix: When disconnecting a site, we should notify the server

= 1.1.2.1 =
* Bug Fix: HTML entities displaying incorrectly in AI Chat settings
* Bug Fix: Invalid Nonce message box when using AI Tools

= 1.1.2 =
* Feature: add inline chat widget shortcode with template improvements
* Feature: Add Chat Session Response Counter for Order Analytics
* Feature: improving the UX for the form fields (switching to select2 tag)
* Feature: implement new Image Alt Tags AI Agent
* Feature: enhance chat widget settings with post type management
* Feature: add onboarding wizard for first-time setup
* Feature: Added a toggle for disabling preview mode in the admin settings, allowing for real-time testing of AI responses.
* Feature: implements support for post type posts ingestion
* Feature: implements migration of meta keys from "product" to generic "post"
* Feature: implements display settings for chat widget on post types with page exclusion
* Improvement: update review summary generation logic
* Bug Fix: ensure WC session is initialized before incrementing response count in Chat_Session class
* Bug Fix: update data upload scheduling to use hourly intervals

= 1.1.1.2 =
* Bug Fix: Stop further upserts of post data when permission error encountered

= 1.1.1.1 =
* Bug Fix: AI Chat tool is not working for guest users
* Bug Fix: AI Chat is not able to use the product prices tool
* Bug Fix: Fatal Error: prepare_product_data() calls get_name() on null for empty variation attribute

= 1.1.1 =
* Feature: AI tool endpoint for fetching order data
* Feature: AI tool endpoint for fetching live product price data
* Feature: Add Global Language Setting
* Improvement: Make Chat ingestion notice dismissible when Chat is disabled
* Improvement: Add an option to open the chat widget by default

= 1.1.0 =
* Improvement: Add a secondary Save Changes button on settings pages
* Improvement: Better positioning customization
* Improvement: Add a tool to clear hash metadata for products to re-trigger AI memory upload
* Bug Fix: Review Summaries data are not saved properly when re-generated via admin

= 1.0.9 =
* Improvement: Display subscription status and limits in the settings page
* Improvement: Ingestion reminder notice

= 1.0.8 =
* Feature: add third party integration for siteground optimizer plugin
* Feature: Re-fetch account status button in Settings + scheduled re-fetch
* Feature: display notice for starting AI Chat setup
* Feature: Initial upload product data process to AI memory
* Feature: implement weekly update of product data process and AI memory column
* Feature: add bulk actions for AI memory management in product list
* Feature: implement process for adding and deleting product data to the AI Memory
* Feature: send email notice to admin after chat setup is complete
* Feature: add settings property to AI agent classes for configuration management
* Feature: count of processed vs total products and estimated time to finish product ingestion process
* Feature: display the chat widget on the frontend
* Feature: add settings page to modify the chat widget styles and text
* Feature: add dashboard notification after initial upload progress is completed
* Feature: add setting enable/disable the chat widget feature
* Feature: add tones settings in AI Chat
* Improvement: simplify translation strings in App and PHP version requirement messages
* Improvement: move AI agents page as a settings tab. Chat settings layout adjustment and other improvements
* Bug Fix: disable the submit question button when the textarea has empty value
* Bug Fix: add server validation for question character length
* Bug Fix: also delete related product questions when a product is deleted
* Bug Fix: move styling of button primary after button secondary so its more prioritized
* Bug Fix: treat product as new when the upload data hash meta is missing
* Bug Fix: disallow Q&A post publish without an associated product
* Bug Fix: disables Send Question button on Ask Another button click
* Bug Fix: enhance WP-CLI connection check for the plugin by ensuring WP_CLI class existence

= 1.0.7 =
* Bug Fix: Question character limit can be bypassed
* Bug Fix: Product questions are not deleted when the product is force-deleted via API
* Bug Fix: Exclude our frontend scripts from Speed Optimizer by Siteground

= 1.0.6 =
* Feature: Add necessary functions to bulk run AI agents
* Feature: Implement Notification REST API
* Feature: Add bulk agent action in products list admin page
* Feature: Implement bulk run agent functionality via WP-CLI
* Feature: Display admin notice when AI agent bulk run in progress
* Feature: Update version to 1.0.6 and implement settings key migration
* Feature: Add automated notifications
* Feature: Implement Dashboard UI
* Feature: Add Ask a Question widget to product questions AI
* Bug Fix: Fix responsive layout of Dashboard page
* Bug Fix: Check product description is not empty before using product summary or tag generation AIs
* Bug Fix: Redirect to dashboard after connect/disconnect
* Bug Fix: Improve connect/disconnect button styling

= 1.0.5 =
* Feature: Implement product category description AI agent
* Feature: Add data sources feature for the product questions agent
* Feature: Add usage tracking
* Feature: Implement database table creation method and create table for notifications
* Feature: Add notification class for future dashboard
* Bug Fix: Re-run the DB table creation when installed version number changes
* Bug Fix: Fix `load_textdomain` complaints by introducing init_settings

= 1.0.4 =
* Feature: Adds a subtle admin notice connection reminder
* Feature: Auto turn-on agents that make sense on connection
* Feature: show admin notification when there are no AI agents enabled
* Bug Fix: Remove characters from site name that might break auth

= 1.0.3 =
* Feature: Add plugin installation timestamp
* Feature: Add plugin action links for settings and connection
* Feature: Add settings to set default values for product description AI
* Feature: Add sanitization method for AI agent settings
* Feature: Implement generate product tags ai agent
* Feature: Add answer column and approve action to the product questions post type
* Feature: Add sentiment value to the key takeaways in review summaries
* Feature: Improvements on product name related fields for product description AI agent
* Improvement: replace magnificpopup with custom modal solution
* Improvement: standardize button styling in the edit product page
* Improvement: improves active/inactive button on agent box
* Bug Fix: open view account link in a new tab

= 1.0.2 =
* Feature: (New agent) Product Summaries AI agent
* Feature: (New agent) product descriptions AI agent
* Improvement: Add placeholder component for Product Description AI settings
* Improvement: add support for agent SVG icon
* Improvement: Add fallback hash value for auth salt constant
* Bug Fix: fatal error when saving product due to accessing undefined array key
* Bug Fix: Toughen conditional checks during activation to ensure data exists

= 1.0.1 =
* Feature: Added a new agent: Product Questions (Q&A) Agent.
* Feature: Added a new agent: Review Summaries Agent.

= 1.0.0 =
* Initial release of our WooCommerce AI tools platform.
* Core features include WooCommerce AI agent setup, AI-powered automations, and seamless WooCommerce integration.
