v0.2.9

July 11, 2026

Highlights

  • Added configurable content moderation to the AI Provider generation flow, with Creem and WaveSpeed adapters behind a provider-neutral registry.
  • Admins can enable or disable moderation, select the moderation provider, configure app-specific and provider/model-specific prompt fields, and test configurations before enabling them.
  • Added optional moderation credit charging, fail-open/fail-closed behavior, block-on-flag policy, audit records without storing prompt text, and task-level moderation cost tracking.
  • Fixed the Provider admin route guard so super admins and authorized operators can access the moderation configuration endpoints.

User Impact

  • Site owners can screen image, video, audio, and other generation prompts before sending them to upstream providers.
  • Moderation policy and cost allocation can be managed centrally without hard-coding one moderation API.
  • Existing generation providers remain unchanged when moderation is disabled.

Developer Notes

  • Apply Provider1 D1 migrations 0015 and 0016 before deploying the updated zship-provider1 Worker.
  • Wrangler deployment configuration remains environment-owned and is excluded from local-to-Official code synchronization.