=== AI Bulk Post ===
Contributors: j4cob
Donate link:
Tags: ai, post, openai, gemini, deepseek
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 2.1.0
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate and schedule WordPress posts using AI. Supports OpenAI, Google Gemini, Grok (xAI), and DeepSeek.

== Description ==

AI Bulk Post lets you create named AI agents that automatically generate and publish WordPress posts on a schedule. Each agent has its own AI provider, model, prompts, and recurrence settings.

### Features

* **Multi-Provider Support** - OpenAI (GPT-5.6), Google Gemini (3.7), Grok (4.5), DeepSeek (V4)
* **Named Agents** - Create reusable AI agent configurations with custom prompts
* **Day-Based Recurrence** - Run every N days or on specific days of the week
* **Multiple Post Types** - Generate to posts, pages, or any custom post type
* **Draft Mode** - Generate as draft for review before publishing
* **Activity Log** - Track all AI generations with status and details
* **Manual Run** - Trigger immediate generation from the dashboard
* **Temperature Control** - Adjust creativity per agent (0.0 - 2.0)
* **Bulk Actions** - Duplicate, pause, or delete agents
* **Modern Admin UI** - React-based dashboard with real-time updates

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/ai-bulk-post` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the `Plugins` screen in WordPress
3. Navigate to `AI Bulk Post > Settings` and add your API keys
4. Create your first agent and start generating content

== Frequently Asked Questions ==

= Do I need an API key? =

Yes, you need at least one API key from a supported provider:
* **OpenAI** - Get yours at https://platform.openai.com/api-keys
* **Google Gemini** - Get yours at https://aistudio.google.com/app/apikey
* **Grok (xAI)** - Get yours at https://console.x.ai
* **DeepSeek** - Get yours at https://platform.deepseek.com/api_keys

= What models are supported? =

* **OpenAI**: GPT-5.6 Sol, GPT-5.6 Terra, GPT-5.6 Luna, GPT-4o
* **Google Gemini**: Gemini 3.7 Flash, Gemini 3.6 Flash, Gemini 2.5 Flash
* **Grok**: Grok 4.5, Grok 4.3
* **DeepSeek**: DeepSeek V4 Pro, DeepSeek V4 Flash

= Can I generate to custom post types? =

Yes! You can configure each agent to generate content to any public post type.

= What happened to version 1.0? =

Version 2.0 is a complete rewrite with multi-provider support, day-based recurrence, and a modern React admin interface. Your existing agents will be migrated automatically on upgrade.

== Screenshots ==

1. Agent Dashboard
2. Agent Form
3. Settings Page

== Changelog ==

= 2.1.0 =
* Added provider SVG icons (OpenAI, Gemini, Grok, DeepSeek)
* Updated agent card design with status badges and inline SVG icons
* Updated settings page with provider icons
* Updated card border styles to match WordPress defaults
* Modernized admin UI components

= 2.0.0 =
* Complete rewrite with multi-provider AI support (OpenAI, Gemini, Grok, DeepSeek)
* New agent-based system with named presets
* Day-based recurrence (every N days or specific days)
* React admin UI with modern design
* WP REST API for all operations
* Activity log for tracking generations
* Temperature and token limit controls
* Post type and status selection
* API key verification
* Manual run feature
* Agent duplication
* Removed bundled WPSF framework
* Removed OpenAI PHP SDK dependency
* Fixed deprecated FILTER_SANITIZE_STRING usage
* Fixed [length] placeholder not being replaced
* Added proper error handling and logging
* Added capability checks on all endpoints

= 1.0.0 =
* Initial Release.
