Skip to content

v0.2.0

Choose a tag to compare

@nicolasgalvez nicolasgalvez released this 15 May 21:35
· 27 commits to main since this release
d8405a2

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:

  1. Auto-update or manually install 0.2.0. The new plugin appears alongside the old.
  2. Deactivate wp-dario-provider (the old version).
  3. 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.
  4. 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_Filesystem via the new WithFilesystem trait.
  • Permanent exceptions for fsockopen (port liveness) and FIFO ops (no WP_Filesystem equivalent) are inline phpcs:ignore.
  • CI gate runs PCP on every PR. Only the 3 deferred plugin_updater_detected errors 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 -y produces a fully working install: dry WordPress (no Akismet, no Hello Dolly), twentytwentyfive theme, procyon-dario-provider, ai consumer plugin, and plugin-check — all installed and active automatically.
  • CI workflow boots the same Lando environment and runs the same tests.

Other

  • Repo transferred to procyon-creative org (WPD-6). Old nicolasgalvez/wp-dario-provider URL 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.