diff --git a/CHANGELOG.md b/CHANGELOG.md index 90b9eb2..43c639a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to Waygate will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.6.1] - 2026-05-24 + +### Documentation +- Expanded AI provider configuration section in `README.md` to cover both Bedrock WP plugin path (`wp-plugin/ai-provider-for-mistral`, `wp-plugin/ai-provider-for-anthropic`) and standalone Composer library path for Mistral +- Added Claude (Anthropic) as an explicitly documented provider with `ANTHROPIC_API_KEY` in `.env` +- Clarified that Bedrock exposes `.env` variables automatically and that the WP plugin variants self-register with the WP AI Client + ## [0.6.0] - 2026-05-24 ### Added diff --git a/README.md b/README.md index a44b90f..c935ba4 100644 --- a/README.md +++ b/README.md @@ -54,15 +54,33 @@ composer require imagewize/waygate AI page generation requires a running AI provider. Waygate supports: -**Mistral** (via Composer): +**Mistral** — two installation paths, both read `MISTRAL_API_KEY` from the environment: + +_Bedrock / Composer (recommended):_ + +```bash +composer require wp-plugin/ai-provider-for-mistral +``` + +The plugin self-registers with the WP AI Client. Add `MISTRAL_API_KEY=your_key` to your site `.env`; Bedrock exposes it automatically. + +_Composer library (non-Bedrock):_ ```bash composer require saarnilauri/ai-provider-for-mistral ``` -Then add `MISTRAL_API_KEY=your_key` to your site `.env`. +Waygate registers this provider manually since the library distribution excludes `plugin.php`. Set `MISTRAL_API_KEY` as a server environment variable or via your host's environment config. + +**Claude (Anthropic)** — Bedrock / Composer: + +```bash +composer require wp-plugin/ai-provider-for-anthropic +``` + +Add `ANTHROPIC_API_KEY=your_key` to your site `.env`. -**Claude / OpenAI / Gemini**: Install the relevant provider plugin via **Settings → Connectors** in WordPress 7.0+. +**OpenAI / Gemini**: Install the relevant provider plugin via **Settings → Connectors** in WordPress 7.0+. --- diff --git a/waygate.php b/waygate.php index fc8c6c9..873c195 100644 --- a/waygate.php +++ b/waygate.php @@ -3,7 +3,7 @@ * Plugin Name: Waygate * Plugin URI: https://github.com/imagewize/waygate * Description: AI-powered pattern page builder for the Elayne block theme. Lists registered patterns, creates pages from pattern slugs, and integrates with WordPress AI Client for natural-language page generation. - * Version: 0.6.0 + * Version: 0.6.1 * Author: Jasper Frumau * Author URI: https://imagewize.com * License: GPL-2.0-or-later @@ -18,7 +18,7 @@ defined( 'ABSPATH' ) || exit; -define( 'WAYGATE_VERSION', '0.6.0' ); +define( 'WAYGATE_VERSION', '0.6.1' ); define( 'WAYGATE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'WAYGATE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );