v0.7.0
Pre-release
Pre-release
Gateway transport and modal actions
Crow 0.7.0 ships the interaction runtime: a crow gateway daemon that connects to Discord's Gateway and dispatches registered actions live, plus modal actions.
Added
crow gatewaydaemon (aliascrow daemon): connects over a native WebSocket, identifies with theGUILDSintent, and receives component and modal interactions live. Heartbeat ack-tracking, session resume, and exponential-backoff reconnect keep it attached.- Modal actions:
register_actionacceptskind: "modal"to open a form (up to 5 text inputs) and reply on submit;kind: "reply"(the default) keeps click-to-reply. DiscordClient.interactionCallbackfor type-4 and type-9 callbacks, with interaction-token redaction.
Changed
resolveInteractionnow reads the interaction type and returns a message or modal callback.Actionis a discriminated union; legacy registry entries withoutkindload as replies.
Full release notes: see CHANGELOG.md.