Commit graph

1 commit

Author SHA1 Message Date
3b046276f6 feat: extension lifecycle hooks (__init__.py)
- restaurant_start spawns three permanent tasks:
    1. invoice listener (LNBits payment settlement)
    2. NostrClient bootstrap (after 10s grace for nostrclient ext)
    3. Nostr sync loop (after 15s)
- restaurant_stop cancels tasks and closes the WS.
- Module-level nostr_client = None when nostrclient unavailable;
  publishing helpers no-op gracefully in that case.
2026-05-09 07:11:06 +02:00