=== SCD Notes ===
Contributors: saikatchandradas
Tags: notes, editorial, content, gutenberg, sidebar
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Native notes for WordPress content creators. Attach editorial notes to any post, search across all notes, stay in your dashboard.

== Description ==

SCD Notes adds a native note-taking experience to WordPress. Stop switching between WordPress and Notion/Apple Notes. Write editorial notes directly alongside your posts, search everything from one dashboard, and keep your creative flow inside WordPress where your content lives.

**Features:**

* Per-post notes panel in the Gutenberg editor sidebar
* Global notes dashboard - all your notes in one place
* Rich text: bold, italic, unordered lists
* Pin up to 3 notes per post
* Works with any WordPress post type
* Share notes with other WordPress users
* Optional link sharing for logged-in collaborators
* Optional AI note actions with your chosen provider or OpenAI-compatible endpoint

== Installation ==

1. Upload the `scd-notes` folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins menu
3. Open any post or page - find SCD Notes in the editor sidebar
4. Access all notes from Tools > SCD Notes in your dashboard

== Development ==

The readable JavaScript and CSS source files are included in the `src` directory. Build tooling and dependency versions are documented in `package.json` and `package-lock.json`. To rebuild the production assets, run `npm install` and then `npm run build`.

== Frequently Asked Questions ==

= Are my notes private? =

Yes. Notes are private to you unless you explicitly share a note with another WordPress user or turn on link sharing for that note.

= What WordPress roles can use notes? =

Author and above, or any custom role with the `edit_posts` capability.

= Does this slow down my site? =

No. Notes are stored in a private Custom Post Type and never appear on the front end.

= Does the AI feature send my notes to another service? =

Only when a logged-in note editor clicks an AI action and AI is enabled by a site administrator. SCD Notes sends the current note content and prompt to the AI provider configured in SCD Notes settings, such as OpenAI, Anthropic, Gemini, or a custom OpenAI-compatible endpoint. The plugin does not make AI requests unless this feature is enabled and used.

== External Services ==

SCD Notes includes optional AI actions. When enabled, the plugin sends the note content, the selected action prompt, and the administrator-provided API key to the configured provider endpoint. These requests are made only after a logged-in note editor clicks an AI action.

Built-in provider endpoints:

* OpenAI API (`https://api.openai.com/v1`) - Terms: https://openai.com/policies/service-terms/ - Privacy: https://openai.com/policies/privacy-policy/
* Anthropic API (`https://api.anthropic.com`) - Terms and Privacy: https://www.anthropic.com/legal
* Google Gemini API (`https://generativelanguage.googleapis.com/v1beta`) - Terms: https://ai.google.dev/gemini-api/terms - Privacy: https://policies.google.com/privacy
* Custom OpenAI-compatible endpoint - The site administrator controls the endpoint and is responsible for that provider's terms and privacy policy.

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release.
