=== Dreamformer ===
Contributors: dreamformer
Tags: ai, website builder, ai website, page builder, theme builder
Requires at least: 5.8
Tested up to: 6.4
Stable tag: 1.13.4
Requires PHP: 7.4
License: Proprietary
License URI: https://dreamformer.ai/terms

AI-powered WordPress website builder - Create stunning websites using conversational AI.

== Description ==

**Dreamformer** is an AI-powered WordPress website builder that lets you create and edit complete websites through natural conversation.

= Key Features =

* **AI Theme Builder** - Generate complete WordPress themes with AI
* **AI Page Editor** - Create and edit pages conversationally
* **Live Preview** - See changes in real-time as you build
* **Version Control** - Unlimited undo/redo for all changes
* **Manual Editor** - Fine-tune CSS properties manually when needed
* **WooCommerce Integration** - AI-powered product page styling
* **Draft Mode** - Preview changes before publishing
* **Credit System** - Fair usage with flexible pricing plans

= How It Works =

1. Tell Dreamformer what you want
2. See it built in real-time
3. Refine with conversation
4. Publish when ready

= Pricing Plans =

* **Free** - 25 credits/month
* **Pro 100** - 100 credits/month
* **Pro 200** - 200 credits/month
* **Pro 500** - 500 credits/month
* **Pro 1000** - 1000 credits/month

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/dreamformer/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Connect your Freemius account when prompted
4. Enter your license key (or start with free plan)
5. Navigate to Dreamformer in the admin menu
6. Start building with AI!

= Minimum Requirements =

* WordPress 5.8 or higher
* PHP 7.4 or higher
* MySQL 5.7 or higher
* Modern browser (Chrome, Firefox, Safari, Edge)
* Active internet connection for AI features

== Frequently Asked Questions ==

= Do I need coding knowledge? =

No! Dreamformer is designed for anyone. Just describe what you want in plain English.

= What happens to my credits each month? =

Credits reset at the beginning of each billing cycle.

= Can I use this on client websites? =

Yes! All paid plans include unlimited site licenses.

= Does this work with my existing theme? =

Dreamformer can either generate new themes or work alongside your existing theme.

= Can I cancel anytime? =

Yes! Cancel anytime from your account dashboard.

== Screenshots ==

1. AI Chat Interface - Describe what you want and see it built in real-time
2. Live Preview - Split-screen editor with instant preview
3. Manual Property Controls - Fine-tune CSS when needed
4. Version History - Unlimited undo/redo
5. Credit Dashboard - Monitor your usage

== Changelog ==

= 1.13.2 - 2025-12-21 =
* Fixed: CSS changes not persisting after applying in manual editor
* Fixed: Element selector now excludes editor selection class
* Added: Responsive layout for manual editor (works with resizable sidebar)
* Improved: Manual editor UI with compact header and property cards

= 1.13.1 - 2025-11-30 =
* Fixed: Clone Section now uses browser-side polling (avoids 60s host timeout)
* Fixed: Apply section polling architecture matches other endpoints

= 1.13.0 - 2025-11-30 =
* Added: Clone Section feature - Save and reuse sections across pages (6 credits)
* Added: Section Library with browser UI for saved sections
* Added: 8 cache bust triggers for consistent page refresh
* Fixed: Forms now render correctly (removed wp_kses_post stripping)
* Fixed: Credit system bug in apply section handler
* Fixed: Theme versioning with linked page/theme version control
* Improved: Credit system fully production ready

= 1.0.9 - 2025-11-17 =
* Fix: Clone button now copies all physical files (major bug fix)
* Added: Automatic file copying for cloned pages
* Added: Draft directory copying for clones
* Added: Rollback protection (deletes broken clones)
* Added: Enhanced logging for clone operations
* Improved: API response includes files_copied count
* Performance: Minimal overhead (<500ms for large pages)
* Security: Path validation and permission preservation
* Backward Compatible: Works with old pages without split files

= 1.0.8 - 2025-11-16 =
* Production release
* Complete AI editing system
* Credit management
* Version control
* Draft mode for pages
* WooCommerce integration
* Manual CSS editor

= 1.0.0 - 2025-10-01 =
* Initial release

== Upgrade Notice ==

= 1.13.0 =
New Clone Section feature, critical bug fixes for forms and credit system. Upgrade recommended.

= 1.0.9 =
Important bug fix for clone functionality. Upgrade recommended for all users.

= 1.0.8 =
Production release with complete feature set. Recommended for all users.

== Privacy ==

This plugin connects to Dreamformer's AI servers to provide its features.

= Data Sent to External Servers =

* Page content you're editing
* AI prompts and conversation history
* Theme files when editing themes
* Your site URL for license validation

= Data Storage =

* AI processing logs: Retained for 30 days for debugging
* License data: Stored securely on Freemius servers
* No personal data is sold or shared with third parties

= Your Rights =

* Request data deletion: support@dreamformer.ai
* Export your data: Available in your account dashboard

For full details, see our Privacy Policy: https://dreamformer.ai/privacy
