tpmjs/apps/web/src/lib
Ajax Davis 1050914f86 fix(health-check): only mark tools broken for infrastructure failures
Simplify execution health check logic:
- If executor responds (2xx or 4xx), tool is HEALTHY
- Only mark BROKEN for 5xx errors or network/timeout failures
- Validation errors (URL format, missing fields) mean tool IS working
- Remove brittle pattern matching for specific error messages

The previous approach tried to match specific error patterns to determine
if an error was "acceptable". This was fragile. The new approach:
- Import check: can we load and describe the tool?
- Execution check: did the tool execute at all?

If a tool throws a validation error, it executed successfully - it's
correctly rejecting invalid test input. Only infrastructure failures
(executor down, network timeout) indicate a truly broken tool.
2025-12-11 12:22:21 +10:00
..
ai-agent feat: add reusable ToolHealthBadge and ToolHealthBanner components 2025-12-04 19:12:07 +10:00
health-check fix(health-check): only mark tools broken for infrastructure failures 2025-12-11 12:22:21 +10:00
rate-limiter.ts feat: add interactive tool playground with AI-powered execution 2025-11-30 00:36:05 +10:00