Skip to content

v0.1.2

Choose a tag to compare

@igun997 igun997 released this 05 Jun 12:51

Features

  • campaign_send now enqueues a background task by default and returns immediately with {campaign_id, task_id, status: "queued"}, avoiding MCP request timeouts on large segments. The in-process scheduler dispatches it and flips the campaign to sent/failed.
  • Added sync: true escape hatch on campaign_send for small/test sends that wait inline and return live counts.
  • Campaigns are marked sending up front so pollers see progress; failed sends transition to failed instead of staying stuck.

Usage

  • Async (default): campaign_send {"campaign_id": 1} → poll campaign_stats or task_list.
  • Sync: campaign_send {"campaign_id": 1, "sync": true}.

Verification

  • make check
  • staticcheck ./...