feat: send X-Amazee-Client request tracking header

Adds user-agent/version tracking for requests sent to amazee.ai.

This helps attribute API traffic to the Drupal module and its specific version.

Changes included:

  • Coverage: Adds tracking headers to all outbound calls, including AmazeeClient::makeRequest(), OpenAI SDK requests (via a PSR-18 wrapper), health/model config checks, and trial provisioning.
  • Version Handling: Pulls the module version via extension.list.module, falling back to dev for local/git checkouts.
  • Safety: Uses getAllAvailableInfo() instead of getExtensionInfo() to prevent unhandled exceptions on uninstalled module states from breaking API calls.

Merge request reports

Loading