feat(event): add SQLite outbound event store

This commit is contained in:
2026-07-10 12:06:19 +08:00
parent b2e5cc187c
commit 41cb52daa1
3 changed files with 173 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ class OutboundEvent:
timestamp: datetime = field(
default_factory=lambda: datetime.now(timezone.utc)
)
status: EventStatus = field(default=EventStatus.PENDING)
attempt_count: int = field(default=0)
def to_payload(self) -> dict[str, Any]:
return {