feat: add extended providers with WP 7.0 Connectors integration#269
feat: add extended providers with WP 7.0 Connectors integration#269Jameswlepage wants to merge 4 commits intoWordPress:developfrom
Conversation
Register 9 additional AI providers (Cloudflare Workers AI, Cohere, DeepSeek, Fal.ai, Grok, Groq, Hugging Face, Ollama, OpenRouter) through the Extended Providers experiment. On WP 7.0+, these appear on Settings > Connectors with custom icons, API key management via REST API, and provider-specific settings (Cloudflare Account ID + API Key, Ollama endpoint URL). - Copy provider classes from feature/providers branch - Add connectors JS module with SVG icons for all 9 providers - Register connector settings with show_in_rest for REST API access - Bridge stored keys to AiClient registry - Fix PHP 8.1+ setAccessible() deprecation in bootstrap.php - Fix Ollama URL construction (PR WordPress#148 review feedback) Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Opened in error — this work belongs on #148. Closing. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #269 +/- ##
==============================================
- Coverage 56.69% 38.36% -18.33%
- Complexity 505 911 +406
==============================================
Files 32 63 +31
Lines 2568 4548 +1980
==============================================
+ Hits 1456 1745 +289
- Misses 1112 2803 +1691
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
setAccessible()deprecation in bootstrap.phpWhat's included
includes/Providers/*/feature/providersincludes/Experiments/Extended_Providers/Extended_Providers.phpbuild/connectors-extended.jsincludes/Experiment_Loader.phpincludes/bootstrap.phpHow it works
register_connector_settings()creates REST-accessible settings for each provider's API keyconnectors-extended.jsimports from@wordpress/connectorsand registers each provider with__experimentalRegisterConnectorTest plan
🤖 Generated with Claude Code