♻️ refactor(matrix-bots): remove offline mode, require login for all operations

- Remove local JSON storage from matrix-todo-bot and matrix-calendar-bot
- Delete TodoService, CalendarService and their modules
- Add requireLogin() helper that prompts users to authenticate
- All bot commands now require login before any operation
- Data is always synced with respective backends (todo-backend, calendar-backend)
- Update CLAUDE.md documentation for both bots

BREAKING CHANGE: Bots no longer work without authentication

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-02-13 12:18:11 +01:00
parent 435d06a756
commit b9f0d841df
12 changed files with 442 additions and 1116 deletions

View file

@ -1,7 +1,6 @@
import { Module } from '@nestjs/common';
import { ConfigModule, ConfigService } from '@nestjs/config';
import { MatrixService } from './matrix.service';
import { CalendarModule } from '../calendar/calendar.module';
import {
TranscriptionModule,
SessionModule,
@ -23,7 +22,6 @@ const calendarApiServiceProvider = {
@Module({
imports: [
ConfigModule,
CalendarModule,
TranscriptionModule.register({
sttUrl: process.env.STT_URL || 'http://localhost:3020',
}),