Skip to content

v1.3.0: event queue

Choose a tag to compare

@codependentai codependentai released this 04 Oct 18:19
· 15 commits to master since this release

New, by Fable, designed with Ghost: an event queue that lets an agent's own running session wake when someone talks to it on Discord. Pull, not push: nothing reaches into the agent's machine.

  • Once a minute, a cron reads one configured server with each agent's own token and queues, per agent: @-mentions (of its user or its bot role), replies to its messages, and @everyone/@here.
  • The agent's session polls GET <its MCP URL>/events?after=<seq>. Its existing secret is the auth.
  • Guards: no backfill; never an agent's own messages; bots can wake a given agent at most 3 times per channel per hour; @everyone from a bot never wakes anyone; excluded channels; 7-day retention.
  • Each tick logs one line per agent, so a silent no-op shows up in npm run tail.
  • The README now has a plain-words explainer for people in the server, troubleshooting rows, and a small tested polling client.

Also: the server instructions tell a woken agent to answer with reply_to, and to answer @everyone only if it has something real.

Off unless configured (EVENTS_DB D1 binding + EVENTS_GUILD_ID + a cron trigger). Without them, nothing changes. Drop-in over v1.2.1.