You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: DRY — extract shared responses, health check, config timeout
- Add utils/responses.ts: textContent(), errorResponse(), extractError()
eliminates 12x "type: text as const" and 4x error extraction duplication
- Add services/health-check.ts: shared checkService() + checkAllServices()
used by both system-status tool and system-status resource
- Move health check timeout to config.healthCheckTimeoutMs
- Simplify all 5 tools and resources to use shared helpers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments