v0.2.0
Breaking change: plugin slug, namespace, options, and provider ID renamed to use the procyon vendor prefix. Plus a major UX overhaul to make Claude auth state impossible to miss.
Upgrading from 0.1.x
The directory rename means WordPress sees this as a different plugin. To upgrade:
- Auto-update or manually install 0.2.0. The new plugin appears alongside the old.
- Deactivate
wp-dario-provider(the old version). - Activate
procyon-dario-provider(the new version). The activation hook copies your existing settings, sidecar PID, and connector API key to the new option names automatically. - Optionally delete the old
wp-dario-provider/plugin directory.
Your ~/.dario/credentials.json and OpenAI backend files at ~/.dario/backends/*.json are unaffected.
What changed
Vendor-prefix rename (WPD-7)
Every plugin-owned identifier now carries a procyon prefix. Strings owned by WP core or by upstream Dario stay as they are.
| Surface | Before | After |
|---|---|---|
| Directory + main file | wp-dario-provider/ + wp-dario-provider.php |
procyon-dario-provider/ + procyon-dario-provider.php |
| Text Domain | wp-dario-provider |
procyon-dario-provider |
| PHP namespace | Dario\ |
Procyon\Dario\ |
| Composer package | procyon-creative/wp-dario-provider |
procyon-creative/procyon-dario-provider |
| Provider ID (AI Client) | dario |
procyon_dario |
| Connector API key option | connectors_ai_dario_api_key |
connectors_ai_procyon_dario_api_key |
| Plugin options/transients | dario_provider_* / dario_oauth_* |
procyon_dario_* |
The repo URL stays at procyon-creative/wp-dario-provider (intentional).
UX overhaul (WPD-8)
- Site-wide admin notice when Claude is not authenticated, with a one-click link to the settings page. Cached in a 60s transient so admin loads stay fast.
- Settings page reordered: Status → Claude Authentication → Sidecar Settings → OpenAI Backend. Claude auth at position 2 because nothing works without it.
- Status row severity styling: red text + warning icon when not authenticated, orange when credentials present but invalid.
- Secret fields render
placeholder="*****"when a value is stored. Drops the trailing<code>last4</code>mask that leaked the last 4 chars.
Plugin Check (PCP) compliance (WPD-1, WPD-4)
- All filesystem ops moved to
WP_Filesystemvia the newWithFilesystemtrait. - Permanent exceptions for
fsockopen(port liveness) and FIFO ops (noWP_Filesystemequivalent) are inlinephpcs:ignore. - CI gate runs PCP on every PR. Only the 3 deferred
plugin_updater_detectederrors remain (intentional — wp.org would reject the auto-updater, but we distribute via GitHub releases).
Lando dev environment (WPD-2, WPD-3)
- Single
lando rebuild -yproduces a fully working install: dry WordPress (no Akismet, no Hello Dolly),twentytwentyfivetheme,procyon-dario-provider,aiconsumer plugin, andplugin-check— all installed and active automatically. - CI workflow boots the same Lando environment and runs the same tests.
Other
- Repo transferred to
procyon-creativeorg (WPD-6). Oldnicolasgalvez/wp-dario-providerURL has GitHub's automatic redirect. - Distribution decision: stay off wp.org for now, keep PUC for GitHub-releases-driven updates (WPD-5).
See docs/plugin-check.md for the deferred PCP exceptions and rationale.