Skip to content

v0.1.5

Choose a tag to compare

@nicolasgalvez nicolasgalvez released this 15 May 18:03
· 34 commits to main since this release
6d6af41

New: Settings → Dario AI Connector admin page

Non-SSH WordPress admins can now configure the sidecar, write OpenAI-compatible backend credentials, and complete Claude OAuth without a shell.

Highlights

  • Settings → Dario AI Connector admin page surfaces sidecar status / restart / proxy + backend config.
  • Writes OpenAI-compatible backends to ~/.dario/backends/<name>.json (mode 0600), byte-compatible with Dario's own saveBackend().
  • Drives Dario's manual Claude OAuth flow from PHP via proc_open + a FIFO so admins can paste back the authorization code from another browser tab.
  • Paste-credentials.json fallback for installs where running the in-browser flow isn't practical.
  • Constant/env overrides honoured for every setting.

Bug fixes found during integration testing with the WordPress.org ai consumer plugin

  • Auto-fill connectors_ai_dario_api_key so the WP AI Client binds an auth interface to the provider (default value dario, kept in sync with the proxy_api_key setting).
  • Scoped http_request_host_is_external and http_allowed_safe_ports filters so wp_safe_remote_request can reach the loopback proxy on port 3456.
  • Fixed FIFO open ordering bug in OAuth orchestration (0<> instead of < so the spawning shell doesn't block waiting for a writer peer).

Verified

End-to-end Title Generation ability through the wp.org ai plugin routes Consumer → AI Client → DarioProvider → sidecar → Anthropic and returns real generated text.

See PR #1 for the full diff and test plan.