=== Versoo Content Ops – AI Content Writer in Your Brand Voice ===
Contributors: billhector
Tags: ai, content writer, ai content generator, brand voice, wordpress ai
Requires at least: 7.0
Tested up to: 7.0
Stable tag: 0.1.3
Requires PHP: 8.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI content generator that writes in your brand voice, not generic filler. Set your voice once, generate on-brand drafts in seconds.

== Description ==

Versoo Content Ops connects your brand voice to WordPress's native AI to generate first drafts that actually sound like you.

Most AI writing tools produce generic output because they know nothing about your site. Versoo Content Ops is different: you define your audience, tone, topics, and writing style once, and every draft it generates stays in that lane.

**How it works:**

1. Go to **Content Ops → Brand Context** and describe your brand. Paste a writing sample and click Analyze to auto-fill your audience, angle, tone, and topics.
2. Go to **Content Ops → New Draft**. Enter a key phrase, pick a content type and length, add a brief intent, and click Generate.
3. A draft lands in your WordPress editor, ready to review and publish. The result shows word count and token usage so you know exactly what was generated.

**Supported content types:**

* Tutorial / How-To
* Explainer
* Listicle
* Opinion
* Case Study
* FAQ
* Comparison
* Announcement

**Length options:** Short (300–500 words), Medium (700–1,000 words), Long (1,500–2,000 words).

**Built on WordPress's native AI (Requires WP 7.0+):**

Versoo Content Ops uses the WordPress Abilities API introduced in WordPress 7.0. No third-party AI subscriptions, no API keys to manage — it uses whatever AI provider your WordPress host has configured.

== Installation ==

1. Upload the `versoo-content-ops` folder to `/wp-content/plugins/`.
2. Activate the plugin through the Plugins screen in WordPress.
3. Go to **Content Ops → Brand Context** and set up your brand voice.
4. Go to **Content Ops → New Draft** to generate your first draft.

Note: Requires WordPress 7.0 or later (uses the WordPress Abilities API).

== Frequently Asked Questions ==

= Does this require an API key or external AI subscription? =

No. Versoo Content Ops uses the WordPress Abilities API (introduced in WP 7.0), which uses your host's configured AI provider. No external accounts or API keys needed.

= What gets sent to the AI? =

Your brand context (audience, tone, topics, writing style) plus the key phrase, content type, length, and intent you provide. Nothing else. No post content, no user data.

= Can I edit drafts before publishing? =

Yes — all generated content lands as a WordPress draft. You review and edit before anything goes live.

= What content types are supported? =

Tutorial, Explainer, Listicle, Opinion, Case Study, FAQ, Comparison, and Announcement.

= Will my brand context affect all drafts? =

Yes. Every draft uses your saved brand context. Update it in Brand Context any time.

= How do I know how many tokens were used? =

After each draft is generated, the New Draft screen shows an estimated input and output token count alongside the word count.

== Screenshots ==

1. Brand Context screen — define your audience, tone, topics, and writing style.
2. New Draft screen — enter a key phrase, pick a type and length, add intent, and generate.
3. Generated draft in the WordPress editor, ready to review and publish.

== External Services ==

This plugin relies on WordPress's built-in AI client (introduced in WordPress 7.0) to generate content. When you generate a draft, the following data is sent from your WordPress site to your configured AI provider:

* Your brand context (audience, tone, topics, writing style, writing sample)
* The key phrase, content type, intent, and length you provide

This data is transmitted to whichever AI provider you have configured in Settings → AI. The plugin does not control which provider is used or its data handling practices. Refer to your AI provider's privacy policy and terms of service for details on how they handle your data.

This plugin does not send any data to wpcontentops.com or any third-party service operated by the plugin author.

== Changelog ==

= 0.1.3 — 2026-07-13 =
* Renamed plugin to Versoo Content Ops (slug: versoo-content-ops) per wp.org naming review — previous "Content Ops" name/slug was flagged as too generic.
* Renamed code prefix from WP_Content_Ops_ / wp_content_ops_ to Versoo_ / versoo_content_ops_ throughout (classes, functions, options, REST namespace, ability namespaces, hooks, enqueue handles).
* Fixed permission_callback on the draft REST route and draft-post ability: page drafts now require edit_pages, not just edit_posts.
* Removed hard-coded top-level admin menu position (was colliding with core's Comments menu slot); menu now auto-places.
* Excluded directory-asset screenshots from the distributed plugin zip via .distignore.

= 0.1.2 — 2026-07-06 =
* Added length selector (Short / Medium / Long) to New Draft screen.
* Draft result now shows word count and estimated token usage inline.
* Success state replaces button/spinner in place — no more auto-redirect.
* Added empty brand context warning on New Draft screen.
* Added AI availability indicator on Brand Context screen.
* Renamed REST namespace from wp-content-ops/v1 to content-ops/v1.
* Renamed plugin folder to content-ops to match text domain and wp.org slug.
* Improved Key Phrase field label, placeholder, and hint text.
* Improved What's this post about? placeholder and helper text.
* Added description below the writing sample field explaining Analyze behavior.
* Added admin CSS to constrain form field widths consistently.
* Added _content_ops post meta flag on all plugin-generated drafts.

= 0.1.1 — 2026-07-05 =
* Internal release — no user-facing changes.

= 0.1.0 — 2026-07-04 =
* Initial release.
* Brand context setup with AI auto-fill (Brand Analyzer).
* Draft generation for 8 content types via the WordPress Abilities API.
* WordPress Abilities API integration for external access to brand context and draft generation.
