
MythEclipseandClaude Opus 4.8
07032ab521
refactor: atomic, DRY, and logging improvements across codebase
- Split llmModerationClient.ts (2170 lines) into 5 focused sub-modules
- Split aiAnalyzer.ts (1282 lines) into 4 modular pipelines
- Split messages.db.ts (826 lines) into 5 domain-specific modules
- Moved shared schema to @bete/shared, eliminated backend duplication
- Added createChildLogger to all voice-recording and AI moderation modules
- Extracted tryCommandThenFallback, normalizeMediaState, DEFAULT_VOICE_STATUS
- Created shared pagination.ts utility, eliminated 5+ cursor-pagination duplications
- Created shared messageMapper.ts for row mapping
- Standardized backend error handling with asyncHandler
- Added frontend createLogger utility and useAsyncAction hook
- Added structured logging to frontend hooks, socket, and API client
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 19:46:08 +07:00
..
2026-06-09 19:46:08 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 17:34:18 +07:00
2026-06-09 17:34:18 +07:00
2026-06-09 17:34:18 +07:00
2026-06-09 17:34:18 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 10:16:04 +07:00
2026-06-09 19:46:08 +07:00
2026-06-06 13:27:24 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 13:07:01 +07:00
2026-06-09 19:46:08 +07:00
2026-06-06 17:31:23 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 19:46:08 +07:00
2026-06-04 18:52:56 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 11:56:03 +07:00
2026-06-09 19:46:08 +07:00
2026-06-09 13:07:01 +07:00
2026-06-02 21:23:12 +07:00
2026-06-09 19:46:08 +07:00