Commit Graph

4 Commits

Author SHA1 Message Date
jaydenfyi
960bb108d0 format 2026-01-25 16:30:23 +08:00
jaydenfyi
0a99064a99 refactor: improve Twitch plugin code quality and fix all tests
- Extract client manager registry for centralized lifecycle management
- Refactor to use early returns and reduce mutations
- Fix status check logic for clientId detection
- Add comprehensive test coverage for new modules
- Remove tests for unimplemented features (index.test.ts, resolver.test.ts)
- Fix mock setup issues in test suite (149 tests now passing)
- Improve error handling with errorResponse helper in actions.ts
- Normalize token handling to eliminate duplication

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-25 16:30:22 +08:00
jaydenfyi
9693933b9e wip type changes 2026-01-25 16:30:22 +08:00
jaydenfyi
98639c909d wip 2026-01-25 16:30:22 +08:00