Add real-time health status updates when tools fail to load or execute: - Add @tpmjs/db dependency to playground package - Create reportToolFailure() function to update health status on errors - Trigger health check updates for: 1. Import failures (Railway load-and-describe errors) 2. Execution failures (Railway execute-tool errors) - Updates are non-blocking and run in background - Each tool failure now logs: - 🏥 Triggering health check for {package}/{export} - ✅ Health status updated for {package}/{export} This complements the proactive health checking (daily cron + manual recheck) with reactive health updates from actual tool usage errors. Handles multiple errors in batch loading - each error triggers its own health check update independently and asynchronously. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "@tpmjs/playground",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --port 3001",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"type-check": "tsc --noEmit",
|
|
"clean": "rm -rf .next .turbo"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai": "3.0.0-beta.74",
|
|
"@ai-sdk/react": "3.0.0-beta.131",
|
|
"@tpmjs/db": "workspace:*",
|
|
"@tpmjs/env": "workspace:*",
|
|
"@tpmjs/hello": "workspace:*",
|
|
"@tpmjs/search-registry": "workspace:*",
|
|
"@tpmjs/types": "workspace:*",
|
|
"@tpmjs/ui": "workspace:*",
|
|
"@tpmjs/utils": "workspace:*",
|
|
"ai": "6.0.0-beta.124",
|
|
"firecrawl-aisdk": "^0.7.2",
|
|
"nanoid": "^5.1.6",
|
|
"next": "^16.0.4",
|
|
"next-themes": "^0.4.6",
|
|
"openai": "^6.9.1",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"streamdown": "^1.6.9",
|
|
"zod": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"@tpmjs/eslint-config": "workspace:*",
|
|
"@tpmjs/tailwind-config": "workspace:*",
|
|
"@tpmjs/tsconfig": "workspace:*",
|
|
"@types/node": "^22.10.2",
|
|
"@types/react": "^19.0.2",
|
|
"@types/react-dom": "^19.0.2",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^9.39.1",
|
|
"eslint-config-next": "^16.0.4",
|
|
"postcss": "^8.5.1",
|
|
"tailwindcss": "^3.4.17",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|