managarten/services/matrix-clock-bot
Till-JS 9b61831cb5 ♻️ refactor: consolidate SessionService & TranscriptionService in @manacore/bot-services
Created shared services to eliminate code duplication across Matrix bots:

**New Services in @manacore/bot-services:**
- SessionService: User authentication via mana-core-auth (was duplicated in 11 bots)
- TranscriptionService: Speech-to-text via mana-stt (was duplicated in 6 bots)

**Migrated Bots:**
- matrix-todo-bot: uses TranscriptionService
- matrix-picture-bot: uses SessionService
- matrix-clock-bot: uses TranscriptionService
- matrix-zitare-bot: uses both SessionService & TranscriptionService

**Code Reduction:**
- Removed ~300 lines of duplicate code from migrated bots
- Centralized service configuration via NestJS modules
- Added comprehensive documentation in CLAUDE.md

Remaining bots can be migrated following the same pattern documented
in packages/bot-services/CLAUDE.md.

Note: @storage/backend type-check fails due to pre-existing drizzle-orm issue

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 00:37:54 +01:00
..
src ♻️ refactor: consolidate SessionService & TranscriptionService in @manacore/bot-services 2026-02-01 00:37:54 +01:00
.dockerignore feat(matrix-clock-bot): add Matrix bot for time tracking 2026-01-28 16:27:49 +01:00
.env.example feat(matrix-clock-bot): add Matrix bot for time tracking 2026-01-28 16:27:49 +01:00
CLAUDE.md feat(matrix-clock-bot): add Matrix bot for time tracking 2026-01-28 17:04:45 +01:00
Dockerfile feat(matrix-clock-bot): add Matrix bot for time tracking 2026-01-28 17:04:45 +01:00
nest-cli.json feat(matrix-clock-bot): add Matrix bot for time tracking 2026-01-28 16:27:49 +01:00
package.json ♻️ refactor: consolidate SessionService & TranscriptionService in @manacore/bot-services 2026-02-01 00:37:54 +01:00
tsconfig.build.json feat(matrix-clock-bot): add Matrix bot for time tracking 2026-01-28 17:04:45 +01:00
tsconfig.json feat(matrix-clock-bot): add Matrix bot for time tracking 2026-01-28 17:04:45 +01:00