ScheduledEventService and useScheduledEvents were a legacy duplicate
of TaskService and useTasks. The DI token was already marked
@deprecated, and FeedService routed runtime events to TASK_SERVICE
already — only the publish-side and the NostrFeed view hadn't been
repointed yet.
Changes:
- Delete nostr-feed/services/ScheduledEventService.ts (1067 lines)
- Delete nostr-feed/composables/useScheduledEvents.ts
- Remove SCHEDULED_EVENT_SERVICE token from di-container.ts
- Repoint NostrFeed.vue to useTasks from the tasks module, with
autoSubscribe: false (FeedService still owns the relay subscription
for kinds 31922/31925/5)
- Rename FeedService.scheduledEventService field to taskService for
honesty (the alias was already pointing at TASK_SERVICE)
- Drop tryInjectService legacy-fallback shim — strict-from-the-start
per workspace pre-launch policy. The tasks module is required;
inject hard-fails on absence.
- Remove now-dead defensive null guards around taskService and
reactionService calls in route methods
Closes#79.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>