Files
grimoire/src
Claude 1283964d01 feat: add cache hydration and ACTIVE_USER_KINDS config
Implement configuration-driven cache hydration and active user sync:

- Add ACTIVE_USER_KINDS constant [3, 10002, 10063] for configurable sync
- Add hydrateEventStore() method to load cached events on startup
- Refactor useAccountSync to loop through ACTIVE_USER_KINDS dynamically
- Remove deprecated useRelayListCacheSync/useBlossomServerCacheSync hooks
- Call hydration in AppShell on mount to solve "orphaned cache" problem

Benefits:
- Adding new kinds is just updating ACTIVE_USER_KINDS array
- Cache is immediately available on startup (no wasted bandwidth)
- Cleaner, more maintainable code with single loop
- Kind 3 (contacts) now auto-synced for $contacts alias
2026-01-16 22:05:43 +00:00
..
2026-01-15 16:13:50 +01:00
2026-01-16 18:47:16 +01:00
2026-01-14 19:24:37 +01:00
2026-01-15 16:13:50 +01:00
2026-01-16 18:47:16 +01:00
2026-01-14 19:24:37 +01:00